/* ===== DR DINO FITNESS & GYM — Royal Natural Theme ===== */

:root {
  /* Black and White Palette */
  --primary-dark: #000000;
  --primary-deeper: #000000;
  --turf-green: #ffffff;
  --turf-light: #cccccc;
  --gold: #ffffff;
  --gold-light: #cccccc;
  --gold-dark: #ffffff;
  --gold-glow: rgba(255, 255, 255, 0.3);

  /* Backgrounds */
  --bg-primary: #000000;
  --bg-section: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1f1f1f;
  --bg-elevated: #111111;

  /* Text — Bright for readability */
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --text-gold: #ffffff;

  /* Glass */
  --glass: rgba(0, 0, 0, 0.6);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-border-hover: rgba(255, 255, 255, 0.4);

  /* Shadows */
  --shadow-sm: 0 2px 15px rgba(255, 255, 255, 0.06);
  --shadow-md: 0 8px 32px rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 16px 48px rgba(255, 255, 255, 0.1);
  --shadow-xl: 0 24px 64px rgba(255, 255, 255, 0.12);
  --shadow-gold: 0 8px 30px rgba(255, 255, 255, 0.1);
  --shadow-float: 0 20px 60px rgba(255, 255, 255, 0.05);

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
}

.seo-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* Home hero: light nav + buttons over dark background */
.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.hero .btn-secondary:hover {
  border-color: #ffffff;
  color: #000000;
  background: #ffffff;
}

.navbar:not(.scrolled) .logo-text {
  color: #ffffff;
}

.navbar:not(.scrolled) .logo-text .gold {
  color: #cccccc;
}

.navbar:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

/* Dark standalone pages (gallery, instagram) */
.insta-page-body .logo-text {
  color: #ffffff;
}

.insta-page-body .logo-text .gold {
  color: #cccccc;
}

.insta-page-body .nav-links a {
  color: rgba(255, 255, 255, 0.75);
}

.insta-page-body .nav-links a:hover,
.insta-page-body .nav-links a.active {
  color: #ffffff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), var(--turf-green));
  border-radius: 10px;
}

/* ===== PARTICLE CANVAS ===== */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s, visibility 0.8s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-text {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 8px;
  text-transform: uppercase;
}

.preloader-ring {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(0, 0, 0, 0.15);
  border-top-color: var(--gold);
  border-right-color: var(--turf-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 60px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled .logo-text {
  color: #ffffff;
}

.navbar.scrolled .logo-text .gold {
  color: #cccccc;
}

.navbar.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 88px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: 2px;
}

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

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--turf-light));
  transition: width 0.3s;
}

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

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

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000 !important;
  /* on gold */
  padding: 12px 32px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 4px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 80vh;
  padding: 120px 60px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background: #000;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10px;
  /* Slight overflow to hide blur edges */
  background: url('images/intro.png') top center/cover no-repeat;
  filter: blur(1px);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  /* shadow/overlay effect */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--turf-green);
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--turf-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 12px rgba(51, 51, 51, 0.3);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero-tagline .highlight {
  background: linear-gradient(135deg, #ffffff, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000000;
  padding: 16px 36px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.btn-primary .arrow {
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  padding: 16px 28px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-xl);
  cursor: pointer;
  background: none;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(0, 0, 0, 0.05);
}

/* Hero Image Area */
.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-image-main {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  border-radius: 30px 80px 30px 80px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-float);
  animation: float 4s ease-in-out infinite;
}

.float-card-1 {
  bottom: -30px;
  left: -40px;
  animation-delay: 0s;
}

.float-card-2 {
  top: 30px;
  right: -50px;
  animation-delay: 1.5s;
}

.float-card-1 .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.float-card-1 .stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.float-card-2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.float-card-2 .avatars {
  display: flex;
}

.float-card-2 .avatars .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  object-fit: cover;
  background: #eee;
}

.float-card-2 .avatars .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  object-fit: cover;
  background: #eee;
}

.float-card-2 .avatars .av:first-child {
  margin-left: 0;
}

.float-card-2 .member-info .count {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.float-card-2 .member-info .label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Stats Row */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section {
  padding: 80px 60px;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid rgb(0, 0, 0);
  color: black;
  padding: 8px 22px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ABOUT / GYM MASTER ===== */
.about {
  background: #ffffff;
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-muted: #666666;
  --bg-card: #f5f5f5;
  --turf-green: #000000;
  --gold: #000000;
  --gold-dark: #222222;
  color: #000000;
}

.about .btn-primary {
  color: #ffffff;
}

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

.about-grid.flipped {
  grid-template-columns: 1fr 1fr;
}

.about-grid.flipped .about-image-wrapper {
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  border: 2px solid rgba(0, 0, 0, 0.12);
}

.about-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: opacity 0.4s ease-in-out;
}

.about-image::after {
  content: none;
}

/* Founders Carousel */
.founders-carousel-section {
  overflow: hidden;
}

.founders-carousel-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.founders-carousel-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.founders-carousel {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.founders-carousel-grid {
  display: grid;
  gap: 3rem;
}

.founders-image-stage {
  position: relative;
  width: 100%;
  height: 24rem;
  perspective: 1000px;
  overflow: visible;
}

.founders-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(0, 0, 0, 0.12);
  transition: all 0.8s cubic-bezier(0.4, 2, 0.3, 1);
  will-change: transform, opacity;
}

.founders-carousel-img.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
}

.founders-carousel-img.is-left {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(calc(-1 * var(--founders-gap, 60px))) translateY(calc(-1 * var(--founders-stick-up, 48px))) scale(0.85) rotateY(15deg);
}

.founders-carousel-img.is-right {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(var(--founders-gap, 60px)) translateY(calc(-1 * var(--founders-stick-up, 48px))) scale(0.85) rotateY(-15deg);
}

.founders-carousel-img.is-hidden {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.founders-carousel-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.founders-text-panel {
  transition: opacity 0.3s ease;
}

.founders-text-panel.is-changing {
  opacity: 0;
}

.founders-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.5rem);
  color: #000;
  margin-bottom: 0.25rem;
}

.founders-role {
  color: var(--turf-green);
  font-weight: 600;
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.founders-quote {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.75;
}

.founders-quote .quote-word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(5px);
  animation: foundersWordIn 0.22s ease-in-out forwards;
}

@keyframes foundersWordIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.founders-arrow-buttons {
  display: flex;
  gap: 1.5rem;
  padding-top: 2rem;
}

.founders-arrow-btn {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: #141414;
  color: #f1f1f7;
  transition: background-color 0.3s, transform 0.2s;
}

.founders-arrow-btn:hover {
  background: #000;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .founders-carousel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .founders-arrow-buttons {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .founders-carousel-header {
    margin-bottom: 28px;
  }

  .founders-carousel-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .founders-image-stage {
    width: min(100%, 17.5rem);
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: 26rem;
    margin: 0 auto;
    overflow: hidden;
  }

  .founders-carousel-img {
    object-fit: cover;
    object-position: center 15%;
    border-radius: 1.25rem;
  }

  .founders-carousel-img.is-active {
    transform: translateX(0) translateY(0) scale(1) rotateY(0deg) !important;
  }

  .founders-carousel-img.is-left,
  .founders-carousel-img.is-right,
  .founders-carousel-img.is-hidden {
    opacity: 0 !important;
    pointer-events: none;
    transform: translateX(0) translateY(12px) scale(0.96) !important;
  }

  .founders-carousel-content {
    text-align: center;
    align-items: center;
    padding: 0 0.5rem;
    gap: 0.25rem;
  }

  .founders-name {
    margin-top: 0.25rem;
  }

  .founders-quote {
    max-width: 22rem;
    margin: 0 auto;
  }

  .founders-arrow-buttons {
    justify-content: center;
    padding-top: 1.25rem;
  }
}

@media (max-width: 480px) {
  .founders-image-stage {
    width: min(88vw, 16rem);
    max-height: 22rem;
  }

  .founders-role {
    margin-bottom: 1rem;
  }
}

@media (max-width: 375px) {
  .founders-image-stage {
    width: min(92vw, 15rem);
    max-height: 20rem;
  }
}

/* Legacy founder slideshow (kept for reference elsewhere) */
.founder-slideshow {
  position: relative;
}

.founder-slideshow .founder-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.founder-slideshow .founder-img.active {
  opacity: 1;
  position: relative;
}

.about-float-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-primary);
  padding: 12px 20px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  animation: float 5s ease-in-out infinite;
}

.about-float-badge .yr {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #000000;
  line-height: 1;
}

.about-float-badge .yr-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.about-exp-bar {
  position: absolute;
  top: 40px;
  left: -30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  animation: float 4s ease-in-out infinite 1s;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.about-exp-bar .bar-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.about-exp-bar .bar-track {
  width: 140px;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.about-exp-bar .bar-fill {
  height: 100%;
  width: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--turf-green), var(--gold));
  transition: width 1.5s ease;
}

.about-exp-bar .bar-fill.active {
  width: 92%;
}

.about-content .about-role {
  color: var(--turf-green);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.about-content .about-text {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.highlight-item:hover {
  background: var(--bg-card);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.3);
}

.highlight-item .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--turf-green), var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1rem;
}

.highlight-item span {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
}

/* ===== INFRASTRUCTURE SHOWCASE ===== */
.infra-showcase {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sliding background images */
.infra-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.infra-slider-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: infraSlide 12s ease-in-out infinite;
}

.infra-slider-track img {
  height: 100%;
  width: 100vw;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes infraSlide {

  0%,
  25% {
    transform: translateX(0);
  }

  /* hold image 1 */
  33.33%,
  58.33% {
    transform: translateX(-100vw);
  }

  /* hold image 2 */
  66.66%,
  91.66% {
    transform: translateX(-200vw);
  }

  /* hold image 3 */
  100% {
    transform: translateX(-300vw);
  }

  /* loop seamlessly */
}

/* Dark overlay */
.infra-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Centered content */
.infra-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
}

.infra-icon {
  width: 64px;
  height: 64px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.infra-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
}

.infra-tagline {
  font-size: 1.1rem;
  font-style: italic;
  color: #a3e635;
  /* lime green like reference */
  letter-spacing: 0.5px;
}

.infra-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 40px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s;
  background: transparent;
}

.infra-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ===== GALLERY GATEWAY (between facilities & classes) ===== */
.gallery-gateway {
  padding: 28px 60px 36px;
  background: #0a0a0a;
  position: relative;
  z-index: 1;
}

.gallery-gateway-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, #141414 0%, #1f1f1f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.gallery-gateway-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.gallery-gateway-icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.gallery-gateway-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.gallery-gateway-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.35rem;
}

.gallery-gateway-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.gallery-gateway-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin: 0;
}

.gallery-gateway-arrow {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s ease;
}

.gallery-gateway-card:hover .gallery-gateway-arrow {
  transform: translateX(6px);
  color: #ffffff;
}

/* ===== HOME INSTAGRAM SECTION ===== */
.home-instagram {
  background: #0a0a0a;
  color: #d0d0d0;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  padding-top: 70px;
  padding-bottom: 70px;
}

.home-instagram-header {
  text-align: center;
  margin-bottom: 40px;
}

.home-instagram-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.home-instagram-title {
  color: #ffffff;
}

.home-instagram-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-left: auto;
  margin-right: auto;
}

.home-instagram-follow {
  display: inline-flex;
  margin-top: 8px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.home-instagram-follow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.home-instagram-embed {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  min-height: 200px;
}

.home-instagram-embed .elfsight-app-bf517fae-cc3d-4662-9ef0-95ce5deb973f {
  width: 100%;
}

/* ===== CLASSES ===== */
.classes-section {
  background: #e9f3f6;
  padding: 80px 60px;
  text-align: center;
}

.classes-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 40px;
}

.classes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.classes-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.classes-label {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.classes-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a1a;
}

.classes-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.classes-img-wrap:hover img {
  transform: scale(1.05);
}

.classes-schedule-btn {
  display: inline-block;
  padding: 16px 52px;
  background: #000000;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none;
  border: 2px solid #000000;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
}

.classes-schedule-btn:hover {
  background: #222222;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* ===== SCHEDULE MODAL ===== */
.schedule-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.schedule-modal.active {
  display: flex;
}

.schedule-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.schedule-modal-content {
  position: relative;
  max-width: 500px;
  width: 100%;
  max-height: min(90vh, 720px);
  background: #fff;
  border-radius: 12px;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.3s ease;
}

.schedule-modal-content img {
  width: 100%;
  height: auto;
  display: block;
}

.schedule-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.schedule-modal-close:hover {
  background: #000;
}

/* ===== ACHIEVERS ===== */
.achievers {
  background: linear-gradient(180deg, #000000 0%, #111111 100%);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.achievers::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), transparent);
  border-radius: 50%;
}

.achievers::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(51, 51, 51, 0.08), transparent);
  border-radius: 50%;
}

.achievers .section-tag {
  background: rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.25);
  color: var(--gold);
}

.achievers .section-title {
  color: var(--gold);
}

.achievers .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.achievers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.achiever-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s;
  position: relative;
}

.achiever-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.2);
}

.achiever-card .ach-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s;
}

.achiever-card:hover .ach-img {
  transform: scale(1.05);
}

.achiever-card .ach-body {
  padding: 24px;
}

.achiever-card .ach-medal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000000;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.achiever-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.achiever-card .ach-title {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.achiever-card .ach-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ===== REVIEWS ===== */
.reviews {
  background: #ffffff;
  overflow: hidden;
  --text-primary: #000000;
  --text-secondary: rgba(0, 0, 0, 0.75);
  --text-muted: rgba(0, 0, 0, 0.5);
  color: #000000;
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-tag {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.25);
  color: #000000;
}

.reviews .section-title {
  color: #000000;
}

.reviews-subtitle {
  margin-left: auto;
  margin-right: auto;
  color: rgba(0, 0, 0, 0.7);
}

.rate-us-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: #ffffff;
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-xl);
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  margin-bottom: 16px;
}

.rate-us-btn:hover {
  background: #e8e8e8;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* Reviews stacked carousel */
.reviews-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-bottom: 2.5rem;
}

.reviews-carousel-stage {
  position: relative;
  width: min(100%, 22rem);
  height: clamp(18rem, 58vw, 24rem);
  margin: 0 auto;
}

.review-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background: #0d0d0d;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity 0.45s ease,
    box-shadow 0.3s ease;
  will-change: transform, opacity;
}

.review-card:active {
  cursor: grabbing;
}

.review-card--stack-1,
.review-card--stack-2 {
  pointer-events: none;
  cursor: default;
}

.review-card--current {
  z-index: 3;
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0deg);
  touch-action: none;
}

.review-card--stack-1 {
  z-index: 2;
  opacity: 0.6;
  transform: translate(0, 8px) scale(0.95) rotate(-2deg);
}

.review-card--stack-2 {
  z-index: 1;
  opacity: 0.3;
  transform: translate(0, 16px) scale(0.95) rotate(-4deg);
}

.review-card--hidden {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(0, 24px) scale(0.9) rotate(-4deg);
}

.review-card--exiting-left {
  transition: transform 0.28s ease-out, opacity 0.28s ease-out;
}

.review-card--exiting-right {
  transition: transform 0.28s ease-out, opacity 0.28s ease-out;
}

.review-card-arrows {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.5rem 0.75rem;
  pointer-events: none;
}

.review-card-arrow {
  pointer-events: auto;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(0, 0, 0, 0.7);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.review-card-arrow:hover {
  color: #000;
  background: #e8e8e8;
  transform: scale(1.06);
}

.review-card-image {
  width: 100%;
  height: 100%;
  padding: 2.75rem 0.35rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.review-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0.35rem;
  pointer-events: none;
}

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

.review-carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.review-carousel-dot.active {
  background: #000000;
  transform: scale(1.25);
}

.review-carousel-dot:hover {
  background: rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .reviews-carousel-stage {
    width: min(100%, 32rem);
    height: clamp(18rem, 36vw, 26rem);
  }

  .review-card-image {
    padding: 2.5rem 1.25rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .reviews-carousel-stage {
    width: min(100%, 20rem);
    height: clamp(14rem, 70vw, 18rem);
  }

  .review-card-arrow {
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
  }

  .review-card-image {
    padding: 2rem 0.65rem 0.65rem;
  }
}

/* Legacy review slideshow (unused) */
.reviews-slideshow {
  position: relative;
  width: 70%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

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

.reviews-slideshow .review-image-card {
  min-width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  height: 400px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff; /* Add white background for contain */
}

.reviews-slideshow .review-image-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Navigation Arrows */
.review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.review-nav:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-50%) scale(1.1);
}

.review-nav.prev {
  left: 12px;
}

.review-nav.next {
  right: 12px;
}

/* Slide Indicators */
.review-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.review-dot.active {
  background: #000000;
  transform: scale(1.3);
}

/* ===== INSTAGRAM FEED ===== */
.instagram-feed {
  background: var(--bg-primary);
  position: relative;
  padding: 80px 20px;
}

.instagram-page {
  background: var(--bg-primary);
  position: relative;
  padding: 140px 20px 80px;
  min-height: 100vh;
}

.instagram-page-header {
  text-align: center;
  margin-bottom: 48px;
}

.instagram-page-header .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.instagram-page-header .section-subtitle {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
  line-height: 1.7;
}

.instagram-embed-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.insta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(131, 58, 180, 0.4);
}

.insta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(253, 29, 29, 0.5);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-section);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-info-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.3);
}

.contact-info-card .ci-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--turf-green), var(--gold));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card .ci-label {
  font-size: 0.8rem;
  color: black;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-info-card .ci-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: black;
  line-height: 1.5;
}

.contact-form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 8px;
  color: white;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
  background: #ffffff;
  color: #000000;
}

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

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000000;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: #f6f1f1;
  color: rgba(14, 14, 14, 0.7);
  padding: 60px 60px 30px;
  border-top: 1px solid rgb(0, 0, 0);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  color: rgba(0, 0, 0, 0.5);
}

.footer h4 {
  color: black;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(10, 10, 10, 0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.3s;
}

.footer ul a:hover {
  color: var(--gold);
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(15, 14, 14, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(1, 1, 1, 0.4);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(6, 6, 6, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17, 16, 16, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-dark);
}

/* ===== RESPONSIVE ===== */

/* ----- Large Desktop (1440px+) ----- */
@media (max-width: 1440px) {
  .navbar {
    padding: 18px 40px;
  }

  .navbar.scrolled {
    padding: 14px 40px;
  }

  .hero {
    padding: 120px 40px 60px;
  }

  .section {
    padding: 80px 40px;
  }

  .footer {
    padding: 60px 40px 30px;
  }
}

/* ----- Tablet Landscape / Small Laptop (1024px) ----- */
@media (max-width: 1024px) {
  .navbar {
    padding: 16px 30px;
  }

  .navbar.scrolled {
    padding: 12px 30px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .logo-img {
    width: 72px;
    height: 40px;
  }

  .section {
    padding: 70px 30px;
  }

  .hero {
    padding: 110px 30px 50px;
    min-height: 70vh;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
  }

  .about-grid,
  .about-grid.flipped {
    gap: 40px;
  }

  .about-image {
    max-width: 360px;
  }

  .about-image img,
  .founder-slideshow .founder-img {
    height: 300px;
  }

  .achievers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .achiever-card .ach-img {
    height: 260px;
  }

  .contact-grid {
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer {
    padding: 50px 30px 24px;
  }

  .classes-section {
    padding: 70px 30px;
  }

  .reviews-carousel-stage {
    width: min(100%, 24rem);
  }

  .founders-carousel {
    max-width: 100%;
  }

  .infra-showcase {
    height: 70vh;
    min-height: 500px;
  }
}

/* ----- Tablet Portrait (768px) ----- */
@media (max-width: 768px) {
  .navbar {
    padding: 14px 20px;
  }

  .navbar.scrolled {
    padding: 10px 20px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .logo-img {
    width: 68px;
    height: 38px;
  }

  .hero {
    min-height: 65vh;
    padding: 100px 20px 50px;
    text-align: center;
  }

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

  .hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 20px;
  }

  .hero p {
    font-size: 1rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .hero-badge {
    padding: 8px 18px;
    font-size: 0.72rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .btn-secondary {
    padding: 14px 22px;
    font-size: 0.9rem;
  }

  .hero-stats {
    justify-content: center;
    gap: 28px;
    margin-top: 36px;
  }

  .hero-stat .num {
    font-size: 1.6rem;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .section {
    padding: 50px 20px;
  }

  .section-title {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
  }

  .about-grid,
  .about-grid.flipped {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .about-grid.flipped {
    display: flex;
    flex-direction: column-reverse;
  }

  .about-grid.flipped .about-image-wrapper {
    justify-content: center;
    padding-right: 0;
  }

  .about-image {
    margin: 0 auto;
    max-width: 100%;
  }

  .about-image img,
  .founder-slideshow .founder-img {
    height: 280px;
  }

  .about-content .about-text {
    font-size: 0.95rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .founders-section,
  .founders-carousel-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .founders-carousel-header {
    margin-bottom: 32px;
    padding: 0 4px;
  }

  .founders-carousel {
    padding: 0 4px;
  }

  .founders-quote {
    font-size: 0.95rem;
  }

  .gallery-gateway {
    padding: 0 20px;
  }

  .home-instagram {
    padding: 50px 20px;
  }

  .reviews-carousel {
    padding: 0 8px 2rem;
  }

  .reviews-carousel-stage {
    width: min(100%, 100%);
    max-width: 20rem;
    height: clamp(16rem, 68vw, 20rem);
  }

  .review-card-image {
    padding: 2.5rem 0.25rem 0.35rem;
  }

  .reviews .section-subtitle {
    padding: 0 8px;
  }

  .rate-us-btn {
    max-width: 100%;
    text-align: center;
    justify-content: center;
  }

  .classes-title {
    letter-spacing: 2px;
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

  .classes-label {
    font-size: 0.88rem;
    letter-spacing: 2px;
  }

  .classes-schedule-btn {
    width: 100%;
    max-width: 280px;
  }

  .section-tag {
    font-size: 0.72rem;
    padding: 6px 16px;
  }

  .preloader-text {
    font-size: 1.5rem;
    letter-spacing: 4px;
  }

  .mobile-menu {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }

  .mobile-menu .close-menu {
    top: max(24px, env(safe-area-inset-top));
    right: max(24px, env(safe-area-inset-right));
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
  }

  .contact-info-card:hover {
    transform: none;
  }

  .about-float-badge,
  .about-exp-bar,
  .float-card-1,
  .float-card-2 {
    display: none;
  }

  .infra-showcase {
    height: 60vh;
    min-height: 400px;
  }

  .infra-heading {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    letter-spacing: 1px;
  }

  .infra-tagline {
    font-size: 0.95rem;
  }

  .infra-btn {
    padding: 12px 32px;
    font-size: 0.88rem;
  }

  .infra-icon {
    width: 52px;
    height: 52px;
  }

  .classes-section {
    padding: 50px 20px;
  }

  .classes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .classes-schedule-btn {
    padding: 14px 40px;
    font-size: 0.95rem;
  }

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

  .achiever-card .ach-img {
    height: 240px;
  }

  .reviews-carousel-stage {
    width: min(100%, 22rem);
  }

  .rate-us-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 28px;
  }

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

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    padding: 18px 20px;
  }

  .contact-info-card .ci-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .footer {
    padding: 40px 20px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .cursor-glow {
    display: none;
  }
}

/* ----- Mobile (480px) ----- */
@media (max-width: 480px) {
  .navbar {
    padding: 12px 16px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo-img {
    width: 64px;
    height: 34px;
  }

  .hero {
    min-height: 60vh;
    padding: 90px 16px 40px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

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

  .section {
    padding: 40px 16px;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-tagline {
    font-size: clamp(1.25rem, 7vw, 1.75rem);
  }

  .hero-badge {
    letter-spacing: 1px;
  }

  .founders-arrow-btn {
    width: 2.4rem;
    height: 2.4rem;
  }

  .gallery-gateway {
    padding: 0 16px;
  }

  .gallery-gateway-card {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  .gallery-gateway-body {
    text-align: center;
  }

  .gallery-gateway-arrow {
    display: none;
  }

  .home-instagram {
    padding: 40px 16px;
  }

  .founders-name {
    font-size: 1.25rem;
  }

  .reviews-carousel-stage {
    height: clamp(15rem, 75vw, 18rem);
  }

  .review-carousel-dots {
    margin-top: 1.5rem;
  }

  .classes-section {
    padding: 40px 16px;
  }

  .classes-grid {
    gap: 24px;
  }

  .infra-heading {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
    padding: 0 8px;
  }

  .infra-content {
    padding: 24px 16px;
    gap: 12px;
  }

  .about-image img,
  .founder-slideshow .founder-img {
    height: 240px;
  }

  .infra-showcase {
    height: 50vh;
    min-height: 350px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer {
    padding: 32px 16px 20px;
  }

  .mobile-menu a {
    font-size: 1.4rem;
  }

  .instagram-page {
    padding: 100px 16px 60px;
  }

  .instagram-page-header .section-title {
    font-size: 2rem;
  }
}

/* ----- Small Mobile / iPhone SE (375px window) ----- */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .logo-text {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .founders-image-stage {
    height: 12rem;
  }

  .reviews-carousel-stage {
    height: 12rem;
  }

  .review-card-arrow {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 1rem;
  }

  .about-image img,
  .founder-slideshow .founder-img {
    height: 200px;
  }

  .infra-showcase {
    height: 45vh;
    min-height: 300px;
  }

  .classes-title {
    letter-spacing: 1px;
  }

  .achiever-card .ach-img {
    height: 180px;
  }
}

/* ----- Landscape phones ----- */
@media (max-width: 896px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 32px;
  }

  .infra-showcase {
    height: auto;
    min-height: 100vh;
    padding: 80px 0;
  }

  .founders-image-stage {
    height: 14rem;
  }
}

/* ----- Touch Device Optimizations ----- */
@media (hover: none) and (pointer: coarse) {
  .cursor-glow {
    display: none;
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .achiever-card:hover,
  .contact-info-card:hover,
  .highlight-item:hover,
  .classes-img-wrap:hover img,
  .review-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  transition: color 0.3s;
}

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

.mobile-menu .close-menu {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: left 0.3s ease, top 0.3s ease;
}

/* ===== DECORATIVE LINE ===== */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero::before {
  width: 0;
  height: 0;
}