/* ==========================================================================
   AKBA - Ankit Kanekar Badminton Academy
   Custom stylesheet — complements Tailwind CDN utility classes.
   Brand colors: Blue #1E4FA8 | Red #D7263D | Dark #222222 | Light #F8FAFC
   ========================================================================== */

/* ---------- Base / Typography ---------- */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: 'Poppins', sans-serif;
}

/* Respect users who disable motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Accessibility: Skip Link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #1E4FA8;
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 0.5rem 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* Visible focus ring for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1E4FA8;
  outline-offset: 2px;
}

/* ---------- Navbar ---------- */
.nav-link {
  position: relative;
  color: #222222;
  transition: color 0.25s ease;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #1E4FA8, #D7263D);
  transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: #1E4FA8;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-nav-link {
  display: block;
  padding: 0.65rem 0.25rem;
  color: #222222;
  border-bottom: 1px solid #f1f1f1;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-link:hover {
  color: #1E4FA8;
  padding-left: 0.5rem;
}
.mobile-nav-link.active {
  color: #1E4FA8;
  font-weight: 600;
  padding-left: 0.5rem;
  border-left: 3px solid #1E4FA8;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #222222;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#mobile-menu-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
#mobile-menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
#mobile-menu-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  nav .shrink-0 img {
    height: 50px !important;
  }
}

/* ---------- Hero: Portrait Mobile Video Carousel ---------- */
.hero-video-carousel-wrap {
  position: relative;
  max-width: 100%;
}
.hero-video-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 3.5rem 0.5rem;
  scrollbar-width: none;
}
.hero-video-track::-webkit-scrollbar {
  display: none;
}
.hero-video-card {
  flex: 0 0 auto;
  width: 250px;
  aspect-ratio: 9 / 16;
  scroll-snap-align: center;
  margin-bottom: 0;
}
.hero-video-card video {
  height: 100%;
  object-fit: cover;
}
@media (min-width: 640px) {
  .hero-video-card { width: 310px; }
}
@media (min-width: 1024px) {
  .hero-video-card { width: 340px; }
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  transition: all 0.25s ease;
}
.hero-arrow:hover {
  background: #fff;
  color: #1E4FA8;
  transform: translateY(-50%) scale(1.1);
}
/* Positions for the mobile portrait video carousel's arrows */
.hero-video-arrow-prev { left: 0; }
.hero-video-arrow-next { right: 0; }

/* ---------- Hero: Desktop Full-Bleed Image/Video Carousel ---------- */
#hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}
.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.hero-slide-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(34, 34, 34, 0.589), rgba(34, 34, 34, 0.473) 50%, rgba(34, 34, 34, 0.808));
}
.hero-slide-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}
/* Positions for the desktop full-bleed carousel's arrows */
.hero-arrow-prev { left: 1rem; }
.hero-arrow-next { right: 1rem; }
@media (min-width: 768px) {
  .hero-arrow-prev { left: 1.5rem; }
  .hero-arrow-next { right: 1.5rem; }
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active {
  background: linear-gradient(90deg, #1E4FA8, #D7263D);
  width: 26px;
  border-radius: 9999px;
}
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  padding-top: 2.5rem;
}

/* ---------- Buttons ---------- */
.btn-gradient,
.btn-gradient-sm {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1E4FA8, #D7263D);
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 8px 20px rgba(30, 79, 168, 0.25);
}
.btn-gradient {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}
.btn-gradient-sm {
  padding: 0.55rem 1.4rem;
  font-size: 0.875rem;
}
.btn-gradient:hover,
.btn-gradient-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(215, 38, 61, 0.35);
  filter: brightness(1.05);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}
.btn-outline:hover {
  background: #fff;
  color: #1E4FA8;
  border-color: #fff;
  transform: translateY(-3px);
}
/* When used on light backgrounds (e.g. pricing cards) */
.pricing-card .btn-outline {
  color: #1E4FA8;
  border-color: #1E4FA8;
  background: transparent;
}
.pricing-card .btn-outline:hover {
  background: #1E4FA8;
  color: #fff;
}

.btn-whatsapp,
.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}
.btn-call {
  background: #fff;
  color: #1E4FA8;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.btn-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.btn-enroll {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.6rem;
  color: #1E4FA8;
  border: 1.5px solid #1E4FA8;
  transition: all 0.25s ease;
}
.btn-enroll:hover {
  background: #1E4FA8;
  color: #fff;
  transform: translateY(-2px);
}

/* Ripple effect (JS adds .ripple span on click) */
.btn-ripple {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}
@keyframes ripple-anim {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Loading state for submit button */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Section Headings ---------- */
.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(30, 79, 168, 0.08);
  color: #1E4FA8;
  border: 1px solid rgba(30, 79, 168, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.section-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.875rem;
  line-height: 1.2;
  color: #222222;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .section-heading { font-size: 2.5rem; }
}
.section-subheading {
  color: #6b7280;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .section-subheading { font-size: 1.125rem; }
}

/* ---------- Feature / Why Choose Cards ---------- */
.feature-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 79, 168, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.feature-card:nth-child(even)::before {
  background: radial-gradient(circle, rgba(215, 38, 61, 0.12), transparent 70%);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 79, 168, 0.12);
}
.feature-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(30, 79, 168, 0.1), rgba(215, 38, 61, 0.1));
  color: #1E4FA8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.35s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-4deg);
}
.feature-title {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #222222;
}
.feature-desc {
  position: relative;
  z-index: 1;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Batch Timing List ---------- */
.timing-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.timing-list li {
  font-size: 0.9rem;
  font-weight: 600;
  color: #222222;
  background: rgba(30, 79, 168, 0.06);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
}

/* ---------- Program Cards ---------- */
.program-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.12);
}
.program-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.program-card:hover .program-img {
  transform: scale(1.12);
}
.program-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, #1E4FA8, #D7263D);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}
.program-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.program-desc {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.program-meta {
  font-size: 0.8rem;
  color: #4b5563;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.program-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1E4FA8;
}

/* ---------- Coach Cards ---------- */
.coach-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.coach-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.coach-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.coach-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.coach-card:hover .coach-img {
  transform: scale(1.1);
}
.social-icon-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #1E4FA8;
  transition: all 0.25s ease;
}
.social-icon-sm:hover {
  background: #1E4FA8;
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Coach Profile Cards (extended bio layout) ---------- */
.coach-profile-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.coach-profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
@media (min-width: 640px) {
  .coach-profile-card { flex-direction: row; }
}
.coach-profile-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
@media (min-width: 640px) {
  .coach-profile-img-wrap {
    width: 240px;
    flex-shrink: 0;
    aspect-ratio: 3 / 4;
  }
}
.coach-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.coach-profile-card:hover .coach-profile-img {
  transform: scale(1.08);
}
.coach-profile-bio {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 0.85rem;
}

/* ---------- Founder Spotlight (full card) ---------- */
.founder-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
@media (min-width: 1024px) {
  .founder-card { flex-direction: row; }
}
.founder-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
@media (min-width: 1024px) {
  .founder-img-wrap {
    width: 420px;
    flex-shrink: 0;
    aspect-ratio: 3 / 4;
  }
}
.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-content {
  padding: 2rem;
}
@media (min-width: 768px) {
  .founder-content { padding: 2.75rem; }
}
.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  background: rgba(30, 79, 168, 0.08);
  color: #1E4FA8;
  font-size: 0.75rem;
  font-weight: 600;
}
.founder-bio {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 1.25rem;
}
.founder-bio + .founder-bio {
  margin-top: 0.85rem;
}
.founder-quote {
  position: relative;
  font-style: italic;
  color: #374151;
  font-size: 1rem;
  border-left: 4px solid #D7263D;
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.5rem 0;
}
.founder-quote span {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  color: #1E4FA8;
}
.founder-highlights-group {
  margin: 1.5rem 0;
}
.founder-highlights-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1E4FA8;
  margin-bottom: 0.65rem;
}
.founder-highlights {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .founder-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.founder-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #374151;
}
.founder-highlight-item svg {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  color: #1E4FA8;
  margin-top: 0.15rem;
}

/* ---------- Facilities ---------- */
.facility-item {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.facility-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(30, 79, 168, 0.1);
}
.facility-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #222222;
}

/* ---------- Checklist Card (facilities / coaching offerings) ---------- */
.checklist-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.checklist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.checklist-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #222222;
  margin-bottom: 1.5rem;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}
.checklist-item svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #1E4FA8;
  margin-top: 0.1rem;
}

/* ---------- Achievements ---------- */
.achievement-stat {
  text-align: center;
  transition: transform 0.3s ease;
}
.achievement-stat:hover {
  transform: translateY(-4px);
}

/* ---------- Gallery ---------- */
.gallery-masonry {
  columns: 2;
  column-gap: 1rem;
}
@media (min-width: 640px) {
  .gallery-masonry { columns: 3; }
}
@media (min-width: 1024px) {
  .gallery-masonry { columns: 4; }
}
.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.12);
  filter: brightness(0.85);
}
.gallery-item .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  color: #D7263D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.gallery-item:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.15);
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  pointer-events: none;
}

/* Gallery tabs (Photos / Videos) */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.gallery-tab-btn {
  padding: 0.6rem 1.75rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1E4FA8;
  background: #fff;
  border: 1px solid rgba(30, 79, 168, 0.2);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.gallery-tab-btn:hover {
  transform: translateY(-2px);
}
.gallery-tab-btn.active {
  background: linear-gradient(135deg, #1E4FA8, #D7263D);
  color: #fff;
  border-color: transparent;
}
.gallery-tab-panel[hidden] {
  display: none;
}

/* Video tiles within the gallery grid share .gallery-item / .gallery-tile
   hover, shadow and play-icon styles; only element-specific sizing needed here. */
.gallery-item video {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover video {
  transform: scale(1.12);
  filter: brightness(0.85);
}
.gallery-tile video {
  height: 100%;
  object-fit: cover;
}
.video-lightbox-player {
  background: #000;
}

/* Bigger, uniform tiles for 4-per-row gallery grids (as opposed to the
   variable-height masonry columns used elsewhere). */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gallery-tile {
  margin-bottom: 0;
  aspect-ratio: 4 / 3;
}
.gallery-tile img {
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .gallery-grid { gap: 1.5rem; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox:fullscreen,
.lightbox:-webkit-full-screen,
.lightbox:-moz-full-screen {
  width: 100vw;
  height: 100vh;
}
.lightbox:fullscreen .video-lightbox-player,
.lightbox:-webkit-full-screen .video-lightbox-player,
.lightbox:-moz-full-screen .video-lightbox-player {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
}
.lightbox-img {
  width: 80vw;
  height: 80vh;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.lightbox.active .lightbox-img {
  transform: scale(1);
}
/* Video lightbox fills the whole screen on mobile, whether or not the
   native Fullscreen API actually engaged (e.g. iOS Safari restricts it). */
@media (max-width: 768px) {
  .video-lightbox-player {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: #fff;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease;
}
.lightbox-close:hover {
  transform: rotate(90deg);
  color: #D7263D;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ---------- Video Preview Trigger + Dialog ---------- */
.video-preview-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.video-preview-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.video-preview-trigger:hover img {
  transform: scale(1.06);
  filter: brightness(0.75);
}
.video-preview-trigger::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.05) 55%);
}
.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #D7263D;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.video-preview-trigger:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
}
.video-preview-label {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
}

.video-dialog {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  padding: 1.5rem;
  transition: opacity 0.3s ease;
}
.video-dialog.active {
  display: flex;
  opacity: 1;
}
.video-dialog-inner {
  position: relative;
  width: 80vw;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.video-dialog.active .video-dialog-inner {
  transform: scale(1);
}
.video-dialog-inner video {
  width: 100%;
  height: 80vh;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #000;
  object-fit: contain;
}
.video-dialog-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  font-size: 2.25rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease;
}
.video-dialog-close:hover {
  transform: rotate(90deg);
  color: #D7263D;
}

/* ---------- Testimonials ---------- */
.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  padding: 0 0.5rem;
}
.testimonial-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.stars {
  color: #f5b301;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.testimonial-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #1E4FA8;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
}
.testimonial-arrow:hover {
  background: #1E4FA8;
  color: #fff;
  /* transform: translateY(-50%) scale(1.1); */
}
.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}
.testimonial-dot.active {
  background: linear-gradient(135deg, #1E4FA8, #D7263D);
  width: 24px;
  border-radius: 9999px;
}

/* ---------- Pricing ---------- */
.pricing-card {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.1);
}
.pricing-featured {
  background: linear-gradient(160deg, #1E4FA8, #D7263D);
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(30, 79, 168, 0.3);
}
.pricing-featured:hover {
  transform: scale(1.05) translateY(-8px);
}
.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fbbf24;
  color: #222;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.pricing-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #222222;
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: #1E4FA8;
  margin-bottom: 1.5rem;
}
.pricing-features {
  color: #4b5563;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

/* ---------- Glassmorphism CTA ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: #222222;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
  color: #1E4FA8;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  padding: 0 1.5rem 1.25rem;
}

/* ---------- Contact ---------- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: rgba(30, 79, 168, 0.08);
  color: #1E4FA8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: all 0.25s ease;
}
footer .social-icon {
  background: rgba(255, 255, 255, 0.06);
}
.social-icon:hover {
  background: linear-gradient(135deg, #1E4FA8, #D7263D);
  transform: translateY(-3px);
  border-color: transparent;
}
/* Social icons on light background (contact section) need dark default */
#contact .social-icon {
  background: #fff;
  color: #1E4FA8;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
#contact .social-icon:hover {
  color: #fff;
}

/* ---------- Forms ---------- */
.form-group {
  display: flex;
  flex-direction: column;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}
.form-input {
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  color: #222222;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input:focus {
  outline: none;
  border-color: #1E4FA8;
  box-shadow: 0 0 0 3px rgba(30, 79, 168, 0.12);
}
.form-input.input-error {
  border-color: #D7263D;
}
.form-error {
  color: #D7263D;
  font-size: 0.75rem;
  margin-top: 0.3rem;
  min-height: 1rem;
}
.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803d;
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-fail {
  background: rgba(215, 38, 61, 0.08);
  border: 1px solid rgba(215, 38, 61, 0.3);
  color: #D7263D;
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.footer-link {
  color: #9ca3af;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-link:hover {
  color: #fff;
  padding-left: 0.25rem;
}

/* ---------- Floating Action Buttons ---------- */
.float-btn {
  position: fixed;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 40;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.float-btn:hover {
  transform: scale(1.1);
}
.float-whatsapp {
  bottom: 5.75rem;
  background: #25D366;
  color: #fff;
}
.float-call {
  bottom: 1.25rem;
  background: #1E4FA8;
  color: #fff;
}
.float-top {
  bottom: 5.75rem;
  left: 1.5rem;
  right: auto;
  background: #fff;
  color: #1E4FA8;
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.float-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.fade-in-up {
  animation: fadeInUp 1s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered fade-in (JS toggles .visible via IntersectionObserver) */
.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children of grids that fade in together */
.stat-item {
  transition: transform 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
}
