/* ============================================
   MS Creative School - Main Stylesheet
   Color Theme: Professional Green
============================================ */

:root {
  --primary: #1a6b3c;
  --primary-dark: #0f4525;
  --primary-light: #2d9b5a;
  --accent: #f5a623;
  --accent-dark: #e08c0a;
  --white: #ffffff;
  --off-white: #f8fdf9;
  --light-green: #e8f5ee;
  --text-dark: #1a1a2e;
  --text-muted: #5a6a6a;
  --border: #d0e8d8;
  --shadow: 0 10px 40px rgba(26, 107, 60, 0.12);
  --shadow-hover: 0 20px 60px rgba(26, 107, 60, 0.22);
  --gradient: linear-gradient(135deg, #1a6b3c 0%, #2d9b5a 50%, #0f4525 100%);
  --gradient-accent: linear-gradient(135deg, #f5a623, #e08c0a);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-green); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============ UTILITIES ============ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-block;
  background: var(--light-green);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-title span { color: var(--primary); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 16px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(26,107,60,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26,107,60,0.5);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}
.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(245,166,35,0.5);
  color: var(--white);
}

/* ============ TOP BAR ============ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar a:hover { color: var(--accent); }

.top-bar i { color: var(--accent); }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.social-links a:hover { background: var(--accent); color: var(--white); }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(26,107,60,0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1050;
  transition: opacity 0.3s ease;
  opacity: 0;
  cursor: pointer;
}

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

.logo img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.logo-text h1 {
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.logo-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 8px;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--light-green);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 60%; }

.nav-cta {
  background: var(--gradient) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(26,107,60,0.3);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,107,60,0.4) !important;
  background: var(--gradient) !important;
}

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--border);
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 0;
  background: none !important;
}
.dropdown a:hover {
  background: var(--light-green) !important;
  color: var(--primary);
  padding-left: 28px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 9px 10px;
  border-radius: 10px;
  transition: background 0.2s;
  background: transparent;
  border: none;
  z-index: 1002;
  position: relative;
}
.hamburger:hover { background: var(--light-green); }
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  display: block;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO SLIDER ============ */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-swiper { height: 100%; }

.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.swiper-slide-active .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,69,37,0.85) 0%, rgba(26,107,60,0.6) 60%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  background: rgba(245,166,35,0.9);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title span { color: var(--accent); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.4s both;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 20px;
  z-index: 2;
}

.hero-stat {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  color: var(--white);
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Swiper Pagination */
.hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  transition: var(--transition);
}
.hero .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 5px;
  background: var(--accent);
}

/* ============ NOTICE TICKER ============ */
.notice-bar {
  background: var(--gradient);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
}

.notice-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.notice-label {
  background: var(--accent);
  padding: 4px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 24px;
  border-radius: 4px;
}

.ticker-wrap {
  overflow: hidden;
  flex: 1;
}

.ticker-move {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-move span {
  font-size: 0.9rem;
  opacity: 0.95;
}

.ticker-move span i {
  color: var(--accent);
  margin-right: 8px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ WELCOME SECTION ============ */
.welcome { background: var(--white); }

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

.welcome-img-wrap {
  position: relative;
}

.welcome-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.welcome-main-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.welcome-main-img:hover img { transform: scale(1.04); }

.welcome-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.welcome-badge-num {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  color: var(--accent);
}
.welcome-badge-text { font-size: 0.8rem; opacity: 0.9; margin-top: 4px; }

.small-img {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 140px;
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.small-img img { width: 100%; height: 100%; object-fit: cover; }

.welcome-content { padding-left: 20px; }

.welcome-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--light-green);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-item:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
}
.feature-item:hover .fi-icon,
.feature-item:hover .fi-text h4,
.feature-item:hover .fi-text p { color: var(--white); }

.fi-icon {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.fi-text h4 { font-size: 0.9rem; font-family: 'Poppins', sans-serif; font-weight: 600; }
.fi-text p { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.feature-item:hover .fi-text p { color: rgba(255,255,255,0.8); }

/* ============ STATS COUNTER ============ */
.stats-section {
  background: var(--gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.stat-card {
  text-align: center;
  color: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-8px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(245,166,35,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-num {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  line-height: 1;
}

.stat-plus { color: var(--accent); }

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 8px;
  font-weight: 500;
}

/* ============ PROGRAMS / CLASSES ============ */
.programs { background: var(--off-white); }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.program-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.program-card:hover .program-img img { transform: scale(1.08); }

.program-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 1px;
}

.program-body {
  padding: 24px;
}

.program-icon {
  width: 50px;
  height: 50px;
  background: var(--light-green);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.program-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.program-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.program-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.program-meta span { display: flex; align-items: center; gap: 6px; }
.program-meta i { color: var(--primary); }

/* ============ WHY CHOOSE US ============ */
.why-us { background: var(--white); }

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

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

.why-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: var(--white);
}
.why-card:hover::before { transform: scaleY(1); }

.why-icon {
  width: 56px;
  height: 56px;
  background: var(--light-green);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: var(--primary);
  color: var(--white);
}

.why-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}
.why-card p { font-size: 0.85rem; color: var(--text-muted); }

.why-img-wrap { position: relative; }
.why-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.why-main-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.why-quote {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--gradient);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  max-width: 260px;
  box-shadow: var(--shadow);
}
.why-quote i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.why-quote p { font-size: 0.88rem; opacity: 0.9; line-height: 1.6; }
.why-quote cite { font-size: 0.75rem; opacity: 0.75; margin-top: 8px; display: block; }

/* ============ ACTIVITIES ============ */
.activities { background: var(--off-white); }

.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.activity-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 280px;
  cursor: pointer;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.activity-card:hover img { transform: scale(1.1); }

.activity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,69,37,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.activity-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition);
}

.activity-card:hover .activity-icon {
  transform: translateY(0);
  opacity: 1;
}

.activity-overlay h3 {
  color: var(--white);
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}
.activity-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  margin-top: 4px;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition) 0.1s;
}
.activity-card:hover .activity-overlay p {
  transform: translateY(0);
  opacity: 1;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 40px;
  font-size: 20rem;
  color: rgba(255,255,255,0.04);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.testimonials .section-title { color: var(--white); }
.testimonials .section-tag {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.testimonials .divider { background: rgba(255,255,255,0.5); }

.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--white);
  margin: 10px;
}

.testimonial-stars { color: var(--accent); margin-bottom: 16px; font-size: 1rem; }

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}

.author-info h4 { font-size: 0.95rem; font-family: 'Poppins', sans-serif; }
.author-info span { font-size: 0.8rem; opacity: 0.75; }

/* ============ GALLERY PREVIEW ============ */
.gallery-preview { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(26,107,60,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-hover { opacity: 1; }
.gallery-hover i {
  font-size: 2rem;
  color: var(--white);
  transform: scale(0.5);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-hover i { transform: scale(1); }

/* ============ NEWS & EVENTS ============ */
.news { background: var(--off-white); }

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.news-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-img img { transform: scale(1.06); }

.news-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.news-body { padding: 24px; }
.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-date i { color: var(--primary); }

.news-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: var(--transition);
}
.news-card:hover .news-body h3 { color: var(--primary); }

.news-body p { font-size: 0.85rem; color: var(--text-muted); }

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}
.news-link i { transition: transform 0.3s ease; }
.news-card:hover .news-link i { transform: translateX(4px); }

/* ============ CTA SECTION ============ */
.cta-section {
  background: var(--primary-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  top: -150px;
  right: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(245,166,35,0.05);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

.cta-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 500px;
}

.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer {
  background: #0a2d1a;
  color: rgba(255,255,255,0.8);
}

.footer-top {
  padding: 80px 0 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-brand img {
  height: 65px;
  width: 65px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 2px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 24px;
  opacity: 0.75;
}

.footer-brand .social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-brand .social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a i { font-size: 0.7rem; color: var(--accent); }
.footer-links a:hover { opacity: 1; color: var(--accent); padding-left: 6px; }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  opacity: 0.8;
}
.contact-item i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  opacity: 0.65;
}

/* ============ PAGE BANNER ============ */
.page-banner {
  background: var(--gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  right: -100px;
  top: -200px;
}

.page-banner-content {
  position: relative;
  color: var(--white);
}

.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.85;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.7rem; }

/* ============ ADMISSION PAGE ============ */
.admission-process { background: var(--off-white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.step-card:hover .step-num {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}

.step-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--primary);
  transform: translateX(8px);
  box-shadow: var(--shadow);
}

.cc-icon {
  width: 52px;
  height: 52px;
  background: var(--light-green);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

.cc-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
}
.cc-text p, .cc-text a {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.cc-text a:hover { color: var(--primary); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--primary);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: span 2; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,107,60,0.1);
}

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

/* ============ MAP ============ */
.map-section { padding: 0; }
.map-section iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
  filter: grayscale(20%);
}

/* ============ ABOUT PAGE ============ */
.vision-mission {
  background: var(--off-white);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.vm-card:hover::before { transform: scaleX(1); }
.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.vm-icon {
  width: 70px;
  height: 70px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 auto 20px;
  transition: var(--transition);
}
.vm-card:hover .vm-icon {
  background: var(--primary);
  color: var(--white);
}

.vm-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--primary);
}

.vm-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

/* Faculty */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.faculty-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.faculty-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.faculty-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.faculty-card:hover .faculty-img img { transform: scale(1.06); }

.faculty-social {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  transition: bottom 0.3s ease;
}
.faculty-card:hover .faculty-social { bottom: 10px; }

.faculty-social a {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
}

.faculty-body { padding: 20px; }
.faculty-body h4 { font-size: 1rem; font-family: 'Poppins', sans-serif; margin-bottom: 4px; }
.faculty-body span { font-size: 0.82rem; color: var(--primary); font-weight: 500; }

/* ============ GALLERY PAGE ============ */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-dark);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-masonry .gallery-item:nth-child(3n+1) {
  grid-row: span 2;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-anim { animation: float 4s ease-in-out infinite; }

/* AOS Overrides */
[data-aos] { transition-duration: 0.7s !important; }

/* ============ BACK TO TOP ============ */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26,107,60,0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  font-size: 1rem;
  border: none;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(26,107,60,0.5); }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: var(--white);
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
  position: fixed;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 220px;
}

.loader-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  animation: load 2s ease forwards;
}

@keyframes load {
  from { width: 0; }
  to { width: 100%; }
}

/* Infrastructure grid */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Activities grids */
.act-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.act-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.act-clubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Academics grids */
.curriculum-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Principal grid */
.principal-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 50px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Drawer injected elements: hidden on desktop ── */
.nav-drawer-header-li,
.nav-drawer-footer-li { display: none; }

/* ============ COUNTDOWN GRID ============ */
.cd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .cd-grid { gap: 40px; }
  .welcome-grid,
  .why-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-img-wrap { order: -1; }
  .why-quote { left: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .vm-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }

  /* ══════════════════════════════════════
     PREMIUM MOBILE NAVBAR
  ══════════════════════════════════════ */
  .navbar { padding: 0 18px; background: #fff; }
  .navbar .container { height: 64px; }
  .logo img { height: 46px; width: 46px; }
  .logo-text h1 { font-size: 1rem; }
  .logo-text span { display: none; }
  .hamburger { display: flex; }

  /* ════════════════════════════════════
     MOBILE SLIDE-IN DRAWER
  ════════════════════════════════════ */
  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: min(280px, 82vw);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    transform: translateX(-110%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1200;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links::before, .nav-links::after { display: none; }

  /* ── Drawer Header ── */
  .nav-drawer-header-li,
  .nav-drawer-footer-li { display: flex !important; }
  .nav-drawer-header-li {
    flex-shrink: 0;
    background: var(--primary);
    border-bottom: none !important;
    padding: 0 !important;
  }
  .ndh-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 14px;
    gap: 10px;
  }
  .ndh-brand { display: flex; align-items: center; gap: 10px; }
  .ndh-icon {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: var(--accent);
    flex-shrink: 0;
  }
  .ndh-text { display: flex; flex-direction: column; gap: 1px; }
  .ndh-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.3;
  }
  .ndh-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.65);
  }
  .ndh-close {
    width: 30px; height: 30px;
    background: rgba(255,255,255,0.18);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .ndh-close:hover { background: rgba(255,255,255,0.32); }

  /* ── Nav Items ── */
  .nav-links li { width: 100%; border-bottom: 1px solid #f0f0f0; }
  .nav-links li:last-child { border-bottom: none; }
  .nav-drawer-header-li { border-bottom: none !important; }
  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    border-left: 3px solid transparent;
    transition: all 0.18s ease;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.active {
    background: #f0f8f4;
    color: var(--primary);
    border-left-color: var(--primary);
  }

  /* ── Nav Icons (plain, no box) ── */
  .nav-links > li > a[href="index.html"]::before    { content: '\f015'; }
  .nav-links > li > a[href="about.html"]::before    { content: '\f05a'; }
  .nav-links > li > a[href="academics.html"]::before{ content: '\f19d'; }
  .nav-links > li > a[href="activities.html"]::before{ content: '\f70c'; }
  .nav-links > li > a[href="gallery.html"]::before  { content: '\f03e'; }
  .nav-links > li > a[href="contact.html"]::before  { content: '\f0e0'; }
  .nav-links > li > a::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.82rem;
    color: var(--primary);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.85;
  }
  .nav-links > li > a.nav-cta::before { display: none; }

  /* ── Dropdown ── */
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: #fafafa;
    opacity: 1; visibility: visible;
    transform: none;
    padding: 2px 0;
    margin: 0;
    border-radius: 0;
    display: none;
    min-width: unset;
    width: 100%;
    border-top: 1px solid #eee;
  }
  .nav-item.open .dropdown { display: block; }
  .dropdown a {
    font-size: 0.83rem !important;
    padding: 9px 16px 9px 44px !important;
    color: #666 !important;
    border-left: 3px solid transparent !important;
  }
  .dropdown a:hover {
    background: #f0f8f4 !important;
    color: var(--primary) !important;
    border-left-color: var(--primary) !important;
  }
  .dropdown a::before { display: none !important; }
  .dropdown a i.fa-angle-right { font-size: 0.7rem; color: #aaa; margin-right: 4px; }

  /* ── Utility Row (Search, Bell, Dark) ── */
  .nav-links li:has(#search-open) {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f7f7f7;
    border-top: 1px solid #eee !important;
    border-bottom: 1px solid #eee !important;
  }
  .nav-links li:has(#search-open) button {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
    font-size: 0.88rem;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
  }
  .nav-links li:has(#search-open) button:hover {
    background: #f0f8f4;
    color: var(--primary);
    border-color: var(--primary);
  }

  /* ── Admissions CTA ── */
  .nav-links .nav-cta {
    margin: 10px 12px !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    width: calc(100% - 24px) !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    background: var(--primary) !important;
    color: #fff !important;
  }
  .nav-links .nav-cta:hover {
    background: var(--primary-dark) !important;
    border-left-color: transparent !important;
  }

  /* ── Drawer Footer ── */
  .nav-drawer-footer-li {
    display: flex !important;
    flex-direction: column !important;
    margin-top: 6px !important;
    border-top: 1px solid #eee !important;
    border-bottom: none !important;
    background: #f9f9f9;
    padding: 0 !important;
  }
  .ndf-inner {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ndf-contact { display: flex; flex-direction: column; gap: 5px; }
  .ndf-contact a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.78rem !important;
    color: #555 !important;
    padding: 7px 10px !important;
    border-radius: 7px !important;
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    font-family: 'Poppins', sans-serif !important;
    width: 100% !important;
    font-weight: 400 !important;
    transition: all 0.15s !important;
  }
  .ndf-contact a:hover { background: #f0f8f4 !important; color: var(--primary) !important; }
  .ndf-contact a i { color: var(--primary); font-size: 0.75rem; }
  .ndf-social { display: flex; gap: 7px; }
  .ndf-social a {
    width: 34px !important; height: 34px !important;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 0.82rem !important;
    padding: 0 !important;
    border: none !important;
    transition: background 0.15s !important;
  }
  .ndf-social a:hover { background: var(--primary-dark) !important; }

  /* ── HERO MOBILE ── */
  .hero { height: 78vmax; min-height: 480px; max-height: 620px; }
  .hero-slide { align-items: flex-end; padding-bottom: 40px; }
  .hero-content {
    padding: 20px 18px 22px;
    background: linear-gradient(135deg, rgba(10,40,20,0.88) 0%, rgba(15,69,37,0.72) 100%);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-width: 100%;
  }
  .hero-tag {
    font-size: 0.68rem; padding: 5px 12px;
    letter-spacing: 2px; margin-bottom: 14px;
  }
  .hero-title {
    font-size: clamp(1.7rem, 7.5vw, 2.4rem);
    line-height: 1.2; margin-bottom: 10px;
  }
  .hero-desc {
    font-size: 0.82rem; margin-bottom: 20px;
    line-height: 1.6; opacity: 0.88;
  }
  .hero-btns {
    flex-direction: row; gap: 10px;
    flex-wrap: wrap; width: auto;
  }
  .hero-btns .btn {
    padding: 11px 20px; font-size: 0.82rem;
    width: auto; flex: 1; min-width: 130px;
    justify-content: center;
    border-radius: 10px;
  }
  .hero-stats { display: none; }
  /* Make overlay lighter so image shows better */
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(10,40,20,0.3) 0%,
      rgba(10,40,20,0.2) 40%,
      rgba(10,40,20,0.75) 100%
    );
  }

  /* ── SECTIONS ── */
  .section-pad { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .section-desc { font-size: 0.88rem; }

  /* ── COUNTDOWN GRID ── */
  .cd-grid { grid-template-columns: 1fr; gap: 40px; }

  /* ── PROGRAMS ── */
  .programs-grid { grid-template-columns: 1fr; }

  /* ── WHY CARDS ── */
  .why-cards { grid-template-columns: 1fr; }
  .welcome-features { grid-template-columns: 1fr; }

  /* ── NEWS ── */
  .news-grid { grid-template-columns: 1fr; }

  /* ── CONTACT ── */
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }

  /* ── STEPS ── */
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }

  /* ── CTA ── */
  .cta-inner { flex-direction: column; text-align: center; }

  /* ── FOOTER ── */
  .footer-grid { grid-template-columns: 1fr; }

  /* ── GALLERY ── */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry .gallery-item:nth-child(3n+1) { grid-row: span 1; }
}

@media (max-width: 480px) {
  .hero-content { padding: 20px 16px 22px; border-radius: 16px; }
  .hero-btns { flex-direction: row; gap: 8px; }
  .hero-btns .btn { min-width: 110px; padding: 10px 14px; font-size: 0.78rem; }
  .activities-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; }
  .faculty-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ ENHANCED MOBILE RESPONSIVE ============ */

/* Container padding on small screens */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Navbar */
  .navbar { padding: 0 16px; }
  .nav-logo img { height: 44px; }
  .nav-logo span { font-size: 1rem; }
  .nav-logo small { display: none; }
  .nav-actions { gap: 8px; }
  .nav-btn { padding: 8px 16px; font-size: 0.8rem; }
  .nav-search, .nav-dark-toggle { display: flex; }

  /* Hero */
  .hero { height: 82vmax; min-height: 500px; max-height: 680px; }
  .hero-subtitle { font-size: 0.8rem; letter-spacing: 2px; }
  .hero-title { font-size: clamp(1.6rem, 6vw, 2.4rem); margin-bottom: 14px; }
  .hero-desc { font-size: 0.88rem; }
  .hero-btns .btn { padding: 12px 24px; font-size: 0.88rem; width: 100%; justify-content: center; }
  .hero-btns { width: 100%; }

  /* Notice ticker */
  .notice-bar { padding: 8px 0; }
  .nb-label { font-size: 0.72rem; padding: 4px 10px; }

  /* Sections */
  .section-pad { padding: 50px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Welcome Section */
  .welcome-grid { gap: 30px; }
  .welcome-img-wrap { border-radius: var(--radius); }
  .welcome-text h2 { font-size: 1.6rem; }
  .welcome-badge { font-size: 0.7rem; }
  .welcome-stats { flex-wrap: wrap; gap: 14px; }
  .ws-item { flex: 1; min-width: 100px; }

  /* Programs */
  .programs-grid { gap: 16px; }
  .program-card { padding: 24px 20px; }

  /* Stats */
  .stats-section { padding: 50px 0; }
  .stats-grid { gap: 16px; }
  .stat-item h3 { font-size: 2rem; }

  /* Why Choose Us */
  .why-grid { gap: 30px; }
  .why-cards { gap: 14px; }
  .why-card { padding: 18px; }

  /* Activities */
  .activities-grid { gap: 14px; }
  .activity-card { height: 220px; }

  /* Testimonials */
  .testimonial-card { padding: 24px 20px; }

  /* Gallery */
  .gallery-grid { gap: 12px; }

  /* News */
  .news-grid { gap: 20px; }
  .news-img { height: 180px; }

  /* CTA */
  .cta-section { padding: 50px 0; }
  .cta-inner { gap: 24px; }
  .cta-btns { flex-direction: column; width: 100%; }
  .cta-btns .btn { text-align: center; justify-content: center; }

  /* Footer */
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }

  /* Contact Page */
  .contact-grid { gap: 30px; }
  .contact-form-wrap { padding: 24px 20px; }
  .form-grid { gap: 14px; }

  /* Admission Page */
  .steps-grid { gap: 30px; }
  .admission-form { padding: 24px 20px; }

  /* Gallery Page */
  .gallery-filter { gap: 8px; }
  .filter-btn { padding: 6px 16px; font-size: 0.82rem; }

  /* About Page */
  .vm-card { padding: 28px 20px; }

  /* Page Banner */
  .page-banner { padding: 70px 0 50px; }

  /* Countdown */
  .countdown-wrap { gap: 10px; }
  .cd-box { min-width: 65px; padding: 12px 8px; }
  .cd-num { font-size: 1.6rem; }
  .cd-label { font-size: 0.6rem; }

  /* Back to top */
  .back-top { bottom: 80px; right: 16px; width: 42px; height: 42px; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 16px; right: 16px; }

  /* Lightbox */
  #lightbox .lightbox-inner { width: 95vw; max-height: 90svh; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }

  /* Hero */
  .hero-title { font-size: 1.7rem; }
  .hero-desc { font-size: 0.82rem; }

  /* Sections */
  .section-title { font-size: 1.4rem; }
  .section-pad { padding: 40px 0; }

  /* Programs */
  .programs-grid { grid-template-columns: 1fr; }
  .program-card { padding: 20px 16px; }

  /* Stats */
  .stat-item h3 { font-size: 1.8rem; }

  /* Why cards */
  .why-card { flex-direction: column; text-align: center; }
  .why-card-icon { margin: 0 auto 10px; }

  /* Activities */
  .activity-card { height: 200px; }

  /* Gallery */
  .gallery-masonry { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Faculty */
  .faculty-grid { gap: 16px; }
  .faculty-img { height: 180px; }

  /* Footer */
  .footer-bottom { font-size: 0.78rem; }

  /* Nav */
  .nav-logo span { font-size: 0.9rem; }

  /* Admission popup */
  #admission-popup .popup-box { width: 95vw; padding: 20px; }
  #admission-popup .perks-grid { grid-template-columns: 1fr 1fr; }

  /* Cookie consent */
  #cookie-consent { flex-direction: column; text-align: center; gap: 12px; }
}

/* Very small screens */
@media (max-width: 360px) {
  .hero-title { font-size: 1.5rem; }
  .hero-btns .btn { font-size: 0.82rem; padding: 10px 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { height: 100vh; min-height: 400px; }
  .hero-title { font-size: 1.6rem; }
  .section-pad { padding: 40px 0; }
}
