/* =====================
   GENERAL STYLES
   ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a3a52;
  --secondary-color: #0f8b6e;
  --accent-color: #ff6b6b;
  --accent-light: #4ecdc4;
  --text-dark: #1a1a2e;
  --text-light: #555;
  --border-color: #e0e0e0;
  --bg-light: #f8f9fa;
  --bg-lighter: #f0f2f5;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.18);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4ecdc4 0%, #44a5c2 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h2,
h3,
h4,
h5 {
  font-weight: 700;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
.header-top {
  background: linear-gradient(90deg, var(--primary-color) 0%, #1c4560 100%);
  color: var(--white);
  padding: 14px 0;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact span {
  margin-right: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.header-contact span:hover {
  color: var(--accent-light);
  transform: translateX(2px);
}

.header-contact i {
  width: 16px;
  text-align: center;
  color: var(--accent-light);
}

.header-actions {
  display: flex;
  gap: 25px;
  align-items: center;
}

/* Google Translate Widget Styling */
#google_translate_element {
  display: flex;
  align-items: center;
}

.goog-te-gadget {
  font-family: "Poppins", sans-serif;
}

.goog-te-gadget-simple {
  background-color: transparent !important;
  border: none !important;
}

.goog-te-gadget-simple .goog-te-combo {
  padding: 5px 10px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.goog-te-gadget-simple .goog-te-combo option {
  color: var(--text-dark);
  background: var(--white);
}

.goog-te-gadget-simple .goog-te-combo:hover {
  border-color: var(--accent-color);
}

.language-toggle select {
  padding: 5px 10px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  border-radius: 4px;
}

.language-toggle select option {
  color: var(--text-dark);
  background: var(--white);
}

.admission-btn {
  background: linear-gradient(135deg, var(--accent-color) 0%, #ff5252 100%);
  color: var(--white);
  padding: 10px 22px;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
  font-size: 0.9rem;
}

.admission-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Navbar */
.navbar {
  background: var(--white);
  padding: 18px 0;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

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

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo i {
  font-size: 32px;
  color: var(--secondary-color);
}

.logo h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-light), var(--secondary-color));
  transition: width 0.4s ease;
  border-radius: 2px;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.parent-portal {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a7a5f 100%) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 139, 110, 0.3);
}

.parent-portal:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(15, 139, 110, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 5px 0;
  transition: 0.3s;
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  height: 700px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(248, 249, 250, 0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 72px;
  margin-bottom: 25px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 26px;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.cta-btn {
  background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c8c 100%);
  color: var(--white);
  padding: 16px 48px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

.cta-btn:active {
  transform: translateY(-2px);
}

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

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

/* =====================
   QUICK INFO BANNER
   ===================== */
.quick-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
  padding: 60px 0;
  margin: -50px 0 0 0;
  position: relative;
  z-index: 10;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.info-card {
  background: var(--white);
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.info-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-card i {
  font-size: 45px;
  color: var(--secondary-color);
  margin-bottom: 18px;
  display: inline-block;
  transition: all 0.3s ease;
}

.info-card:hover i {
  transform: scale(1.15) rotateY(10deg);
  color: var(--accent-color);
}

.info-card h3 {
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 18px;
}

.info-card p {
  color: var(--text-light);
  font-weight: 500;
}

/* =====================
   ABOUT SECTION
   ===================== */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.about-content h2 {
  font-size: 48px;
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.about-content > p {
  color: var(--text-light);
  margin-bottom: 35px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 45px;
}

.mission,
.vision {
  background: linear-gradient(135deg, rgba(79, 205, 196, 0.08) 0%, rgba(255, 107, 107, 0.04) 100%);
  padding: 32px;
  border-radius: 12px;
  border-left: 5px solid var(--secondary-color);
  transition: all 0.4s ease;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-md);
}

.mission:hover,
.vision:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-color);
}

.mission h3,
.vision h3 {
  margin-bottom: 18px;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 20px;
}

.mission i,
.vision i {
  margin-right: 12px;
  color: var(--secondary-color);
  font-size: 22px;
}

.mission p,
.vision p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.achievements h3 {
  margin-bottom: 25px;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 22px;
}

.achievements ul {
  list-style: none;
}

.achievements li {
  padding: 14px 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.achievements li:hover {
  color: var(--secondary-color);
  padding-left: 8px;
}

.achievements i {
  color: var(--secondary-color);
  font-size: 20px;
  min-width: 20px;
  transition: all 0.3s ease;
}

.achievements li:hover i {
  transform: scale(1.3) rotate(10deg);
  color: var(--accent-color);
}

.about-image {
  position: relative;
}

.placeholder-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border-radius: 14px;
  padding: 60px;
  text-align: center;
  color: var(--white);
  font-size: 80px;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.placeholder-image::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.about-image:hover .placeholder-image {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.placeholder-image i {
  font-size: 80px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.placeholder-image p {
  font-size: 18px;
  margin-top: 15px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
}

/* Principal's Message */
.principal-message {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: var(--white);
  padding: 60px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.principal-message::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.principal-image {
  text-align: center;
  position: relative;
  z-index: 1;
}

.principal-image .placeholder-image {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 35px;
  height: 220px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  margin-bottom: 0;
}

.principal-message:hover .principal-image .placeholder-image {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.25);
}

.principal-image .placeholder-image i {
  font-size: 65px;
}

.principal-text {
  position: relative;
  z-index: 1;
}

.principal-text h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.principal-text p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
}

.principal-text strong {
  color: var(--accent-color);
  font-weight: 700;
  font-style: normal;
}

/* =====================
   SECTION TITLE
   ===================== */
.section-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 25px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-light));
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(15, 139, 110, 0.3);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 60px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* =====================
   ACADEMICS SECTION
   ===================== */
.academics {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-lighter) 0%, #ffffff 50%, var(--bg-lighter) 100%);
}

.academic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.academic-card {
  background: var(--white);
  padding: 40px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.academic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 205, 196, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.academic-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
  border-top-color: var(--accent-light);
}

.academic-card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 55px;
  color: var(--secondary-color);
  margin-bottom: 22px;
  display: inline-block;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.academic-card:hover .card-icon {
  transform: scale(1.2) rotate(-5deg);
  color: var(--accent-color);
}

.academic-card h3 {
  margin-bottom: 18px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.academic-card > p {
  color: var(--text-light);
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.academic-card ul {
  list-style: none;
  position: relative;
  z-index: 1;
}

.academic-card li {
  padding: 10px 0;
  color: var(--text-light);
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.academic-card li:hover {
  color: var(--secondary-color);
  padding-left: 8px;
}

.academic-card li:last-child {
  border-bottom: none;
}

/* =====================
   FACULTY SECTION
   ===================== */
.faculty {
  padding: 100px 0;
  background: var(--white);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.faculty-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  text-align: center;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.faculty-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.faculty-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
}

.faculty-card:hover::before {
  transform: scaleX(1);
}

.faculty-image {
  margin-bottom: 22px;
  position: relative;
}

.faculty-image .placeholder-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px;
  height: 160px;
  margin-bottom: 0;
  border-radius: 10px;
  transition: all 0.4s ease;
}

.faculty-card:hover .faculty-image .placeholder-image {
  transform: scale(1.05);
}

.faculty-image .placeholder-image i {
  font-size: 65px;
}

.faculty-card h3 {
  margin: 22px 0 10px;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.faculty-card .role {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faculty-card .bio {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}

/* =====================
   FACILITIES SECTION
   ===================== */
.facilities {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-lighter) 0%, #ffffff 50%, var(--bg-lighter) 100%);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

.facility-card {
  background: var(--white);
  padding: 40px;
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.facility-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(79, 205, 196, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.6s ease;
}

.facility-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
}

.facility-card:hover::after {
  right: -20%;
  top: -20%;
}

.facility-icon {
  font-size: 55px;
  color: var(--secondary-color);
  margin-bottom: 22px;
  display: inline-block;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.facility-card:hover .facility-icon {
  transform: scale(1.25) rotate(5deg);
  color: var(--accent-color);
}

.facility-card h3 {
  margin-bottom: 18px;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}

.facility-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* =====================
   STUDENT LIFE SECTION
   ===================== */
.student-life {
  padding: 100px 0;
  background: var(--white);
}

.student-life-tabs {
  margin-top: 60px;
}

.tab-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  background: var(--white);
  border: 2px solid var(--border-color);
  padding: 13px 28px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
  transition: all 0.4s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-light));
  transition: left 0.4s ease;
  z-index: -1;
}

.tab-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a7a5f 100%);
  color: var(--white);
  border-color: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(15, 139, 110, 0.3);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

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

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.content-card {
  background: linear-gradient(135deg, var(--bg-lighter) 0%, #ffffff 100%);
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.content-card i {
  font-size: 45px;
  color: var(--secondary-color);
  margin-bottom: 18px;
  display: inline-block;
  transition: all 0.4s ease;
}

.content-card:hover i {
  transform: scale(1.2) rotateZ(-10deg);
  color: var(--accent-color);
}

.content-card h4 {
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 18px;
}

.content-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}

.achievements-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.achievement-item {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  display: flex;
  gap: 25px;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--accent-color);
}

.achievement-item:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.achievement-item i {
  font-size: 35px;
  color: var(--accent-color);
  min-width: 40px;
  margin-top: 5px;
  transition: all 0.4s ease;
}

.achievement-item:hover i {
  transform: scale(1.3) rotate(15deg);
}

.achievement-item h4 {
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 700;
}

.achievement-item p {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
}

/* =====================
   ADMISSIONS SECTION
   ===================== */
.admissions {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-lighter) 0%, #ffffff 50%, var(--bg-lighter) 100%);
}

.admission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.info-box {
  background: var(--white);
  padding: 35px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--secondary-color);
  transition: all 0.4s ease;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.info-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-color);
}

.info-box h3 {
  margin-bottom: 22px;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-box h3 i {
  color: var(--secondary-color);
  font-size: 24px;
}

.info-box ul,
.info-box ol {
  margin-left: 20px;
}

.info-box li {
  margin-bottom: 14px;
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 500;
  transition: all 0.3s ease;
}

.info-box li:hover {
  color: var(--secondary-color);
  padding-left: 8px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.fee-table th,
.fee-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 500;
}

.fee-table th {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  font-weight: 700;
}

.fee-table tr:hover {
  background: linear-gradient(90deg, rgba(79, 205, 196, 0.05), transparent);
}

.inquiry-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border-top: 5px solid linear-gradient(90deg, var(--secondary-color), var(--accent-light));
}

.inquiry-form h3 {
  margin-bottom: 28px;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 24px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 18px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transition: all 0.4s ease;
  background: var(--white);
  font-weight: 500;
  color: var(--text-dark);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #999;
  font-weight: 500;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(15, 139, 110, 0.1);
  background: linear-gradient(135deg, rgba(79, 205, 196, 0.02), transparent);
}

.submit-btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a7a5f 100%);
  color: var(--white);
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  width: 100%;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(15, 139, 110, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(15, 139, 110, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* =====================
   NEWS & ANNOUNCEMENTS
   ===================== */
.news-announcements {
  padding: 100px 0;
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 35px;
}

.news-card {
  background: var(--white);
  padding: 35px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  padding-left: 110px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 205, 196, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.news-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
}

.news-card:hover::before {
  opacity: 1;
}

.news-date {
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a7a5f 100%);
  color: var(--white);
  padding: 12px 15px;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  min-width: 100px;
  box-shadow: 0 4px 15px rgba(15, 139, 110, 0.3);
}

.news-card h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.3px;
}

.news-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.news-card a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.news-card a:hover {
  color: var(--accent-color);
  gap: 10px;
}

/* =====================
   GALLERY SECTION
   ===================== */
.gallery {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-lighter) 0%, #ffffff 50%, var(--bg-lighter) 100%);
}

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.gallery-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border-radius: 12px;
  padding: 80px 20px;
  text-align: center;
  color: var(--white);
  font-size: 80px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.gallery-item:hover .gallery-placeholder {
  transform: scale(1.1);
}

.gallery-placeholder::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.gallery-placeholder i {
  font-size: 70px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.gallery-placeholder p {
  font-size: 16px;
  margin-top: 15px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.contact-box {
  background: linear-gradient(135deg, var(--bg-lighter) 0%, #ffffff 100%);
  padding: 35px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--secondary-color);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.contact-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent-color);
}

.contact-box i {
  font-size: 35px;
  color: var(--secondary-color);
  min-width: 50px;
  transition: all 0.4s ease;
  text-align: center;
}

.contact-box:hover i {
  transform: scale(1.2) rotate(-10deg);
  color: var(--accent-color);
}

.contact-box h3 {
  color: var(--text-dark);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-box p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), #0a7a5f);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(15, 139, 110, 0.3);
}

.social-links a:hover {
  transform: scale(1.15) translateY(-5px);
  background: linear-gradient(135deg, var(--accent-color), #ff8c8c);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.contact-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent-color);
}

.contact-box i {
  font-size: 35px;
  color: var(--secondary-color);
  min-width: 50px;
  transition: all 0.4s ease;
  text-align: center;
}

.contact-box:hover i {
  transform: scale(1.2) rotate(-10deg);
  color: var(--accent-color);
}

.contact-box h3 {
  color: var(--text-dark);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-box p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), #0a7a5f);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(15, 139, 110, 0.3);
}

.social-links a:hover {
  transform: scale(1.15) translateY(-5px);
  background: linear-gradient(135deg, var(--accent-color), #ff8c8c);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.news-card h3 {
  margin-bottom: 12px;
  color: var(--primary-color);
}

.news-card p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.news-card a {
  color: var(--secondary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.news-card a:hover {
  margin-left: 5px;
}

/* =====================
   GALLERY SECTION
   ===================== */
.gallery {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 60px;
  cursor: pointer;
}

.gallery-placeholder i {
  margin-bottom: 15px;
}

.gallery-placeholder p {
  font-size: 16px;
  font-weight: 600;
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact {
  padding: 80px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

.contact-box {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
}

.contact-box i {
  font-size: 30px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.contact-box h3 {
  margin-bottom: 12px;
  color: var(--primary-color);
}

.contact-box p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
}

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

.contact-form {
  background: var(--white);
}

.contact-form h3 {
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-map {
  display: flex;
  flex-direction: column;
}

.contact-map h3 {
  margin-bottom: 20px;
}

.map-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border-radius: 14px;
  padding: 80px;
  text-align: center;
  color: var(--white);
  font-size: 60px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.map-placeholder:hover {
  transform: scale(1.02);
}

.map-placeholder i {
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.map-placeholder:hover i {
  transform: scale(1.2);
}

.map-placeholder p:first-of-type {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

.map-note {
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
  font-weight: 500;
}

/* =====================
   PARENT PORTAL PROMO
   ===================== */
.parent-portal-promo {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
  overflow: hidden;
}

.parent-portal-promo::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.portal-card {
  background: var(--white);
  padding: 70px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  border-top: 6px solid var(--secondary-color);
}

.portal-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.portal-card i {
  font-size: 60px;
  color: var(--secondary-color);
  margin-bottom: 25px;
  display: inline-block;
  transition: all 0.4s ease;
}

.portal-card:hover i {
  transform: scale(1.3) rotate(15deg);
  color: var(--accent-color);
}

.portal-card h2 {
  margin-bottom: 18px;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.5px;
}

.portal-card > p {
  color: var(--text-light);
  margin-bottom: 35px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}

.portal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px;
  text-align: left;
}

.portal-features div {
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
  font-size: 14px;
}

.portal-features i {
  color: var(--secondary-color);
  font-size: 24px;
  min-width: 30px;
  transition: all 0.3s ease;
}

.portal-features div:hover i {
  transform: scale(1.2) rotate(10deg);
}

.portal-btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a7a5f 100%);
  color: var(--white);
  padding: 16px 50px;
  border: none;
  border-radius: 50px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(15, 139, 110, 0.3);
}

.portal-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(15, 139, 110, 0.4);
}

.portal-btn:active {
  transform: translateY(-1px);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1c4560 100%);
  color: var(--white);
  padding: 80px 0 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-section h4 {
  color: var(--accent-light);
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-section a:hover {
  color: var(--accent-light);
  padding-left: 8px;
}

.footer-section ul li:last-child {
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.4s ease;
  color: var(--white);
  backdrop-filter: blur(10px);
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--secondary-color));
  border-color: var(--accent-light);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(79, 205, 196, 0.3);
}

.footer-bottom {
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent-light);
}

/* =====================
   MODAL
   ===================== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeInModal 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 50px;
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border-top: 6px solid var(--secondary-color);
  position: relative;
}

.modal-content h2 {
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.5px;
}

.close {
  color: var(--text-light);
  float: right;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  right: 20px;
  top: 15px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close:hover {
  color: var(--secondary-color);
  background: rgba(15, 139, 110, 0.1);
  transform: rotate(90deg);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-checkbox input {
  width: auto;
  margin: 0;
  cursor: pointer;
}

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

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

/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 768px) {
  .header-top .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .header-contact span {
    margin-right: 15px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: var(--shadow);
    z-index: 99;
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .logo h1 {
    font-size: 16px;
  }

  .hero {
    height: 400px;
  }

  .hero-title {
    font-size: 35px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .about-grid,
  .contact-grid,
  .admission-content,
  .principal-message {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .academic-grid,
  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 28px;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-buttons {
    gap: 10px;
  }

  .tab-btn {
    padding: 10px 15px;
    font-size: 13px;
  }

  .modal-content {
    width: 95%;
    margin: 20% auto;
    padding: 20px;
  }

  .portal-features {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .academic-card,
  .facility-card,
  .content-card,
  .news-card {
    padding: 20px;
  }

  .info-grid,
  .faculty-grid {
    grid-template-columns: 1fr;
  }

  .principal-message {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 15px;
  }

  .fee-table {
    font-size: 12px;
  }

  .fee-table th,
  .fee-table td {
    padding: 8px;
  }

  .footer-content {
    gap: 15px;
  }

  .footer-section h4 {
    font-size: 14px;
  }

  .footer-section p,
  .footer-section a {
    font-size: 12px;
  }
}

/* =====================
   NAVBAR SCROLLED (SHRINK)
   ===================== */
.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .logo h1 {
  font-size: 20px;
}

.navbar.scrolled .logo i {
  font-size: 26px;
}

/* =====================
   ABOUT / PRINCIPAL IMAGES
   ===================== */
.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  display: block;
}

.principal-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  display: block;
}

/* =====================
   GALLERY — REAL IMAGES
   ===================== */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 15px 12px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 12px 12px;
}

/* =====================
   STATS COUNTER SECTION
   ===================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0a5276 50%, var(--secondary-color) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 60%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,0.07) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: white;
  padding: 20px 10px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: white;
  font-family: "Playfair Display", serif;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* =====================
   EVENTS SECTION
   ===================== */
.events-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #f0fff7 100%);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.event-card {
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary-color);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 60px;
  text-align: center;
  flex-shrink: 0;
}

.event-day {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.event-month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.event-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.event-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.event-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-light));
  color: white;
}

/* =====================
   TESTIMONIALS SECTION
   ===================== */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-lighter) 0%, white 100%);
  overflow: hidden;
}

.testimonials-track-wrapper {
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 30px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.testimonial-card {
  min-width: 100%;
  padding: 50px 60px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
  text-align: center;
}

.testimonial-stars {
  font-size: 22px;
  color: #f4b400;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 700;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.t-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  background: white;
  color: var(--secondary-color);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-nav-btn:hover {
  background: var(--secondary-color);
  color: white;
}

.t-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.t-dot.active {
  background: var(--secondary-color);
  width: 28px;
  border-radius: 5px;
}

/* =====================
   FLOATING WHATSAPP BUTTON
   ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 998;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  color: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #25d366;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* =====================
   RESPONSIVE — NEW SECTIONS
   ===================== */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 15px 5px;
  }

  .stat-number {
    font-size: 36px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 80px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-card {
    flex-direction: column;
    gap: 12px;
  }

  .event-date {
    flex-direction: row;
    gap: 6px;
    align-items: center;
    padding: 8px 14px;
    width: fit-content;
  }

  .event-day {
    font-size: 20px;
  }
}
