body, html {
  margin: 0;
  padding-top: 40px;
  font-family: 'DM Sans' , sans-serif;
  color: #000E1A;
  background-color: #FFFFFF;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 5%;
  flex-wrap: wrap;
}

.signup-btn {
  border: 2px solid #df0024;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  transition: 0.3s;
}

.signup-btn:hover {
  background-color: #df0024;
  color: white;
}

.login-btn {
   border: 2px solid #df0024;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  transition: 0.3s;
}

.login-btn:hover {
  background-color: #df0024;
  color: white;
}

header .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
  font-size: 1.8rem;
  font-weight: 800;
  color: #000E1A;
  letter-spacing: -1px;
  text-decoration: none;
  flex-shrink: 0;
  text-align: center;
  pointer-events: none;
}

@media (max-width: 480px) {
  header {
    position: relative;
    padding: 12px 16px;
    min-height: 52px;
  }
  header .logo {
    font-size: 1.3rem;
    pointer-events: auto;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .menu-btn {
    z-index: 2;
    position: relative;
  }
  .nav-buttons {
    z-index: 2;
    position: relative;
  }
}

.top-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
}

.left-nav-group {
  display: flex;
  gap: 20px;
  z-index: 2000;
}

.auth-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.mission-container {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  line-height: 1.6;
  border: 2px solid #df0024;
  background-color: transparent;
  color: #000E1A;
  padding: 40px 20px;
}

.mission-statement {
  padding: 40px 30px;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 8px;
  color: #000E1A;
  line-height: 1.8;
  font-weight: 700;
}

.three-facts {
  font-weight: 500;
}

.tagline {
color: #df0024;
font-weight: 900;
margin-top: 20px;
font-size: 1.5rem;
}

.apply-to-join-btn {
  display: inline-block;
  color: #df0024;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid #df0024;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.apply-to-join-btn:hover {
  background-color: #df0024;
  color: white;

}

.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0px;
}

.background-gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gallery-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: scroll 40s linear infinite;
}

.gallery-track img {
  width: auto;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.mission-overlay {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 8px;
}

.menu-burger {
  display: block;
  flex-direction: column;
  background: #df0024;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

 .left-nav-group {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
  }
  .left-nav-group.active {
    display: flex;
  }

.process-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}  

.process-section {
  background-color: #f9f9f9;
  padding: 80px 0;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.process-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.process-cta {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 60px auto 0;
  padding: 50px 30px;
  background-color: #000E1A;
  color: #df0024;
  border-radius: 20px;
  text-align: center;
  max-width: 800px;
}

.process-cta .signup-btn {
  display: inline-block;
  background-color: #df0024;
  color: white;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 20px;
  border: none;
  transition: 0.3s;
}

.process-cta .signup-btn:hover{
  background-color: white;
  color: #df0024;
  transform: scale(1.05);
}

.cta-main {
  display: inline block;
  padding: 15px 30px;
  font-size: 1.2rem;
  text-decoration: none;
  margin-bottom: 10px;
}

.cta-note {
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.7;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.main-footer {
  background-color: #000E1A;
  color: #FFFFFF;
  padding: 60px 20px 20px;
  margin-top: 0;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-info h3 {
  color: #df0024;
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.company-no {
  color: #888;
}

.footer-info p {
  opacity: 0.8;
  line-height: 1.6;
}

.footer-contact h4, .footer-links h4 {
margin-bottom: 15px;
font-size: 1.2rem;
border-bottom: 2px solid #df0024;
display: inline-block;
padding-bottom: 5px;
}

.footer-contact a, .footer-links a {
  color: #FFFFFF;
  text-decoration: none;
  opacity: 1;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-contact a:hover, .footer-links a:hover {
  opacity: 1;
  color: #df0024;
  text-underline-offset: 5px;
  text-decoration: underline;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer.content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  opacity: 0.5;
}

@keyframes scroll {
  0% {transform: translateX(0);}
  100% {transform: translateX(-50%);}

}

@media (max-width: 600px) {
  .mission-overlay {
    margin: 0 10px;
    padding: 20px;
  }
  .mission-statement {
    font-size: 1rem;
  }

  .hero-section {
    min-height: 100svh;
}

.background-gallery {
    width: 100%;
    height: 100%;
}

.gallery-track {
    height: 100%;
    width: 100%;
    animation: none;
}

.gallery-track img {
    height: 100%;
    min-width: 100vw;
    width: 100vw;
    flex-shrink: 0;
    object-fit: cover;
}

.main-footer {
    width: 100%;
    box-sizing: border-box;
}

.process-grid {
    grid-template-columns: 1fr;
}

.process-container {
    padding: 0 16px;
    box-sizing: border-box;
}

.process-cta {
    padding: 30px 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.process-cta iframe {
    max-width: 100%;
    box-sizing: border-box;
}

.top-navigation {
    padding: 12px 16px;
    gap: 0;
}

.logo {
    font-size: 1.3rem;
    left: 50%;
    transform: translateX(-50%);
}

.auth-buttons {
    display: none;
}

}

  @media (max-width: 768px) {
    .header {
      flex-direction: column;
      justify-content: center;
      gap: 20px;
      padding: 20px 5%;
    }

    .header .logo {
      position: relative;
      left: auto;
      transform: none;
      text-align: center;
      margin: 0 auto;
    }

    .header .auth-buttons {
      width: 120px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .footer-container {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .footer.contact h4, .footer-links h4 {
      display: block;
    }
  }

.portal-body {
  background-color: #f4f7f9;
}

.portal-sub-nav {
  background-color: #FFFFFF;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.sub-nav-container {
  max-width: 1200px;
  width: 100%;
}

.sub-nav-container ul {
display: flex;
justify-content: center;
list-style: none;
padding: 0 16px;
margin: 0;
gap: 40px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
white-space: nowrap;
}

.sub-nav-container ul::-webkit-scrollbar {
  display: none;
}

.sub-nav-container li {
  flex-shrink: 0;
}

.sub-nav-container a {
  text-decoration: none;
  color: #666;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.3s;
}

.sub-nav-container a:hover {
  color: #df0024;
}

.sub-nav-container li.active a {
  color: #df0024;
  border-bottom: 2px solid #df0024;
  padding-bottom: 12px;
}

.portal-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .portal-container {
    margin: 16px auto;
    padding: 0 12px;
  }
}

.building-identity-row {
  display: grid;
  grid-template-columns: 250px 1fr 280px;
  gap: 30px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  align-items: start;
}

@media (max-width: 900px) {
  .building-identity-row {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }
  .building-photo-box {
    height: 200px;
    width: 100%;
  }
  .building-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .building-identity-row {
    padding: 16px 12px;
    gap: 16px;
  }
}

.building-photo-box {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
}

.property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px 15px 10px;
}

.photo-overlay .building-id {
  color: white !important;
  font-weight: 800;
  font-size: 0.8rem;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.building-id {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.building-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #000E1A;
}

.details-grid {
  margin-bottom: 8px;
  color: #444;
}

.idicator-group {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.status-pill {
  padding: 6px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
}

.status-secure {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.active-dot {
  height: 8px;
  width: 8px;
  background-color: #4caf50;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

.stat-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  border-left: 5px solid #000E1A;
}

.stat-card.warning {
  border-left-color: #df0024;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 5px;
}

.compliance-clock-card {
  background: #000E1A;
  color: white;
  padding: 30px;
  border-radius: 12px;
  margin-top: 30px;
  text-align: center;
}

#clock-display {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.timer-unit {
  font-size: 2.5rem;
  font-weight: 800;
  display: flex;
  flex-direction: column;
}

.timer-unit small {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* activity log styles */
  .page-header {
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8e8e8;
  }
  .page-header h1 {
    margin: 0 0 6px;
    font-size: 1.6rem;
    color: #1a1a1a;
  }
  .page-subtitle {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
  }
  .activity-log {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 20px;
  }

  .log-filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .log-filter-btn {
    padding: 6px 16px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .log-filter-btn.active {
    background: #df0024;
    color: #fff;
    border-color: #df0024;
  }

  .log-entry {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0 20px;
    margin-bottom: 0;
    position: relative;
  }

  .log-entry::before {
    content: '';
    position: absolute;
    left: 139px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e8e8e8;
  }

  .log-entry:last-child::before { bottom: 50%; }
  .log-entry:first-child::before { top: 50%; }

  .log-time {
    text-align: right;
    padding: 18px 20px 18px 0;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    position: relative;
  }

  .log-time strong {
    display: block;
    color: #333;
    font-size: 13px;
    margin-bottom: 2px;
  }

  .log-dot {
    position: absolute;
    right: -7px;
    top: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #ccc;
    background: #fff;
    z-index: 1;
  }

  .log-dot.flag    { background: #df0024; box-shadow: 0 0 0 2px #df0024; }
  .log-dot.works   { background: #e07b00; box-shadow: 0 0 0 2px #e07b00; }
  .log-dot.clear   { background: #2e7d32; box-shadow: 0 0 0 2px #2e7d32; }
  .log-dot.notify  { background: #1565c0; box-shadow: 0 0 0 2px #1565c0; }

  .log-body {
    padding: 14px 0 14px 20px;
  }

  .log-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 14px 16px;
    transition: box-shadow 0.2s;
  }

  .log-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

  .log-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    gap: 10px;
  }

  .log-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
  }

  .log-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }

  .badge-clear    { background: #e8f5e9; color: #2e7d32; }
  .badge-flag     { background: #fdecea; color: #df0024; }
  .badge-works    { background: #fff3e0; color: #e07b00; }
  .badge-notify   { background: #e3f0ff; color: #1565c0; }
  .badge-immutable { background: #f3f3f3; color: #666; font-size: 10px; }

  .log-card-detail {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .log-card-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
  }

  .log-card-meta span { display: flex; align-items: center; gap: 4px; }

  .log-photo-thumb {
    width: 64px;
    height: 64px;
    border-radius: 4px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    overflow: hidden;
    cursor: pointer;
  }

  .log-immutable-note {
    font-size: 11px;
    color: #aaa;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .log-section-date {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 24px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
  }

  @media (max-width: 768px) {
    .activity-log {
      padding: 20px 16px;
    }

    .page-header {
      text-align: left;
    }

    .log-filter-bar {
      justify-content: flex-start;
      gap: 10px;
    }

    .log-filter-btn {
      flex: 1 1 120px;
      min-width: 0;
    }

    .log-entry {
      display: block;
    }

    .log-entry::before {
      display: none;
    }

    .log-time {
      text-align: left;
      padding: 12px 0 8px;
    }

    .log-body {
      padding: 0;
    }

    .log-card {
      margin-top: 12px;
    }

    .log-card-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .log-card-meta {
      flex-direction: column;
      gap: 10px;
    }

    .log-photo-thumb {
      width: 100%;
      height: auto;
      min-height: 100px;
    }
  }

  @media (max-width: 480px) {
    .page-header h1 {
      font-size: 1.4rem;
    }

    .log-filter-bar {
      justify-content: stretch;
    }

    .log-filter-btn {
      flex: 1 1 100%;
    }
  }

/* summaery log container */

.summary-log-container {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.summary-log-container h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #000E1A;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.summary-item:last-of-type {
  border-bottom: none;
}

/* sticker styles */

.sticker {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 0;
  border-radius: 4px;
  color: #fff;
  width: 75px;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.sticker-red {
  background-color: #df0024;
}  /* urgent */
.sticker-yellow {
  background-color: #fc0;
}  /* warning */
.sticker-green {
  background-color: #2e7d32;
}  /* secure */

.summary-text {
  flex-grow: 1;
}

.summary-text strong {
  display: block;
  font-size: 0.9rem;
  color: #333;
}

.summary-text p {
  font-size: 0.8rem;
  color: #777;
  margin: 2px 0 0 0;
}

.veiw-all-link {
  display: block;
  margin-top: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #df0024;
  text-decoration: none;
  text-align: center;
}

.veiw-all-link:hover {
  text-decoration: underline;
}

/* about us styles */

.about-us-overlay {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 8px;
  align-items: center;
}

.about-us-container {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  line-height: 1.6;
  border: 2px solid #df0024;
  background-color: transparent;
  color: #000E1A;
  padding: 40px 20px;
}


.about-mission-title {
   color: #df0024;
   font-weight: 800;
   text-decoration: underline;
}

.about-why-we .problem {
  color: #df0024;
   font-weight: 600;
   text-decoration: underline;
}

.about-why-we .black-box {
  color: #000E1A;
  font-weight: 600;
}

.about-goal .goal {
  color: #000E1A;
  font-weight: 600;
  text-decoration: underline;
}

.about-goal .golden {
  color: #B8860B;
  font-weight: 600;
}

.about-vision .vision {
  color: #000E1A;
  font-weight: 600;
  text-decoration: underline;
}

.how-we-title {
  color: #df0024;
   font-weight: 800;
   text-decoration: underline;
   margin: 0;
}

.how-we-property-agents .property {
 color: #000E1A;
  font-weight: 600;
  text-decoration: underline;
}

.duty {
   color: #df0024;
   font-weight: 600;
   text-decoration: underline;
}

.how-we-contractors .contractors {
 color: #000E1A;
  font-weight: 600;
  text-decoration: underline;
}

.how-we-residents .residents {
  color: #000E1A;
  font-weight: 600;
  text-decoration: underline;
}

.how-you-title {
  color: #df0024;
  font-weight: 800;
  text-decoration: underline;
  margin: 0;
}

.how-you-accuracy .data {
   color: #000E1A;
  font-weight: 600;
  text-decoration: underline;
}

.how-you-randv .randv {
   color: #000E1A;
  font-weight: 600;
  text-decoration: underline;
}

.join-statement .pilot {
  color: #df0024;
  font-weight: 600;
  text-decoration: underline;
}

.join-statement {
  font-weight: 500;
}
/* end of about us

start of roadmap*/
.roadmap-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
  row-gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  
}

.roadmap-card {
  padding: 0 10px;
  border: 2px solid #df0024;
  border-radius: 8px;
  background-color: whitesmoke;
  opacity: 0.7;
}

.roadmap-title {
  color: #df0024;
  font-weight: 800;
  text-decoration: underline;
}

.roadmap-description .cleanreports {
  font-weight: bold;
}

.roadmap-description .golden {
  color: #B8860B;
  font-weight: 600;
}

.roadmap-description .compliance {
  color: #df0024;
   font-weight: 600;
   text-decoration: underline;
}

@media (max-width: 600px) {
  .roadmap-container {
    grid-template-columns: 1fr;
  }
}

/* end of roadmap

start of GDPR/PRIVACY POLICY */

.gdpr-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

@media (max-width: 600px) {
  .gdpr-container {
  grid-template-columns: 1fr;
  }
}


.gdpr-statement,
.privacy-policy {
  height: 600px;
  overflow-y: auto;
  padding: 20px;
  border: 2px solid #df0024;
  border-radius: 6px;
  box-shadow: 4px 8x #777;
}

/* START OF CASE STUDIES STYLES */

.case-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.study-container {
  display: block;
  border: 2px solid #df0024;
  border-radius: 8px;
  column-gap: 36px;
  row-gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  text-decoration: none;
  color: inherit;
}

.study-container:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
  cursor: pointer;
}

.study-date {
  font-size: 12px;
    font-weight: 700;
    color: #999;
}

@media (max-width: 600px) {
  .case-container {
  grid-template-columns: 1fr;
  }
}

/* awaab law styles */

.awaab-study-container {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  line-height: 1.6;
  border: 2px solid #df0024;
  background-color: transparent;
  color: #000E1A;
  padding: 40px 20px;
}

.citation-ref {
        font-size: 0.75em;
        color: #1B7A7A;
        text-decoration: none;
        font-weight: 600;
        margin-left: 1px;
      }
      .citation-ref:hover { text-decoration: underline; }
      .sources h3 {
        font-size: 0.9rem;
        font-weight: 700;
        color: #555;
        margin-bottom: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }
      .sources-list {
        list-style: decimal;
        padding-left: 1.5rem;
        margin: 0;
        text-align: left;
      }
      .sources-list li {
        font-size: 0.85rem;
        color: #666;
        margin-bottom: 0.5rem;
        line-height: 1.5;
        font-weight: normal;
      }
      .sources-list li a { color: #1B7A7A; text-decoration: none; }
      .sources-list li a:hover { text-decoration: underline; }
      .key-point {
        border-left: 4px solid #1B7A7A;
        padding-left: 1rem;
        color: #1B7A7A;
        font-weight: 600;
        margin-top: 1.5rem;
      }