/* ============================================================
   West Michigan Business Solutions — style.css
   Mobile-first, elegant rose gold design with rich animations
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --primary:    #1B3A6B;
  --secondary:  #2B7EC7;
  --light:      #D6E8F7;
  --bg:         #F0F7FF;
  --dark:       #0D1E3B;
  --mid:        #3D5E8A;
  --white:      #FFFFFF;
  --gold:       #3D7A32;
  --shadow:     0 10px 40px rgba(27,58,107,0.15);
  --shadow-lg:  0 20px 60px rgba(27,58,107,0.25);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius:     12px;
  --radius-lg:  24px;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Raleway', sans-serif;
}

/* ── 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);
  background-color: var(--bg);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Loading Screen ── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  text-align: center;
  animation: scaleInLoader 0.8s ease forwards;
}

.loader-logo-img {
  height: 100px;
  width: auto;
  margin-bottom: 1.2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 3px;
  animation: loadBar 2s ease forwards;
}

@keyframes loadBar {
  0%   { width: 0; }
  100% { width: 100%; }
}

@keyframes scaleInLoader {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

@keyframes shimmerText {
  0%, 100% { color: var(--primary); }
  50%       { color: var(--gold); }
}

/* ── Typography Utilities ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(2rem,   6vw, 4rem);   font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 600; }
h4 { font-size: clamp(1rem,   2vw, 1.3rem); font-weight: 600; }

p  { font-size: clamp(0.9rem, 2vw, 1.05rem); color: var(--mid); line-height: 1.8; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.section-title.animated::after { width: 100%; }

.text-center { text-align: center; }
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-pad { padding: 4rem 0; }

.grid-2 { display: grid; gap: 2rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #142d55);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(27,58,107,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(27,58,107,0.55);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  border-color: var(--white);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #2d5c24);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(61,122,50,0.4);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(61,122,50,0.55);
}

/* Pulse animation on CTA */
.btn-pulse {
  animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(27,58,107,0.4); }
  50%       { box-shadow: 0 6px 40px rgba(27,58,107,0.7), 0 0 0 8px rgba(27,58,107,0.1); }
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(240,247,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(27,58,107,0.12);
  padding: 0.6rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  padding: 4px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.nav-logo-img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.7rem);
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }

.nav-links a:hover { color: var(--white); }

#navbar.scrolled .nav-logo {
  background: transparent;
  padding: 4px 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#navbar.scrolled .nav-links a { color: var(--dark); }
#navbar.scrolled .nav-links a:hover { color: var(--primary); }
#navbar.scrolled .nav-links a.active::after { background: var(--primary); }
#navbar.scrolled .nav-links .btn-primary,
#navbar.scrolled .nav-links .btn-primary:hover { color: var(--white); }

.nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger */
.hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

#navbar.scrolled .hamburger span { background: var(--dark); }

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  color: var(--white);
  font-weight: 600;
  transition: var(--transition);
  opacity: 0;
  transform: translateX(30px);
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.open a:nth-child(1)  { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2)  { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(3)  { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(4)  { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(5)  { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(6)  { transition-delay: 0.35s; }
.mobile-menu.open a:nth-child(7)  { transition-delay: 0.4s; }
.mobile-menu.open a:nth-child(8)  { transition-delay: 0.45s; }
.mobile-menu.open a:nth-child(9)  { transition-delay: 0.5s; }

.mobile-menu a:hover { color: var(--primary); }

.mobile-menu-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.mobile-menu-close:hover { background: rgba(255,255,255,0.1); }

/* ── Hero Section ── */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/A7R9819_hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,30,59,0.78) 0%,
    rgba(27,58,107,0.45) 50%,
    rgba(13,30,59,0.68) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(27,58,107,0.25);
  border: 1px solid rgba(27,58,107,0.5);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  color: var(--light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease 0.3s both;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulseDot 1.5s ease infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.9s ease 0.5s both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content h1 em {
  font-style: italic;
  color: var(--light);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.9s ease 0.7s both;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.9s ease 0.9s both;
}

/* Floating decorative circles */
.hero-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-decor-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(27,58,107,0.2), transparent);
  top: -50px; right: -80px;
  animation: float 7s ease-in-out infinite;
}

.hero-decor-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(61,122,50,0.15), transparent);
  bottom: 80px; left: -60px;
  animation: float 9s ease-in-out infinite reverse;
}

.hero-decor-3 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(27,58,107,0.15), transparent);
  bottom: 40%; right: 10%;
  animation: float 5s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  33%       { transform: translateY(-20px) scale(1.03); }
  66%       { transform: translateY(10px) scale(0.97); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: fadeInUp 1s ease 1.2s both;
}

.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollBob 1.8s ease infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100%      { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

/* ── Stats Bar ── */
#stats {
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child, .stat-item:nth-child(2) { border-right: none; }

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ── About Section ── */
#about {
  padding: 5rem 0;
  background: var(--white);
}

.about-text .intro-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--mid);
  margin-bottom: 1.5rem;
}

.about-text p { margin-bottom: 1rem; }

.about-highlight {
  background: var(--bg);
  border-left: 4px solid var(--primary);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--mid);
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img { transform: scale(1.04); }

.about-image-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.about-image-badge .badge-icon {
  font-size: 2rem;
  line-height: 1;
}

.about-image-badge .badge-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--dark);
}

.about-image-badge .badge-text span {
  font-size: 0.78rem;
  color: var(--mid);
  font-weight: 500;
}

/* ── Services Section ── */
#services {
  padding: 5rem 0;
  background: var(--bg);
}

.services-intro {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27,58,107,0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(27,58,107,0.12), rgba(27,58,107,0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), #142d55);
  transform: rotate(5deg) scale(1.1);
}

.service-card h3 {
  margin-bottom: 0.7rem;
  color: var(--dark);
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--mid);
}

/* ── What Sets Us Apart ── */
#approach {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.approach-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.approach-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,30,59,0.90), rgba(61,94,138,0.80));
}

.approach-content {
  position: relative;
  z-index: 1;
}

.approach-content h2,
.approach-content .section-tag { color: var(--white); }
.approach-content h2 { color: var(--white); }

.feature-list {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  margin-bottom: 0.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.feature-item:hover {
  background: rgba(27,58,107,0.15);
  transform: translateX(8px);
}

.feature-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), #142d55);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(27,58,107,0.4);
}

.feature-item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

/* ── Gallery Section ── */
#gallery {
  padding: 5rem 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,107,0.7), rgba(13,30,59,0.7));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  flex-direction: column;
  gap: 0.5rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.2);
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  transform: scale(0.7);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay-icon { transform: scale(1); }

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  animation: scaleIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover { background: var(--primary); }

.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav:hover { background: var(--primary); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ── Testimonials ── */
#testimonials {
  padding: 5rem 0;
  background: var(--bg);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  min-width: 100%;
  padding: 2.5rem 2rem;
}

.testimonial-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  text-align: center;
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--primary);
  opacity: 0.3;
  display: block;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--secondary);
  margin-top: 0.25rem;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--light);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.3);
  border-color: rgba(27,58,107,0.3);
}

.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-arrow {
  width: 44px; height: 44px;
  border: 2px solid var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ── FAQ Section ── */
#faq-preview, #faq-main {
  padding: 5rem 0;
  background: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light);
}

.faq-item {
  border: 1px solid var(--light);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item.open { box-shadow: var(--shadow); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-icon {
  width: 28px; height: 28px;
  background: var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.8;
  border-top: 1px solid var(--light);
}

.faq-cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Contact Section ── */
#contact {
  padding: 5rem 0;
  background: var(--bg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), #142d55);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(27,58,107,0.35);
}

.contact-info-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.contact-info-item p, .contact-info-item a {
  font-size: 0.95rem;
  color: var(--mid);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--mid);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg);
  border: 2px solid var(--light);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.12);
}

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

.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233D5E8A' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-row { display: grid; gap: 1rem; }

.honeypot { display: none !important; }

.form-message {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  background: rgba(72,199,142,0.12);
  color: #2a7a50;
  border: 1px solid rgba(72,199,142,0.35);
  display: block;
}

.form-message.error {
  background: rgba(255,100,100,0.1);
  color: #c0392b;
  border: 1px solid rgba(255,100,100,0.3);
  display: block;
}

/* ── Apply CTA Banner ── */
#apply-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--mid) 50%, var(--dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#apply-cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(61,122,50,0.15), transparent);
  top: -200px; right: -100px;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

#apply-cta h2 { color: var(--white); margin-bottom: 1rem; }
#apply-cta p  { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2rem; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=1920&q=30') center/cover no-repeat;
  opacity: 0.08;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 { color: var(--white); margin-bottom: 0.8rem; }

.page-hero p {
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--light); }
.breadcrumb a:hover { color: var(--white); }

/* ── Footer ── */
footer {
  background: var(--dark);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
  display: inline-block;
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  padding: 6px 12px;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 65px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.footer-contact-item .icon { color: var(--primary); font-size: 1rem; margin-top: 2px; }

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
}

.footer-bottom-links a:hover { color: var(--primary); }

/* ── Floating Apply Button ── */
#sticky-apply {
  position: fixed;
  bottom: 2rem; right: 1.5rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

#sticky-apply.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 2rem; left: 1.5rem;
  z-index: 900;
  width: 46px; height: 46px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  cursor: pointer;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ── Apply Page ── */
.apply-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.form-section-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section-title span { color: var(--primary); }

.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--light);
}

.consent-group input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.consent-group label {
  font-size: 0.88rem;
  color: var(--mid);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  margin: 0;
}

.file-note {
  font-size: 0.78rem;
  color: var(--secondary);
  margin-top: 0.3rem;
}

.benefits-section {
  background: linear-gradient(135deg, var(--dark), var(--mid));
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
}

.benefits-section h2 { color: var(--white); margin-bottom: 2rem; }

.benefits-grid {
  display: grid;
  gap: 1.2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.benefit-item:hover { background: rgba(27,58,107,0.15); }

.benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.benefit-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.2rem; }
.benefit-item p  { font-size: 0.88rem; color: rgba(255,255,255,0.6); }

/* ── Policy Pages ── */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 0;
}

.policy-content h2 {
  font-size: 1.4rem;
  color: var(--dark);
  margin: 2.5rem 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--light);
}

.policy-content h3 {
  font-size: 1.1rem;
  color: var(--mid);
  margin: 1.5rem 0 0.6rem;
}

.policy-content p { margin-bottom: 1rem; }

.policy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content ul li {
  font-size: 0.95rem;
  color: var(--mid);
  margin-bottom: 0.4rem;
}

.policy-date {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--light);
  color: var(--mid);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
}

/* ── Scroll Animation Classes ── */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up   { transform: translateY(40px); }
.fade-in-down { transform: translateY(-40px); }
.fade-in-left { transform: translateX(-40px); }
.fade-in-right{ transform: translateX(40px); }
.scale-in     { transform: scale(0.85); }

.animate-on-scroll.animated {
  opacity: 1;
  transform: none;
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ── Keyframes ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ── Particle dots in hero ── */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat linear infinite;
  opacity: 0.4;
}

@keyframes particleFloat {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0.4; }
  50%  { opacity: 0.8; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* ── Divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--light), transparent);
  margin: 0;
}

/* ── 480px ── */
@media (min-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px — Tablet ── */
@media (min-width: 768px) {
  .section-pad { padding: 6rem 0; }

  .container { padding: 0 2rem; }

  .nav-links { display: flex; }
  .hamburger { display: none; }

  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item  { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-right: none; }
  .stat-item:nth-child(2) { border-right: 1px solid rgba(255,255,255,0.1); }

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

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { padding: 2rem 4rem; }

  .form-row { grid-template-columns: 1fr 1fr; }

  .benefits-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 1024px — Small Desktop ── */
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

  .contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }

  .apply-grid { display: grid; grid-template-columns: 1fr; }
}

/* ── 1280px — Desktop ── */
@media (min-width: 1280px) {
  .container { padding: 0 3rem; }

  .services-grid { grid-template-columns: repeat(5, 1fr); }

  h1 { font-size: 4rem; }
  h2 { font-size: 2.8rem; }
}

/* ── 1440px — Large Desktop ── */
@media (min-width: 1440px) {
  .container { max-width: 1400px; }
}

/* ── Accessibility ── */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Misc Helpers ── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.text-primary { color: var(--primary); }
.text-gold    { color: var(--gold); }
.text-white   { color: var(--white); }

/* Spinner for form submit */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Counter animation ── */
.counter { display: inline-block; }

/* ── Highlight text effect ── */
.highlight {
  position: relative;
  display: inline;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 8px;
  background: rgba(183,110,121,0.25);
  border-radius: 4px;
  z-index: -1;
}
