/* ===== ANOMEG CONSULTING - Modern Stylesheet ===== */

/* --- CSS Custom Properties --- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --gray-lighter: #e2e8f0;
  --light: #f8fafc;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 30px rgba(37,99,235,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--gray); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 600px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

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

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--primary); }
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.125rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark-3);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); }

/* White nav variant for hero pages */
.nav--hero .nav-links a { color: rgba(255,255,255,0.85); }
.nav--hero .nav-links a:hover { color: var(--white); }
.nav--hero .nav-links a.active { color: var(--white); }
.nav--hero .nav-logo { color: var(--white); }
.nav--hero.scrolled .nav-links a { color: var(--dark-3); }
.nav--hero.scrolled .nav-links a:hover { color: var(--primary); }
.nav--hero.scrolled .nav-links a.active { color: var(--primary); }
.nav--hero.scrolled .nav-logo { color: var(--dark); }

.nav-cta .btn-primary { padding: 10px 24px; font-size: 0.875rem; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav--hero .nav-toggle span { background: var(--white); }
.nav--hero.scrolled .nav-toggle span { background: var(--dark); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta {
    display: none;
  }
  .nav-mobile-active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  .nav-mobile-active .nav-links a { color: var(--dark) !important; }
  .nav-mobile-active .nav-cta {
    display: block;
    position: absolute;
    top: calc(100% + 200px);
    left: 24px;
    right: 24px;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0 80px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 560px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat h3 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
}
.hero-stat h3 span { color: var(--accent); }
.hero-stat p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* Floating grid decoration */
.hero-visual {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 32%;
  z-index: 1;
  display: none;
}
@media (min-width: 1024px) {
  .hero-visual { display: block; }
}
.hero-grid {
  position: absolute;
  inset: -20px;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}
.hero-float-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.hero-float-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  animation: float 6s ease-in-out infinite;
  transition: var(--transition);
}
.hero-float-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.hero-float-card:nth-child(1) { animation-delay: 0s; }
.hero-float-card:nth-child(2) { animation-delay: -1s; }
.hero-float-card:nth-child(3) { animation-delay: -2s; }
.hero-float-card:nth-child(4) { animation-delay: -3s; }
.hero-float-card:nth-child(5) { animation-delay: -4s; }
.hero-float-card:nth-child(6) { animation-delay: -5s; }
.hero-float-card .card-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.hero-float-card h4 { color: var(--white); font-size: 0.9375rem; margin-bottom: 4px; }
.hero-float-card p { color: rgba(255,255,255,0.5); font-size: 0.8125rem; }

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

/* --- Section Spacing --- */
.section { padding: 110px 0; }
.section--gray {
  background: var(--light);
  position: relative;
}
.section--gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-lighter), transparent);
}
.section--gray::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-lighter), transparent);
}
.section--dark-light {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  position: relative;
  overflow: hidden;
}
.section--dark-light::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.section--dark-light .why-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.section--dark-light .why-card h4 { color: var(--white); }
.section--dark-light .why-card p { color: rgba(255,255,255,0.5); }
.section--dark-light .why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.section--dark-light .contact-info-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.section--dark-light .contact-info-card h4 { color: var(--white); }
.section--dark-light .contact-info-card p { color: rgba(255,255,255,0.5); }
.section--dark-light .contact-info-card a { color: var(--accent); }
.section--dark-light .contact-form-wrapper {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.section--dark-light .contact-form-wrapper h3 { color: var(--white); }
.section--dark-light .form-group label { color: rgba(255,255,255,0.7); }
.section--dark-light .form-group input,
.section--dark-light .form-group textarea {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: var(--white);
}
.section--dark-light .form-group input:focus,
.section--dark-light .form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.08);
}
.section--dark-light .testimonial-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
.section--dark-light .testimonial-card p { color: rgba(255,255,255,0.65); }
.section--dark-light .testimonial-author h4 { color: var(--white); }
.section--dark-light .testimonial-author span { color: rgba(255,255,255,0.45); }
.section--dark-light .testimonial-author { border-top-color: rgba(255,255,255,0.1); }
.section--dark-light .testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.section--dark-light .partner-logo {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
.section--dark-light .partner-logo:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}
.section--dark-light .partner-logo span { color: rgba(255,255,255,0.7) !important; }
.section--dark .skill-bar-header h4 { color: var(--white); }
.section--dark .skill-track { background: rgba(255,255,255,0.1); }
.section--dark .section-label::before,
.section--dark .section-label::after { background: var(--gradient-primary); }
.section--dark-light .section-label::before,
.section--dark-light .section-label::after { background: var(--gradient-primary); }
.section--dark-light .mission-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
.section--dark-light .mission-card h4 { color: var(--white); }
.section--dark-light .mission-card p { color: rgba(255,255,255,0.5); }
.section--dark-light .mission-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.section--dark {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.section--dark .service-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.section--dark .service-card h3 { color: var(--white); }
.section--dark .service-card p { color: rgba(255,255,255,0.55); }
.section--dark .service-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* --- Page Banner --- */
.page-banner {
  padding: 160px 0 80px;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.page-banner h1 { color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.page-banner .breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-banner .breadcrumb a:hover { color: var(--white); }
.page-banner .breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid transparent;
  background-clip: padding-box;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--gray-lighter), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37,99,235,0.1), 0 8px 16px rgba(0,0,0,0.06);
}
.service-card:hover::before {
  background: var(--gradient-primary);
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(6,182,212,0.08) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: var(--white);
}
.service-card:hover .service-icon svg { stroke: white; }
.service-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.service-card p { font-size: 0.9375rem; line-height: 1.8; }

/* --- Stats/Counter --- */
.stats-bar {
  background: var(--dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.5), transparent);
}
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.5), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 24px;
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1), transparent);
}
.stat-item:last-child::after { display: none; }
.stat-item h3 {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}
.stat-item p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-experience-badge {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}
.about-experience-badge h2 {
  font-size: 4rem;
  color: var(--white);
  line-height: 1;
}
.about-experience-badge p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}
.about-text p { margin-bottom: 20px; }

.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1) 0%, rgba(6,182,212,0.1) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}
.value-item h4 { margin-bottom: 4px; }
.value-item p { font-size: 0.875rem; }

/* --- Skills / Progress --- */
.skills-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) {
  .skills-section { grid-template-columns: 1fr; }
}
.skill-bar { margin-bottom: 24px; }
.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.skill-bar-header h4 { font-size: 0.9375rem; font-weight: 600; }
.skill-bar-header span { font-size: 0.875rem; font-weight: 700; color: var(--primary); }
.skill-track {
  width: 100%;
  height: 8px;
  background: var(--gray-lighter);
  border-radius: 100px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 100px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Partners --- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.partner-logo {
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 80px;
  transition: var(--transition);
  filter: grayscale(0.5);
  opacity: 0.7;
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.partner-logo img { max-height: 40px; max-width: 140px; object-fit: contain; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}
@media (max-width: 500px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--gray-lighter);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  transform: translateY(-6px);
  border-color: transparent;
}
.testimonial-card:hover::before { opacity: 1; }
.testimonial-quote {
  font-size: 3.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
  font-family: Georgia, serif;
}
.testimonial-card p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--dark-3);
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-lighter);
}
.testimonial-author h4 { font-size: 1rem; }
.testimonial-author span { font-size: 0.8125rem; color: var(--gray); }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--gradient-dark);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 60%);
  border-radius: 50%;
  animation: cta-pulse 8s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  text-shadow: 0 0 20px rgba(37,99,235,0.5), 0 0 60px rgba(6,182,212,0.3), 0 0 100px rgba(37,99,235,0.15);
}
.cta-banner p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-banner .btn { position: relative; z-index: 1; }

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--light);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-sm); }
.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.125rem;
}
.contact-info-card h4 { font-size: 0.9375rem; margin-bottom: 4px; }
.contact-info-card p { font-size: 0.9375rem; }
.contact-info-card a { color: var(--primary); }
.contact-info-card a:hover { text-decoration: underline; }

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--gray-lighter);
  box-shadow: var(--shadow-sm);
}
.contact-form-wrapper h3 { margin-bottom: 32px; }

.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.9375rem;
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--dark);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: var(--white);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* --- Footer --- */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.4), rgba(6,182,212,0.4), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-about p {
  color: rgba(255,255,255,0.5);
  margin: 20px 0 24px;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
}
.footer-logo span { color: var(--primary-light); }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 24px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9375rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.5s; }

/* --- Scroll to top --- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); }

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 44px 28px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
  border-radius: 3px 3px 0 0;
}
.why-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: transparent;
  transform: translateY(-6px);
}
.why-card:hover::after { width: 60%; }
.why-card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37,99,235,0.25);
  transition: var(--transition);
}
.why-card:hover .why-card-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37,99,235,0.35);
}
.why-card-icon svg { stroke: white; }
.why-card h4 { margin-bottom: 12px; font-size: 1.0625rem; }
.why-card p { font-size: 0.9375rem; line-height: 1.7; color: var(--gray); }

/* --- Mission cards on about page --- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.mission-card {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-lighter);
  transition: var(--transition);
}
.mission-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.mission-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--white);
  font-size: 1.25rem;
}
.mission-card h4 { margin-bottom: 8px; font-size: 1rem; }
.mission-card p { font-size: 0.8125rem; }

/* --- Enhanced Dark Section Backgrounds --- */
.section--dark-light::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --- Page Banner Glow --- */
.page-banner h1 {
  text-shadow: 0 0 20px rgba(37,99,235,0.4), 0 0 60px rgba(6,182,212,0.2);
}

/* --- About section on dark --- */
.section--dark-light .about-text p { color: rgba(255,255,255,0.55); }
.section--dark-light .about-text .btn { margin-top: 16px; }

/* --- Smooth section transitions --- */
.section + .section,
.section + .stats-bar,
.stats-bar + .section,
.stats-bar + .cta-banner,
.cta-banner + .section {
  border-top: none;
}

/* --- Enhanced card glassmorphism on dark --- */
.section--dark .service-card::after,
.section--dark-light .why-card::after {
  background: var(--gradient-primary);
}

/* --- Glowing quote marks --- */
.section--dark-light .testimonial-quote {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(37,99,235,0.3));
}

/* --- Dark form success message --- */
.section--dark-light #form-success {
  background: rgba(6,182,212,0.15) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(6,182,212,0.2);
}

/* --- Gradient text utility --- */
.glow-text {
  text-shadow: 0 0 20px rgba(37,99,235,0.5), 0 0 60px rgba(6,182,212,0.3), 0 0 100px rgba(37,99,235,0.15);
}
.glow-text-soft {
  text-shadow: 0 0 15px rgba(37,99,235,0.35), 0 0 40px rgba(6,182,212,0.2);
}

/* --- Animated gradient orb for dark sections --- */
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(-30px, -10px) scale(1.02); }
}
.section--dark::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -8%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: orb-drift 12s ease-in-out infinite;
  pointer-events: none;
}

/* --- Hero stat numbers glow --- */
.hero-stat h3 {
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

/* --- Footer link hover glow --- */
.footer-col ul li a:hover {
  text-shadow: 0 0 8px rgba(37,99,235,0.3);
}

/* --- Nav logo glow on hover --- */
.nav-logo:hover .nav-logo-icon {
  box-shadow: 0 0 20px rgba(37,99,235,0.4);
}

/* --- Button glow pulse on hover --- */
.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(37,99,235,0.4), 0 0 40px rgba(37,99,235,0.15);
}

/* --- Scroll top glow --- */
.scroll-top:hover {
  box-shadow: 0 4px 20px rgba(37,99,235,0.4), 0 0 30px rgba(6,182,212,0.2);
}
