/* ================================================================
   STYLE.CSS – NexaCode Institute Landing Page
   Mobile-first | CSS Custom Properties | Flex + Grid
   ================================================================ */

/* ── 1. CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  /* Colors */
  --navy:        #0B1F3A;
  --navy-mid:    #132947;
  --navy-light:  #1A3A5C;
  --navy-muted:  #2A4A6B;
  --accent:      #F5A623;
  --accent-dark: #D4891A;
  --accent-glow: rgba(245,166,35,0.18);
  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --text-main:   #1A2942;
  --text-muted:  #5A7290;
  --text-light:  #8BA3BB;
  --border:      rgba(11,31,58,0.08);
  --border-mid:  rgba(11,31,58,0.14);
  --shadow-sm:   0 2px 12px rgba(11,31,58,0.08);
  --shadow-md:   0 8px 32px rgba(11,31,58,0.12);
  --shadow-lg:   0 20px 60px rgba(11,31,58,0.16);
  --shadow-card: 0 4px 24px rgba(11,31,58,0.10);

  /* Typography */
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Spacing */
  --container:  1200px;
  --section-py: clamp(64px, 8vw, 100px);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  /* Transitions */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --trans-fast:  0.18s var(--ease);
  --trans-med:   0.35s var(--ease);
  --trans-slow:  0.6s var(--ease);
}

/* ── 2. RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* ── 3. UTILITY ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

.accent { color: var(--accent); }

/* ── 4. SCROLL-ANIMATION CLASSES ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible,
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.18s; }
.delay-2 { transition-delay: 0.36s; }
.delay-3 { transition-delay: 0.54s; }

/* ── 5. BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: all var(--trans-med);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,166,35,0.45);
}

.btn-apply {
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(245,166,35,0.3);
  transition: all var(--trans-fast);
}
.btn-apply:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-outline-hero {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
  padding: 11px 26px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--trans-med);
}
.btn-outline-hero:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245,166,35,0.08);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy-muted);
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--trans-med);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-card {
  background: var(--navy);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--trans-med);
}
.btn-card:hover {
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.35);
}

.btn-full { width: 100%; justify-content: center; }

/* ── 6. SECTION HEADERS ───────────────────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-tag {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent-dark);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(245,166,35,0.3);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-inline: auto;
}

/* ── 7. HEADER ────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--trans-med), box-shadow var(--trans-med), padding var(--trans-med);
  padding-block: 6px;
}

#site-header.scrolled {
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
  padding-block: 2px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px clamp(16px, 5vw, 48px);
  transition: padding var(--trans-med);
}

#site-header.scrolled .navbar { padding-block: 10px; }

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-accent { color: var(--accent); }

/* Nav menu */
.nav-menu {
  display: none;
  flex-direction: row;
  gap: 4px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--trans-fast), background var(--trans-fast);
}
.nav-link:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.06);
}

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--trans-fast);
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--trans-med), opacity var(--trans-med);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Responsive nav */
@media (min-width: 900px) {
  .nav-menu  { display: flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 899px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 0 0 0;
    top: 66px;
    background: rgba(11,31,58,0.98);
    backdrop-filter: blur(20px);
    padding: 32px 24px;
    gap: 6px;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform var(--trans-med);
    pointer-events: none;
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav-link {
    font-size: 1.1rem;
    padding: 12px 16px;
    width: 100%;
  }
  .btn-apply { display: none; }
}

/* ── 8. HERO SECTION ──────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #081628 0%, #0B1F3A 45%, #132B50 100%);
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 60px;
}

/* Subtle dot-grid background pattern */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Glowing orbs */
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-overlay::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 65%);
  top: -150px;
  right: -150px;
}
.hero-overlay::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,58,92,0.6) 0%, transparent 65%);
  bottom: -100px;
  left: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.35);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-heading {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-accent {
  color: var(--accent);
  position: relative;
}
.hero-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.hero-social-proof strong { color: var(--white); }

.avatars {
  display: flex;
}
.avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(11,31,58,0.9);
  margin-left: -8px;
  object-fit: cover;
}
.avatars img:first-child { margin-left: 0; }

/* Hero image */
.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.hero-image img {
  width: 100%;
  height: clamp(280px, 45vw, 500px);
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}

.hero-img-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
}
.hero-img-badge div {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
}
.hero-img-badge strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}
.hero-img-badge span { color: var(--text-muted); }

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  60% { transform: translate(-50%, 12px); opacity: 0.3; }
}

/* ── 9. STATS SECTION ─────────────────────────────────────────── */
.stats-section {
  background: var(--navy);
  padding-block: clamp(48px, 7vw, 80px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
  text-align: center;
  margin-bottom: 56px;
}

@media (min-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr) repeat(3, auto);
    align-items: center;
  }
  .stat-divider { display: block; }
}
@media (max-width: 699px) {
  .stat-divider { display: none; }
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.12);
}

.stat-item { padding: 8px; }

.stat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  margin-bottom: 6px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Marquee */
.marquee-wrapper {
  text-align: center;
}
.marquee-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-weight: 600;
}

.marquee-track {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-inner {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track:hover .marquee-inner { animation-play-state: paused; }

.partner-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 8px 22px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--trans-fast), color var(--trans-fast);
  cursor: default;
}
.partner-pill:hover {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: rgba(245,166,35,0.3);
}

/* ── 10. COURSES SECTION ──────────────────────────────────────── */
.courses-section {
  padding-block: var(--section-py);
  background: var(--off-white);
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 680px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Course Card */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.course-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 40px rgba(245,166,35,0.18);
}
.course-card.featured:hover {
  box-shadow: 0 16px 56px rgba(245,166,35,0.26);
}

.featured-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: var(--navy);
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px;
  z-index: 3;
}

.course-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.course-card.featured .course-card-img-wrap { margin-top: 30px; }

.course-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.course-card:hover .course-card-img-wrap img {
  transform: scale(1.06);
}

/* Course badge */
.course-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 11px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
}
.bestseller { background: var(--accent); color: var(--navy); }
.hot        { background: #FF5722; color: var(--white); }
.new-badge  { background: #2196F3; color: var(--white); }

.course-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-category {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.course-rating {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-head);
}

.course-title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.course-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.course-highlights {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.course-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.course-price { display: flex; flex-direction: column; gap: 2px; }

.price-original {
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-family: var(--font-head);
}

.price-current {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.courses-cta {
  text-align: center;
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.courses-cta p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── 11. WHY CHOOSE US ────────────────────────────────────────── */
.why-section {
  padding-block: var(--section-py);
  background: var(--white);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 70px);
  align-items: start;
}

@media (min-width: 900px) {
  .why-layout {
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
  }
}

.why-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.why-image img {
  width: 100%;
  height: clamp(280px, 45vw, 480px);
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.why-badge-float {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
}
.why-badge-float strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}
.why-badge-float span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

/* Benefits */
.why-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 600px) {
  .why-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .why-benefits { grid-template-columns: repeat(2, 1fr); }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--off-white);
  transition: border-color var(--trans-med), box-shadow var(--trans-med), transform var(--trans-med);
}
.benefit-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-3px);
}

.benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.benefit-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

.benefit-text h3 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.benefit-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 12. TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-section {
  padding-block: var(--section-py);
  background: var(--off-white);
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(100% - 0px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

@media (min-width: 700px) {
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
}
@media (min-width: 1100px) {
  .testimonial-card { flex: 0 0 calc(33.333% - 16px); }
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent);
  line-height: 0.8;
  font-family: Georgia, serif;
  opacity: 0.4;
}

.testimonial-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 13px;
}
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}
.testimonial-author div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-author strong {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stars {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.company-tag {
  align-self: flex-start;
  background: var(--navy);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all var(--trans-fast);
  box-shadow: var(--shadow-sm);
}
.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-mid);
  cursor: pointer;
  transition: all var(--trans-med);
  border: none;
  padding: 0;
}
.dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}
.dot:hover { background: var(--accent); }

/* ── 13. CONTACT SECTION ──────────────────────────────────────── */
.contact-section {
  padding-block: var(--section-py);
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 64px);
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1.1fr 1fr; }
}

/* Contact form */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-main);
  font-size: 0.92rem;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input.error,
.form-group select.error {
  border-color: #e53935;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; }

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--off-white);
  transition: border-color var(--trans-fast), transform var(--trans-fast);
}
.info-block:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.info-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

.info-block div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.info-block strong {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.info-block span {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Map */
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* ── 14. FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-top: clamp(56px, 8vw, 88px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-logo { margin-bottom: 16px; display: inline-flex; }

.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 22px;
}

.social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--trans-fast);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-links-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-col a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--trans-fast), padding-left var(--trans-fast);
}
.footer-links-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 56px;
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ── 15. WHATSAPP FLOAT ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  color: var(--white);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
  text-decoration: none;
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.5);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  80%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: all var(--trans-med);
  box-shadow: var(--shadow-md);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--navy);
  border-right: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── 16. TOAST ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--trans-med);
  z-index: 9999;
  max-width: 320px;
  border-left: 4px solid var(--accent);
}
.toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.toast.error { border-left-color: #e53935; }

/* ── 17. SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--navy-muted);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── 18. FOCUS VISIBLE ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 19. PRINT ────────────────────────────────────────────────── */
@media print {
  #site-header, .whatsapp-float, .toast { display: none; }
}
