/* ============================================================
   INCORPORATING LIFE — PREMIUM DESIGN SYSTEM
   Palette: Rich Warm Brown + Burnished Gold — Matched to Logo
   Vibe: Premium, Sophisticated, Trustworthy, Timeless
   ============================================================ */

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

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --primary: #5C3317;
  /* rich warm brown — exact logo line-art color */
  --primary-lt: #F7EFE7;
  /* very subtle warm white tint */
  --accent: #C49A52;
  /* burnished gold — logo outline color */
  --accent-lt: #FBF5EA;
  /* soft gold tint */
  --teal: #7A4A28;
  /* mid warm brown */
  --gold: #C49A52;
  /* burnished gold */

  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --border: rgba(92, 51, 23, 0.11);
  --text: #1C1008;
  --muted: #7A6550;
  --shadow-sm: 0 2px 12px rgba(92, 51, 23, 0.07);
  --shadow: 0 8px 32px rgba(92, 51, 23, 0.10);
  --shadow-lg: 0 20px 60px rgba(92, 51, 23, 0.14);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark {
  --bg: #180D06;
  --surface: #221208;
  --border: rgba(255, 255, 255, 0.08);
  --text: #F0E8DF;
  --muted: #B09880;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --primary-lt: #2E180A;
  --accent-lt: #2C1E08;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

/* ── Header ────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 7%;
  transition: background var(--transition), box-shadow var(--transition);
  flex-wrap: wrap;
  gap: 0;
}

header.scrolled {
  box-shadow: var(--shadow-sm);
}

body.dark header {
  background: rgba(24, 13, 6, 0.95);
}

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

.logo img {
  height: 56px;
  width: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color var(--transition);
  letter-spacing: 0.3px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width var(--transition);
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after {
  width: 100%;
}

/* Dark Toggle */
#darkToggle {
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

#darkToggle:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-lt);
}

/* Mobile Menu Button */
#menuBtn {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}

@media (max-width: 768px) {

  /* Hide the hamburger button entirely */
  #menuBtn {
    display: none !important;
  }

  /* Header becomes a column: logo row top, nav row below */
  header {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 4% 0;
    gap: 0;
  }

  /* Top row: logo left, dark toggle right */
  .logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 10px;
  }

  /* Move dark toggle next to logo on mobile */
  #darkToggle {
    order: 2;
    flex-shrink: 0;
  }

  /* Nav links row — always visible, horizontal, scrollable */
  nav {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    gap: 0;
    padding: 8px 0 10px;
    border-top: 1px solid var(--border);
    border-left: none;
    box-shadow: none;
    background: transparent;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    padding: 6px 8px;
    color: var(--muted);
    flex-shrink: 0;
  }

  nav a::after {
    bottom: 2px;
  }

  /* Hide dark toggle from inside nav on mobile (it's moved to logo row) */
  nav #darkToggle {
    display: none;
  }
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 160px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg,
      #3B1F0A 0%,
      #5C3317 30%,
      #7A4A28 55%,
      #5C3317 80%,
      #3B1F0A 100%);
}

/* Grid overlay texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

/* Large ambient orb – top left */
.hero::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at 40% 40%, rgba(196, 154, 82, 0.35), transparent 70%);
  top: -180px;
  left: -160px;
  border-radius: 50%;
  filter: blur(60px);
  animation: heroFloat 10s ease-in-out infinite alternate;
  z-index: 0;
}

/* Extra orb element – injected via JS or added in HTML */
.hero-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 60% 60%, rgba(210, 175, 120, 0.22), transparent 70%);
  bottom: -100px;
  right: -120px;
  border-radius: 50%;
  filter: blur(60px);
  animation: heroFloat 12s ease-in-out infinite alternate-reverse;
  z-index: 0;
  pointer-events: none;
}

/* Third smaller orb – mid left */
.hero-orb2 {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(196, 154, 82, 0.18), transparent 70%);
  top: 40%;
  left: 8%;
  border-radius: 50%;
  filter: blur(50px);
  animation: heroFloat 9s ease-in-out 2s infinite alternate;
  z-index: 0;
  pointer-events: none;
}

@keyframes heroFloat {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, 25px) scale(1.08);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  margin-bottom: 32px;
  text-transform: uppercase;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: heroFadeUp 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: #D4AA70;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(212, 170, 112, 0.40);
  animation: heroPulse 1.6s ease infinite;
}

@keyframes heroPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(212, 170, 112, 0.40);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(212, 170, 112, 0.18);
  }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  animation: heroFadeUp 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(90deg, #EACB94, #D4AA70);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(196, 154, 82, 0.5));
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  animation: heroFadeUp 1s 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* New decorative divider under tagline */
.hero-divider {
  width: 60px;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, #D4AA70, rgba(255, 255, 255, 0.4));
  margin: 0 auto 36px;
  animation: heroFadeUp 1s 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeUp 1s 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero trust strip */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  animation: heroFadeUp 1s 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  position: relative;
  z-index: 2;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.hero-trust-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  backdrop-filter: blur(6px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  animation: heroBounce 2.4s ease infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  border-radius: 2px;
}

@keyframes heroBounce {

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

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

@keyframes bounce {

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

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

@keyframes float {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, 20px) scale(1.05);
  }
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.4px;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.btn:hover::before {
  left: 140%;
}

.btn-primary {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(92, 51, 23, 0.18);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.20), 0 4px 16px rgba(92, 51, 23, 0.22);
  color: var(--primary);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-3px) scale(1.02);
}

/* Default .btn fallback (used in booking form submit) */
.btn:not(.btn-primary):not(.btn-outline) {
  background: linear-gradient(135deg, var(--primary), #7A4A28);
  color: #fff;
  box-shadow: 0 4px 20px rgba(92, 51, 23, 0.30);
  border-radius: var(--radius-sm);
}

.btn:not(.btn-primary):not(.btn-outline):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(92, 51, 23, 0.40);
  color: #fff;
}

/* ── Section Layout ────────────────────────────────────── */
.section {
  padding: 100px 7%;
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  padding: 6px 14px;
  background: var(--primary-lt);
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.highlight-il {
  color: #C8965A;
  font-size: 1.2em;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 580px;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head .section-subtitle {
  margin: 0 auto;
}

/* Alternating bg sections */
.alt {
  background: var(--primary-lt);
}

body.dark .alt {
  background: rgba(108, 78, 245, 0.06);
}

/* ── Reveal Animations ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ── ABOUT ─────────────────────────────────────────────── */
.premium {
  background: linear-gradient(170deg, #FFFFFF 0%, #F7EFE7 100%);
}

body.dark .premium {
  background: linear-gradient(170deg, var(--bg) 0%, var(--primary-lt) 100%);
}

/* Larger "About Us" label */
.section-label-lg {
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  padding: 10px 24px;
}

/* Single-block vertical layout */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lead-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

/* Mission + Vision side by side */
.about-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-lt), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.about-card:hover::before {
  opacity: 1;
}

.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  position: relative;
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  position: relative;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: inline-block;
}

@media (max-width: 600px) {
  .about-cards-row {
    grid-template-columns: 1fr;
  }
}

/* ── Stats / Counters ──────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, #3B1F0A 0%, #5C3317 50%, #7A4A28 100%);
  padding: 60px 7%;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item h3 span {
  color: #D4AA70;
}

.stat-item p {
  font-size: 0.88rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── Faculty ───────────────────────────────────────────── */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.faculty-profile {
  text-decoration: none;
  color: var(--text);
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.faculty-profile:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.faculty-img-wrap {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  background: var(--primary-lt);
}

.faculty-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-profile:hover img {
  transform: scale(1.04);
}

.faculty-info {
  padding: 22px 24px 26px;
}

.faculty-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.faculty-role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.faculty-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-lt);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition);
}

.faculty-profile:hover .faculty-cta {
  background: var(--primary);
  color: #fff;
}

/* ── Training Programs ─────────────────────────────────── */
.grid-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.grid-list li {
  background: var(--surface);
  padding: 24px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.grid-list li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.grid-list li .li-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.grid-list li .li-text {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ── Why Choose Us ─────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.why-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--primary);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-lt), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: inline-block;
  position: relative;
}

.why-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  position: relative;
}

/* ── Testimonials ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.testimonial-quote {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.25;
  font-family: Georgia, serif;
  position: absolute;
  top: 16px;
  left: 22px;
}

.testimonial-text {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #7A4A28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--muted);
}

.stars {
  color: #F59E0B;
  font-size: 0.85rem;
  margin-top: 2px;
  letter-spacing: 2px;
}

/* ── Booking Form ──────────────────────────────────────── */
.premium-form {
  background: var(--surface);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 154, 82, 0.10);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

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

select {
  appearance: none;
  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 fill='%236B7280' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* ── Contact ───────────────────────────────────────────── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  background: linear-gradient(135deg, #3B1F0A 0%, #5C3317 100%);
  color: #fff;
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.contact-info>p {
  opacity: 0.85;
  margin-bottom: 36px;
  font-size: 0.97rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.7;
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 0.97rem;
  font-weight: 500;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition);
  cursor: pointer;
  color: #fff;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.contact-form {
  background: var(--surface);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 28px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: none;
  margin: 0;
}

/* ── Footer ────────────────────────────────────────────── */
.premium-footer {
  background: #2C1508;
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 7% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 56px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 260px;
  opacity: 0.7;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background var(--transition);
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-grid>div>h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}

.footer-grid>div>p,
.footer-grid>div>a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-grid>div>a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  opacity: 0.5;
}

/* ── WhatsApp Float ────────────────────────────────────── */
.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 28px;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: all var(--transition);
  text-decoration: none;
}

.whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: whatsapp-ring 2s ease-out infinite;
}

@keyframes whatsapp-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ── Profile Pages ─────────────────────────────────────── */
.profile-section {
  padding-top: 60px;
}

.profile-breadcrumb {
  max-width: 1100px;
  margin: 0 auto 36px;
}

.profile-breadcrumb a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.profile-breadcrumb a:hover {
  gap: 10px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.profile-img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
}

.profile-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.profile-img-frame:hover img {
  transform: scale(1.03);
}

.profile-contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.btn-profile {
  background: linear-gradient(135deg, var(--primary), #7A4A28) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(92, 51, 23, 0.30) !important;
  justify-content: center;
  text-align: center;
}

.btn-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(92, 51, 23, 0.45) !important;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35) !important;
  justify-content: center;
  text-align: center;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5) !important;
}

.btn-linkedin {
  background: linear-gradient(135deg, #0A66C2, #004182) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(10, 102, 194, 0.30) !important;
  justify-content: center;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-linkedin:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 102, 194, 0.45) !important;
}

.profile-label {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  padding: 6px 14px;
  background: var(--accent-lt);
  border-radius: 50px;
  margin-bottom: 12px;
}

.profile-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  line-height: 1.15;
}

.profile-lead {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.profile-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}

.profile-quote {
  margin: 28px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 18px 22px;
  border-left: 3px solid var(--primary);
  background: var(--primary-lt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.7;
}

.profile-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 14px;
  color: var(--text);
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.profile-list li {
  padding: 8px 12px 8px 32px;
  position: relative;
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-weight: 500;
}

.profile-list li::before {
  content: '✓';
  position: absolute;
  left: 10px;
  color: var(--primary);
  font-weight: 700;
}

.profile-stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

/* ── Responsive — Mobile First ─────────────────────────── */

/* Header: tighter on mobile */
@media (max-width: 768px) {
  .logo img {
    height: 40px;
    width: 40px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  /* Hero */
  .hero {
    padding: 100px 20px 120px;
    min-height: 100svh;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 8px 16px;
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .hero-divider {
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 320px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 1rem;
  }

  .hero-scroll {
    bottom: 24px;
    font-size: 0.65rem;
  }

  /* Sections */
  .section {
    padding: 60px 5%;
  }

  .section-head {
    margin-bottom: 40px;
  }

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

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-cards-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .about-card {
    padding: 24px 20px;
  }

  /* Why grid – 2 cols on mobile */
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .why-card {
    padding: 22px 16px;
  }

  .why-icon {
    font-size: 1.6rem;
  }

  .why-card h4 {
    font-size: 1rem;
  }

  .why-card p {
    font-size: 0.82rem;
  }

  /* Faculty */
  .faculty-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
  }

  /* Training / Events grid – 2 cols on mobile */
  .grid-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .grid-list li {
    padding: 16px 14px;
  }

  /* Testimonials */
  .tcarousel-slide {
    flex: 0 0 calc(100% - 0px);
    min-width: calc(100% - 0px);
  }

  .tcarousel-wrap {
    gap: 8px;
  }

  .tcarousel-btn {
    width: 36px;
    height: 36px;
    font-size: 22px;
    flex-shrink: 0;
  }

  .testimonial-card {
    padding: 28px 20px;
  }

  /* Booking form */
  .premium-form {
    padding: 28px 20px;
  }

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

  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-info {
    padding: 32px 24px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  /* Stats */
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Profile pages */
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-img-frame {
    max-width: 280px;
    margin: 0 auto;
  }

  .profile-list {
    grid-template-columns: 1fr;
  }

  .profile-stats {
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .premium-footer {
    padding: 52px 6% 28px;
  }

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

  /* WhatsApp button – larger touch target on mobile */
  .whatsapp {
    right: 16px;
    bottom: 20px;
    width: 52px;
    height: 52px;
  }
}

/* ─ Larger tablet ─ */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-main {
    grid-column: 1 / -1;
  }

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

  .profile-layout {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }

  .section {
    padding: 80px 6%;
  }
}

/* ─ Very small phones ─ */
@media (max-width: 400px) {
  header {
    padding: 8px 3% 0;
  }

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

  .brand-title {
    font-size: 0.82rem;
  }

  nav a {
    font-size: 0.66rem;
    padding: 5px 6px;
  }

  .hero {
    padding: 88px 16px 100px;
  }

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

  .section {
    padding: 48px 4%;
  }

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

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

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .premium-form {
    padding: 22px 16px;
  }

  .contact-info,
  .contact-form {
    padding: 24px 18px;
  }

  .footer-grid {
    gap: 24px;
  }

  .about-card {
    padding: 20px 16px;
  }

  .testimonial-card {
    padding: 24px 16px;
  }

  /* Bigger tap targets for buttons */
  .btn {
    padding: 15px 24px;
    font-size: 0.9rem;
  }

  .hero-actions .btn {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
}

/* ── Utility ───────────────────────────────────────────── */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.glass-header {
  backdrop-filter: blur(20px);
}