/* ═══════════════════════════════════════════
   Greenfield Institute of Technology
   styles.css
═══════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --navy: #0a1628;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --cream: #f8f4ed;
  --white: #ffffff;
  --text: #2c2c2c;
  --muted: #6b6b6b;
  --card-bg: #ffffff;
  --accent: #1a3a6b;
}

/* ─── RESET & BASE ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}


/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
  animation: slideDown 0.6s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ── Logo Left Side ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.nav-logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(11px, 1.4vw, 20px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.3;
  letter-spacing: 0.3px;
  word-break: break-word;
}

.nav-logo-text span {
  display: block;
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Nav Links Right Side ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex-shrink: 0;
  margin-left: 20px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,0.4);
}

.nav-cta::after { display: none !important; }

/* ── Hamburger Button (mobile) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  margin-left: 12px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,22,40,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--gold); }

.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }

  .nav-logo-img  { height: 38px; width: 38px; }

  .nav-logo-text {
    font-size: clamp(9px, 3.2vw, 14px);
  }
}

@media (max-width: 400px) {
  .nav-logo-text {
    font-size: 9px;
  }
}

/* ═══════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════ */
.slider {
  margin-top: 72px;
  position: relative;
  height: 580px;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77,0,0.18,1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.3) 60%, transparent 100%);
}

.slide-content {
  position: relative; z-index: 2;
  max-width: 580px;
  padding: 0 8%;
  animation: fadeUp 1s ease 0.3s both;
}

.slide.active .slide-content {
  animation: fadeUp 0.9s ease 0.2s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.slide-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.slide-content p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.slide-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(201,168,76,0.45);
}

.slider-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background 0.3s;
  z-index: 10;
}

.slider-arrow:hover { background: rgba(201,168,76,0.5); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* ═══════════════════════════════════════════
   SECTION BASE STYLES
═══════════════════════════════════════════ */
section { padding: 90px 6%; }

.section-label {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 54px;
}

/* ═══════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════ */
.features-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.features-section .section-title { color: var(--white); }
.features-section .section-sub { color: rgba(255,255,255,0.55); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s, border-color 0.3s;
  animation: fadeInUp 0.6s ease both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
  border-color: rgba(201,168,76,0.4);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(201,168,76,0.3));
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   VISION SECTION
═══════════════════════════════════════════ */
.vision-section {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vision-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 460px;
  box-shadow: 0 40px 80px rgba(10,22,40,0.18);
}

.vision-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.vision-img-wrap:hover img { transform: scale(1.05); }

.vision-badge {
  position: absolute;
  bottom: 28px; left: 28px;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.vision-badge span {
  display: block;
  font-size: 24px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
}

.vision-text blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 28px 0;
  line-height: 1.6;
}

.vision-text p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.vision-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.v-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
}

.v-stat small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}



/* ═══════════════════════════════════════════
   BRANCHES SECTION
═══════════════════════════════════════════ */
.branches-section {
  background: #f0ebe1;
  padding: 90px 6%;
}

.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 10px;
}

.branch-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.branch-card:hover { transform: translateY(-6px); }

.branch-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}

.branch-card:hover img { transform: scale(1.07); }

.branch-overlay {
  display: none;
}

.branch-content {
  position: static;
  padding: 24px 28px 28px;
  background: #ffffff;
}

.branch-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.branch-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}

.branch-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.branch-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.branch-courses span {
  background: rgba(10,22,40,0.07);
  border: 1px solid rgba(10,22,40,0.12);
  color: var(--navy);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
}
/* ═══════════════════════════════════════════
   AMENITIES SECTION
═══════════════════════════════════════════ */
.amenities-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.amenities-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
}

.amenities-section .section-title { color: var(--white); }
.amenities-section .section-sub { color: rgba(255,255,255,0.5); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.amenity-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  height: 260px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s;
  animation: zoomIn 0.6s ease both;
}

.amenity-card:nth-child(1) { animation-delay: 0.1s; }
.amenity-card:nth-child(2) { animation-delay: 0.18s; }
.amenity-card:nth-child(3) { animation-delay: 0.26s; }
.amenity-card:nth-child(4) { animation-delay: 0.34s; }
.amenity-card:nth-child(5) { animation-delay: 0.42s; }
.amenity-card:nth-child(6) { animation-delay: 0.5s; }

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.amenity-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.amenity-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.amenity-card:hover img { transform: scale(1.1); }

.amenity-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.9) 0%, rgba(10,22,40,0.1) 60%, transparent 100%);
  transition: background 0.3s;
}

.amenity-card:hover .amenity-overlay {
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.3) 60%, rgba(201,168,76,0.1) 100%);
}

.amenity-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 22px;
  transform: translateY(8px);
  transition: transform 0.3s;
}

.amenity-card:hover .amenity-content { transform: translateY(0); }

.amenity-icon {
  font-size: 26px;
  margin-bottom: 8px;
  display: block;
}

.amenity-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.amenity-content p {
  color: rgba(255,255,255,0.55);
  font-size: 18px;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s, opacity 0.3s;
  opacity: 0;
}

.amenity-card:hover .amenity-content p {
  max-height: 60px;
  opacity: 1;
}


/* ═══════════════════════════════════════════
   HIGHLIGHTS SECTION
═══════════════════════════════════════════ */
.highlights-section {
  background: var(--navy);
  padding: 90px 6%;
  position: relative;
  overflow: hidden;
}

.highlights-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.highlights-section .section-title { color: var(--white); }
.highlights-section .section-sub   { color: rgba(255,255,255,0.5); }

/* ── Facility Cards ── */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}

.highlight-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 16px;
  padding: 28px 22px;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.4s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.highlight-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
  border-color: rgba(201,168,76,0.4);
}

.highlight-card:hover::after { transform: scaleX(1); }

.hc-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(201,168,76,0.3));
  animation: floatIcon 3s ease-in-out infinite;
}

.highlight-card:nth-child(2) .hc-icon { animation-delay: 0.3s; }
.highlight-card:nth-child(3) .hc-icon { animation-delay: 0.6s; }
.highlight-card:nth-child(4) .hc-icon { animation-delay: 0.9s; }
.highlight-card:nth-child(5) .hc-icon { animation-delay: 1.2s; }
.highlight-card:nth-child(6) .hc-icon { animation-delay: 1.5s; }
.highlight-card:nth-child(7) .hc-icon { animation-delay: 1.8s; }
.highlight-card:nth-child(8) .hc-icon { animation-delay: 2.1s; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.highlight-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.highlight-card p {
  color: rgba(255,255,255,0.45);
  font-size: 16px;
  line-height: 1.65;
}

/* ── FREE Banner ── */
.free-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 50px;
  box-shadow: 0 20px 50px rgba(201,168,76,0.35);
  animation: pulseBanner 4s ease-in-out infinite;
}

@keyframes pulseBanner {
  0%, 100% { box-shadow: 0 20px 50px rgba(201,168,76,0.35); }
  50%       { box-shadow: 0 24px 60px rgba(201,168,76,0.55); }
}

.free-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.free-badge {
  background: var(--navy);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  padding: 16px 24px;
  border-radius: 12px;
  letter-spacing: 2px;
  animation: badgePop 2s ease-in-out infinite;
}

@keyframes badgePop {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

.free-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
}

.free-text p {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.85;
}

.free-text small {
  font-size: 12px;
  color: var(--navy);
  opacity: 0.6;
}

.free-divider {
  width: 1px;
  height: 80px;
  background: rgba(10,22,40,0.2);
  flex-shrink: 0;
}

.free-right .free-note {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.8;
  max-width: 460px;
}

.free-right .slide-btn {
  background: var(--navy);
  color: var(--gold) !important;
}

.free-right .slide-btn:hover {
  box-shadow: 0 10px 25px rgba(10,22,40,0.35);
}

/* ── Course Table ── */
.course-table-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 16px;
  padding: 36px 40px;
}

.course-table-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.course-table {
  width: 100%;
  border-collapse: collapse;
}

.course-table thead tr {
  background: rgba(201,168,76,0.15);
}

.course-table th {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.course-table td {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}

.course-table tbody tr:hover td {
  background: rgba(201,168,76,0.06);
  color: var(--white);
}

.course-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 900px) {
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .free-banner    { flex-direction: column; gap: 24px; padding: 28px; }
  .free-divider   { display: none; }
}

@media (max-width: 600px) {
  .highlight-grid { grid-template-columns: 1fr; }
}



/* ═══════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════ */
.faq-section {
  background: var(--cream);
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-left .section-title {
  color: var(--navy);
}

.faq-left .section-sub {
  margin-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
}

.faq-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  box-shadow: 0 6px 16px rgba(201,168,76,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}

.faq-card:hover .faq-icon {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(201,168,76,0.45);
}

.faq-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.faq-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .faq-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact-section {
  background: #f0ebe1;
  padding: 90px 6%;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
}

.contact-box {
  background: var(--white);
  border-radius: 20px;
  padding: 52px 48px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 20px 60px rgba(10,22,40,0.1);
  border: 1px solid rgba(201,168,76,0.15);
}

.form-group {
  margin-bottom: 18px;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid #e0d9ce;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #faf8f4;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  box-sizing: border-box;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: var(--white);
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  margin-top: 6px;
}

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(10,22,40,0.25);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.btn-icon {
  font-size: 18px;
  transition: transform 0.3s;
}

.contact-button:hover .btn-icon {
  transform: translateX(5px);
}

.form-msg {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s, padding 0.3s;
}

.form-msg.success {
  background: rgba(34,197,94,0.1);
  color: #16a34a;
  border: 1px solid rgba(34,197,94,0.3);
  padding: 12px;
  max-height: 60px;
}

.form-msg.error {
  background: rgba(239,68,68,0.1);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,0.3);
  padding: 12px;
  max-height: 60px;
}

@media (max-width: 600px) {
  .contact-box {
    padding: 32px 22px;
  }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: #060f1e;
  padding: 48px 6% 28px;
  border-top: 1px solid rgba(201,168,76,0.15);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
}

.footer-logo span { color: var(--gold); font-style: italic; }

.footer-logo small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-tagline {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h5 {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.4);
  font-size: 13.5px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.25);
  font-size: 12.5px;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL UTILITY
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .vision-section { grid-template-columns: 1fr; }
  .branches-grid  { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .nav-links      { display: none; }
}

@media (max-width: 600px) {
  .amenities-grid { grid-template-columns: 1fr; }
  .slider         { height: 420px; }
  .vision-stats   { flex-wrap: wrap; gap: 20px; }
}
