/* ============================================
   APPLE SCHOOL – STYLE.CSS
   ============================================ */

:root {
  --primary: #1a3c6e;
  --primary-dark: #0f2447;
  --accent: #f4a522;
  --accent2: #e94f37;
  --teal: #1abc9c;
  --bg-section: #f7f9fc;
  --bg-dark: #0d1b2a;
  --text-main: #1a1a2e;
  --text-muted: #6b7280;
  --white: #ffffff;
  --card-bg: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(26,60,110,0.13);
  --shadow-hover: 0 16px 48px rgba(26,60,110,0.22);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-script: 'Satisfy', cursive;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.section-padding { padding: 90px 0; }
.section-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.2;
}
.section-title span { color: var(--accent); }
.title-bar {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 4px;
  margin-top: 12px;
}
.section-sub { color: var(--text-muted); font-size: 1.05rem; margin-top: 12px; }

/* NAVBAR */
#mainNav {
  background: transparent;
  padding: 18px 0;
  transition: var(--transition);
  z-index: 1000;
}
#mainNav.scrolled {
  background: rgba(10, 23, 48, 0.97);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.brand-text span { color: var(--accent); }
.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500; font-size: 0.92rem;
  padding: 6px 14px !important;
  position: relative; letter-spacing: 0.5px;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.navbar-toggler { border: none; background: transparent; padding: 4px; cursor: pointer; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-icon { display: flex; flex-direction: column; gap: 5px; }
.toggler-icon span {
  display: block; width: 26px; height: 2px;
  background: var(--white); border-radius: 4px;
  transition: var(--transition);
}
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
  #navMenu {
    background: rgba(10, 23, 48, 0.98);
    margin-top: 12px; border-radius: 14px;
    padding: 16px; backdrop-filter: blur(20px);
  }
  .nav-link { padding: 10px 16px !important; border-radius: 8px; }
  .nav-link:hover { background: rgba(244,165,34,0.1); }
}

/* HERO */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3c6e 60%, #0d2a4a 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: 80px;
}
.hero-section::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244,165,34,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}
.hero-section::after {
  content: '';
  position: absolute; bottom: 0; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,188,156,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 5s ease-in-out infinite alternate-reverse;
}
@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 1; }
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-left { position: relative; z-index: 2; padding: 40px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,165,34,0.15);
  border: 1px solid rgba(244,165,34,0.4);
  color: var(--accent);
  padding: 6px 18px; border-radius: 50px;
  font-size: 0.78rem; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 1s ease both 0.3s;
}
.hero-school-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; min-height: 2.5em; margin-bottom: 0;
}
.hero-sub {
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--accent); min-height: 2.2em;
  margin-top: 12px; margin-bottom: 24px;
}
.cursor-blink {
  display: inline-block; width: 3px;
  background: var(--accent);
  animation: blink 0.75s step-end infinite;
  margin-left: 2px; vertical-align: middle; height: 1em;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-classes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.class-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); padding: 5px 14px;
  border-radius: 50px; font-size: 0.82rem; font-weight: 500;
  transition: var(--transition);
}
.class-badge:hover { background: var(--accent); border-color: var(--accent); }
.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white); padding: 13px 32px;
  border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; border: none;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(244,165,34,0.4);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(244,165,34,0.55); color: var(--white); }
.btn-hero-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white); padding: 11px 32px;
  border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; transition: var(--transition); margin-left: 12px;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-3px); color: var(--white); }
.hero-right { position: relative; z-index: 2; }
.hero-img-wrapper {
  position: relative; display: inline-block; margin: 40px auto;
  opacity: 0; transform: translateX(60px);
  transition: opacity 0.9s ease 0.8s, transform 0.9s ease 0.8s;
}
.hero-img-wrapper.visible { opacity: 1; transform: translateX(0); }
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(244,165,34,0.25);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-spin 12s linear infinite;
}
.ring1 { width: 360px; height: 360px; }
.ring2 { width: 300px; height: 300px; border-color: rgba(26,188,156,0.2); animation-direction: reverse; animation-duration: 9s; }
.ring3 { width: 240px; height: 240px; border-color: rgba(244,165,34,0.15); animation-duration: 7s; }
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-img-frame {
  width: 260px; height: 320px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  margin: auto;
}
.hero-student-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-stat-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px; padding: 10px 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.hero-stat-card i { color: var(--accent); font-size: 1.1rem; }
.stat1 { bottom: 20%; left: -30px; }
.stat2 { top: 20%; right: -20px; }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-wave svg { display: block; }

/* ABOUT */
.about-section { background: var(--bg-section); }
.about-img-wrap { position: relative; }
.about-main-img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); transition: var(--transition); }
.about-main-img:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.about-img-overlay {
  position: absolute; bottom: 20px; left: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; border-radius: 10px; padding: 10px 18px;
  font-size: 0.85rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.about-years-badge {
  position: absolute; top: -20px; right: -20px;
  width: 90px; height: 90px;
  background: var(--primary); border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(26,60,110,0.35);
  color: white; text-align: center;
}
.years-num { font-size: 1.5rem; font-weight: 900; font-family: var(--font-display); line-height: 1; color: var(--accent); }
.years-text { font-size: 0.6rem; line-height: 1.2; opacity: 0.85; }
.about-lead { font-size: 1.15rem; font-weight: 500; color: var(--primary); margin-bottom: 12px; }
.about-text { color: var(--text-muted); line-height: 1.8; }
.highlight-item {
  background: var(--white); border-radius: 12px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 0.9rem;
  box-shadow: var(--shadow); transition: var(--transition);
}
.highlight-item i { color: var(--accent); font-size: 1.2rem; }
.highlight-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

/* STATS BAR */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px 0; position: relative; overflow: hidden;
}
.stats-bar::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.03'%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");
}
.stat-item { text-align: center; padding: 24px 16px; position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,0.15);
}
.stat-item i { font-size: 2rem; color: var(--accent); margin-bottom: 12px; display: block; }
.stat-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 6px; letter-spacing: 1px; text-transform: uppercase; }

/* MISSION & VISION */
.mission-section { background: var(--white); }
.mv-card {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 40px 36px; height: 100%;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
}
.mv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.mission-card::before { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.vision-card::before { background: linear-gradient(90deg, var(--teal), var(--primary)); }
.mv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.mv-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.mission-card .mv-icon { background: linear-gradient(135deg, #fff7e6, #ffe4b5); color: var(--accent); }
.vision-card .mv-icon { background: linear-gradient(135deg, #e6fff9, #b2f5ea); color: var(--teal); }
.mv-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 14px; }
.mv-card p { color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.mv-list { list-style: none; padding: 0; }
.mv-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.92rem; color: var(--text-main); }
.mission-card .mv-list li i { color: var(--accent); }
.vision-card .mv-list li i { color: var(--teal); }
.values-title { font-family: var(--font-display); color: var(--primary-dark); font-weight: 700; }
.value-chip {
  background: var(--white); border: 2px solid #e8ecf0;
  border-radius: 14px; padding: 18px 16px;
  text-align: center; transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.value-chip i { font-size: 1.5rem; color: var(--accent); }
.value-chip span { font-weight: 600; font-size: 0.9rem; }
.value-chip:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow-hover); }

/* PRINCIPAL */
.principal-section { background: var(--bg-section); }
.principal-card { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.principal-left {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px 30px; position: relative;
}
.principal-left::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.principal-photo-wrap { position: relative; display: inline-block; margin-bottom: 20px; }
.principal-photo {
  width: 160px; height: 160px; border-radius: 50%;
  object-fit: cover; border: 5px solid rgba(255,255,255,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.principal-badge {
  position: absolute; bottom: 8px; right: 8px;
  width: 36px; height: 36px; background: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem; box-shadow: 0 4px 12px rgba(244,165,34,0.5);
}
.principal-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.principal-role { color: var(--accent); font-size: 0.88rem; font-weight: 500; }
.principal-social { display: flex; justify-content: center; gap: 10px; margin: 16px 0; }
.principal-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; transition: var(--transition);
}
.principal-social a:hover { background: var(--accent); border-color: var(--accent); }
.principal-exp-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.principal-exp-tags span {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85);
  border-radius: 50px; padding: 4px 14px; font-size: 0.75rem; font-weight: 500;
}
.principal-right { padding: 48px 44px; }
.principal-quote-icon { font-size: 2.5rem; color: var(--accent); opacity: 0.3; margin-bottom: 8px; }
.principal-right h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 16px; }
.principal-right p { color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }
.principal-advice {
  background: linear-gradient(135deg, #fff7e6, #fff3d6);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0; padding: 20px 24px;
  margin: 20px 0; display: flex; gap: 16px; align-items: flex-start;
}
.principal-advice i { color: var(--accent); font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.principal-advice blockquote {
  font-family: var(--font-script); font-size: 1.15rem;
  color: var(--primary); line-height: 1.7; border: none; padding: 0; margin: 0;
}
.principal-signature { font-family: var(--font-script); font-size: 1.3rem; color: var(--accent); font-weight: 700; }

/* FACULTY */
.faculty-section { background: var(--bg-section); }
.faculty-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition); height: 100%;
}
.faculty-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.faculty-card-header {
  position: relative; height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.faculty-photo { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.faculty-card:hover .faculty-photo { transform: scale(1.08); }
.faculty-subject-tag {
  position: absolute; bottom: 10px; right: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; border-radius: 20px; padding: 4px 12px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px;
}
.faculty-card-body { padding: 20px; }
.faculty-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.faculty-role { font-size: 0.83rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.faculty-exp { font-size: 0.83rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.faculty-role i, .faculty-exp i { color: var(--accent); }
.faculty-footer { border-top: 1px solid #f0f2f5; padding-top: 12px; }
.faculty-class { background: #eef2ff; color: var(--primary); border-radius: 20px; padding: 4px 14px; font-size: 0.78rem; font-weight: 600; }

/* SLIDERS */
.slider-section { overflow: hidden; }
.lab-slider-section { background: var(--bg-section); }
.events-slider-section {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3c6e 100%);
  color: white;
}
.events-slider-section .section-title,
.events-slider-section .section-label,
.events-slider-section .section-sub { color: white; }
.events-slider-section .section-label { color: var(--accent); }
.auto-slider-wrapper { position: relative; overflow: hidden; padding: 0 50px; }
.auto-slider { display: flex; justify-content: space-around;  }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
/* .auto-slider { animation: scrollLeft 28s linear infinite; } */
/* .events-direction { animation: scrollRight 28s linear infinite; } */
.slide-item {
  flex: 0 0 300px; height: 220px;
  border-radius: 16px; overflow: hidden;
  position: relative; box-shadow: 0 8px 24px rgba(0,0,0,0.15); cursor: pointer;
}
.slide-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.slide-item:hover img { transform: scale(1.08); }
.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: white; padding: 16px 16px 12px;
  font-size: 0.85rem; font-weight: 600;
  transform: translateY(100%); transition: transform 0.35s ease;
}
.slide-item:hover .slide-caption { transform: translateY(0); }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: none; background: white; color: var(--primary);
  font-size: 1rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: var(--transition); z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: var(--accent); color: white; transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 6px; }
.slider-next { right: 6px; }

/* CONTACT */
.contact-section { background: var(--bg-section); }
.contact-info-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow); transition: var(--transition); height: 100%;
}
.tripstar-logo{
   height: 50px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem; margin-left: 8rem;
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.contact-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.4rem; margin: 0 auto 16px;
}
.contact-info-card h5 { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 10px; }
.contact-info-card p { color: var(--text-muted); line-height: 1.7; font-size: 0.92rem; }

/* FOOTER */
.site-footer { background: var(--bg-dark); position: relative; }
.footer-top { padding: 70px 0 50px; }
.footer-brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: white;
}
.footer-brand i { color: var(--accent); font-size: 1.5rem; }
.footer-about { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.75; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: white; transform: translateY(-3px); }
.footer-heading { color: white; font-weight: 600; font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '→'; color: var(--accent); font-size: 0.75rem; transition: transform 0.3s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover::before { transform: translateX(3px); }
.footer-newsletter-text { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-bottom: 14px; line-height: 1.6; }
.footer-newsletter { display: flex; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); }
.footer-newsletter input {
  flex: 1; background: rgba(255,255,255,0.07);
  border: none; color: white; padding: 12px 16px; font-size: 0.85rem; outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter button {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; border: none; padding: 12px 20px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.footer-newsletter button:hover { opacity: 0.9; }
.footer-affiliations { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-affiliations span {
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.65);
  padding: 5px 12px; border-radius: 20px; font-size: 0.78rem;
  display: flex; align-items: center; gap: 6px;
}
.footer-affiliations i { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.82rem; margin: 0; }
.back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: 0 6px 20px rgba(244,165,34,0.4);
  opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(244,165,34,0.55); color: white; }

/* RESPONSIVE */
@media (max-width: 991px) {
  .hero-right { margin-top: 30px; }
  .hero-img-frame { width: 220px; height: 270px; }
  .ring1 { width: 290px; height: 290px; }
  .ring2 { width: 240px; height: 240px; }
  .ring3 { width: 190px; height: 190px; }
  .stat1 { left: 0; }
  .stat2 { right: 0; }
  .principal-right { padding: 32px 28px; }
  .about-years-badge { top: -16px; right: -10px; width: 75px; height: 75px; }
}
@media (max-width: 767px) {
  .section-padding { padding: 60px 0; }
  .hero-section { padding-top: 90px; }
  .hero-school-name { font-size: 2rem; }
  .hero-sub { font-size: 1.2rem; }
  .hero-img-frame { width: 180px; height: 220px; }
  .ring1, .ring2, .ring3 { display: none; }
  .stat1, .stat2 { font-size: 0.75rem; padding: 7px 12px; }
  .stat1 { left: 0; bottom: 10%; }
  .stat2 { right: 0; top: 15%; }
  .btn-hero-outline { margin-left: 0; margin-top: 10px; }
  .hero-btns { display: flex; flex-direction: column; width: 100%; max-width: 280px; gap: 10px; }
  .btn-hero-primary, .btn-hero-outline { text-align: center; }
  .about-years-badge { display: none; }
  .principal-card .row { flex-direction: column; }
  .principal-right { padding: 28px 22px; }
  .auto-slider-wrapper { padding: 0 36px; }
  .slide-item { flex: 0 0 240px; height: 180px; }
  .stat-item + .stat-item::before { display: none; }
  .stat-num { font-size: 2rem; }
  .footer-top { padding: 50px 0 32px; }
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .hero-school-name { font-size: 1.7rem; }
  .section-title { font-size: 1.65rem; }
  .slide-item { flex: 0 0 200px; height: 155px; }
}