/* ==========================================================================
   01. ROOT RESETS & WRAPPER CONSTRAINTS
   ========================================================================== */
   *, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #0d0d0d;
    color: #e5e5e5;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  
  /* ==========================================================================
     02. HEADER / LOGO BAR
     ========================================================================== */
  .intro_section {
    background-color: rgba(234, 234, 234, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
  }
  
  .intro_section img {
    height: 68px;
    width: auto;
    max-width: 90vw;
    object-fit: contain;
    display: block;
  }
  
  /* ==========================================================================
     03. HERO SECTION & GRID ISOLATION
     ========================================================================== */
  .hero-section {
    position: relative;
    min-height: 85vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.95) 100%),
                url('../images/elbert.png') center/cover no-repeat;
    padding: 4rem 1.5rem;
    overflow: hidden;
  }
  
  .hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
  }
  
  @media (min-width: 992px) {
    .hero-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  /* Hard cap grid children from pushing boundaries */
  .hero-grid > * {
    min-width: 0;
    width: 100%;
  }
  
  .hero-copy {
    animation: fadeIn 0.8s ease-out forwards;
  }
  
  .badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background-color: rgba(212, 184, 134, 0.12);
    border: 1px solid #d4b886;
    color: #d4b886;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 50px;
    margin-bottom: 1.25rem;
  }
  
  .hero-copy h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #ffffff;
  }
  
  .hero-copy h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #d4b886;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
  }
  
  .hero-copy p {
    color: #a3a3a3;
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
  
  /* ==========================================================================
     04. EMBEDDED IFRAME CONTAINER
     ========================================================================== */
  .hero-form-card {
    background: rgba(20, 20, 20, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* Prevents Google form internal width from expanding parent */
  }
  
  .hero-form-card iframe {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    box-sizing: border-box;
  }
  
  .form-header {
    margin-bottom: 1.25rem;
  }
  
  .form-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: #d4b886;
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
  }
  
  .services-group {
    margin-bottom: 0.85rem;
  }
  
  .form-header h4 {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  
  .services-list {
    list-style-type: disc;
    padding-left: 1.2rem;
  }
  
  .services-list li {
    font-size: 0.875rem;
    color: #a3a3a3;
    line-height: 1.4;
    margin-bottom: 0.25rem;
  }
  
  /* ==========================================================================
     05. MAIN CONTENT & TABLE FIXES
     ========================================================================== */
  .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    width: 100%;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-title h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 0.5rem;
  }
  
  .section-title p {
    color: #a3a3a3;
  }
  
  .regional-topics-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 5rem;
    width: 100%;
  }
  
  @media (min-width: 992px) {
    .regional-topics-container {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  .regional-topics-container > * {
    min-width: 0;
    width: 100%;
  }
  
  .table-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    overflow: hidden;
  }
  
  .data-table {
    width: 100%;
    table-layout: fixed; /* Prevents text length from stretching table columns */
    border-collapse: collapse;
    text-align: left;
  }
  
  .data-table caption {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 1.25rem;
    color: #d4b886;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .data-table th,
  .data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  
  .data-table thead th {
    color: #a3a3a3;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(212, 184, 134, 0.3);
  }
  
  .data-table tbody th {
    font-weight: 600;
    color: #ffffff;
    width: 35%;
    font-size: 0.95rem;
  }
  
  .data-table tbody td {
    color: #a3a3a3;
    font-size: 0.9rem;
  }
  
  /* ==========================================================================
     06. AUTHOR BIO SECTION
     ========================================================================== */
  .creator-section {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    width: 100%;
  }
  
  @media (min-width: 768px) {
    .creator-section {
      grid-template-columns: 220px 1fr;
    }
  }
  
  .creator-img-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  
  .creator-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #d4b886;
  }
  
  .creator-bio h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
  }
  
  .creator-bio .role {
    color: #d4b886;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .creator-bio p {
    color: #a3a3a3;
    font-size: 0.95rem;
  }
  
  /* ==========================================================================
     07. COMMUNITY CTA SECTION
     ========================================================================== */
  .facebook-cta-section {
    margin-bottom: 4rem;
    width: 100%;
  }
  
  .facebook-card {
    background: #141414;
    border: 1px solid #d4b886;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
  }
  
  .facebook-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
  }
  
  .facebook-content p {
    color: #a3a3a3;
    max-width: 550px;
    margin: 0 auto 2rem auto;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
  }
  
  .btn-primary {
    background-color: #d4b886;
    color: #0d0d0d;
  }
  
  /* ==========================================================================
     08. FOOTER
     ========================================================================== */
  .site-footer {
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3rem 1.5rem 2rem 1.5rem;
    margin-top: auto;
    width: 100%;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  
  .social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a3a3a3;
  }
  
  .social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
  
  .footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #a3a3a3;
    font-size: 0.85rem;
  }
  
  .footer-legal a {
    color: #a3a3a3;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }