/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #0095d7;
  --primary-dark: #0078b0;
  --primary-light: #e6f5fc;
  --accent: #f24730;
  --accent-dark: #d63920;
  --white: #ffffff;
  --dark: #0f1f2e;
  --dark2: #1a2f42;
  --text: #333;
  --text-light: #666;
  --border: #e0e0e0;
  --bg-light: #f7fafc;
  --shadow: 0 4px 20px rgba(0,0,255,0.08);
  --radius: 12px;
  --transition: 0.3s ease;
  --font: 'Poppins', sans-serif;
}
.slide-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.slide-video-bg iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* ===== LOG BANNER GIF ===== */
.log-banner-bar {
  width: 100%; overflow: hidden; background: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  padding: 0; line-height: 0;
}
.log-banner-gif {
  width: 100%; max-height: 90px; object-fit: cover;
  display: block;
}

/* ===== 30 YEARS OF EXCELLENCE BANNER ===== */
.thirty-years-bar {
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 0;
  max-height: 110px;
}
.thirty-years-img {
  width: 100%;
  max-height: 110px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.7; background: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--dark); color: #ffffff; font-size: 0.78rem; padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.top-contact { display: flex; gap: 16px; flex-wrap: wrap; }
.top-contact span { display: flex; align-items: center; gap: 5px; }
.top-contact i { color: var(--accent); }
.top-social { display: flex; gap: 10px; }
.top-social a {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: #ccc;
  transition: var(--transition);
}
.top-social a:hover { background: var(--primary); color: #fff; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1200;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img-wide {
  height: 54px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}

/* Nav list */
.nav-menu > ul {
  display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0;
}
.nav-menu > ul > li { position: relative; }

/* Top-level links */
.nav-menu > ul > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 13px; font-size: 0.875rem; font-weight: 600;
  color: var(--dark); border-radius: 7px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap; text-decoration: none;
}
.nav-menu > ul > li > a:hover,
.nav-menu > ul > li > a.active {
  color: var(--primary); background: var(--primary-light);
}

/* Chevron icon in top-level link */
.nav-menu > ul > li > a > i.fa-chevron-down {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
  margin-left: 2px;
}
.has-dropdown:hover > a > i.fa-chevron-down,
.has-dropdown.open > a > i.fa-chevron-down { transform: rotate(180deg); }

/* ── DROPDOWN PANEL ── */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,30,0.14);
  border: 1px solid rgba(0,149,215,0.12);
  padding: 6px 0;
  list-style: none; margin: 0;
  /* hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 2000;
}

/* Show on hover (desktop) */
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0); pointer-events: auto;
}

/* Invisible bridge so mouse can travel from link to dropdown */
.has-dropdown::after {
  content: ''; position: absolute;
  top: 100%; left: 0; width: 100%; height: 8px;
}

/* Dropdown top accent line */
.dropdown::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 10px 10px 0 0;
  margin-bottom: 4px;
}

/* Dropdown items */
.dropdown li { margin: 0; padding: 0; }
.dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  font-size: 0.855rem; font-weight: 500;
  color: var(--text);
  border-radius: 0;
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
  text-decoration: none;
  white-space: nowrap;
}
.dropdown li a i {
  width: 16px; text-align: center;
  color: var(--primary); font-size: 0.82rem; flex-shrink: 0;
}
.dropdown li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 26px;
}
.dropdown li:last-child a { border-radius: 0 0 10px 10px; }

/* Apply Button */
.btn-apply {
  background: var(--accent) !important; color: #fff !important;
  padding: 9px 18px !important; border-radius: 30px !important;
  font-weight: 700 !important; font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.2s !important;
  white-space: nowrap;
}
.btn-apply:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(242,71,48,0.35) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px 6px;
  z-index: 300;           /* within navbar stacking context — navbar itself is now 1200 */
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
}
.hamburger span { display: block; width: 26px; height: 3px; background: var(--dark); border-radius: 2px; transition: all 0.3s ease; pointer-events: none; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -8px); }

/* ===== HERO SLIDER ===== */
.hero { position: relative; width: 100%; overflow: hidden; }
.hero-slider { position: relative; height: 90vh; min-height: 520px; max-height: 800px; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,20,40,0.78) 0%, rgba(0,149,215,0.25) 100%); }
.slide-content {
  position: relative; z-index: 2;
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  max-width: 700px; padding: 40px 60px;
}
.slide-badge {
  display: inline-block; background: var(--accent);
  color: #fff; padding: 6px 16px; border-radius: 30px;
  font-size: 0.78rem; font-weight: 600; margin-bottom: 18px;
  width: fit-content; letter-spacing: 0.4px;
}
.slide-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.slide-content h1 span { color: #38d9ff; }
.slide-content p { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin-bottom: 28px; max-width: 500px; }
.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(4px);
  color: #fff; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); border: 2px solid rgba(255,255,255,0.3);
}
.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.prev { left: 16px; }
.next { right: 16px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: var(--transition); cursor: pointer; }
.dot.active { background: #fff; transform: scale(1.2); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 12px 28px; border-radius: 30px;
  font-weight: 600; font-size: 0.92rem;
  transition: var(--transition); border: none;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,149,215,0.35); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,0.7); color: #fff;
  padding: 12px 28px; border-radius: 30px;
  font-weight: 600; font-size: 0.92rem; transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-sm {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff;
  padding: 8px 20px; border-radius: 20px;
  font-weight: 600; font-size: 0.82rem; transition: var(--transition);
}
.btn-sm:hover { background: var(--primary-dark); }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block; color: var(--accent); font-weight: 700;
  font-size: 2.0rem; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 8px;
}
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 1rem; max-width: 580px; margin: 0 auto; }
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,0.8); }
.section-header.light .section-label { color: #38d9ff; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--primary); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.stat-item { color: #fff; }
.stat-num { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1; }
.stat-label { font-size: 0.82rem; opacity: 0.88; margin-top: 4px; display: block; }

/* ===== ABOUT ===== */
.about-section { background: var(--bg-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; }
.about-img > img { border-radius: var(--radius); width: 100%; object-fit: cover; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-img-secondary {
  position: absolute; bottom: -24px; right: -24px;
  width: 48%; border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border: 4px solid #fff; overflow: hidden;
}
.about-img-secondary img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4/3; }
.about-badge {
  position: absolute; top: -20px; left: -20px;
  background: var(--accent); color: #fff;
  padding: 14px 18px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(242,71,48,0.35);
}
.about-badge i { font-size: 1.3rem; }
.about-text h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 800; color: var(--dark); margin-bottom: 16px; line-height: 1.2; }
.about-text p { color: var(--text-light); margin-bottom: 14px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.feature { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 500; }
.feature i { color: var(--primary); font-size: 1rem; width: 20px; }

/* ===== COURSE IMAGE ===== */
.course-img { border-radius: 8px; overflow: hidden; margin-bottom: 16px; aspect-ratio: 16/9; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.course-card:hover .course-img img { transform: scale(1.05); }

/* ===== COURSES ===== */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course-card {
  background: #fff; border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow); border: 2px solid transparent;
  transition: var(--transition);
}
.course-card:hover { border-color: var(--primary); transform: translateY(-6px); }
.course-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.6rem; color: var(--primary);
}
.course-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.course-card p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 14px; }
.course-tag { background: var(--primary-light); color: var(--primary); padding: 6px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; margin-bottom: 18px; display: inline-block; }

/* ===== ACHIEVEMENTS ===== */
.achievements-section { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); }
.achievements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.achieve-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  transition: var(--transition);
}
.achieve-card:hover { background: rgba(0,149,215,0.2); border-color: var(--primary); transform: translateY(-4px); }
.achieve-num { display: block; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.achieve-label { color: rgba(255,255,255,0.8); font-size: 0.85rem; }

/* ===== SCHOLARSHIPS ===== */
.scholarship-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.schol-card {
  background: #fff; border-radius: var(--radius); padding: 32px 22px; text-align: center;
  box-shadow: var(--shadow); transition: var(--transition);
}
.schol-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,149,215,0.15); }
.schol-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; }
.schol-icon.medical { background: #fff0f0; color: var(--accent); }
.schol-icon.engineering { background: #f0f7ff; color: var(--primary); }
.schol-icon.agriculture { background: #f0fff4; color: #28a745; }
.schol-icon.usa { background: #f5f0ff; color: #6f42c1; }
.schol-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.schol-card p { color: var(--text-light); font-size: 0.85rem; margin-bottom: 14px; }
.schol-count { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 5px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 700; }

/* ===== ELIGIBILITY ===== */
.eligibility-section { background: var(--bg-light); }
.eligibility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.eligibility-box {
  background: #fff; border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow); text-align: center;
}
.eligibility-box.highlight { background: var(--primary); color: #fff; }
.eligibility-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.eligibility-box p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.eligibility-box.highlight p { color: rgba(255,255,255,0.9); }
.eligibility-box.highlight .btn-primary { background: var(--accent); }
.eligibility-box.highlight .btn-primary:hover { background: var(--accent-dark); }

/* ===== CLUBS ===== */
.clubs-section { background: var(--bg-light); }
.clubs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.club-card {
  background: #fff; border-radius: var(--radius); padding: 28px 16px; text-align: center;
  box-shadow: var(--shadow); transition: var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.club-card:hover { background: var(--primary); color: #fff; transform: translateY(-6px); }
.club-card i { font-size: 1.8rem; color: var(--primary); transition: var(--transition); }
.club-card:hover i { color: #fff; }
.club-card span { font-weight: 600; font-size: 0.88rem; }

/* ===== SPORTS ===== */
.sports-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%); }
.sports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sport-item {
  background: rgba(255,255,255,0.08); border-radius: var(--radius); padding: 28px 20px;
  text-align: center; transition: var(--transition); border: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.sport-item:hover { background: rgba(255,255,255,0.16); transform: translateY(-4px); }
.sport-item i { font-size: 2rem; color: #38d9ff; margin-bottom: 4px; }
.sport-item span { font-size: 1rem; font-weight: 700; color: #fff; }
.sport-item small { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* ===== LABS ===== */
.labs-section { background: #fff; }
.labs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lab-card {
  border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow); border-top: 4px solid var(--primary);
  transition: var(--transition);
}
.lab-card:hover { transform: translateY(-6px); }
.lab-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--primary); margin-bottom: 18px; }
.lab-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.lab-card ul { padding: 0; }
.lab-card ul li { padding: 6px 0; color: var(--text-light); font-size: 0.88rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.lab-card ul li::before { content: '✓'; color: var(--primary); font-weight: 700; }

/* ===== MESSAGE ===== */
.message-section { background: var(--bg-light); }
.messages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.message-card { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); display: flex; gap: 24px; }
.msg-img {
  width: 90px; height: 90px; min-width: 90px; border-radius: 50%;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.8rem; color: var(--primary);
  flex-shrink: 0;
}
/* Photo variant */
.msg-img.msg-img-photo {
  overflow: hidden;
  padding: 0;
  background: var(--primary-light);
  position: relative;
  border: 3px solid var(--primary-light);
  box-shadow: 0 4px 16px rgba(0,149,215,0.18);
}
.msg-img.msg-img-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 50%;
  display: block;
}
.msg-img-fallback {
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--primary);
  background: var(--primary-light);
  border-radius: 50%;
}
.msg-role { display: block; color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.msg-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.msg-body p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 10px; }
.msg-body em { color: var(--primary); font-size: 0.85rem; font-style: normal; font-weight: 600; }

/* ===== CONTACT ===== */
.contact-section { background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 24px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-item i { color: var(--primary); width: 20px; margin-top: 2px; }
.contact-item span, .contact-item a { color: var(--text-light); font-size: 0.92rem; }
.contact-social { display: flex; gap: 10px; margin: 24px 0; }
.contact-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.contact-social a:hover { background: var(--primary); color: #fff; }
.apply-big { font-size: 1rem; padding: 14px 32px; background: var(--accent); }
.apply-big:hover { background: var(--accent-dark); }

.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.contact-form-wrap h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 8px;
  font-family: var(--font); font-size: 0.9rem; color: var(--text);
  transition: var(--transition); outline: none; background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 48px; width: auto; max-width: 220px; margin-bottom: 14px; object-fit: contain; }
.footer-col p { font-size: 0.87rem; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 8px; }
.footer-col h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-col i { width: 18px; color: var(--primary); margin-right: 6px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: #ccc; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-apply { display: block; margin-top: 16px; text-align: center; background: var(--accent); font-size: 0.88rem; padding: 10px 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 20px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--primary); }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,149,215,0.4);
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== PAGE HERO (Gallery) ===== */
.page-hero {
  position: relative; padding: 100px 20px; text-align: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  overflow: hidden;
}
.page-hero-overlay { position: absolute; inset: 0; background: url('images/banner_1.jpeg') center/cover; opacity: 0.15; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #fff; margin-bottom: 10px; }
.page-hero-content p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 16px; }
.breadcrumb { color: rgba(255,255,255,0.65); font-size: 0.88rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: 0.7rem; }

/* ===== GALLERY ===== */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 22px; border-radius: 30px; font-size: 0.88rem; font-weight: 600;
  border: 2px solid var(--border); color: var(--text-light);
  transition: var(--transition); background: #fff;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; position: relative; cursor: pointer;
  background: var(--bg-light);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 16px; opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.gallery-overlay span { color: #fff; font-size: 0.85rem; font-weight: 600; }

.gallery-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), #e8f8ff);
}
.placeholder-content { text-align: center; padding: 20px; }
.placeholder-content i { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; display: block; opacity: 0.7; }
.placeholder-content span { font-weight: 700; color: var(--dark); font-size: 0.92rem; display: block; }
.placeholder-content small { color: var(--text-light); font-size: 0.78rem; }

/* VIDEO */
.video-section { background: var(--dark); }
.video-placeholder { display: flex; justify-content: center; }
.video-box {
  background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 60px 40px; text-align: center; max-width: 540px;
}
.video-box i { font-size: 3rem; color: #ff0000; margin-bottom: 16px; display: block; }
.video-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.video-box p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 24px; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: var(--accent); }
.lightbox-caption { position: absolute; bottom: 20px; color: rgba(255,255,255,0.8); font-size: 0.9rem; }

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

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

/* ── Large Tablet / Small Desktop (≤1100px) ── */
@media (max-width: 1100px) {
  .nav-menu > ul > li > a { padding: 8px 10px; font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }

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

  /* Achievements */
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }

  /* Scholarships */
  .scholarship-grid { grid-template-columns: repeat(2, 1fr); }

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

  /* Courses */
  .courses-grid { grid-template-columns: 1fr 1fr; }

  /* Clubs */
  .clubs-grid { grid-template-columns: repeat(4, 1fr); }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  /* Accolades / Intl / ECA */
  .accolades-grid, .intl-grid { grid-template-columns: repeat(2, 1fr); }
  .eca-grid { grid-template-columns: repeat(3, 1fr); }

  /* Awards Timeline */
  .awards-timeline { max-width: 100%; }

  /* About */
  .about-grid { gap: 40px; }

  /* Contact */
  .contact-grid { gap: 40px; }
}

/* ── Narrow Tablet / Large Mobile (≤900px) ── */
@media (max-width: 900px) {
  /* Layout */
  .about-grid,
  .contact-grid,
  .messages-grid { grid-template-columns: 1fr; }

  /* About image */
  .about-img { margin-bottom: 60px; }
  .about-img-secondary { bottom: -20px; right: 0; width: 42%; }
  .about-badge { top: auto; bottom: -14px; left: 0; }

  /* Eligibility */
  .eligibility-grid { grid-template-columns: 1fr; }

  /* Labs */
  .labs-grid { grid-template-columns: 1fr 1fr; }

  /* Sports */
  .sports-grid { grid-template-columns: repeat(2, 1fr); }

  /* Message cards */
  .message-card { flex-direction: column; }
  .msg-img { width: 70px; height: 70px; min-width: 70px; }

  /* ECA */
  .eca-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }

  /* Top bar */
  .top-contact { display: none; }
  .top-bar { padding: 6px 0; }
  .top-social { gap: 7px; justify-content: center; }

  /* ── HAMBURGER ── */
  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 8px 6px !important;
    z-index: 300 !important;           /* navbar is 1200, this is relative to it */
    cursor: pointer !important;
    touch-action: manipulation !important;
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  /* Logo */
  .logo-img-wide { height: 40px; max-width: 190px; }

  /* 30 years banner */
  .thirty-years-bar { max-height: 68px; }
  .thirty-years-img { max-height: 68px; object-fit: contain; background: #000; }

  /* ── MOBILE NAV PANEL (slide in from right) ── */
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(300px, 82vw);
    background: #fff;
    box-shadow: -8px 0 40px rgba(0,0,0,0.18);
    padding: 80px 0 40px;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 1100;
  }
  .nav-menu.open { right: 0; }

  /* Column layout */
  .nav-menu > ul { flex-direction: column; gap: 0; padding: 0 14px; }
  .nav-menu > ul > li { width: 100%; }

  /* Top-level nav links */
  .nav-menu > ul > li > a {
    display: flex;
    padding: 12px 14px;
    font-size: 0.95rem;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    font-weight: 600;
    color: var(--dark);
  }
  .nav-menu > ul > li > a:hover,
  .nav-menu > ul > li > a.active {
    background: var(--primary-light);
    color: var(--primary);
  }

  /* ── MOBILE DROPDOWNS ── */
  .nav-menu .dropdown {
    position: static !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--primary-light) !important;
    padding: 4px 0 8px 12px !important;
    margin: 2px 0 6px 10px !important;
    border-left: 3px solid var(--primary) !important;
    min-width: unset !important;
    width: auto !important;
  }
  .nav-menu .dropdown::before { display: none !important; }
  .has-dropdown.open > .dropdown { display: block !important; }
  .has-dropdown.open > a > i.fa-chevron-down { transform: rotate(180deg) !important; }

  /* Dropdown links in mobile */
  .nav-menu .dropdown li a {
    padding: 9px 12px !important;
    font-size: 0.88rem !important;
    border-radius: 6px !important;
    color: var(--dark) !important;
    white-space: normal !important;
  }
  .nav-menu .dropdown li a:hover {
    background: rgba(0,149,215,0.12) !important;
    padding-left: 18px !important;
    color: var(--primary) !important;
  }

  .btn-apply {
    border-radius: 8px !important;
    justify-content: center !important;
    margin-top: 12px !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* Navbar inner */
  .nav-inner { padding: 10px 16px; }

  /* Hero */
  .hero-slider { height: 72vh; min-height: 400px; max-height: 640px; }
  .slide-content { padding: 28px 20px; max-width: 100%; }
  .slide-content h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .slide-content p { font-size: 0.93rem; max-width: 100%; }
  .slide-badge { font-size: 0.72rem; padding: 5px 12px; }
  .slide-btns { gap: 10px; flex-wrap: wrap; }
  .slide-btns .btn-primary,
  .slide-btns .btn-outline,
  .slide-btns .btn-play-video { width: 100%; justify-content: center; text-align: center; }
  .slider-btn { width: 36px; height: 36px; font-size: 0.85rem; }
  .prev { left: 10px; }
  .next { right: 10px; }

  /* Stats */
  .stats-bar { padding: 24px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.76rem; }

  /* About */
  .about-grid { gap: 56px; }
  .about-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-img { margin-bottom: 56px; }
  .about-img-secondary { bottom: -20px; right: 0; width: 40%; }
  .about-badge { top: auto; bottom: -16px; left: 0; font-size: 0.8rem; padding: 10px 14px; }

  /* Courses */
  .courses-grid { grid-template-columns: 1fr; }

  /* Achievements */
  .achievements-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Scholarships */
  .scholarship-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  /* Eligibility */
  .eligibility-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Clubs */
  .clubs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .club-card { padding: 20px 12px; }

  /* ── NATIONAL ACCOLADES — 2 cards per row ── */
  .accolades-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .accolade-card {
    padding: 20px 14px !important;
  }
  .accolade-card h3 { font-size: 0.9rem !important; margin-bottom: 6px !important; }
  .accolade-card p { font-size: 0.78rem !important; line-height: 1.5 !important;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .accolade-icon { width: 46px !important; height: 46px !important; font-size: 1.1rem !important; margin-bottom: 12px !important; }

  /* ── GLOBAL FOOTPRINT / INTERNATIONAL — 2 cards per row ── */
  .intl-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .intl-card {
    padding: 20px 14px !important;
  }
  .intl-card h3 { font-size: 0.9rem !important; margin-bottom: 6px !important; }
  .intl-card p { font-size: 0.78rem !important; line-height: 1.5 !important;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .intl-icon { width: 46px !important; height: 46px !important; font-size: 1.1rem !important; margin-bottom: 12px !important; }

  /* ── BEYOND CLASSROOMS / ECA — 2 cards per row ── */
  .eca-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .eca-card {
    padding: 20px 14px !important;
  }
  .eca-card h3 { font-size: 0.9rem !important; margin-bottom: 6px !important; }
  .eca-card p { font-size: 0.78rem !important; line-height: 1.5 !important;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .eca-icon { width: 46px !important; height: 46px !important; font-size: 1.1rem !important; margin-bottom: 12px !important; }

  /* Awards Timeline */
  .awards-timeline::before { left: 14px; }
  .timeline-item { padding-left: 44px; padding-bottom: 28px; }
  .timeline-dot { left: 6px; width: 18px; height: 18px; }
  .timeline-content { padding: 18px 20px; }

  /* Sports */
  .sports-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sport-item { padding: 20px 14px; }

  /* Labs */
  .labs-grid { grid-template-columns: 1fr; gap: 16px; }
  .lab-card { padding: 28px 20px; }

  /* Message cards */
  .messages-grid { grid-template-columns: 1fr; gap: 20px; }
  .message-card { padding: 28px 24px; gap: 16px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info h2 { font-size: 1.5rem; }
  .contact-form-wrap { padding: 28px 20px; }
  .apply-big { width: 100%; justify-content: center; text-align: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .footer { padding: 40px 0 0; }
  .footer-col p { font-size: 0.85rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-filters { gap: 7px; }
  .filter-btn { padding: 7px 14px; font-size: 0.8rem; }

  /* Section headers */
  .section-header { margin-bottom: 32px; }
  .section-label { font-size: 1.3rem; letter-spacing: 1.2px; }

  /* Scroll top */
  .scroll-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 0.88rem; }
}

/* ── Small Mobile (≤480px) ── */
@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .container { padding: 0 14px; }

  /* Logo */
  .logo-img-wide { height: 34px; max-width: 170px; }

  /* 30 years banner */
  .thirty-years-bar { max-height: 54px; }
  .thirty-years-img { max-height: 54px; }

  /* Hero */
  .hero-slider { height: 85vh; min-height: 380px; }
  .slide-content { padding: 24px 16px; }
  .slide-content h1 { font-size: clamp(1.45rem, 7vw, 1.9rem); }
  .slide-badge { font-size: 0.68rem; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-num { font-size: 1.45rem; }

  /* Achievements */
  .achievements-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .achieve-num { font-size: 1.6rem; }

  /* Scholarships */
  .scholarship-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Clubs */
  .clubs-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* ── NATIONAL ACCOLADES — keep 2 per row on small mobile ── */
  .accolades-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .accolade-card { padding: 16px 10px !important; }
  .accolade-card h3 { font-size: 0.82rem !important; }
  .accolade-card p { font-size: 0.74rem !important; -webkit-line-clamp: 3; }
  .accolade-icon { width: 40px !important; height: 40px !important; font-size: 1rem !important; margin-bottom: 10px !important; }

  /* ── GLOBAL FOOTPRINT / INTERNATIONAL — keep 2 per row ── */
  .intl-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .intl-card { padding: 16px 10px !important; }
  .intl-card h3 { font-size: 0.82rem !important; }
  .intl-card p { font-size: 0.74rem !important; -webkit-line-clamp: 3; }
  .intl-icon { width: 40px !important; height: 40px !important; font-size: 1rem !important; margin-bottom: 10px !important; }

  /* ── BEYOND CLASSROOMS / ECA — keep 2 per row ── */
  .eca-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .eca-card { padding: 16px 10px !important; }
  .eca-card h3 { font-size: 0.82rem !important; }
  .eca-card p { font-size: 0.74rem !important; -webkit-line-clamp: 3; }
  .eca-icon { width: 40px !important; height: 40px !important; font-size: 1rem !important; margin-bottom: 10px !important; }

  /* Sports */
  .sports-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

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

  /* Message card */
  .message-card { padding: 22px 18px; }

  /* Contact form */
  .contact-form-wrap { padding: 22px 16px; }

  /* Section label */
  .section-label { font-size: 1.1rem; letter-spacing: 1px; }

  /* Map */
  .map-wrap iframe { height: 260px !important; }

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

  /* Page hero */
  .page-hero { padding: 70px 16px; }
}

/* ===== GOOGLE MAP ===== */
.map-wrap {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}
.map-header {
  display: flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff;
  padding: 14px 20px; font-size: 0.9rem; font-weight: 600; flex-wrap: wrap;
}
.map-header i { font-size: 1rem; flex-shrink: 0; }
.map-header span { flex: 1; }
.map-directions-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff !important;
  padding: 7px 16px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 700; transition: var(--transition);
  white-space: nowrap;
}
.map-directions-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.map-wrap iframe { display: block; }

@media (max-width: 600px) {
  .map-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .map-wrap iframe { height: 280px; }
}

/* ===== NATIONAL ACCOLADES ===== */
.national-section { background: var(--bg-light); }
.accolades-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.accolade-card {
  background: #fff; border-radius: var(--radius); padding: 32px 22px; text-align: center;
  box-shadow: var(--shadow); border-bottom: 4px solid var(--primary);
  transition: var(--transition);
}
.accolade-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,149,215,0.15); }
.accolade-icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; color: var(--primary);
}
.accolade-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.accolade-card p { color: var(--text-light); font-size: 0.86rem; line-height: 1.7; }

/* ===== INTERNATIONAL ===== */
.international-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%); }
.intl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.intl-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 30px 22px; text-align: center;
  transition: var(--transition);
}
.intl-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-5px); }
.intl-icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px;
  background: rgba(255,255,255,0.1); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; color: #38d9ff;
}
.intl-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.intl-card p { color: rgba(255,255,255,0.75); font-size: 0.86rem; line-height: 1.7; }

/* ===== AWARDS TIMELINE ===== */
.awards-section { background: var(--bg-light); }
.awards-timeline { position: relative; max-width: 860px; margin: 0 auto; }
.awards-timeline::before {
  content: ''; position: absolute; left: 28px; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 3px;
}
.timeline-item {
  display: flex; gap: 0; padding: 0 0 40px 70px; position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: 18px; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary); z-index: 2;
  flex-shrink: 0;
}
.timeline-content {
  background: #fff; border-radius: var(--radius); padding: 24px 28px;
  box-shadow: var(--shadow); flex: 1; border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.timeline-content:hover { transform: translateX(4px); box-shadow: 0 8px 32px rgba(0,149,215,0.15); }
.timeline-year {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 3px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 700;
  margin-bottom: 8px; letter-spacing: 0.5px;
}
.timeline-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.timeline-content p { color: var(--text-light); font-size: 0.88rem; line-height: 1.7; }

/* ===== ECA ACTIVITIES ===== */
.eca-section { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); }
.eca-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eca-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  transition: var(--transition);
}
.eca-card:hover { background: rgba(0,149,215,0.2); border-color: var(--primary); transform: translateY(-5px); }
.eca-icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; color: #38d9ff;
}
.eca-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.eca-card p { color: rgba(255,255,255,0.72); font-size: 0.86rem; line-height: 1.7; }

/* ================================================================
   VIDEO SLIDE
   ================================================================ */
.slide-video { background: #000 !important; }
.slide-video-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.45);
}
.slide-overlay-video {
  background: linear-gradient(120deg, rgba(0,10,25,0.72) 0%, rgba(0,80,120,0.30) 100%);
}
.slide-content-video { position: relative; z-index: 2; }

/* Play button */
.btn-play-video {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  color: #fff; border: 2px solid rgba(255,255,255,0.55);
  padding: 12px 26px; border-radius: 50px;
  font-family: var(--font); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.btn-play-video:hover {
  background: #ff0000; border-color: #ff0000; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,0,0,0.45);
}
.play-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: #ff0000; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0; transition: transform 0.25s;
}
.btn-play-video:hover .play-circle { transform: scale(1.15); }

/* ================================================================
   VIDEO LIGHTBOX MODAL
   ================================================================ */
.video-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.video-modal.active { opacity: 1; visibility: visible; }

.video-modal-inner {
  position: relative; width: 100%; max-width: 900px;
  animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.video-modal-close {
  position: absolute; top: -44px; right: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 2px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.video-modal-close:hover { background: var(--accent); border-color: var(--accent); }

.video-wrapper {
  position: relative; padding-bottom: 56.25%; /* 16:9 */
  height: 0; border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.video-wrapper iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

/* ================================================================
   MOBILE — ensure dropdowns are collapsed by default
   Only .has-dropdown.open > .dropdown becomes display:block via JS
   ================================================================ */
@media (max-width: 768px) {
  /* Reset: all mobile dropdowns hidden until .open is added by JS */
  .nav-menu .dropdown { display: none !important; }
  .has-dropdown.open > .dropdown { display: block !important; }

  /* Smooth chevron rotation for open state */
  .has-dropdown.open > a > i.fa-chevron-down { transform: rotate(180deg) !important; }

  /* Video modal padding on small screens */
  .video-modal { padding: 12px; }
  .video-modal-close { top: -40px; }
}

@media (max-width: 480px) {
  .btn-play-video { font-size: 0.88rem; padding: 10px 20px; gap: 10px; }
  .play-circle { width: 34px; height: 34px; font-size: 0.8rem; }
}
