/* ── RESET & VARIABLES ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #8b1a1a;
  --primary-dk: #5c0f0f;
  --accent: #ff6b00;
  --accent-dk: #cc5500;
  --light-bg: #fff5ee;
  --white: #ffffff;
  --text: #2a1010;
  --muted: #7a5a5a;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
}

/* ── NAVBAR ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 74px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  border-bottom: 3px solid var(--accent);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow:
    0 0 0 3px var(--primary),
    0 4px 12px rgba(139, 26, 26, 0.3);
}
.nav-logo span {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: 0.3s;
}

/* ── HERO SLIDER ── */
#hero {
  position: relative;
  padding: 0 !important;
  height: calc(100vh - 74px);
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.slider-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(60, 10, 10, 0.82) 0%,
    rgba(60, 10, 10, 0.52) 45%,
    rgba(60, 10, 10, 0.8) 100%
  );
}

/* Hero content */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 8% 60px;
  gap: 0;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #222;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  animation: fadeUp 0.7s ease both;
}
.hero-content h1 {
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-content h1 span {
  color: var(--accent);
}
.hero-content > p {
  max-width: 580px;
  font-size: clamp(0.85rem, 2vw, 1rem);
  opacity: 0.92;
  line-height: 1.7;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 44px);
  flex-wrap: wrap;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 14px 28px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.stat {
  text-align: center;
}
.stat .num {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat .label {
  font-size: 0.7rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--accent);
  color: #222;
}
.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* Slider arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #222;
  transform: translateY(-50%) scale(1.1);
}
.slider-btn.prev {
  left: 18px;
}
.slider-btn.next {
  right: 18px;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    background 0.3s,
    width 0.3s;
}
.dot.active {
  background: var(--accent);
  width: 24px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTION COMMON ── */
section {
  padding: 80px 6%;
}
.section-tag {
  display: inline-block;
  background: rgba(139, 26, 26, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-sub {
  color: var(--muted);
  max-width: 560px;
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── ABOUT ── */
#about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}
.about-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--primary);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.4);
}
.about-badge .big {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.about-badge .sm {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}
.feat-item i {
  color: var(--accent);
  font-size: 1rem;
  width: 20px;
}

/* ── COURSES ── */
#courses {
  background: var(--light-bg);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  border-top: 4px solid var(--primary);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
}
.course-card.accent {
  border-top-color: var(--accent);
}
.course-card.green {
  border-top-color: var(--accent-dk);
}
.course-card.purple {
  border-top-color: var(--accent);
}
.course-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.course-icon.blue {
  background: rgba(139, 26, 26, 0.1);
  color: var(--primary);
}
.course-icon.yellow {
  background: rgba(255, 107, 0, 0.12);
  color: var(--accent);
}
.course-icon.green {
  background: rgba(139, 26, 26, 0.08);
  color: var(--primary);
}
.course-icon.purple {
  background: rgba(255, 107, 0, 0.08);
  color: var(--accent-dk);
}
.course-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.course-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 0.85rem;
}
.course-row:last-child {
  border-bottom: none;
}
.course-row .grade {
  color: var(--muted);
}
.course-row .fee {
  font-weight: 700;
  color: var(--primary);
}
.course-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.course-actions a {
  flex: 1;
  text-align: center;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-call {
  background: var(--primary);
  color: #fff;
}
.btn-call:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
}
.btn-enquire {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-enquire:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ── WHY US ── */
#why {
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--light-bg);
  border-radius: var(--radius);
  transition: box-shadow 0.25s;
}
.why-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.why-card h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── BENEFITS ── */
#benefits {
  background: var(--primary);
  color: #fff;
}
#benefits .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
#benefits .section-title {
  color: #fff;
}
#benefits .section-sub {
  color: rgba(255, 255, 255, 0.75);
}
.benefits-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.benefits-intro p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.benefits-highlight {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.highlight-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.highlight-pill i {
  color: var(--accent);
  font-size: 1rem;
}
.benefits-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.benefits-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.benefits-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--accent);
  color: #222;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
}
.benefits-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.benefit-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition:
    background 0.25s,
    transform 0.25s;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.benefit-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-5px);
}
.benefit-card:hover::before {
  transform: scaleX(1);
}
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  color: var(--accent);
}
.benefit-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ── GALLERY ── */
#gallery {
  background: var(--light-bg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(139, 26, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay i {
  color: #fff;
  font-size: 1.8rem;
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}
#lightbox.open {
  display: flex;
}
.lb-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lb-img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  animation: lbFade 0.25s ease;
}
@keyframes lbFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.lb-close {
  position: fixed;
  top: 18px;
  right: 22px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.lb-close:hover {
  background: var(--accent);
  color: #222;
}
.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.lb-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #222;
}
.lb-prev {
  left: 14px;
}
.lb-next {
  right: 14px;
}
.lb-counter {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 16px;
  border-radius: 20px;
}
.lb-dots {
  position: fixed;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.lb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.lb-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ── CONTACT ── */
#contact {
  background: var(--primary);
  color: #fff;
}
#contact .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
#contact .section-title {
  color: #fff;
}
#contact .section-sub {
  color: rgba(255, 255, 255, 0.75);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-item .icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
}
.contact-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  margin-bottom: 4px;
}
.contact-item p,
.contact-item a {
  font-size: 0.97rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
.contact-item a:hover {
  color: var(--accent);
}
.contact-form {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(4px);
}
.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--accent);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  opacity: 0.8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 11px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  opacity: 0.5;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}
.form-group select option {
  background: var(--primary);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #222;
  border: none;
  border-radius: 50px;
  padding: 13px;
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-submit:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
}

/* ── MAP ── */
#map-section {
  padding: 0;
}
#map-section iframe {
  width: 100%;
  height: 340px;
  border: none;
  display: block;
}

/* ── FOOTER ── */
footer {
  background: var(--primary-dk);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 28px 6%;
  font-size: 0.85rem;
}
footer strong {
  color: #fff;
}
footer .footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
footer .footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.82rem;
}
footer .footer-links a:hover {
  color: var(--accent);
}

/* ── ONLOAD POPUP ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.popup-overlay.open {
  opacity: 1;
  visibility: visible;
}
.popup-box {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  padding: 36px 32px 32px;
  position: relative;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  animation: popIn 0.35s ease;
}
@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.popup-close:hover { color: var(--primary); }
.popup-header {
  text-align: center;
  margin-bottom: 24px;
}
.popup-header img {
  height: 56px;
  object-fit: contain;
  margin-bottom: 10px;
}
.popup-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 4px;
}
.popup-header p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.popup-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8d5d5;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.popup-input:focus { border-color: var(--primary); }
.popup-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.popup-submit:hover { background: var(--primary-dk); }

/* ── FLOATING BUTTONS ── */
.float-btns {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}
.float-btn.whatsapp {
  background: #25d366;
  color: #fff;
}
.float-btn.call {
  background: var(--accent);
  color: #fff;
}
.float-btn.enquire {
  background: var(--primary);
  color: #fff;
}
.float-btn .float-label {
  position: absolute;
  right: 66px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.float-btn:hover .float-label {
  opacity: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-badge {
    right: 0;
    bottom: -16px;
  }
  .benefits-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 640px) {
  nav {
    padding: 0 5%;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--accent);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li a {
    display: block;
    padding: 12px 24px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
  }
  .hamburger {
    display: flex;
  }
  #hero {
    height: calc(100vh - 74px);
    min-height: 480px;
  }
  .hero-content {
    padding: 16px 5% 56px;
  }
  .hero-stats {
    padding: 10px 16px;
    gap: 14px;
  }
  .stat .num {
    font-size: 1.3rem;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .slider-btn.prev {
    left: 8px;
  }
  .slider-btn.next {
    right: 8px;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 18px;
  }
  .float-btns {
    bottom: 16px;
    right: 16px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

/* ── STUDENT LIFE ── */
#student-life {
  padding: 90px 6%;
  background: var(--light-bg);
}

.student-life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sl-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(139, 26, 26, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(139, 26, 26, 0.16);
}

.sl-img-wrap {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.sl-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sl-card:hover .sl-img-wrap img {
  transform: scale(1.06);
}

.sl-content {
  padding: 22px 24px 26px;
}

.sl-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.sl-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.sl-content p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .student-life-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .student-life-grid {
    grid-template-columns: 1fr;
  }
  .sl-img-wrap {
    height: 200px;
  }
}

/* ── OWNER PROFILE ── */
#owner {
  padding: 80px 6%;
  background: var(--light-bg);
}

.owner-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* LEFT — photo + name tag */
.owner-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.owner-img-frame {
  width: 280px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 5px solid var(--accent);
  box-shadow: 0 12px 40px rgba(139,26,26,.18);
  background: var(--light-bg);
  position: relative;
}

.owner-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.owner-img-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 5rem;
}

.owner-name-tag {
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 16px 16px;
  padding: 14px 28px;
  text-align: center;
  width: 260px;
  margin-top: -5px;
  box-shadow: 0 6px 20px rgba(139,26,26,.25);
}

.owner-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .3px;
}

.owner-designation {
  display: block;
  font-size: .8rem;
  font-weight: 400;
  opacity: .85;
  margin-top: 3px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* RIGHT — details */
.owner-right .section-title {
  margin: 8px 0 20px;
}

.owner-right .section-title span {
  color: var(--accent);
}

.owner-desc {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.owner-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.owner-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 2px 12px rgba(139,26,26,.08);
  flex: 1;
  min-width: 130px;
}

.owner-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .95rem;
  flex-shrink: 0;
}

.owner-highlight-item strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
}

.owner-highlight-item span {
  display: block;
  font-size: .75rem;
  color: var(--muted);
}

.owner-quote {
  border-left: 4px solid var(--accent);
  padding: 12px 20px;
  background: #fff;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--primary);
  font-size: .93rem;
  line-height: 1.7;
  box-shadow: 0 2px 12px rgba(139,26,26,.07);
}

@media (max-width: 900px) {
  .owner-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .owner-left {
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
    justify-content: center;
  }
  .owner-img-frame {
    width: 200px;
    height: 230px;
  }
  .owner-name-tag {
    width: 185px;
  }
}

@media (max-width: 580px) {
  .owner-left {
    flex-direction: column;
    align-items: center;
  }
  .owner-highlights {
    flex-direction: column;
  }
}
