  /* ===== VARIABLES & CORE ===== */
  :root {
    --brand-green: #BEF900;
    --nav-blue: #002B45;
    --muted-blue: #4A90E2;
    --neutral: #F5F5F5;
    --card-radius: 16px;
    --maxw: 1200px;
    --header-maxw: 1440px; /* NEW: Wider limit for header items */
    --transition: 0.28s ease;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: rgba(0,0,0,0.9);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
  }

  /* ===== GENERAL LAYOUT ===== */
  .container { 
    max-width: var(--maxw); 
    margin: 0 auto; 
    padding: 0 40px; 
  }

  main { padding: 0; }

  .section {
    padding: 60px 0;
  }

  .section--white {
    background: #fff;
    padding: 60px 0;
  }

  /* ===== HEADER & NAVIGATION ===== */
  header#main-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: var(--brand-green);
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
  }

/* ===== DESKTOP HEADER (RESTORING YOUR ORIGINAL LOOK) ===== */
.header-inner {
  max-width: var(--header-maxw);
  margin: 0 auto;
  padding: 15px 40px;
  display: flex;
  align-items: center; /* Vertical center */
  justify-content: space-between; /* Keeps Logo left, Menu right */
  transition: all 0.3s ease;
}

/* Ensure the new logo-row doesn't break the desktop line */
.logo-row {
  display: flex;
  align-items: center;
  flex: 1; /* Takes up space to push menu to the right */
}

.logo-wrapper {
  margin-right: 20px;
  text-decoration: none;
  transition: all 0.3s ease; /* Ensure this matches 0.3s */
}

/* Add this inside the @media (max-width: 980px) block */
header#main-header.shrink .header-inner {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
  header#main-header.shrink .logo { 
    font-size: 1.05rem;
    transform: translateY(1px);
  }



  header#main-header.shrink nav.menu a {
    font-size: 0.9rem;
    padding: 6px 10px;
  }

  /* Logo & Brand Mark */
  .logo-wrapper {
    margin-right: auto;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease; /* Ensure all properties animate */
    
  }

  .logo { 
    font-family: 'Source Sans Pro', sans-serif; 
    font-weight: 800; 
    color: black; 
    font-size: 1.8rem; 
    margin: 0; 
    line-height: 1.2; 
transition: all 0.3s ease; /* Change from 0.25s to 0.3s */
    letter-spacing: -0.5px; 
    text-decoration: none;
  }

  header#main-header > .header-inner > a {
    text-decoration: none;
    color: inherit;
  }

  .brand-mark {
    display: inline-flex;
    align-items: center;
    height: 36px;
    margin-right: 14px;
  }

  .brand-mark img {
    height: 100%;
    width: auto;
    display: block;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
  }

  .brand-mark:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-1px);
  }

  header#main-header.shrink .brand-mark { height: 30px; }

  /* Navigation Menu */
  nav.menu { 
      display: flex; 
      align-items: 
      center; gap: 10px; }
  
  nav.menu a {
    white-space: nowrap;
    text-decoration: none;
    font-weight: 500;
    color: black;
    padding: 8px 14px;
    border: none;
    border-radius: 0;
    transition: var(--transition);
  }

  nav.menu a:hover {
    background: transparent;
    color: #555;
    transform: translateY(0);
  }

  nav.menu a.btn.outline {
    color: black;
    background: transparent;
    border: none;
    transition: var(--transition);
  }

  nav.menu a.btn.outline:hover {
    background: transparent;
    color: #555;
    transform: translateY(0);
  }


  /* ===== HERO & CARDS ===== */
  /* Original Hero Card */
  .card {
    background: #f5f5f5;
    border-radius: 0;
    padding: 80px 0;
    margin: 0;
    box-shadow: none;
    text-align: left;
    color: #000;
    width: 100%;
  }

  .card-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 40px;
  }

  .card h1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.05;
    letter-spacing: -1px;
    margin: 0 0 20px 0;
    color: #000;
  }

  .card p.lead {
    font-size: 1.25rem;
    max-width: 950px;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
  }

  /* Card2 Component */
  .card2 {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    padding: 48px;
    margin-bottom: 28px;
  }

  .card2--green { 
    background: rgba(190, 249, 0, 0.15);
    border-left: 8px solid var(--brand-green);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  }

  .card2.green { background: var(--brand-green); }
  .card2.green.full-width { width: 100vw; margin: 0; border-radius: 0; box-shadow: none; }

  /* Hero variant for Card2 */
  .card2.hero-card {
    background: #f5f5f5;
    color: #000;
    padding: 80px 0;
    text-align: left;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
  }

  .card2.hero-card .card-inner { 
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 40px; 
  }

  .card2.hero-card h1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.05;
    letter-spacing: -1px;
    margin: 0 0 20px 0;
    color: #000;
  }

  .card2.hero-card p.lead {
    font-size: 1.25rem;
    max-width: 950px;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
  }

  /* ===== PROSE & TEXT CONTENT ===== */
  .prose { max-width: 800px; }

  .prose h2 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #000;
    position: relative;
    display: inline-block;
  }

  .prose h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--brand-green);
    border-radius: 2px;
  }

  .prose h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 30px 0 15px 0;
    color: #000;
  }

  .prose p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 16px 0;
    color: #111;
  }

  .prose ul {
    list-style: disc;
    padding-left: 24px;
    margin: 16px 0;
  }

  .prose ul li {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 8px;
    color: #111;
  }

  .prose a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
  }

  .prose a:hover { opacity: 0.7; }

  .eyebrow { 
    text-transform: uppercase; 
    letter-spacing: .06em; 
    font-size: .8rem; 
    opacity: .7; 
    margin-bottom: .25rem; 
  }

  .callout {
    background: #fff;
    border-left: 4px solid var(--brand-green);
    padding: 20px 24px;
    border-radius: 8px;
    margin-top: 1rem;
  }

  /* ===== BUTTONS ===== */
  .btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #336B7A;
    transition: all 0.25s ease;
  }

  .btn.solid { background: #336B7A; color: #fff; }
  .btn.solid:hover { background: #2a5763; border-color: #2a5763; transform: translateY(-2px); }

  .btn.outline { background: transparent; color: #0066cc; }
  .btn.outline:hover { background: #0066cc; color: #fff; transform: translateY(-2px); }

  .citizenship-cta-btn {
    display: inline-block;
    background: #336B7A;
    color: white;
padding: 18px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 100%;    /* Prevents button from overflowing screen */
    text-align: center; /* Ensures text stays centered if it wraps */
    /* ADD THESE TWO LINES */
  margin: 10px 0; 
  }

  .citizenship-cta-btn:hover {
    background: #2a5763;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  }

  .prose a.citizenship-cta-btn {
    color: white !important;
    text-decoration: none;
  }

  .btn-small {
    display: inline-block;
    background: #336B7A;
    color: white !important;
    padding: 6px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-left: 4px;
    vertical-align: middle;
  }

  .btn-small:hover {
    background: #2a5763;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 1 !important;
  }

  .manage-cookies-btn {
    background: #444;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
  }

  .manage-cookies-btn:hover { background: #000; }

  /* ===== CONTACT SECTION ===== */
  .contact-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    text-align: center;
    margin: 0;
  }

  .contact-section .contact-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .contact-section h2 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    margin: 0 0 10px;
    color: #000;
  }

  .contact-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 24px;
    color: #333;
  }

  .contact-section p a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--brand-green);
    transition: 0.25s ease;
  }

  .contact-section p a:hover {
    color: #555;
    border-bottom-color: #a0d600;
  }

  .contact-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid #336B7A;
    background: #336B7A;
    color: #fff;
    transition: 0.25s ease;
    font-size: 1.1rem;
  }

  .contact-btn:hover {
    transform: translateY(-2px);
    background: #2a5763;
    color: #fff;
    border-color: #2a5763;
    box-shadow: 0 4px 15px rgba(51, 107, 122, 0.3);
  }

  /* ===== FOOTER ===== */
  footer {
    margin-top: 0;
    padding: 36px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
  }

  .footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .logo-holder {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
  }

  .logo-holder img { height: 60px; object-fit: contain; }
  .logo-holder:hover { transform: translateY(-3px); }

  .footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #0b2340;
    max-width: 800px;
  }

  /* ===== SCROLL REVEAL ===== */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
  


/* ===== MODERN FLOATING LANGUAGE SWITCHER ===== */
.floating-lang-container {
  position: fixed;
  top: 110px; /* Desktop position */
  right: 40px;
  z-index: 10001;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Adjust top when header shrinks on scroll */
header#main-header.shrink ~ .floating-lang-container {
  top: 75px;
}

.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: var(--nav-blue);
  color: var(--brand-green);
  border: 2px solid var(--nav-blue);
  border-radius: 50px; /* Pill shape */
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 43, 69, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.lang-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 0; height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: -1;
}

.lang-btn:hover::before {
  width: 100%;
}
/* Subtle Globe Pulse to attract attention */
.lang-btn i.fa-globe {
  font-size: 1.1rem;
  animation: pulse-green 2.5s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.lang-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 43, 69, 0.4);
  background: #003a5d;
  color: #ffffff;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); /* Modern glass effect */
  min-width: 150px;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.05);
  z-index: 10002;
  overflow: hidden;
}

.lang-dropdown.show {
  display: block;
  animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--nav-blue);
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.2s;
}

.lang-dropdown a:hover {
  background: var(--brand-green);
  color: var(--nav-blue);
  padding-left: 20px; /* Little nudge effect */
}

/* ===== MOBILE ADJUSTMENTS ===== */
@media (max-width: 980px) {
  .floating-lang-container {
    top: auto;
    bottom: 30px; /* Thumb-zone positioning */
    right: 20px;
    left: auto;
  }

  .lang-btn {
    padding: 16px 28px; /* Larger hit area for fingers */
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  }

  .lang-dropdown {
    bottom: calc(100% + 15px); /* Open upwards on mobile */
    top: auto;
    right: 0;
    min-width: 180px;
  }
}

/* ===== END LANGUAGE SWITCHER ===== */

  /* ===== MEDIA QUERIES ===== */
  @media (max-width: 980px) {
    .container { padding: 0 24px; }
    .header-inner { padding: 14px 16px; }

    .card-inner { padding: 0 20px; }
    .card h1 { font-size: 2.5rem; }
    footer {
      flex-direction: column;
      align-items: center;
    }
    .footer-logos {
      justify-content: center;
      gap: 15px;
    }
  }

  @media (max-width: 768px) {
    .card2.hero-card h1 { font-size: 2.4rem; }
  }
  
  
  /* 2. HEADER MOBILE OPTIMIZATION */
/* 2. MOBILE OPTIMIZATION */
/* ===== MOBILE HEADER (DYNAMIC & CENTERED) ===== */
/* ===== MOBILE HEADER (FULL WIDTH & STABLE) ===== */
/* ===== DYNAMIC ENLARGE MOBILE HEADER ===== */
/* ===== MOBILE NAVIGATION & HAMBURGER ===== */
/* ===== LOGO FIX: Conditional Colon ===== */
/* ===== LOGO FIX: Conditional Colon ===== */
.mobile-only { display: none; }

/* ===== MOBILE NAVIGATION & HAMBURGER ===== */
@media (max-width: 980px) {
    
      .floating-lang-container {
    top: auto !important; 
    bottom: 25px;
    right: 20px;
  }

  /* 1. Toggle Colon: Hide desktop version, show mobile version */
  .desktop-only { display: none; }
  .mobile-only { display: inline; }

  /* 2. Header Layout */
  .header-inner {
    padding: 12px 16px !important;
    display: flex !important;
    flex-direction: row !important; 
    justify-content: space-between !important; /* Text/Logo on left, Hamburger on right */
    align-items: center !important;
  }

  /* Keeps Text and Image together */
  .logo-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    flex: 1;
  }

/* Update this inside the @media (max-width: 980px) block */
.logo { 
    font-size: 1.2rem !important;
    line-height: 1.1;
    transition: all 0.3s ease !important;
    will-change: font-size, transform; /* Add this to force smooth rendering */
}
  
  .logo-subtext {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    transition: all 0.3s ease;
  }
  
  /* Add this inside the @media (max-width: 980px) block */
.brand-mark {
    transition: all 0.3s ease !important;
}
.brand-mark img {
    transition: all 0.3s ease !important;
}

  /* 3. SCROLL ANIMATION: Compact mode */
  header#main-header.shrink .logo { font-size: 1.05rem !important; }
  header#main-header.shrink .logo-subtext { 
    opacity: 0.4;
    font-size: 0.7rem;
    transform: translateY(-2px);
  }
  header#main-header.shrink .brand-mark { height: 24px; }

  /* 4. HAMBURGER BUTTON */
  .menu-toggle {
    display: block !important;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000;
    padding: 5px;
    z-index: 10001 !important;
  }

/* ENHANCED MOBILE MENU */
  nav.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%; /* Slightly wider for a cleaner look */
    max-width: 350px;
    height: 100vh;
    /* Brighter: Using Brand Green with a subtle gradient */
    background: linear-gradient(135deg, var(--brand-green) 0%, #d4ff3d 100%);
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 60px 40px !important;
    gap: 15px !important;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 10000;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  }

  nav.menu.active {
    right: 0;
  }

  /* Brighter Links */
  nav.menu a {
    color: var(--nav-blue) !important; /* Dark blue text on green background */
    font-size: 1.5rem !important; /* Larger, more modern size */
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: -0.5px;
    padding: 15px 0 !important;
    border-bottom: 2px solid rgba(0, 43, 69, 0.1); /* Subtle dark separator */
    width: 100%;
    text-align: left !important;
    text-decoration: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    z-index: 10000; /* Higher than the overlay */
  }

  /* Staggered Animation for Links */
  nav.menu.active a {
    opacity: 1;
    transform: translateX(0);
  }

  /* Delay each link slightly for a premium feel */
  nav.menu.active a:nth-child(1) { transition-delay: 0.1s; }
  nav.menu.active a:nth-child(2) { transition-delay: 0.2s; }
  nav.menu.active a:nth-child(3) { transition-delay: 0.3s; }
  nav.menu.active a:nth-child(4) { transition-delay: 0.4s; }

  /* Overlay: Brighter blur effect instead of just dark grey */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.3) !important;
    z-index: 9998; /* Lower than the menu */
    display: none;
  }
  
}

/* Hide Hamburger on Desktop */
.menu-toggle { display: none; }

@media (max-width: 980px) {
  .citizenship-cta-btn {
    margin: 30px 0; /* Gives even more breathing room on mobile */
  }
}
