:root {
  /* Enhanced Color System */
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text: #000000;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --brand: #136fcf;
  --brand-dark: #0f5cb0;
  --brand-light: #e7f2fd;
  --brand-ultra-light: #f0f8ff;
  --accent: #0ea5e9;
  --success: #10b981;
  --success-light: #d1fae5;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  
  /* Spacing */
  --container-max: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1rem;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(var(--container-max), 95%);
  margin-inline: auto;
  padding-inline: var(--spacing-md);
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--bg);
  color: var(--text);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 1000;
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  padding: var(--spacing-md) 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  max-width: 1000px;
  width: 90%; background: white;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.logo-img {
  height: 36px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-weight: 700;
  font-size: var(--font-size-base);
  color: var(--text);
  line-height: var(--line-height-tight);
  letter-spacing: -0.025em;
}

.tagline {
  display: none;
}

/* Navigation */
.main-nav {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-sm);
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav .nav-link[aria-current="page"] {
  color: var(--brand);
}
.nav-link:hover {
  background: var(--brand-ultra-light);
  color: var(--brand);
}

.nav-link.active {
  color: var(--brand);
  font-weight: 600;
}

/* Special styling for Contact Us nav link */
.nav-link[href="contact.html"] {
  background: linear-gradient(135deg, #136fcf, #3f94f0);
  color: white;
  font-weight: 700;
  border-radius: 25px;
  padding: 10px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

.nav-link[href="contact.html"]:hover {
  background: linear-gradient(135deg, #136fcf, #3f94f0);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  color: white;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #136fcf, #3f94f0);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  color: var(--text-secondary);
  background: white;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-sm);
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative; box-shadow: var(--shadow)
}
.btn-ghost:hover {
  background: var(--brand-ultra-light); transform: translateY(-2px);
  color: var(--brand);
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 80px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 100%;
  animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: var(--line-height-tight);
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.025em;
}

.hero .accent {
  color: var(--brand);
  display: block;
}

.hero p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: var(--line-height-relaxed);
  font-weight: 400;
}

.cta-row {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 500px; /* Adjust this to control how much of the fade you want */
  background: linear-gradient(to bottom, transparent 0%, white 100%);
  z-index: 1;
  pointer-events: none;
}

/* Make sure the hero text stays above the fade overlay */
.hero-copy {
  position: relative;
  z-index: 2; /* Higher than the fade overlay */
  max-width: 100%;
  animation: fadeInUp 1s ease-out;
}
/* Trust Bullets */
.trust-bullets {
  display: grid;
  gap: var(--spacing-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-bullets li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.trust-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--success);
  font-weight: bold;
  background: var(--success-light);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Section Styles */
.section {
  padding: var(--spacing-3xl) 0;
}

.section.alt {
  background: var(--bg-secondary);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  color: var(--text);
  letter-spacing: -0.025em;
}

/* Partners Section */
.partners-logos {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 280px;   /* spread out more horizontally */
  row-gap: 56px;       /* and vertically */
}

.partners-logos::after {
  content: '';
  display: block;
  width: 500px;                 /* same as tagline line */
  max-width: 80%;               /* shrink nicely on small screens */
  height: 2px;
  margin: var(--spacing-xl) auto 0;  /* space above the line */
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.9;                 /* tweak if you want it softer */
}

.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  opacity: 0.7;
  text-decoration: none;
  width: 200px;
  height: 120px;
  overflow: hidden;                                    /* keep scaled logo inside card */
  will-change: transform, box-shadow;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.partner:hover,
.partner:focus-visible {
  transform: translateY(-10px) scale(1.04);            /* move up + get slightly bigger */
  box-shadow: var(--shadow-lg);
  opacity: 1;
}

.partner img {
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
  width: auto;
  filter: grayscale(50%);
  transition: transform 200ms ease, filter 200ms ease; /* allow image to scale smoothly */
}

.partner:hover img,
.partner:focus-visible img {
  transform: scale(1.08);                             
  filter: grayscale(0%);
}

/* Optional per-logo sizing tweaks */
.partner img[src*="sigma"] {
  max-height: 90px;
}

.partner img[src*="l2m"] {
  max-height: 40px;
}


/* News Section */
#news {
  background: linear-gradient(135deg, var(--brand-light) 0%, #ffffff 100%);
}

#news .section-title {text-align: left;}

.news-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: stretch; border-bottom: none;
}

.news-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow); height: 100%;
}

.news-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.news-card {
  background: var(--bg);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  flex-direction: column; justify-content: center; min-height: 320px;
}

.news-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text);
  line-height: var(--line-height-tight);
}

.news-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-relaxed);
}

.news-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-sm);
  transition: color 0.2s ease;
}

.news-link:hover {
  color: var(--brand-dark);
}

/* Contact Section */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.contact-copy h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--text);
}

.contact-copy p {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}
.contact-copy h2 span {
  color: var(--brand);
}
/* Form Styles */
.contact-form {
  background: var(--bg-secondary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-form label {
  display: block;
  margin-bottom: var(--spacing-lg);
}

.contact-form label span {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-sm);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--font-size-sm);
  background: var(--bg);
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(19, 111, 207, 0.1);
}

/* Footer Styles */
.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 40px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-logo:hover {
  transform: translateY(-2px);
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-right: 12px;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.footer-logo-text .company-name {
  font-weight: 700;
  color: var(--text);
}

.footer-location {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.5;
  white-space: normal;
}

.copyright {
  margin-top: 48px;              /* space from the address */
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.4;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 52px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 600;
  padding: 4px 0;
  position: relative;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--brand);
  transition: width 0.2s ease;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-nav a:hover {
  color: var(--brand);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(19, 111, 207, 0.05);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.social-links a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.2s ease;
}

.social-links a:hover img {
  filter: brightness(0) invert(1);
}

.social-links a.facebook img {
  border-radius: 2px;
}

.site-tagline {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  text-align: center;
  font-size: clamp(24px, 4vw, 40px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(19, 111, 207, 0.15);
  padding: 60px 0;
  user-select: none;
  position: relative;
}

.site-tagline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-wrap {
    width: 95%;
    padding: var(--spacing-sm) var(--spacing-lg);
  }

  .main-nav {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    gap: 0;
    padding: var(--spacing-lg);
    transition: transform 0.3s ease;
    width: 90%;
    max-width: 400px;
  }

  .nav-toggle:checked ~ .main-nav {
    transform: translateX(-50%) translateY(0);
  }

  .nav-link {
    padding: var(--spacing-md) 0;
    width: 100%;
    border-radius: 0;
  }

  .hero {
    min-height: calc(100vh - 120px);
    text-align: center;
  }

  .hero-copy {
    max-width: 100%;
  }

  .cta-row {
    justify-content: center;
  }

  .news-hero {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

 .footer-right { margin-top: 0; }
}
  .partners-logos {
    gap: var(--spacing-lg);
  }

@media (max-width: 480px) {
  .container {
    width: 95%;
    padding-inline: var(--spacing-sm);
  }

  .hero {
    padding: var(--spacing-xl) 0;
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Focus improvements */
*:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/*----- SOLUTIONS PAGE ------*/

/* Enhanced Cards with better animations */
.cards{display:grid; gap:24px; padding-top: 20px;}
.cards.two{grid-template-columns:repeat(2, 1fr)}
.cards.three{grid-template-columns:repeat(3, 1fr)}
@media (max-width: 980px){ .cards.two, .cards.three{grid-template-columns:1fr} }

.card{
  background:var(--card); 
  border:1px solid rgba(2,6,23,.08); 
  border-radius:20px; 
  overflow:hidden; 
  box-shadow:var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}
.card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.card-media img{aspect-ratio:16/10; width:100%; height:auto; object-fit:cover}
.card-body{padding:24px}
.card h3{margin:4px 0 12px; font-size:var(--h3); color:var(--accent)}
.card p{color:var(--muted); margin:0 0 12px; text-align: center; line-height: 1.6}

/* Enhanced circular images for problem section */
.circle-img {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--brand-light), #ffffff);
}

.card:hover .circle-img {
  border-color: var(--brand-ink);
  transform: scale(1.05);
}

.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#solutions .cards.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 32px;
}

#solutions .cards.three .card {
  min-height: 420px;
  padding: 32px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#solutions .card-media img { aspect-ratio: auto; }

#solutions .circle-img {
  margin: 0 auto 20px;
}

#solutions .card-body {
  width: 100%;
  padding: 0 12px 12px;
  display: flex;
  align-items: flex-start;
  text-align: center;
}

#solutions .card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  #solutions .cards.three { grid-template-columns: 1fr; }
  #solutions .circle-img { width: 160px; height: 160px; }
  #solutions .cards.three .card { min-height: 380px; }
}

/* Enhanced Solution section */
.stats-grid{
  display:grid; 
  grid-template-columns:1fr 1fr; 
  gap:40px; 
  align-items:start
}
.stats-copy h2 {
  margin-bottom: 16px;
}
.stats-copy p {
  font-size: 1.125rem;
  color: var(--muted);
}
.checklist{
  margin:24px 0 0; 
  padding:0; 
  list-style:none; 
  color:var(--text); 
  display:grid; 
  gap:12px
}
.checklist-wide {
  grid-column: 1/-1; 
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.8);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(2,6,23,.08);
}
.checklist li{
  position:relative; 
  padding-left:32px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.checklist li::before{
  content:"✓"; 
  position:absolute; 
  left:0; 
  top:2px; 
  color:var(--success);
  background: var(--success-light);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}
.checklist li span{color:var(--text); font-weight:700}

.stats-cards{display:grid; grid-template-columns:repeat(3, 1fr); gap:20px}
.stat{
  background:#ffffff; 
  border:1px solid rgba(2,6,23,.08); 
  border-radius:16px; 
  padding:20px; 
  text-align:center; 
  box-shadow:var(--shadow);
  transition: all 0.3s ease;
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stat h4 {
  margin-top: 8px;
  margin-bottom: 12px;
  color: #000000;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
}
.stat img {
  max-height: 120px;
  width: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}
#impact .stats-cards .stat:nth-child(1) img {
  transform: translateY(8px);   /* try 8–16px to taste */
  will-change: transform;
}

@media (max-width: 900px){ 
  .stats-grid{grid-template-columns:1fr;} 
  .stats-cards{grid-template-columns:1fr;} 
}

/* Section styles for solutions page */
.section-head{
  margin-bottom: 40px; 
  text-align: left;
}

.section h2{
  font-size: var(--font-size-3xl); 
  margin: 0 0 12px;
  font-weight: 800;
}

.section-head p{
  color: var(--text-muted); 
  margin: 0; 
  font-size: 1.125rem;
}
/* Video Section Styling - Simplified */
.video-section {
  background: linear-gradient(135deg, #136ecf8f 0%, #ffffff 100%);
  padding: 50px 0;
}

.video-section .section-head {
  text-align: center;
  margin-bottom: 32px;
}

.video-section .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 8px;
}

.video-section .section-head p {
  font-size: 1.125rem;
  color: var(--neutral-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Bigger container box */
.video-container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.video-preview {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
}

/* Smaller picture */
.video-thumbnail {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.video-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.video-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.video-info {
  padding-left: 20px;
}

.video-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.video-info p {
  color: var(--neutral-600);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.video-note {
  font-size: 13px;
  color: var(--neutral-500);
  margin: 0;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .video-section {
    padding: 80px 0;
  }

  .video-container {
    margin: 0 16px;
    padding: 32px 24px;
  }

  .video-preview {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .video-thumbnail {
    max-width: 300px;
    margin: 0 auto;
  }

  .video-info {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .video-container {
    padding: 24px 16px;
  }

  .video-thumbnail {
    max-width: 250px;
  }

  .video-thumbnail img {
    height: 160px;
  }

  .play-button {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
}
/* CTA Section Updates */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-ink) 100%);
  color: var(--text);
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: white;
  color: var(--brand);
  border-color: white;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .video-section {
    padding: 60px 0;
  }

  .video-container {
    margin: 0 16px 32px;
  }

  .video-description {
    padding: 24px;
  }

  .video-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .video-feature {
    padding: 24px;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}
/* NEWS PAGE SPECIFIC STYLES */

/* Unified background for header and article sections */
.page-header,
.section:first-of-type {
  background: white;
  position: relative;
  border: none;
  margin: 0;
  padding-bottom: 0;
}

.page-header {
  padding: 120px 0 60px;
  text-align: center;
}

.section:first-of-type {
  padding-top: 0;
}

/* Faded blue spots overlay */
.page-header::before,
.page-header::after,
.section:first-of-type::before,
.section:first-of-type::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #136(39, 165, 255, 0.925) 0%, #3f94f0(14, 90, 213) 50%, white 100%);
  pointer-events: none;
  z-index: 0;
}

.page-header::before {
  width: 400px;
  height: 400px;
  top: 20px;
  left: -100px;
}

.page-header::after {
  width: 300px;
  height: 300px;
  top: 60px;
  right: -80px;
}

.section:first-of-type::before {
  width: 350px;
  height: 350px;
  bottom: 100px;
  left: 50px;
}

.section:first-of-type::after {
  width: 250px;
  height: 250px;
  top: 50px;
  right: 20px;
}

/* Ensure content stays above background spots */
.page-header .container,
.section:first-of-type .container {
  position: relative;
  z-index: 1;
}

/* Page Header Content */
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--spacing-md);
}

.page-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  white-space: nowrap
}

/* News Grid Layout */
.news-grid {
  display: grid;
  gap: var(--spacing-xl);
}

/* Featured News Article */
.news-article.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.news-article.featured:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.news-article.featured .news-image {
  height: 300px;
  width: 450px;
  margin: auto; border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow-lg)
}

.news-article.featured .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-article.featured .news-content {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* News Meta Information */
.news-meta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem; align-items: center;
}

.news-date {
  color: var(--text-muted); line-height: 1;
}

.news-category {
  color: var(--brand);
  font-weight: 600;
  background: rgba(19, 111, 207, 0.1);
  padding: 4px 12px;
  border-radius: 12px; line-height: 1;
}

/* News Content */
.news-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.news-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  font-size: 1.05rem;
}

.news-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* Newsletter Section */
.newsletter-section {
  background: var(--bg-secondary);
  text-align: center;
}

.newsletter-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
}

.newsletter-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.newsletter-form {
  display: flex;
  gap: var(--spacing-sm);
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(19, 111, 207, 0.1);
}

.newsletter-form .btn {
  border-radius: 50px;
  white-space: nowrap;
}

/* Animation for news articles */
.news-article {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.news-article.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 40px;
  }
  
  .news-article.featured {
    grid-template-columns: 1fr;
  }
  
  .news-article.featured .news-image {
    height: 250px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form .btn {
    width: 100%;
  }
@media (max-width: 768px) {
  .page-header p {
    white-space: normal; /* Allow wrapping on mobile */
  }
}
  /* Adjust background spots for mobile */
  .page-header::before,
  .page-header::after,
  .section:first-of-type::before,
  .section:first-of-type::after {
    opacity: 0.5;
  }
}

/* ABOUT PAGE SPECIFIC STYLES */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #f8faff 0%, #e3f2fd 100%);
  padding: 120px 0 80px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--spacing-md);
}

.page-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* About Grid Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  width: 100%;
  height: auto;
}

.about-media:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.about-copy h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-tight);
}

.about-copy p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 24px;
  line-height: var(--line-height-relaxed);
}

/* Team Stats */
.team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.team-stat {
  text-align: center;
  padding: var(--spacing-md);
  background: rgba(19, 111, 207, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.team-stat:hover {
  transform: translateY(-4px);
  background: rgba(19, 111, 207, 0.1);
}

.team-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: var(--spacing-xs);
  line-height: 1;
}

.team-stat .stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
}

/* Section Styles */
.section-head {
  margin-bottom: 48px;
  text-align: left;
}

.section h2 {
  font-size: var(--font-size-3xl);
  margin: 0 0 16px;
  font-weight: 800;
  color: var(--text);
}

.section-head p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1.2rem;
  line-height: var(--line-height-relaxed);
}

/* Journey Timeline */
.journey-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-container {
  position: relative;
  padding-left: var(--spacing-xl);
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-2xl);
  background: white;
  border-radius: 16px;
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px white, 0 0 0 6px var(--brand);
  z-index: 1;
}

.timeline-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--spacing-xs);
  line-height: var(--line-height-tight);
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--brand);
  font-weight: 600;
  background: rgba(19, 111, 207, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin: 0;
  font-size: 1.05rem;
}

/* Future Timeline Items */
.timeline-item.future {
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
  border: 2px dashed var(--brand);
  box-shadow: var(--shadow-sm);
  opacity: 0.85;
}

.timeline-item.future:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Future Timeline Marker */
.timeline-item.future .timeline-marker {
  background: white;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px white, 0 0 0 6px var(--brand);
}

/* Future Timeline Date */
.timeline-item.future .timeline-date {
  color: var(--brand);
  background: rgba(19, 111, 207, 0.15);
  border: 1px solid rgba(19, 111, 207, 0.3);
}

/* Future Timeline Content */
.timeline-item.future h3 {
  color: var(--brand);
  font-style: italic;
}

.timeline-item.future p {
  font-style: italic;
  color: var(--text-muted);
}

/* Optional: Add "Future" label */
.timeline-item.future::before {
  content: "Future Plan";
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--brand);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* Animation Classes */
.team-stat {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.team-stat.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 60px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .team-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .timeline-container {
    padding-left: var(--spacing-md);
  }
  
  .timeline-marker {
    left: -20px;
  }
  
  .timeline-item {
    padding: var(--spacing-md);
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-large {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .timeline-container::before {
    left: 8px;
  }
  
  .timeline-marker {
    left: -16px;
    width: 12px;
    height: 12px;
  }
  
  .team-stat .stat-number {
    font-size: 1.75rem;
  }
}

/* CONTACT PAGE SPECIFIC STYLES */

/* Page Header with flowing gradient background */
.contact-page-header {
  background: radial-gradient(ellipse 150% 100% at 70% 0%, 
    rgba(19, 111, 207, 0.08) 0%, 
    rgba(19, 111, 207, 0.04) 30%, 
    transparent 50%
  ),
  radial-gradient(ellipse 120% 80% at 20% 100%, 
    rgba(63, 148, 240, 0.06) 0%, 
    rgba(63, 148, 240, 0.02) 40%, 
    transparent 70%
  ),
  white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  border: none;
}

.contact-page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--spacing-md);
}

.contact-page-header h1 .highlight {
  color: var(--brand);
}

.contact-page-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
  white-space: nowrap;
}

/* Main Contact Form Section */
.contact-form-section {
  background: white;
  padding: 80px 0;
  position: relative;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 48px;
}

.contact-form-grid {
  display: grid;
  gap: 24px;
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-row.two-column {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font-family);
  background: white;
  transition: all 0.3s ease;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(19, 111, 207, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 48px;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.submit-button {
  background: linear-gradient(135deg, #136fcf, #3f94f0);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 16px;
  width: 100%;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: var(--shadow);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Bottom Cards Section */
.contact-cards-section {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.contact-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.left-cards-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

/* Map + Office cards should be edge-to-edge media */
.map-card,
.office-card {
  padding: 0;
  overflow: hidden;
}

.map-card .map-container,
.office-card .office-container {
  width: 100%;
  height: 100%;
}

.map-card iframe,
.office-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: inherit;
}

.office-card .office-container img {
  transition: transform 0.3s ease;
}

.office-card:hover .office-container img {
  transform: scale(1.05);
}

/* Contact Info Card */
.contact-info-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  text-align: center;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.contact-detail:hover {
  background: var(--brand-ultra-light);
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px 0;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.contact-info a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-page-header {
    padding: 100px 0 60px;
  }
  
  .contact-form-container {
    padding: 32px 24px;
    margin: 0 16px;
  }
  
  .form-row.two-column {
    grid-template-columns: 1fr;
  }
  
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .contact-info-card {
    padding: 32px 24px;
  }
  
  .map-overlay {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    margin: 0 8px;
    padding: 24px 16px;
  }
  
  .contact-cards-section {
    padding: 60px 0;
  }
  
  .contact-detail {
    padding: 12px;
  }
}
