/*
Theme Name: Aarvee Academy
Theme URI: https://aarveeacademy.com
Author: Aarvee Academy
Description: Custom WordPress theme for Aarvee Academy - NEET & JEE Coaching Institute
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: aarvee-academy
*/

/* ===========================
   CSS Variables
=========================== */
:root {
  --primary: #1a2e6e;
  --primary-dark: #0f1c47;
  --secondary: #e63946;
  --accent: #f4a261;
  --gold: #f5a623;
  --purple: #6c3fc7;
  --light-blue: #eaf4fb;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --white: #ffffff;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

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

.section-pad { padding: 80px 0; }

/* ===========================
   Typography
=========================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--primary);
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--gray-600);
  font-size: 16px;
  margin-bottom: 50px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-primary { background: var(--secondary); color: var(--white); }
.btn-primary:hover { background: #c1121f; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,57,70,0.3); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-dark:hover { background: var(--primary); color: var(--white); }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: #5429a8; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #d4891a; }
.btn-green { background: #2a9d8f; color: var(--white); }
.btn-green:hover { background: #1e7a6e; }

/* ===========================
   HEADER / NAVBAR
=========================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 70px;
}

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

.logo-img {
  height: 45px;
  width: auto;
}

.logo-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.logo-badge span { color: var(--accent); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
  transition: var(--transition);
  white-space: nowrap;
  border-bottom: 2px solid transparent; /* always reserve space, no jump */
  text-decoration: none;
}

/* Hover: only color change, no underline */
.nav-menu a:hover { color: var(--secondary); }

/* Active: color + underline — only one item at a time via PHP */
.nav-menu a.active {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
  font-weight: 600;
}

/* Contact button must never show the underline active state */
.nav-menu .btn.nav-cta,
.nav-menu .btn.nav-cta:hover,
.nav-menu .btn.nav-cta.active {
  border-bottom: none !important;
}

.nav-cta { margin-left: 10px; padding: 9px 20px !important; font-size: 13px !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #1a3a6e 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, #2a4a8e 0%, transparent 100%);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 60px 0;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 25px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge::before {
  content: '✨';
  font-size: 14px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

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

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.6;
}

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

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Feature Cards */
.feature-cards {
  background: var(--white);
  padding: 0;
  margin-top: -1px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  box-shadow: var(--shadow-lg);
}

.feature-card {
  padding: 30px 24px;
  border-right: 1px solid var(--gray-200);
  border-top: 4px solid transparent;
  transition: var(--transition);
}

.feature-card:last-child { border-right: none; }
.feature-card:hover { border-top-color: var(--secondary); }

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--light-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 22px;
}

.feature-card h3 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ===========================
   ACHIEVEMENT SECTION
=========================== */
.achievement-section { background: var(--gray-100); }

.achievement-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.achievement-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.achievement-list { margin: 24px 0 32px; }
.achievement-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--gray-800);
}
.achievement-list li::before {
  content: '●';
  color: var(--secondary);
  font-size: 10px;
  flex-shrink: 0;
}

/* ===========================
   TOPPERS SECTION
=========================== */
.toppers-section { background: var(--light-blue); }

.toppers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.topper-list { display: flex; flex-direction: column; gap: 12px; }

.topper-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.topper-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.topper-card h4 { font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.topper-card p { font-size: 13px; color: var(--secondary); font-weight: 600; }

.topper-image {
  grid-column: span 1;
}
.topper-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-section {
  background: var(--primary);
  color: var(--white);
}

.testimonials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.testimonial-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.testimonials-section .section-title { color: var(--white); }

.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  margin-top: 20px;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.testimonial-name { font-weight: 700; font-size: 16px; }
.testimonial-score {
  background: var(--secondary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.testimonial-percentile {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.testimonial-text { font-size: 14px; color: rgba(255,255,255,0.8); font-style: italic; }

/* ===========================
   COMMUNITY SECTION
=========================== */
.community-section { background: var(--white); }

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.community-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ===========================
   STATS BAR
=========================== */
.stats-bar {
  background: var(--primary);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 52px;
  color: var(--secondary);
  font-weight: 800;
  line-height: 1;
}
.stat-item p { color: rgba(255,255,255,0.8); font-size: 15px; margin-top: 8px; }

/* ===========================
   ABOUT PAGE
=========================== */
.about-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 130px 0 80px;
  text-align: center;
}

.about-hero h1 { font-size: 48px; color: var(--white); margin-bottom: 12px; }
.about-hero p { color: rgba(255,255,255,0.8); font-size: 18px; }

.vision-mission {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 0;
}

.vm-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 50px;
  box-shadow: var(--shadow);
  max-width: 750px;
}

.vm-card:nth-child(2) { align-self: flex-end; }

.vm-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.vm-icon.blue { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.vm-icon.orange { background: linear-gradient(135deg, #f5a623, #f76b1c); }

.vm-card h2 { font-size: 28px; color: var(--primary); margin-bottom: 16px; }
.vm-card p, .vm-card li { font-size: 15px; color: var(--gray-600); line-height: 1.8; }

.mission-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: var(--light-blue);
  border-radius: 8px;
}

.mission-check {
  width: 22px;
  height: 22px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Core Values */
.core-values { background: var(--gray-100); padding: 80px 0; text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.value-icon.blue-grad { background: linear-gradient(135deg, #1a2e6e, #4facfe); }
.value-icon.red-grad { background: linear-gradient(135deg, #e63946, #f4a261); }
.value-icon.purple-grad { background: linear-gradient(135deg, #6c3fc7, #c77dff); }

.value-card h3 { font-size: 20px; color: var(--primary); margin-bottom: 14px; }
.value-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ===========================
   COURSES PAGE
=========================== */
.courses-hero {
  background: linear-gradient(135deg, #6c3fc7, #1a2e6e);
  color: var(--white);
  padding: 130px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.courses-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
}
.courses-hero h1 { font-size: 52px; color: var(--white); margin-bottom: 16px; }
.courses-hero h1 span { color: var(--accent); }
.courses-hero p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 600px; margin: 0 auto; }

.courses-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 25px;
  margin-bottom: 24px;
}

.courses-section { background: linear-gradient(180deg, #6c3fc7 0%, #4a2d8a 100%); padding: 60px 0 100px; }

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

.course-card {
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }

.course-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.course-image img { width: 100%; height: 100%; object-fit: cover; }
.course-badge-tag {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--white);
}
.tag-orange { background: #f4a261; }
.tag-teal { background: #2a9d8f; }
.tag-pink { background: #e63946; }
.tag-green { background: #2a9d8f; }
.tag-purple { background: var(--purple); }

.course-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 15px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.course-overlay h3 { color: var(--white); font-size: 18px; font-weight: 800; }

.course-body { padding: 22px; }
.course-desc { font-size: 13px; color: var(--gray-600); margin-bottom: 18px; line-height: 1.6; }

.programs-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-600); margin-bottom: 10px; }

.program-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--gray-100);
  border-radius: 8px;
  margin-bottom: 8px;
}
.program-name { font-size: 14px; font-weight: 600; color: var(--primary); }
.program-duration { font-size: 12px; color: var(--gray-600); background: var(--white); padding: 3px 10px; border-radius: 12px; }

.highlights { margin: 14px 0 18px; display: flex; flex-direction: column; gap: 6px; }
.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-800);
}
.highlight-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #2a9d8f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a9d8f;
  font-size: 10px;
  flex-shrink: 0;
}

.course-actions { display: flex; gap: 10px; }
.course-actions .btn { flex: 1; justify-content: center; font-size: 13px; padding: 10px 16px; }

/* Full-width course card */
.course-card.full-width { grid-column: 1 / -1; display: grid; grid-template-columns: 240px 1fr; }
.course-card.full-width .course-image { height: auto; min-height: 220px; }

/* ===========================
   FACULTY PAGE
=========================== */
.faculty-hero {
  background: linear-gradient(180deg, #eaf4fb 0%, #ffffff 100%);
  padding: 130px 0 60px;
  text-align: center;
}
.faculty-hero h1 { color: var(--primary); font-size: 44px; margin-bottom: 12px; }
.faculty-hero p { color: var(--gray-600); font-size: 17px; }

.faculty-icon-wrap {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--white);
}

.faculty-section { padding: 60px 0 80px; }
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 30px; }
.faculty-grid.last-row { grid-template-columns: repeat(4, 1fr); }

.faculty-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.faculty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.faculty-photo { height: 240px; overflow: hidden; background: var(--gray-200); }
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.faculty-info { padding: 20px; }
.faculty-name { font-size: 17px; color: var(--primary); font-weight: 700; margin-bottom: 4px; }
.faculty-subject { font-size: 13px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }

.faculty-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.faculty-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
}
.faculty-meta-item span { font-size: 14px; }

.faculty-bio { font-size: 13px; color: var(--gray-600); line-height: 1.6; border-top: 1px solid var(--gray-200); padding-top: 12px; }

/* Admin card */
.faculty-card.admin-card { grid-column: 1 / 2; }

/* ===========================
   DIRECTOR'S MESSAGE PAGE
=========================== */
.director-hero {
  background: linear-gradient(180deg, #eaf4fb, var(--white));
  padding: 130px 0 60px;
  text-align: center;
}
.director-hero h1 { color: var(--primary); font-size: 44px; margin-bottom: 12px; }
.director-hero p { color: var(--gray-600); font-size: 17px; }

.director-quotes-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 16px;
}

.director-profile-section { padding: 60px 0; }

.director-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 50px;
  margin-bottom: 50px;
}

.director-card.reverse { grid-template-columns: 1fr 300px; }
.director-card.reverse .director-photo { order: 2; }
.director-card.reverse .director-text { order: 1; }

.director-photo img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.director-text h2 { font-size: 28px; color: var(--primary); margin-bottom: 4px; }
.director-credentials { font-size: 15px; color: var(--secondary); font-weight: 600; margin-bottom: 6px; }
.director-experience { font-size: 14px; color: var(--gray-600); margin-bottom: 14px; }

.director-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.director-text p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; }

/* Philosophy Banner */
.philosophy-banner {
  background: linear-gradient(135deg, var(--light-blue), #d0e8f5);
  border-radius: 20px;
  padding: 60px;
  margin: 20px 0 60px;
  position: relative;
  overflow: hidden;
}

.philosophy-banner::before {
  content: '"';
  font-size: 250px;
  font-family: Georgia, serif;
  color: rgba(26,46,110,0.08);
  position: absolute;
  top: -50px;
  left: 30px;
  line-height: 1;
}

.philosophy-banner .quote-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.philosophy-body p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 14px;
}

.philosophy-closing {
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(26,46,110,0.15);
}

/* Trust Banner */
.trust-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 30px 0;
}
.trust-text {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.trust-text span { color: var(--secondary); }

/* NEET JEE Success section */
.success-section { background: var(--gray-100); padding: 60px 0; text-align: center; }
.success-label { font-size: 13px; color: var(--secondary); font-weight: 700; margin-bottom: 12px; }
.success-title { font-size: 24px; color: var(--primary); font-weight: 700; margin-bottom: 30px; }

.success-image img { width: 100%; max-width: 650px; margin: 0 auto; border-radius: var(--radius); }

.success-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 650px;
  margin: 30px auto 0;
}

.success-stat { text-align: center; }
.success-stat h3 { font-size: 22px; color: var(--primary); font-weight: 800; }
.success-stat p { font-size: 11px; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===========================
   GALLERY PAGE
=========================== */
.gallery-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 130px 0 70px;
  text-align: center;
  color: var(--white);
}
.gallery-hero h1 { font-size: 44px; color: var(--white); margin-bottom: 12px; }
.gallery-hero p { color: rgba(255,255,255,0.8); font-size: 17px; }

.gallery-section { padding: 70px 0; }
.featured-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  padding-left: 14px;
  border-left: 4px solid var(--secondary);
  margin-bottom: 30px;
}

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.gallery-grid.bottom-row { grid-template-columns: 1fr 1fr; }

.gallery-item {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.gallery-item-img { height: 200px; overflow: hidden; }
.gallery-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover .gallery-item-img img { transform: scale(1.05); }

.gallery-item-info { padding: 18px; }
.gallery-item-info h3 { font-size: 16px; color: var(--secondary); font-weight: 700; margin-bottom: 6px; }
.gallery-item-info p { font-size: 13px; color: var(--gray-600); }

.campus-visit {
  text-align: center;
  padding: 50px 0 30px;
  color: var(--gray-600);
  font-size: 15px;
}
.campus-visit p { margin-bottom: 20px; }

/* ===========================
   CONTACT PAGE
=========================== */
.contact-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 130px 0 70px;
  text-align: center;
  color: var(--white);
}
.contact-hero h1 { font-size: 44px; color: var(--white); margin-bottom: 12px; }
.contact-hero p { color: rgba(255,255,255,0.8); font-size: 17px; }

.contact-section { padding: 70px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }

.contact-info h2 { font-size: 30px; color: var(--primary); margin-bottom: 30px; }

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.icon-blue { background: linear-gradient(135deg, var(--primary), #4facfe); }
.icon-red { background: linear-gradient(135deg, var(--secondary), #f4a261); }
.icon-green { background: linear-gradient(135deg, #2a9d8f, #52b788); }
.icon-purple { background: linear-gradient(135deg, var(--purple), #c77dff); }

.contact-item-text h4 { font-size: 16px; color: var(--primary); margin-bottom: 6px; font-weight: 700; }
.contact-item-text p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* Contact Form */
.contact-form-box {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form-box h2 { font-size: 26px; color: var(--primary); margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--gray-800); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--gray-800);
  transition: var(--transition);
  background: var(--white);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,46,110,0.1); }
.form-group textarea { height: 120px; resize: vertical; }
.required { color: var(--secondary); }

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
}
.form-submit-btn:hover { background: #c1121f; transform: translateY(-2px); }

/* Map */
.map-section { padding: 40px 0 80px; }
.map-section h2 { font-size: 32px; color: var(--primary); text-align: center; margin-bottom: 30px; }
.map-wrapper { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrapper iframe { width: 100%; height: 450px; border: none; display: block; }

/* ===========================
   PAGE HERO (Generic)
=========================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 130px 0 70px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: 44px; color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 17px; }

/* ===========================
   FOOTER
=========================== */
#site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

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

.footer-logo img { height: 40px; margin-bottom: 12px; }
.footer-logo-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 15px;
  margin-left: 8px;
}
.footer-logo-badge span { color: var(--accent); }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-top: 12px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 5px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item .fc-icon {
  width: 28px;
  height: 28px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-contact-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.social-follow-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-top: 20px;
  margin-bottom: 12px;
}

.social-icons { display: flex; gap: 10px; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}
.social-icon:hover { background: var(--secondary); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===========================
   PAGE BANNER
=========================== */
.page-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 110px 0 50px;
  text-align: center;
}
.page-banner h1 { color: var(--white); font-size: 42px; margin-bottom: 10px; }
.page-banner p { color: rgba(255,255,255,0.8); font-size: 17px; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .course-card.full-width { grid-column: auto; display: block; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 5px; box-shadow: var(--shadow-lg); }
  .nav-menu.active { display: flex; }
  .hamburger { display: flex; }
  
  .hero-inner, .achievement-inner, .testimonials-inner, .community-inner, .contact-inner, .director-card { grid-template-columns: 1fr; }
  .director-card.reverse .director-photo { order: 0; }
  .director-card.reverse .director-text { order: 0; }
  
  .toppers-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid.bottom-row { grid-template-columns: 1fr; }
  .stats-grid, .success-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  
  .hero-title { font-size: 32px; }
  .philosophy-banner { padding: 36px; }
  .philosophy-banner .quote-text { font-size: 20px; }
  .section-pad { padding: 50px 0; }
}

@media (max-width: 480px) {
  .faculty-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .nav-wrapper { padding: 0 16px; }
}

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

.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
  font-size: 26px;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }

/* Placeholder images styling */
.img-placeholder {
  background: linear-gradient(135deg, #e0e8ff, #c5d8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  min-height: 200px;
}
