/* CORRECTED CSS - Aligned with moodboard and client requirements */
:root{
  /* Updated Brand Colors - Deep navy/charcoal + ivory/gold accents */
  --navy: #0D1B2A;        /* primary - Deep Navy */
  --charcoal: #1C1C1C;    /* headings - Charcoal */
  --ink: #1C1C1C;         /* body */
  --offwhite: #F9F9F6;    /* page - Ivory */
  --paper: #FFFFFF;       /* cards */
  --rule: #E6E7EA;        /* hairlines */
  --muted: #6E7683;       /* secondary text */
  --tint: #2C3E50;        /* subtle accents */
  --gold: #C8A25D;        /* accent for prestige - Gold */
  --dark-navy: #0A1520;   /* dark blue for header */

  /* Corrected Type scale as per requirements */
  --h1: clamp(2.25rem, 5vw, 2.5rem);  /* ~36-40px */
  --h2: clamp(1.75rem, 4vw, 1.75rem); /* ~28px */
  --body: 1rem;                       /* 16px */

  /* Layout - Increased padding as requested */
  --section-y: clamp(40px, 18vw, 120px);
  --grid-max: 1480px;
  --gutter: 56px;
  --radius: 8px;
  --shadow: 0 8px 32px rgba(13,27,42,.08);
  --shadow-soft: 0 4px 20px rgba(13,27,42,.05);
  --shadow-hover: 0 12px 40px rgba(13,27,42,.12);
}

/* RESET AND BASE STYLES */
html, body { height: 100%; scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.6;
  font-size: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* CORRECTED TYPOGRAPHY HIERARCHY */
h1, h2, h3, .brand{ 
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; 
  color: var(--charcoal); 
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
}

h1{ 
  font-size: var(--h1); 
  line-height: 1.1; 
  margin: 0 0 24px; 
}

h2{ 
  font-size: var(--h2); 
  line-height: 1.2; 
  margin: 0 0 20px; 
}

h3{ 
  font-size: 1.25rem; 
  line-height: 1.3; 
  margin: 0 0 12px; 
}

p{ 
  margin: 0 0 16px; 
  color: var(--ink); 
  line-height: 1.6;
}

.container{ 
  width: min(100% - 2*var(--gutter), var(--grid-max)); 
  margin-inline: auto; 
}

/* PROGRESS BAR */
#progress{ 
  position:fixed; left:0; top:0; height:2px; width:0; 
  background: linear-gradient(90deg, var(--navy), var(--tint)); 
  z-index:100; 
}

/* HEADER - Professional with subtle animation */
header{ 
  position: fixed; top: 0; z-index: 50; 
  background: rgba(249,249,246,0.96); 
  backdrop-filter: saturate(180%) blur(12px); 
  border-bottom: 1px solid var(--rule); 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  width: 100%;
}

header.scrolled{ 
  box-shadow: var(--shadow-soft); 
  background: var(--dark-navy); 
  padding: 0;
}

header.scrolled .brand,
header.scrolled nav a {
  color: white;
}
header.scrolled nav a:hover{
    color: var(--gold);
}
header.scrolled .mobile-toggle span{
  background-color: #fff;
}

header.scrolled .cta-outline {
  border-color: var(--gold);
  color: var(--gold);
}

.topbar{ 
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  padding: 20px 0; 
  transition: padding 0.4s ease; 
}

.brand{ 
  font-weight: 700; 
  font-size: 1.5rem; 
  line-height:1.1; 
  transition: color 0.4s ease;
}

/* DESKTOP NAVIGATION */
.desktop-nav { 
  display: flex; 
  align-items: center; 
}

.desktop-nav a{ 
  color: var(--ink); 
  text-decoration: none; 
  margin-left: 32px; 
  font-weight: 500; 
  position: relative; 
  transition: color 0.3s ease;
}

.desktop-nav a:hover{ 
  color: var(--navy); 
}

.cta-outline{ 
  border: 1.5px solid var(--navy); 
  padding: 10px 24px; 
  border-radius: 6px; 
  text-decoration:none; 
  margin-left: 32px; 
  font-weight: 600; 
  color: var(--navy); 
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease; 
}

.cta-outline:hover{ 
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(200,162,93,0.3);
}

/* MOBILE NAVIGATION */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--dark-navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s ease;
  z-index: 90;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  margin: 12px 0;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-cta {
  margin-top: 24px;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

/* HERO SECTION - Increased padding as requested */
.hero{ 
  background: linear-gradient(135deg, rgba(13,27,42,0.4), rgba(13,27,42,0.3)), 
              url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat; 
  color:#fff; 
  position: relative; 
  padding: calc(var(--section-y) * 1.2) 0; 
  margin-top: 60px;
 
}
.mobile-toggle.active span{
    background-color: #fff;
}
.hero-inner{ 
  text-align: center; 
  max-width: 800px; 
  margin: 0 auto; 
  position: relative; 
  z-index: 2; 
   padding: 20px;
}

.eyebrow{ 
  color: rgba(255,255,255,0.9); 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  font-size: 0.875rem; 
  margin-bottom: 16px; 
  font-weight: 500;
}

.hero h1{ 
  color:#fff; 
  margin-bottom: 24px;
}

.subtext{ 
  max-width: 600px; 
  color: rgba(255,255,255,0.9); 
  margin: 0 auto 40px; 
  font-size: 1.125rem;
}

.cta-row{ 
  display:flex; 
  justify-content:center; 
  gap:16px; 
}

/* CORRECTED CTA BUTTONS - No color fill on hover */
.cta-primary, .why-cta{ 
  background: transparent; 
  color: var(--gold); 
  padding: 14px 32px; 
  border: 2px solid var(--gold);
  border-radius: 6px; 
  text-decoration:none; 
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  transition: all 0.2s ease-in;
  display: inline-block;
}

.cta-primary:hover{ 
  transform: scale(1.02);
  color: white;
  box-shadow: 0 0 25px rgba(200,162,93,0.4);
  /* No background color fill - only border and glow */
}
.why-cta:hover{
    color: var(--gold);
}
.cta-secondary{ 
  color:rgba(255,255,255,0.9); 
  text-decoration:none; 
  border-bottom:1px solid rgba(255,255,255,0.4); 
  padding-bottom:4px; 
  transition: all 0.3s ease; 
  font-weight: 500;
}

.cta-secondary:hover{ 
  border-color: #fff; 
  color: #fff; 
}

/* TRUST ROW */
.trust{ 
  background: var(--offwhite); 
  border-top:1px solid var(--rule); 
  border-bottom:1px solid var(--rule); 
  padding: 40px 0; 
}

.trust .inner{ 
  display:flex; 
  flex-wrap: wrap; 
  justify-content:center; 
  gap: 32px; 
  align-items:center; 
  flex-direction: column;
}

.trust .tag{ 
  color: var(--navy); 
  text-transform: uppercase; 
  letter-spacing: 1.5px; 
  font-size: 0.875rem; 
  padding: 8px 16px; 
  text-align: center;
  border: 1px solid var(--navy); 
  border-radius: 999px; 
  background: rgba(255,255,255,0.8);
}

.logos{ 
  display:flex; 
  gap: 32px; 
  flex-wrap: wrap; 
  justify-content: center;
}

.logo{ 
  font-family: 'Playfair Display', Georgia, serif; 
  color: var(--charcoal); 
  font-size: 1rem; 
  font-weight: 600; 
  opacity:.8; 
  transition: all 0.3s ease;
}

.logo:hover{ 
  color: var(--navy); 
  opacity: 1;
}

/* SECTIONS */
section{ 
  padding: var(--section-y) 0; 
}

/* CORRECTED SECTION TITLES - Uppercase with letter-spacing */
.section-title{ 
  text-align:center; 
  margin-bottom: 60px; 
  position: relative; 
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: var(--h2);
}

.section-title::after{ 
  content:""; 
  position:absolute; 
  left:50%; 
  bottom:-16px; 
  width:60px; 
  height:2px; 
  background: var(--navy); 
  transform: translateX(-50%); 
}

/* PILLARS SECTION */
.cards{ 
  display:grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 32px; 
}

.card{ 
  background: var(--paper); 
  border: 2px solid var(--rule); 
  border-radius: var(--radius); 
  padding: 40px 32px; 
  box-shadow: var(--shadow-soft); 
  transition: all 0.3s ease; 
  text-align: center;
}

.card:hover{ 
  transform: translateY(-5px); 
  box-shadow: var(--shadow-hover); 
  border-color: var(--gold);
  
}

.card .icon{ 
  margin-bottom: 24px; 
  color: var(--navy); 
  font-size: 2.5rem;
}

.card h3{ 
  margin-bottom: 16px;
}

.card p{ 
  color: var(--muted); 
}

/* WHY ALATREE SECTION - Increased padding */
.proofs{ 
  display: flex; 
  justify-content: center; 
  gap: 32px; 
  flex-wrap: wrap; 
}

.proof{ 
  background: var(--paper); 
  border: 2px solid var(--rule); 
  border-radius: var(--radius); 
  padding: 40px 32px; 
  text-align:center; 
  box-shadow: var(--shadow-soft); 
  transition: all 0.3s ease; 
  width: 400px;
}

.proof:hover{ 
  transform: translateY(-5px); 
  box-shadow: var(--shadow-hover); 
  border-color: var(--gold); 
}

.proof-icon {
  font-size: 2.5rem; 
  color: var(--navy); 
  margin-bottom: 20px;
}

.proof h3 { 
  color: var(--navy); 
  margin-bottom: 12px;
}

.proof .lead{ 
  font-weight:600; 
  color: var(--muted); 
  font-size: 1.125rem; 
}

/* SECONDARY CTA IN WHY ALATREE */
.why-cta-container {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.why-cta {
  min-width: 180px;
  text-align: center;
}

/* SELECTED MANDATES - Updated imagery with overlays */
.cases{ 
  display:grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 32px; 
}

.case{ 
  background: var(--paper); 
  border: 2px solid var(--rule); 
  border-radius: var(--radius); 
  overflow: hidden; 
  box-shadow: var(--shadow-soft); 
  transition: all 0.3s ease; 
}

.case:hover{ 
  transform: translateY(-5px); 
  box-shadow: var(--shadow-hover); 
  border-color: var(--gold); 
}

.image-container {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  opacity: 0.2;
}

.case img{ 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  filter: grayscale(30%);
  transition: transform 0.5s ease; 
}

.case:hover img{ 
  transform: scale(1.05); 
}

.case .content{ 
  padding: 24px; 
}

.case .kicker{ 
  text-transform: uppercase; 
  letter-spacing:1.5px; 
  font-size:0.75rem; 
  color: var(--muted); 
  margin-bottom:12px; 
  font-weight: 600;
}

.case h3{ 
  margin-bottom:12px; 
}

.case p{ 
  color: var(--muted); 
}

/* CTA BAND */
.cta-band{ 
  background: linear-gradient(135deg, var(--navy), var(--tint)); 
  color:#fff; 
  padding: 80px 10px; 
  position: relative; 
}

.cta-band .wrap{ 
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  gap:32px; 
  max-width: 900px; 
  margin: 0 auto; 
}

.cta-band .lead{ 
  font-family: 'Playfair Display', Georgia, serif; 
  font-size: 1.75rem; 
  font-weight: 700; 
  line-height: 1.3;
  letter-spacing: 3px;
}

.cta-band a{ 
  background: transparent; 
  color: var(--gold); 
  padding: 14px 32px; 
  border: 2px solid var(--gold);
  border-radius: 6px; 
  text-decoration:none; 
  font-weight:600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  transition: all 0.2s ease-in;
  white-space: nowrap;
}

.cta-band a:hover{ 
  transform: scale(1.02);
  color: white;
  box-shadow: 0 0 25px rgba(200,162,93,0.4);
}

/* GLOBAL PRESENCE - With world map backdrop */
.map-section { 
  padding: var(--section-y) 0; 
}

.map-container { 
  height: 400px; 
  width: 80%;
  background: var(--paper); 
  border-radius: var(--radius); 
  overflow: hidden; 
  box-shadow: var(--shadow-soft);
  position: relative;
  border: 2px solid var(--gold);
  margin: 0 auto;
}

.world-map-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50" opacity="0.05"><path d="M50,5 C70,5 95,20 95,50 C95,80 70,95 50,95 C30,95 5,80 5,50 C5,20 30,5 50,5 Z" fill="%230D1B2A"/></svg>');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

#global-map { 
  height: 100%; 
  width: 100%; 
  position: relative; 
  z-index: 2; 
}

.map-caption { 
  text-align: center; 
  margin-top: 24px; 
  color: var(--muted); 
  line-height: 1.6;
}

.license-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 8px;
}

/* SECTION BACKGROUNDS */
.section-light {
  background: var(--offwhite);
}

.section-medium {
  background: linear-gradient(to bottom, #F0F1F3, var(--offwhite));
}

.section-dark {
  background-color: rgba(13,27,42,0.03);
}

.section-dark h2,
.section-dark .section-title {
  color: var(--navy);
}

.section-dark .section-title::after {
  background: var(--navy);
}

/* REVEAL ANIMATIONS */
.reveal{ 
  opacity: 0; 
  transform: translateY(30px); 
  transition: all 0.6s ease; 
}

.reveal.in{ 
  opacity: 1; 
  transform: translateY(0); 
}

/* FOOTER - Increased spacing as requested */
footer{ 
  background: var(--dark-navy); 
  color: white;
  padding: 80px 0 0;
    text-align: center;
}

.footer-grid{ 
  display:grid; 
  grid-template-columns: 2fr 1fr 1fr 1fr; 
  gap: 48px; 
  padding-bottom: 60px;
}

.footer-title{ 
  font-family: 'Playfair Display', Georgia, serif; 
  font-weight:700; 
  margin-bottom: 20px; 
  font-size: 1.25rem; 
  color: white;
}

.f-link{ 
  display:block; 
  color: rgba(255,255,255,0.7); 
  text-decoration:none; 
  margin: 8px 0; 
  transition: all 0.3s ease; 
}

.f-link:hover{ 
  color: white; 
  transform: translateX(4px); 
}

.small{ 
  font-size: 0.95rem; 
  color: rgba(255,255,255,0.7); 
  line-height: 1.6; 
}

/* FOOTER ADDRESS - More breathing space */
.footer-another{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px; 
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
}

.office-location {
  margin-bottom: 0;
}

.office-title {
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 1rem;
}

.office-address {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* SOCIAL MEDIA */
.social-section {
  background: var(--navy);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.social-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.social-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: white;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px){
  .cards, .cases{ 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .footer-grid{ 
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
  }
}

@media (max-width: 768px){
  .desktop-nav {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .cta-band .wrap{ 
    flex-direction: column; 
    text-align: center; 
  }
  .logos{
        flex-direction: row;
        text-align: center;
  }
  .map-container{
    width: 100%;
    height:400px
  }
  
  .hero {
    padding: calc(var(--section-y) * 1.6) 0;
  }
  .hero h1{
    line-height: 3rem;
    letter-spacing: 3px;
  }
  .hero .subtext{
    line-height: 2.2rem;
    letter-spacing: 2px;
    margin-top: 10px;
  }
  .footer-another{
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: -40px;
  }
}

@media (max-width: 640px){
  .cards, .cases, .proofs{ 
    grid-template-columns: 1fr; 
  }
  
  .footer-grid{ 
    grid-template-columns: 1fr; 
  }
  
  .cta-row{ 
    flex-direction: column; 
    align-items: center; 
  }
  
  .trust .inner {
    flex-direction: column;
    gap: 24px;
  }
}

/* LEAFLET CUSTOMIZATIONS */
.leaflet-container {
  background: var(--paper);
  font-family: 'Inter', sans-serif;
}

.leaflet-popup-content-wrapper {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.desktop-nav a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 32px;
  font-weight: 500;
  position: relative;
  padding: 8px 8px;
  transition: color 0.3s ease;
}

.desktop-nav a::before,
.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-nav a::before {
  top: 0;
  left: 0;
}

.desktop-nav a::after {
  bottom: 0;
  right: 0;
}

.desktop-nav a:hover::before,
.desktop-nav a:hover::after {
  width: 100%;
}

.desktop-nav a:hover {
  color: var(--navy);
}

/* For scrolled state */
header.scrolled .desktop-nav a::before,
header.scrolled .desktop-nav a::after {
  background: var(--gold);
}

header.scrolled .desktop-nav a:hover {
  color: var(--gold);
}
header.scrolled{
  background-color: var(--navy);
}

/* Contact Page Specific Styles */
.contact-hero {
  background: linear-gradient(135deg, rgba(13,27,42,0.4), rgba(13,27,42,0.3)), 
              url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  color: #fff;
  padding: calc(var(--section-y) * 1.2) 0;
  margin-top: 60px;
  text-align: center;
}

.contact-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.contact-hero h1 {
  color: #fff;
  margin-bottom: 16px;
}

.contact-hero .subtext {
  max-width: 600px;
  color: rgba(255,255,255,0.9);
  margin: 0 auto;
  font-size: 1.125rem;
}

.contact-section {
  padding: var(--section-y) 0;
  background: var(--offwhite);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding: 40px 0;
}

.contact-info h2 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: var(--h2);
  margin-bottom: 40px;
  position: relative;
}

.contact-info h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 60px;
  height: 2px;
  background: var(--navy);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.info-icon {
  color: var(--gold);
  font-size: 1.5rem;
  margin-top: 4px;
  min-width: 24px;
}

.info-content h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.info-content p {
  color: var(--muted);
  margin: 0;
}

.contact-form {
  background: var(--paper);
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 1px;
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--offwhite);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 93, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.required::after {
  content: " *";
  color: #dc2626;
}

.submit-btn {
  background: transparent;
  color: var(--gold);
  padding: 14px 32px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  transition: all 0.2s ease-in;
  cursor: pointer;
  display: inline-block;
  width: 100%;
}

.submit-btn:hover {
  transform: scale(1.02);
  color: var(--gold);
  box-shadow: 0 0 25px rgba(200,162,93,0.4);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 32px 24px;
  }
}

/* Trusted by Section */
.trusted-by-section {
  background: var(--paper);
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.trusted-by-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trusted-by-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.875rem;
  font-weight: 600;
}

.trusted-logos {
  display: flex;
  gap: 48px;
  align-items: center;
}

.trusted-logo {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--charcoal);
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.trusted-logo:hover {
  opacity: 1;
  color: var(--navy);
}

@media (max-width: 768px) {
  .trusted-by-inner {
    flex-direction: column;
    gap: 20px;
  }
  
  .trusted-logos {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

#about {
  padding-top: calc(var(--section-y) * 1.4); /* Increased from original */
}

/* Or alternatively, add more margin to the section above it */
#services {
  margin-bottom: 40px; /* Adds more space below Services section */
}

/* Case Studies Page Styles */
.case-studies-hero {
  background: linear-gradient(135deg, rgba(13,27,42,0.4), rgba(13,27,42,0.3)), 
              url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  color: #fff;
  padding: calc(var(--section-y) * 1.2) 0;
  margin-top: 60px;
  text-align: center;
}

.case-studies-section {
  padding: var(--section-y) 0;
  background: var(--offwhite);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.case-study-card {
  background: var(--paper);
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.case-study-header {
  margin-bottom: 20px;
}

.case-category {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.case-study-card h3 {
  color: var(--navy);
  margin-bottom: 0;
}

.case-study-content p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.case-outcomes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.outcome-tag {
  background: var(--offwhite);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--rule);
}

.case-studies-cta {
  background: linear-gradient(135deg, var(--navy), var(--tint));
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  .case-study-card {
    padding: 32px 24px;
  }
}

/* Navigation Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--paper);
    min-width: 200px;
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    border: 1px solid var(--rule);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    color: var(--ink);
    text-decoration: none;
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid var(--rule);
    transition: all 0.3s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--offwhite);
    color: var(--navy);
    padding-left: 24px;
}

/* For scrolled header */
header.scrolled .dropdown-content {
    background: var(--dark-navy);
    border-color: rgba(255,255,255,0.1);
}

header.scrolled .dropdown-content a {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.1);
}

header.scrolled .dropdown-content a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--gold);
}

/* Updated Trust Section with Logo Placeholders */
.trust {
  background: var(--paper);
  padding: 60px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.trust .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.trust .tag {
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.875rem;
  padding: 8px 16px;
  text-align: center;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  font-weight: 600;
}

.trust .logos {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.logo-item:hover {
  transform: translateY(-5px);
}

.logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--tint));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
}

.logo-item:hover .logo-circle {
  box-shadow: var(--shadow-hover);
  transform: scale(1.05);
  background: linear-gradient(135deg, var(--gold), #d4b57f);
}

.logo-placeholder {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.logo-item:hover .logo-placeholder {
  color: var(--navy);
}

.logo-text {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  max-width: 200px !important;
  line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .trust .logos {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .trust .logos {
    gap: 32px;
  }
  
  .logo-circle {
    width: 70px;
    height: 70px;
  }
  
  .logo-placeholder {
    font-size: 1.1rem;
  }
}

@media (max-width: 640px) {
  .trust .logos {
    gap: 20px;
  }
  
  .logo-item {
    min-width: 70px;
  }
  
  .logo-text {
    font-size: 0.75rem;
    max-width: 80px;
  }
  
  .logo-circle {
    width: 60px;
    height: 60px;
  }
  
  .logo-placeholder {
    font-size: 1rem;
  }
}

.hero-inner h1{
  color: #fff;
}

/* Legal Pages Styles */
.legal-hero {
  background: linear-gradient(135deg, rgba(13,27,42,0.4), rgba(13,27,42,0.3)), 
              url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  color: #fff;
  padding: calc(var(--section-y) * 1.2) 0;
  margin-top: 60px;
  text-align: center;
}

.legal-content {
  padding: var(--section-y) 0;
  background: var(--offwhite);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.legal-text {
  background: var(--paper);
  padding: 60px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  line-height: 1.7;
}

.legal-text h2 {
  color: var(--navy);
  margin: 40px 0 20px 0;
  font-size: 1.5rem;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text p {
  margin-bottom: 20px;
  color: var(--ink);
}

.legal-text ul {
  margin: 20px 0;
  padding-left: 24px;
}

.legal-text li {
  margin-bottom: 8px;
  color: var(--ink);
}

.update-date {
  color: var(--muted);
  font-style: italic;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

@media (max-width: 768px) {
  .legal-text {
    padding: 40px 24px;
  }
}

/* Updated Trust Section with Icons */
.trust {
  background: var(--paper);
  padding: 60px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.trust .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.trust .tag {
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.875rem;
  padding: 8px 16px;
  text-align: center;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  font-weight: 600;
}

.trust .logos {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.logo-item:hover {
  transform: translateY(-5px);
}

.logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--tint));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
}

.logo-item:hover .logo-circle {
  box-shadow: var(--shadow-hover);
  transform: scale(1.05);
  background: linear-gradient(135deg, var(--gold), #d4b57f);
}

.logo-icon {
  font-size: 1.75rem;
  color: white;
  transition: all 0.3s ease;
}

.logo-item:hover .logo-icon {
  color: var(--navy);
}

.logo-text {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  max-width: 100px;
  line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .trust .logos {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .trust .logos {
    gap: 32px;
  }
  
  .logo-circle {
    width: 70px;
    height: 70px;
  }
  
  .logo-icon {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .trust .logos {
    gap: 20px;
  }
  
  .logo-item {
    min-width: 70px;
  }
  
  .logo-text {
    font-size: 0.75rem;
    max-width: 80px;
  }
  
  .logo-circle {
    width: 60px;
    height: 60px;
  }
  
  .logo-icon {
    font-size: 1.25rem;
  }
}