/* ============================================
   Rio International School — Design System
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --primary: #9b59b6;
  --primary-dark: #7d3c98;
  --primary-light: #d2b4de;
  --accent: #f39c12;
  --accent-dark: #d68910;
  --accent-light: #fdebd0;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #ecf0f1;
  --gray: #95a5a6;
  --dark: #222222;
  --dark-soft: #2c3e50;
  --text: #333333;
  --text-light: #666666;
  --success: #27ae60;
  --danger: #e74c3c;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Sticky Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.nav-logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text);
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(155, 89, 182, 0.08);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(155,89,182,0.85) 0%, rgba(44,62,80,0.8) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: var(--max-width);
  width: 100%;
  padding: 40px 20px;
}

.hero-content {
  color: var(--white);
  max-width: 600px;
  text-align: left;
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(243, 156, 18, 0.25);
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(243,156,18,0.4);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-reel {
  flex-shrink: 0;
  width: 500px;
  max-width: 100%;
  animation: fadeInUp 1s ease 0.3s both;
}

.reel-video-crop {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.reel-video-crop iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(243,156,18,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(243,156,18,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-purple {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(155,89,182,0.35);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(155,89,182,0.5);
}

/* ── Sections ── */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--off-white);
}

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

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 20px auto 0;
}

/* ── Feature / Facility Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

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

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(155,89,182,0.1), rgba(243,156,18,0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Image Card ── */
.img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.img-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.img-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-card:hover img {
  transform: scale(1.05);
}

.img-card .card-body {
  padding: 18px;
  text-align: center;
}

.img-card .card-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

/* ── About / Vision-Mission ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-intro img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.8;
}

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

.vm-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary);
  transition: var(--transition);
}

.vm-card:nth-child(2) {
  border-left-color: var(--accent);
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.vm-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ── Leader / Principal Message ── */
.leader-section {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  align-items: center;
}

.leader-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.leader-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.leader-content h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.leader-content .title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.leader-content p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.8;
}

.leader-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 20px 0;
  background: var(--accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--dark-soft);
}

/* ── Achievements / Milestones ── */
.milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.milestone-item {
  padding: 30px 20px;
}

.milestone-item .number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.milestone-item .label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ── Tables (Infrastructure & Disclosure) ── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-table thead {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.info-table th {
  padding: 16px 20px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.95rem;
  color: var(--text);
}

.info-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

.info-table tbody tr:hover {
  background: rgba(155,89,182,0.04);
}

.info-table .sr-no {
  width: 60px;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
}

.table-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-available {
  background: rgba(39,174,96,0.12);
  color: var(--success);
}

.badge-view {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 6px 18px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.badge-view:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(155,89,182,0.3);
}

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

.disclosure-section h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding: 12px 20px;
  background: rgba(155,89,182,0.06);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
}

/* ── Gallery ── */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 24px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  border-radius: 50px;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(155,89,182,0.06);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay span {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(6px);
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox img {
  max-width: 85%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 1.4rem;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  background: rgba(0,0,0,0.5);
  padding: 8px 24px;
  border-radius: 30px;
}

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(155,89,182,0.12);
}

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

.form-group .error-msg {
  display: none;
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 6px;
  font-weight: 500;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--danger);
}

.form-group.error .error-msg {
  display: block;
}

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

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-card .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(155,89,182,0.12), rgba(243,156,18,0.12));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Map ── */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 30px;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Page Banner ── */
.page-banner {
  margin-top: 72px;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-soft) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,176C960,192,1056,192,1152,176C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.page-banner .breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.page-banner .breadcrumb a {
  color: rgba(255,255,255,0.85);
}

.page-banner .breadcrumb a:hover {
  color: var(--accent);
}

/* ── Video Section ── */
.video-section {
  text-align: center;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-about .footer-logo img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-about .footer-logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

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

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer h4 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 2px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ── Animations ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-reel { width: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .leader-section { grid-template-columns: 1fr; }
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 30px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--light-gray);
  }

  .hamburger { display: flex; }

  .hero { min-height: auto; padding: 40px 0; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-reel { width: 280px; }

  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.8rem; }

  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .milestones { grid-template-columns: 1fr 1fr; }
  .page-banner h1 { font-size: 2rem; }

  .info-table { font-size: 0.85rem; }
  .info-table th, .info-table td { padding: 10px 12px; }

  .leader-section { grid-template-columns: 1fr; }
  .leader-image img { height: 300px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .milestones { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* ── Utility ── */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* Mobile menu overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

.mobile-overlay.active {
  display: block;
}

/* Success toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--success);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 3000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
