/* ========================================
   OFS CONSULTANCY - EXECUTIVE LUXURY THEME
   Brand Colors: #209CF0 (bright blue), #04375E (deep navy), #FFFFFF
   Accent: #d4af37 (gold) for CTAs
   ======================================== */

:root {
    /* Brand Colors */
  --brand-navy: #04375E;
--brand-blue: #209CF0;
--brand-white: #ffffff;
--brand-gold: #d4af37;
--brand-gold-light: #f4e4bc;

  /* Extended Palette */
  --navy-900: #04375E;
--navy-800: #06527d;
--navy-700: #0870a0;
--blue-50: #f0f7fc;
--blue-100: #e6f4fd;
--blue-300: #7ac5f7;
--blue-400: #4db0f3;
--blue-500: #209CF0;

  /* Semantic Colors */
  --primary: var(--navy-900);
--primary-light: var(--blue-500);
--primary-dark: var(--navy-800);
--accent: var(--brand-gold);
--accent-light: var(--brand-gold-light);

  /* Neutrals */
  --white: #ffffff;
--gray-50: #f8fafc;
--gray-100: #f1f5f9;
--gray-200: #e2e8f0;
--gray-300: #cbd5e1;
--gray-400: #94a3b8;
--gray-500: #64748b;
--gray-600: #475569;
--gray-700: #334155;
--gray-800: #1e293b;
--gray-900: #0f172a;

  /* Backgrounds */
  --bg-primary: var(--white);
--bg-alt: var(--blue-50);
--bg-dark: var(--navy-900);
--bg-gradient: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-500) 100%);
--bg-gradient-subtle: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 100%);

  /* Spacing (8px base grid) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
--font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 1.875rem;
--text-4xl: 2.25rem;
--text-5xl: 3rem;
--text-6xl: 3.75rem;

  /* Line Heights */
  --leading-none: 1;
--leading-tight: 1.25;
--leading-snug: 1.375;
--leading-normal: 1.5;
--leading-relaxed: 1.625;

  /* Border Radius */
  --radius-sm: 0.25rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
--radius-xl: 1rem;
--radius-2xl: 1.5rem;
--radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(4, 55, 94, 0.05);
--shadow-md: 0 4px 6px -1px rgba(4, 55, 94, 0.1), 0 2px 4px -2px rgba(4, 55, 94, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(4, 55, 94, 0.1), 0 4px 6px -4px rgba(4, 55, 94, 0.1);
--shadow-xl: 0 20px 25px -5px rgba(4, 55, 94, 0.1), 0 8px 10px -6px rgba(4, 55, 94, 0.1);
--shadow-gold: 0 4px 14px 0 rgba(212, 175, 55, 0.25);
--shadow-blue: 0 4px 14px 0 rgba(32, 156, 240, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
--transition-base: 250ms ease;
--transition-slow: 400ms ease;
--ease-spring: cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index Scale */
  --z-base: 0;
--z-dropdown: 100;
--z-sticky: 200;
--z-fixed: 300;
--z-modal-backdrop: 400;
--z-modal: 500;
--z-tooltip: 600;
}

/* ========================================
   BASE & RESET
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
    scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
width: 100%;
overflow-x: hidden;
}
body {
    font-family: var(--font-body);
font-size: var(--text-base);
line-height: var(--leading-normal);
color: var(--gray-700);
background-color: var(--bg-primary);
width: 100%;
max-width: 100vw;
overflow-x: hidden;
}
img {
    max-width: 100%;
height: auto;
display: block;
}
a {
    color: var(--primary-light);
text-decoration: none;
transition: color var(--transition-base);
}
a:hover {
    color: var(--primary);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
font-weight: 600;
line-height: var(--leading-tight);
color: var(--primary);
margin-bottom: var(--space-4);
}
h1 {
    font-size: var(--text-5xl);
font-weight: 700;
}
h2 {
    font-size: var(--text-3xl);
}
h3 {
    font-size: var(--text-2xl);
}
h4 {
    font-size: var(--text-xl);
}
h5 {
    font-size: var(--text-lg);
}
h6 {
    font-size: var(--text-base);
}
p {
    margin-bottom: var(--space-4);
color: var(--gray-600);
}

.section-subtitle {
    font-family: var(--font-body);
font-size: var(--text-sm);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--primary-light);
margin-bottom: var(--space-2);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-2);
padding: var(--space-4) var(--space-8);
font-family: var(--font-body);
font-size: var(--text-base);
font-weight: 600;
text-align: center;
border-radius: var(--radius-lg);
border: 2px solid transparent;
cursor: pointer;
transition: all var(--transition-base);
text-decoration: none;
}

.btn-primary {
    background: var(--accent);
color: var(--primary);
border-color: var(--accent);
box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--brand-gold-light);
border-color: var(--brand-gold-light);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
color: var(--primary);
}

.btn-secondary {
    background: transparent;
color: var(--primary);
border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
color: var(--white);
transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
color: var(--white);
border-color: rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.5);
color: var(--white);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-3) var(--space-6);
font-size: var(--text-sm);
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
z-index: var(--z-fixed);
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--gray-200);
transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
margin: 0 auto;
padding: var(--space-4) var(--space-6);
padding-left: calc(var(--space-6) + env(safe-area-inset-left));
padding-right: calc(var(--space-6) + env(safe-area-inset-right));
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}

.logo {
    display: flex;
align-items: center;
gap: var(--space-3);
}

.logo-icon {
    width: 48px;
height: 48px;
object-fit: contain;
}

.logo-text h1 {
    font-family: var(--font-body);
font-size: var(--text-lg);
font-weight: 700;
color: var(--primary);
margin: 0;
line-height: var(--leading-tight);
}

.logo-text span {
    display: block;
font-size: var(--text-xs);
font-weight: 500;
color: var(--primary-light);
letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
list-style: none;
gap: var(--space-8);
align-items: center;
}

.nav-menu a {
    font-weight: 500;
color: var(--gray-600);
padding: var(--space-2) 0;
position: relative;
transition: color var(--transition-base);
}

.nav-menu a::after {
    content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--accent);
transition: width var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Exclude Get Started button from active underline */
.nav-cta a::after {
    display: none !important;
}

.nav-cta {
    margin-left: var(--space-4);
}

.nav-cta .btn {
    padding: var(--space-3) var(--space-8);
border-radius: var(--radius-full);
}

.hamburger {
    display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: var(--space-2);
}

.hamburger span {
    width: 24px;
height: 2px;
background: var(--primary);
border-radius: var(--radius-sm);
transition: all var(--transition-base);
}

/* ========================================
   SECTIONS
   ======================================== */

.section-header {
    text-align: center;
max-width: 640px;
margin: 0 auto var(--space-12);
}

.section-header h2 {
    color: var(--primary);
margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--text-lg);
color: var(--gray-500);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
padding: calc(var(--space-24) + 80px) var(--space-6) var(--space-24);
padding-left: calc(var(--space-6) + env(safe-area-inset-left));
padding-right: calc(var(--space-6) + env(safe-area-inset-right));
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-12);
align-items: center;
max-width: 1280px;
margin: 0 auto;
background: var(--bg-gradient-subtle);
position: relative;
overflow: hidden;
width: 100%;
}

.hero::before {
    content: '';
position: absolute;
top: -50%;
right: -20%;
width: 800px;
height: 800px;
background: radial-gradient(circle, rgba(32, 156, 240, 0.08) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
}

.hero::after {
    content: '';
position: absolute;
bottom: -30%;
left: -10%;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
}

.hero-content {
    position: relative;
z-index: 1;
}

.hero-content .section-subtitle {
    color: var(--primary-light);
margin-bottom: var(--space-4);
}

.hero-content h1 {
    font-size: var(--text-6xl);
color: var(--primary);
margin-bottom: var(--space-6);
line-height: var(--leading-none);
}

.hero-content h1 span {
    color: var(--primary-light);
}

.hero-content p {
    font-size: var(--text-xl);
color: var(--gray-600);
margin-bottom: var(--space-8);
max-width: 540px;
}

.hero-buttons {
    display: flex;
gap: var(--space-4);
flex-wrap: wrap;
}

.hero-image {
    position: relative;
z-index: 1;
}

.hero-image img {
    width: 100%;
height: auto;
border-radius: var(--radius-2xl);
box-shadow: var(--shadow-xl);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    padding: var(--space-24) var(--space-6);
max-width: 1280px;
margin: 0 auto;
}

.services-grid {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: var(--space-6);
}

.service-card {
    background: var(--white);
border: 1px solid var(--gray-200);
border-radius: var(--radius-xl);
padding: var(--space-8);
transition: all var(--transition-base);
position: relative;
overflow: hidden;
}

.service-card::before {
    content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: var(--bg-gradient);
transform: scaleX(0);
transition: transform var(--transition-base);
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
transform: translateY(-8px);
border-color: var(--primary-light);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
height: 60px;
background: var(--bg-alt);
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: var(--space-6);
transition: all var(--transition-base);
}

.service-icon svg {
    width: 28px;
height: 28px;
color: var(--primary-light);
}

.service-card:hover .service-icon {
    background: var(--primary-light);
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-body);
font-size: var(--text-xl);
font-weight: 600;
color: var(--primary);
margin-bottom: var(--space-3);
}

.service-card p {
    font-size: var(--text-base);
color: var(--gray-600);
margin-bottom: var(--space-4);
}

.service-card .btn {
    margin-top: var(--space-4);
}

.service-link {
    display: inline-flex;
align-items: center;
gap: var(--space-2);
font-weight: 600;
color: var(--primary-light);
}

.service-link svg {
    width: 16px;
height: 16px;
transition: transform var(--transition-base);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   TRUST INDICATORS
   ======================================== */

.trust-section {
    padding: var(--space-16) var(--space-6);
background-color: var(--navy-900); /* Dark color fallback to prevent white-on-white text */
  background: var(--bg-gradient);
color: var(--white);
}

.trust-container {
    max-width: 1280px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: var(--space-8);
text-align: center;
}

.trust-item h3 {
    font-size: var(--text-4xl);
font-weight: 700;
color: var(--white);
margin-bottom: var(--space-2);
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-3);
flex-wrap: wrap; /* Safety wrap for tiny viewport constraints */
}

.trust-item h3 svg,
.trust-item h3 i svg {
    width: 40px;
height: 40px;
color: var(--accent);
fill: none;
stroke: currentColor;
flex-shrink: 0; /* Prevents icon collapsing on narrow layouts */
}

.trust-item h3 span {
    color: var(--accent);
}

.trust-item h3 .counter-number {
    font-size: var(--text-4xl);
font-weight: 700;
color: var(--white);
}

.trust-item h3 .counter-suffix {
    font-size: var(--text-4xl);
font-weight: 700;
color: var(--accent);
margin-left: 2px;
}

.trust-item p {
    font-size: var(--text-base);
color: rgba(255, 255, 255, 0.8);
margin: 0;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials-section {
    padding: var(--space-24) var(--space-6);
background: var(--gray-50);
}

.testimonials-container {
    max-width: 1280px;
margin: 0 auto;
}

.testimonials-grid {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: var(--space-6);
margin-top: var(--space-12);
}

.testimonial-card {
    background: var(--white);
padding: var(--space-8);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-md);
transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-family: var(--font-display);
font-size: var(--text-4xl);
color: var(--accent);
line-height: 1;
margin-bottom: var(--space-4);
}

.testimonial-text {
    font-size: var(--text-lg);
color: var(--gray-700);
margin-bottom: var(--space-6);
line-height: var(--leading-relaxed);
}

.testimonial-author {
    display: flex;
align-items: center;
gap: var(--space-4);
}

.testimonial-avatar {
    width: 56px;
height: 56px;
border-radius: var(--radius-full);
object-fit: cover;
border: 3px solid var(--accent);
}

.testimonial-author h4 {
    font-family: var(--font-body);
font-size: var(--text-base);
font-weight: 600;
color: var(--primary);
margin: 0;
}

.testimonial-author p {
    font-size: var(--text-sm);
color: var(--gray-500);
margin: 0;
}

/* ========================================
   VALUES SECTION
   ======================================== */

.values-section {
    padding: var(--space-24) var(--space-6);
max-width: 1280px;
margin: 0 auto;
}

.values-grid {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: var(--space-6);
}

.value-card {
    background: var(--bg-alt);
border: 1px solid var(--gray-200);
border-radius: var(--radius-xl);
padding: var(--space-8);
position: relative;
overflow: hidden;
transition: all var(--transition-base);
}

.value-card::before {
    content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--bg-gradient);
opacity: 0;
transition: opacity var(--transition-base);
z-index: 0;
}

.value-card:hover::before {
    opacity: 1;
}

.value-number {
    font-family: var(--font-display);
font-size: var(--text-5xl);
font-weight: 700;
color: var(--accent);
opacity: 0.3;
position: absolute;
top: var(--space-4);
right: var(--space-6);
z-index: 1;
transition: all var(--transition-base);
}

.value-card:hover .value-number {
    opacity: 1;
color: var(--white);
}

.value-card h3,
.value-card p {
    position: relative;
z-index: 1;
transition: color var(--transition-base);
}

.value-card h3 {
    font-family: var(--font-body);
font-size: var(--text-xl);
font-weight: 600;
color: var(--primary);
margin-bottom: var(--space-3);
}

.value-card p {
    color: var(--gray-600);
margin: 0;
}

.value-card:hover h3,
.value-card:hover p {
    color: var(--white);
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    padding: calc(var(--space-24) + 60px) var(--space-6) var(--space-16);
padding-left: calc(var(--space-6) + env(safe-area-inset-left));
padding-right: calc(var(--space-6) + env(safe-area-inset-right));
background: var(--bg-gradient);
text-align: center;
position: relative;
overflow: hidden;
width: 100%;
max-width: 100vw;
}

.page-header::before {
    content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.5;
}

.page-header h1 {
    font-size: var(--text-5xl);
color: var(--white);
margin-bottom: var(--space-4);
position: relative;
z-index: 1;
}

.page-header p {
    font-size: var(--text-xl);
color: rgba(255, 255, 255, 0.9);
max-width: 600px;
margin: 0 auto;
position: relative;
z-index: 1;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    padding: var(--space-24) var(--space-6);
max-width: 1280px;
margin: 0 auto;
}

.about-grid {
    display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-16);
align-items: center;
}

.about-content h2 {
    color: var(--primary);
margin-bottom: var(--space-4);
}

.about-content p {
    font-size: var(--text-lg);
color: var(--gray-600);
margin-bottom: var(--space-6);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
border-radius: var(--radius-2xl);
box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
position: absolute;
top: -20px;
left: -20px;
right: 20px;
bottom: 20px;
border: 3px solid var(--accent);
border-radius: var(--radius-2xl);
z-index: -1;
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team-section {
    padding: var(--space-24) var(--space-6);
background: var(--gray-50);
}

.team-grid {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: var(--space-8);
max-width: 1280px;
margin: var(--space-12) auto 0;
}

.team-card {
    background: var(--white);
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-md);
transition: all var(--transition-base);
}

.team-card:hover {
    box-shadow: var(--shadow-xl);
transform: translateY(-8px);
}

.team-image {
    width: 160px;
height: 160px;
margin: var(--space-8) auto var(--space-6);
border-radius: var(--radius-full);
overflow: hidden;
border: 4px solid var(--accent);
padding: 4px;
}

.team-image img {
    width: 100%;
height: 100%;
object-fit: cover;
border-radius: var(--radius-full);
}

.team-card h3 {
    font-family: var(--font-body);
font-size: var(--text-xl);
font-weight: 600;
color: var(--primary);
text-align: center;
margin-bottom: var(--space-2);
}

.team-card .role {
    font-size: var(--text-sm);
font-weight: 600;
color: var(--primary-light);
text-align: center;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: var(--space-4);
}

.team-card .bio {
    font-size: var(--text-base);
color: var(--gray-600);
text-align: center;
padding: 0 var(--space-6) var(--space-6);
margin: 0;
}

/* ========================================
   LOCATIONS SECTION
   ======================================== */

.locations-section {
    padding: var(--space-24) var(--space-6);
max-width: 1280px;
margin: 0 auto;
}

.locations-grid {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: var(--space-6);
}

.location-card {
    background: var(--white);
border: 1px solid var(--gray-200);
border-radius: var(--radius-xl);
padding: var(--space-8);
transition: all var(--transition-base);
}

.location-card:hover {
    box-shadow: var(--shadow-lg);
border-color: var(--primary-light);
}

.location-icon {
    width: 56px;
height: 56px;
background: var(--bg-alt);
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: var(--space-6);
}

.location-icon svg {
    width: 28px;
height: 28px;
color: var(--primary-light);
}

.location-card h3 {
    font-family: var(--font-body);
font-size: var(--text-xl);
font-weight: 600;
color: var(--primary);
margin-bottom: var(--space-4);
}

.location-card .address {
    font-size: var(--text-base);
color: var(--gray-600);
margin-bottom: var(--space-4);
line-height: var(--leading-relaxed);
}

.location-card .phone {
    display: flex;
align-items: center;
gap: var(--space-2);
font-weight: 600;
color: var(--primary-light);
}

.location-card .phone svg {
    width: 18px;
height: 18px;
}

/* ========================================
   VISION & MISSION
   ======================================== */

.vision-mission-section {
    padding: var(--space-24) var(--space-6);
max-width: 1280px;
margin: 0 auto;
}

.vision-mission-grid {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: var(--space-8);
}

.vision-card,
.mission-card {
    background: var(--white);
border-radius: var(--radius-xl);
padding: var(--space-10);
position: relative;
overflow: hidden;
box-shadow: var(--shadow-md);
}

.vision-card::before,
.mission-card::before {
    content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 6px;
background: var(--bg-gradient);
}

.card-icon {
    width: 64px;
height: 64px;
background: var(--bg-alt);
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: var(--space-6);
}

.card-icon svg {
    width: 32px;
height: 32px;
color: var(--primary-light);
}

.vision-card h2,
.mission-card h2 {
    font-family: var(--font-body);
font-size: var(--text-2xl);
font-weight: 600;
color: var(--primary);
margin-bottom: var(--space-4);
}

.vision-card p,
.mission-card p {
    font-size: var(--text-lg);
color: var(--gray-600);
margin-bottom: var(--space-6);
}

.vision-list,
.mission-list {
    list-style: none;
padding: 0;
}

.vision-list li,
.mission-list li {
    display: flex;
align-items: flex-start;
gap: var(--space-3);
padding: var(--space-3) 0;
font-size: var(--text-base);
color: var(--gray-700);
}

.vision-list li svg,
.mission-list li svg {
    width: 20px;
height: 20px;
color: var(--accent);
flex-shrink: 0;
margin-top: 2px;
}

/* ========================================
   GOALS SECTION
   ======================================== */

.goals-section {
    padding: var(--space-24) var(--space-6);
background: var(--gray-50);
}

.goals-grid {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: var(--space-6);
max-width: 1280px;
margin: var(--space-12) auto 0;
}

.goal-card {
    background: var(--white);
border-radius: var(--radius-xl);
padding: var(--space-8);
box-shadow: var(--shadow-sm);
transition: all var(--transition-base);
border-left: 4px solid var(--primary-light);
}

.goal-card:hover {
    box-shadow: var(--shadow-md);
transform: translateX(8px);
}

.goal-number {
    font-family: var(--font-display);
font-size: var(--text-4xl);
font-weight: 700;
color: var(--accent);
margin-bottom: var(--space-4);
}

.goal-card h3 {
    font-family: var(--font-body);
font-size: var(--text-xl);
font-weight: 600;
color: var(--primary);
margin-bottom: var(--space-3);
}

.goal-card p {
    color: var(--gray-600);
margin: 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: var(--space-24) var(--space-6);
max-width: 1280px;
margin: 0 auto;
}

.contact-grid {
    display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-16);
align-items: start;
}

.contact-info {
    padding-right: var(--space-8);
}

.contact-info h2 {
    color: var(--primary);
margin-bottom: var(--space-4);
}

.contact-info > p {
    font-size: var(--text-lg);
color: var(--gray-600);
margin-bottom: var(--space-8);
}

.contact-items {
    display: flex;
flex-direction: column;
gap: var(--space-6);
margin-bottom: var(--space-8);
}

.contact-item {
    display: flex;
align-items: flex-start;
gap: var(--space-4);
padding: var(--space-4);
background: var(--bg-alt);
border-radius: var(--radius-lg);
transition: all var(--transition-base);
}

.contact-icon {
    width: 48px;
height: 48px;
background: var(--white);
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
height: 24px;
color: var(--primary-light);
}

.contact-item h4 {
    font-family: var(--font-body);
font-size: var(--text-base);
font-weight: 600;
color: var(--primary);
margin-bottom: var(--space-1);
}

.contact-item p {
    font-size: var(--text-base);
color: var(--gray-600);
margin: 0;
}

/* ========================================
   FORM
   ======================================== */

.contact-form-wrapper {
    background: var(--white);
border: 1px solid var(--gray-200);
border-radius: var(--radius-xl);
padding: var(--space-8);
box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
font-weight: 600;
color: var(--primary);
margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
padding: var(--space-4);
border: 2px solid var(--gray-200);
border-radius: var(--radius-lg);
font-family: var(--font-body);
font-size: var(--text-base);
color: var(--gray-700);
transition: all var(--transition-base);
background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
border-color: var(--primary-light);
box-shadow: 0 0 0 4px rgba(32, 156, 240, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
min-height: 140px;
}

.form-row {
    display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-4);
}

/* ========================================
   SOCIAL LINKS
   ======================================== */

.social-section {
    padding: var(--space-16) var(--space-6);
background: var(--bg-alt);
}

.social-container {
    max-width: 1280px;
margin: 0 auto;
text-align: center;
}

.social-links {
    display: flex;
justify-content: center;
gap: var(--space-4);
flex-wrap: wrap;
margin-top: var(--space-8);
}

.social-links a {
    width: 56px;
height: 56px;
background: var(--white);
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-md);
transition: all var(--transition-base);
}

.social-links a:hover {
    transform: translateY(-4px);
box-shadow: var(--shadow-blue);
}

.social-links a svg {
    width: 24px;
height: 24px;
color: var(--primary-light);
transition: color var(--transition-base);
}

.social-links a:hover svg {
    color: var(--white);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: var(--space-20) var(--space-6);
background: var(--bg-gradient);
text-align: center;
position: relative;
overflow: hidden;
z-index: 1;
}

.cta-section::before {
    content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
    font-size: var(--text-4xl);
color: var(--white);
margin-bottom: var(--space-4);
position: relative;
z-index: 1;
}

.cta-section p {
    font-size: var(--text-xl);
color: rgba(255, 255, 255, 0.9);
max-width: 600px;
margin: 0 auto var(--space-8);
position: relative;
z-index: 1;
}

.cta-button-wrapper {
    position: relative;
z-index: 1000;
margin-top: var(--space-4);
}

.cta-button-wrapper .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--gray-900);
color: var(--white);
padding: var(--space-16) var(--space-6) var(--space-6);
}

.footer-content {
    max-width: 1280px;
margin: 0 auto;
display: grid;
grid-template-columns: 2fr repeat(3, 1fr);
gap: var(--space-12);
margin-bottom: var(--space-12);
}

.footer-brand h3 {
    font-family: var(--font-body);
font-size: var(--text-xl);
font-weight: 700;
color: var(--white);
margin-bottom: var(--space-3);
}

.footer-brand p {
    color: var(--gray-400);
margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
gap: var(--space-3);
}

.footer-social a {
    width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-light);
transform: translateY(-2px);
}

.footer-social a svg,
.footer-social a img {
    width: 20px;
height: 20px;
color: var(--white);
}

.footer-links h4 {
    font-family: var(--font-body);
font-size: var(--text-base);
font-weight: 600;
color: var(--white);
margin-bottom: var(--space-4);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--gray-400);
font-size: var(--text-sm);
transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1280px;
margin: 0 auto;
padding-top: var(--space-6);
border-top: 1px solid rgba(255, 255, 255, 0.1);
text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
font-size: var(--text-sm);
margin: 0;
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process-section {
    padding: var(--space-24) var(--space-6);
background: var(--white);
max-width: 1280px;
margin: 0 auto;
}

.process-grid {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: var(--space-6);
margin-top: var(--space-12);
}

.process-step {
    text-align: center;
position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
position: absolute;
top: 40px;
right: -50%;
width: 100%;
height: 2px;
background: linear-gradient(to right, var(--primary-light), transparent);
display: none;
}
@media (min-width: 1024px) {
    .process-step:not(:last-child)::after {
    display: block;
}
}

.process-icon {
    width: 80px;
height: 80px;
background: var(--bg-gradient);
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto var(--space-6);
box-shadow: var(--shadow-blue);
}

.process-icon svg {
    width: 36px;
height: 36px;
color: var(--white);
}

.process-step h3 {
    font-family: var(--font-body);
font-size: var(--text-xl);
font-weight: 600;
color: var(--primary);
margin-bottom: var(--space-3);
}

.process-step p {
    color: var(--gray-600);
max-width: 280px;
margin: 0 auto;
}

/* ========================================
   TESTIMONIALS AUTO SCROLL
   ======================================== */

.testimonials-wrapper {
    overflow: visible;
width: 100%;
position: relative;
}
 
/* On mobile, allow horizontal scroll for testimonials */
@media (max-width: 768px) {
    .testimonials-wrapper {
    overflow-x: visible;
-webkit-overflow-scrolling: touch;
}
}

.testimonials-track {
    display: flex;
gap: var(--space-6);
width: max-content;
animation: scroll-left 30s linear infinite;
overflow: visible;
}

.testimonials-track:hover,
.testimonials-track.paused {
    animation-play-state: paused;
}

.testimonials-track .testimonial-card {
    min-width: min(350px, 100%);
max-width: min(350px, 100%);
width: min(350px, 100%);
background: var(--white);
padding: var(--space-8);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-md);
transition: all var(--transition-base);
border: 1px solid var(--gray-200);
}

.testimonials-track .testimonial-card:hover {
    box-shadow: var(--shadow-lg);
transform: translateY(-4px);
}

.testimonials-track .testimonial-quote {
    font-family: var(--font-display);
font-size: var(--text-4xl);
color: var(--accent);
line-height: 1;
margin-bottom: var(--space-4);
}

.testimonials-track .testimonial-text {
    font-size: var(--text-base);
color: var(--gray-700);
margin-bottom: var(--space-6);
line-height: var(--leading-relaxed);
}

.testimonials-track .testimonial-author {
    display: flex;
flex-direction: column;
gap: var(--space-1);
padding-top: var(--space-4);
border-top: 1px solid var(--gray-200);
}

.testimonials-track .testimonial-author h4 {
    font-family: var(--font-body);
font-size: var(--text-base);
font-weight: 600;
color: var(--primary);
margin: 0;
}

.testimonials-track .testimonial-author p {
    font-size: var(--text-sm);
color: var(--gray-500);
margin: 0;
}
@keyframes scroll-left {
    0% {
    transform: translateX(0);
}
100% {
    transform: translateX(-50%);
}
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
    opacity: 0;
transform: translateY(30px);
}
to {
    opacity: 1;
transform: translateY(0);
}
}

@keyframes fadeIn {
    from {
    opacity: 0;
}
to {
    opacity: 1;
}
}

@keyframes slideInLeft {
    from {
    opacity: 0;
transform: translateX(-30px);
}
to {
    opacity: 1;
transform: translateX(0);
}
}

@keyframes slideInRight {
    from {
    opacity: 0;
transform: translateX(30px);
}
to {
    opacity: 1;
transform: translateX(0);
}
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--ease-spring) forwards;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.6s var(--ease-spring) forwards;
}

.animate-slide-right {
    animation: slideInRight 0.6s var(--ease-spring) forwards;
}

/* Stagger delays */
.delay-100 {
    animation-delay: 0.1s;
}
.delay-200 {
    animation-delay: 0.2s;
}
.delay-300 {
    animation-delay: 0.3s;
}
.delay-400 {
    animation-delay: 0.4s;
}
.delay-500 {
    animation-delay: 0.5s;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero {
    grid-template-columns: 1fr;
gap: var(--space-8);
padding-top: calc(var(--space-16) + 80px);
}
 .hero-content {
    text-align: center;
}
 .hero-content h1 {
    font-size: var(--text-5xl);
}
 .hero-content p {
    margin-left: auto;
margin-right: auto;
}
 .hero-buttons {
    justify-content: center;
}
 .hero-image {
    order: -1;
max-width: 500px;
margin: 0 auto;
}
 .about-grid {
    grid-template-columns: 1fr;
gap: var(--space-8);
}
 .contact-grid {
    grid-template-columns: 1fr;
gap: var(--space-12);
}
 .footer-content {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 768px) {
    .hamburger {
    display: flex;
}
 .nav-menu {
    position: fixed;
top: 80px;
left: 0;
right: 0;
background: var(--white);
flex-direction: column;
padding: var(--space-6);
gap: var(--space-4);
box-shadow: var(--shadow-lg);
transform: translateY(-150%);
opacity: 0;
transition: all var(--transition-base);
pointer-events: none;
}
 .nav-menu.active {
    transform: translateY(0);
opacity: 1;
pointer-events: auto;
}
 .nav-menu a {
    width: 100%;
text-align: center;
padding: var(--space-3) 0;
}
 .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
 .hamburger.active span:nth-child(2) {
    opacity: 0;
}
 .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
h1 {
    font-size: var(--text-4xl);
}
h2 {
    font-size: var(--text-2xl);
}
 .hero-content h1 {
    font-size: var(--text-4xl);
}
 .page-header h1 {
    font-size: var(--text-3xl);
}
 .trust-container {
    grid-template-columns: repeat(2, 1fr);
gap: var(--space-6);
}
 .footer-content {
    grid-template-columns: 1fr;
text-align: center;
}
 .footer-social {
    justify-content: center;
}
 .testimonials-track {
    gap: var(--space-4);
animation-duration: 20s;
}
 .testimonials-track .testimonial-card {
    min-width: 280px;
max-width: 280px;
padding: var(--space-6);
}
 .testimonials-track .testimonial-text {
    font-size: var(--text-sm);
}
}

@media (max-width: 480px) {
    .hero {
    padding-top: calc(var(--space-12) + 80px);
padding-bottom: var(--space-12);
}
 .hero-content h1 {
    font-size: var(--text-3xl);
}
 .btn {
    padding: var(--space-3) var(--space-6);
font-size: var(--text-sm);
}
 .form-row {
    grid-template-columns: 1fr;
}
 .trust-container {
    grid-template-columns: 1fr;
}
 .vision-mission-grid {
    grid-template-columns: 1fr;
}
 .testimonials-grid {
    grid-template-columns: 1fr;
}
 .services-grid,
  .values-grid {
    grid-template-columns: 1fr;
}
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
 .testimonials-track {
    animation: none;
}
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
.mt-0 {
    margin-top: 0;
}
.mt-2 {
    margin-top: var(--space-2);
}
.mt-4 {
    margin-top: var(--space-4);
}
.mt-6 {
    margin-top: var(--space-6);
}
.mt-8 {
    margin-top: var(--space-8);
}
.mb-0 {
    margin-bottom: 0;
}
.mb-2 {
    margin-bottom: var(--space-2);
}
.mb-4 {
    margin-bottom: var(--space-4);
}
.mb-6 {
    margin-bottom: var(--space-6);
}
.mb-8 {
    margin-bottom: var(--space-8);
}
.hidden {
    display: none;
}
.sr-only {
    position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}

/* Remove extra whitespace at bottom of pages */
html {
    height: 100%;
}
 
body {
    min-height: 100vh;
margin: 0;
padding: 0;
}

/* ========================================
   MOBILE WHITE SPACE & SCROLL FIXES
   ======================================== */

/* Prevent horizontal scroll on all mobile devices */
@media (max-width: 768px) {
    html, body {
    overflow-x: hidden !important;
max-width: 100vw !important;
}
 
* {
    box-sizing: border-box;
}
 
/* Ensure all sections have proper width constraints */
.hero,
.section-header,
.services-section,
.trust-section,
.values-section,
.about-section,
.team-section,
.locations-section,
.vision-mission-section,
.goals-section,
.contact-section,
.process-section,
.social-section,
.cta-section,
.footer {
    width: 100%;
max-width: 100vw;
padding-left: calc(var(--space-4) + env(safe-area-inset-left)) !important;
padding-right: calc(var(--space-4) + env(safe-area-inset-right)) !important;
}
 
/* Fix grid layouts on mobile */
.services-grid,
.values-grid,
.testimonials-grid,
.trust-container,
.team-grid,
.locations-grid,
.process-grid,
.goals-grid,
.vision-mission-grid,
.footer-content {
    grid-template-columns: 1fr !important;
}
 
/* Prevent images from causing overflow */
img {
    max-width: 100%;
height: auto;
}
 
/* Fix card widths */
.testimonial-card,
.service-card,
.value-card,
.team-card,
.location-card,
.process-step,
.goal-card {
    width: 100%;
max-width: 100%;
}
 
/* Fix form elements */
.form-row {
    grid-template-columns: 1fr !important;
}
 
/* Ensure buttons wrap properly */
.hero-buttons,
.btn {
    max-width: 100%;
word-wrap: break-word;
}
 
/* Allow testimonials track to overflow for horizontal scroll */
.testimonials-wrapper {
    overflow-x: visible !important;
-webkit-overflow-scrolling: touch;
}

/* Center footer content on mobile */
@media (max-width: 768px) {
    /* Constrain footer to viewport width */
    .footer {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding-left: calc(var(--space-4) + env(safe-area-inset-left)) !important;
        padding-right: calc(var(--space-4) + env(safe-area-inset-right)) !important;
    }

    .footer-content {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer-content > * {
        text-align: center !important;
        max-width: 100%;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .footer-brand h3,
    .footer-brand p {
        text-align: center !important;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
    }

    .footer-social {
        justify-content: center !important;
        width: 100%;
        flex-wrap: wrap;
    }

    .footer-social a {
        margin: 4px var(--space-2);
    }

    .footer-links {
        width: 100%;
        max-width: 100%;
    }

    .footer-links h4 {
        text-align: center !important;
        margin-bottom: var(--space-3);
    }

    .footer-links ul {
        display: flex !important;
        flex-direction: column;
        align-items: center !important;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .footer-links li {
        text-align: center !important;
        width: 100%;
        max-width: 100%;
    }

    .footer-links a {
        display: inline !important;
        text-align: center !important;
        padding: 2px 0;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .nav-container,
  .hero,
  .page-header,
  .section-header {
    padding-left: calc(var(--space-3) + env(safe-area-inset-left)) !important;
padding-right: calc(var(--space-3) + env(safe-area-inset-right)) !important;
}
 
 h1 {
    font-size: var(--text-3xl) !important;
}
 
 h2 {
    font-size: var(--text-xl) !important;
}
 
 /* Reduce padding on sections */
  .section-header,
  .services-section,
  .values-section,
  .about-section,
  .team-section,
  .locations-section,
  .cta-section {
    padding-top: var(--space-12) !important;
padding-bottom: var(--space-12) !important;
}
}

/* Prevent any overflow from container padding */
@media screen and (max-width: 767px) {
    body {
    margin: 0;
    padding: 0;
}
 
.hero,
.page-header,
.section-header,
.services-section,
.values-section,
.testimonials-section,
.about-section,
.team-section,
.locations-section,
.vision-mission-section,
.goals-section,
.contact-section,
.process-section,
.cta-section {
    margin-left: 0 !important;
margin-right: 0 !important;
padding-left: var(--space-4) !important;
padding-right: var(--space-4) !important;
}
 
/* Ensure images and iframes don't cause overflow */
img,
iframe,
video,
embed,
object {
    max-width: 100% !important;
height: auto !important;
}
}