/* ============================================
   MODERN DESIGN SYSTEM - Civil Services Coaching Institute
   Complete Stylesheet
============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-navy: #0a2540;
  --primary-teal: #1a6d6f;
  --primary-amber: #e8b84b;
  --primary-amber-dark: #d4a33a;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1a2c3e;
  --text-muted: #5a6e7c;
  --upsc-blue: #2c5282;
  --mppsc-green: #2f855a;
  --gold-glow: #f0c674;
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 45px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 10px 25px rgba(232, 184, 75, 0.15);
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 32px;
  --font-body: 'Outfit', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --bg-why-us: linear-gradient(135deg, #f8fafc, #f0f4f8);
  --bg-current-affairs: linear-gradient(135deg, #1a3a5c, #0d2a40);
  --bg-scholarship: linear-gradient(115deg, #e8b84b, #d4a33a);
  --bg-faculty: #fff5eb;
  --bg-testimonials: #e8f5e9;
  --bg-calendar: #fce4ec;
  --bg-faq: #e8eaf6;
  --bg-seo: #e0f2f1;
  --bg-final-cta: linear-gradient(135deg, #0a2540, #0d2a40);
  --bg-contact: linear-gradient(135deg, #ffffff, #f8fafc);
  --bg-footer: #0a1a2a;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
.heading-font {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-amber);
  background: rgba(232, 184, 75, 0.12);
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold-glow);
}

.section-header h2,
.section-header h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary-navy);
  margin-bottom: 16px;
  text-align: center;
}

/* SEO section specific h3 styling */
.about-seo-info h3 {
  font-size: 1.5rem !important;
  /* reduced size */
}


.why-us .section-header h2,
.why-us .section-header h3 {
  color: var(--primary-amber);
}

.courses .section-header h2,
.courses .section-header h3 {
  color: var(--primary-teal);
}

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

/* ============================================
   NAVIGATION - FIXED MOBILE STYLES
============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--primary-amber);
  font-weight: 700;
}

.nav-logo {
  height: 30px;
  width: auto;
  margin-left: 8px;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-menu a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--primary-navy);
  background: transparent;
  border: none;
  padding: 8px;
  line-height: 1;
}

.nav-toggle i {
  pointer-events: none;
}

.nav-btn {
  background: linear-gradient(135deg, var(--primary-amber), var(--primary-amber-dark));
  color: var(--primary-navy);
  padding: 8px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }

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

  .nav-menu a {
    padding: 14px 24px;
    font-size: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .nav-btn {
    display: none;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-logo {
    height: 28px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.1rem;
  }

  .nav-logo {
    height: 24px;
  }

  .nav-toggle {
    font-size: 1.5rem;
  }
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  background: linear-gradient(135deg, #0a2540 0%, #0d3555 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.08), transparent);
  border-radius: 50%;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  /* Increased image column width */
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-glow);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 .highlight {
  color: var(--primary-amber);
  border-bottom: 3px solid var(--primary-amber);
  display: inline-block;
}

.hero-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 90%;
}

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

.btn-primary {
  background: var(--primary-amber);
  color: var(--primary-navy);
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-amber-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  border: 1.5px solid var(--primary-amber);
  color: var(--primary-amber);
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  background: transparent;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(232, 184, 75, 0.1);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stats>div {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-amber);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: auto;
  min-height: 400px;
  /* Increased minimum height */
  max-width: 1000px;
  /* Increased width */
  object-fit: cover;
  /* Ensures image covers the area properly */
  border-radius: 24px;
  box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
  display: block;
}

.hero-image:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.4);
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .hero-stats>div {
    align-items: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image {
    max-width: 100%;
    min-height: 250px;
    /* Smaller min-height for mobile */
    height: auto;
    margin: 0 auto;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-stats {
    gap: 30px;
  }

  .hero-container {
    grid-template-columns: 1fr 1.1fr;
  }

  .hero-image {
    max-width: 850px;
    min-height: 350px;
  }
}

@media (min-width: 1280px) {
  .hero-image {
    max-width: 1000px;
    /* Even larger on big screens */
    min-height: 450px;
  }
}

/* ============================================
   STREAMS SECTION
============================================ */
.streams {
  padding: 80px 0;
  background: #ffffff;
}

.streams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stream-card {
  border-radius: var(--border-radius-lg);
  padding: 48px 40px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.upsc-card {
  background: linear-gradient(135deg, #1a3a5c, #0f2a44);
  color: white;
}

.upsc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-amber);
}

.mppsc-card {
  background: linear-gradient(135deg, #1e5a45, #164232);
  color: white;
}

.mppsc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-amber);
}

.stream-card:hover {
  transform: translateY(-8px);
}

.stream-code {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
}

.stream-card h3 {
  font-size: 1.8rem;
  margin: 16px 0 12px;
  color: white;
}

.stream-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 24px;
}

.stream-link {
  color: var(--primary-amber);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   WHY US SECTION - REDESIGNED CARDS (CENTERED CONTENT)
============================================ */
.why-us {
  padding: 80px 0;
  background: var(--bg-why-us);
  position: relative;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-amber), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feature {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-amber), #f0c674);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px -15px rgba(0, 0, 0, 0.15);
}

.feature-inner {
  padding: 24px 20px 24px;
  position: relative;
  text-align: center;
}

.feature-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(232, 184, 75, 0.35);
  letter-spacing: 1px;
  font-family: var(--font-body);
}

.feature-icon-wrapper {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.feature-icon-circle {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.12), rgba(232, 184, 75, 0.05));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(232, 184, 75, 0.2);
}

.feature:hover .feature-icon-circle {
  background: linear-gradient(135deg, var(--primary-amber), var(--primary-amber-dark));
  transform: scale(1.05);
  border-color: transparent;
}

.feature-icon-circle .feature-icon {
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature:hover .feature-icon-circle .feature-icon {
  transform: scale(1.1);
  filter: brightness(0) invert(1);
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary-navy);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.3px;
}

.feature p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-amber);
  text-decoration: none;
  transition: all 0.3s ease;
}

.feature-link:hover {
  transform: translateX(4px);
}

/* ============================================
   COURSES SECTION
============================================ */
.courses {
  padding: 80px 0;
  background: #ffffff;
  overflow: hidden;
}

.courses-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: visible;
  scroll-behavior: smooth;
  gap: 28px;
  padding: 0 24px;
  min-width: max-content;
  animation: scrollCourses 30s linear infinite;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes scrollCourses {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.courses-grid::-webkit-scrollbar {
  display: none;
}

.course {
  background: #cbcdcf;
  border-radius: var(--border-radius-md);
  padding: 28px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex: 0 0 auto;
  min-width: 260px;
  width: 260px;
}

.course:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.course-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.upsc-badge {
  background: #2c5282;
  color: white;
}

.mppsc-badge {
  background: #2f855a;
  color: white;
}

.dual-badge {
  background: var(--primary-navy);
  color: white;
}

.course h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 700;
}

.course p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-tags span {
  background: rgba(0, 0, 0, 0.05);
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--text-muted);
}

/* ============================================
   PRIDE SECTION - 2 cards per row on mobile
============================================ */
.pride-section {
  padding: 80px 0;
  background: var(--bg-why-us);
  text-align: center;
}

.pride-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.pride-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border-bottom: 5px solid var(--primary-amber);
}

.pride-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.pride-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #f7f3ec;
}

.pride-card-info {
  padding: 20px 16px 24px;
}

.pride-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary-navy);
  margin: 0 0 6px 0;
}

.pride-card-rank {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-amber);
  background: rgba(232, 184, 75, 0.12);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

/* ============================================
   INTERVIEW PANEL SECTION - 2 cards per row on mobile
============================================ */
.interview-panel {
  padding: 80px 0;
  background: #ffffff;
}

.interview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}

.interview-card {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
  border-bottom: 4px solid var(--primary-amber);
  max-width: 300px;
  margin: 0 auto;
}

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

.interview-img-wrapper {
  width: 100%;
  background: #fef7e8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  aspect-ratio: 1 / 1;
}

.interview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  border: 3px solid var(--primary-amber);
  background: white;
  transition: transform 0.3s ease;
}

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

.interview-info {
  padding: 20px 15px 25px;
  background: #ffffff;
}

.interview-name {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: #0a2540;
  margin: 0 0 10px 0;
}

.interview-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e8b84b;
  background: rgba(232, 184, 75, 0.12);
  padding: 5px 14px;
  border-radius: 30px;
}

/* ============================================
   RESPONSIVE: 2 cards per row on mobile for Pride & Interview
============================================ */
@media (max-width: 768px) {
  .pride-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .interview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100%;
  }

  .interview-card {
    max-width: 100%;
  }
}

@media (max-width: 550px) {
  .pride-gallery {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

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

/* ============================================
   CURRENT AFFAIRS SECTION
============================================ */
.current-affairs {
  background: var(--bg-current-affairs);
  padding: 80px 0;
  color: white;
}

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

.ca-content h2 {
  font-size: 2rem;
  margin: 16px 0;
  color: white;
}

.ca-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.ca-list {
  list-style: none;
}

.ca-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.ca-list li::before {
  content: "✦";
  color: var(--primary-amber);
}

.ca-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ca-mini {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 20px 24px;
  font-size: 0.85rem;
}

.ca-mini span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-amber);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   FEES SECTION
============================================ */
.fees {
  padding: 80px 0;
  background: linear-gradient(135deg, #fef9f0 0%, #fdf3e4 100%);
  position: relative;
}

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

.fee-card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  padding: 24px 20px;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.fee-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.fee-card.featured {
  background: linear-gradient(135deg, #ffffff, #fffef7);
  border: 2px solid var(--primary-amber);
  box-shadow: 0 20px 40px -15px rgba(232, 184, 75, 0.25);
}

.fee-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 184, 75, 0.15), transparent);
  transition: height 0.4s ease;
}

.fee-card:hover .fee-card-glow {
  height: 100px;
}

.fee-badge {
  display: inline-block;
  background: rgba(232, 184, 75, 0.12);
  color: var(--primary-amber-dark);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-badge {
  background: var(--primary-amber);
  color: var(--primary-navy);
}

.fee-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.fee-exam {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-amber);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.fee-card h3 {
  font-size: 1.4rem;
  margin: 6px 0 10px;
  color: var(--primary-navy);
  font-family: var(--font-heading);
}

.fee-features {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.fee-features li {
  padding: 8px 0;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.fee-features li:last-child {
  border-bottom: none;
}

.fee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  border: 1px solid var(--primary-navy);
  color: var(--primary-navy);
  background: transparent;
}

.fee-btn.primary {
  background: var(--primary-amber);
  border: none;
  color: var(--primary-navy);
}

.fee-btn.primary:hover {
  background: var(--primary-amber-dark);
  transform: translateY(-2px);
}

.fee-btn:hover {
  transform: translateY(-2px);
  background: rgba(232, 184, 75, 0.1);
}

/* ============================================
   SCHOLARSHIP BANNER
============================================ */
.scholarship {
  background: var(--bg-scholarship);
  padding: 60px 0;
  text-align: center;
  color: #0a2540;
}

.scholarship h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.scholarship p {
  margin-bottom: 28px;
  opacity: 0.9;
}

.scholarship-btn {
  background: #0a2540;
  color: #e8b84b;
  padding: 12px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s ease;
}

.scholarship-btn:hover {
  transform: translateY(-2px);
  background: #0d3555;
}

/* ============================================
   FACULTY SECTION - SMALLER SQUARE IMAGES (NO CUTOFF)
============================================ */

.faculty {
  padding: 80px 0;
  background: var(--bg-faculty, #fff5eb);
}

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

.faculty-card {
  text-align: center;
  padding: 28px 20px;
  background: #ffffff;
  border-radius: 20px;
  transition: all 0.3s ease;
  border-bottom: 4px solid #e8b84b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md, 0 12px 30px rgba(0, 0, 0, 0.08));
}

/* SMALLER SQUARE IMAGE - NOT CIRCULAR, REDUCED SIZE */
.faculty-avatar-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 20px;
  display: block;
  border: 3px solid var(--primary-amber, #e8b84b);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0px;
  /* SQUARE - perfect square, no rounding */
}

/* Optional: slightly smaller on mobile */
@media (max-width: 768px) {
  .faculty-avatar-img {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 480px) {
  .faculty-avatar-img {
    width: 110px;
    height: 110px;
  }
}

.faculty-avatar-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(232, 184, 75, 0.25);
}

.faculty-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--primary-navy, #0a2540);
  font-weight: 700;
}

.faculty-subj {
  font-size: 0.7rem;
  color: #e8b84b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  background: rgba(232, 184, 75, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.faculty-card p {
  font-size: 0.85rem;
  color: var(--text-muted, #5a6e7c);
  margin-top: 14px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .faculty {
    padding: 60px 0;
  }

  .faculty-grid {
    gap: 24px;
  }

  .faculty-card {
    padding: 20px 16px;
  }
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */
.testimonials {
  padding: 80px 0;
  background: var(--bg-testimonials);
}

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

.testimonial {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-left: 4px solid #2f855a;
}

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

.testimonial p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: #0a2540;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: #2f855a;
}

/* ============================================
   CALENDAR SECTION
============================================ */
.calendar {
  padding: 80px 0;
  background: var(--bg-calendar);
}

.calendar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cal-card {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 32px;
}

.cal-card h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8b84b;
  display: inline-block;
}

.cal-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cal-item span:first-child {
  font-weight: 500;
}

.cal-item span:last-child {
  color: #e8b84b;
  font-weight: 600;
}



/* ============================================
   SEO CONTENT
============================================ */
.seo-content {
  padding: 80px 0;
  background: var(--bg-seo);
}

.seo-content h2 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  margin-bottom: 15px;
  color: var(--primary-amber);
  text-align: center;
  font-weight: 600;
}

.seo-content h3 {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  margin-bottom: 30px;
  color: var(--text-dark);
  text-align: center;
  font-weight: 500;
  opacity: 0.9;
}

.seo-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FINAL CTA SECTION
============================================ */
.final-cta {
  background: var(--bg-final-cta);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  text-align: center !important;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-light {
  border: 1.5px solid #e8b84b;
  color: #e8b84b;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  background: transparent;
  display: inline-block;
}

.btn-outline-light:hover {
  background: rgba(232, 184, 75, 0.1);
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact-section {
  padding: 80px 0;
  background: var(--bg-contact);
  text-align: center;
}

.contact-section .section-header h2 {
  text-align: center !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(232, 184, 75, 0.15);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  color: var(--text-dark);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-form {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(232, 184, 75, 0.15);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-amber);
  box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.1);
}

.contact-form button {
  width: 100%;
}

/* ============================================
   FOOTER
============================================ */
footer {
  background: var(--bg-footer);
  color: #8ba0ae;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-grid h3 {
  font-size: 1.4rem;
  color: #e8b84b;
  margin-bottom: 16px;
}

.footer-grid h3 span {
  color: white;
}

.footer-logo {
  height: 32px;
  width: 32px;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
  border: 2px solid rgba(232, 184, 75, 0.4);
}

.footer-grid p {
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-grid h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #cbd5e1;
}

.footer-grid a {
  display: block;
  font-size: 0.8rem;
  color: #8ba0ae;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-grid a:hover {
  color: #e8b84b;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 992px) {
  .interview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline-light {
    text-align: center;
  }

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

  .ca-inner {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .section-header h2 {
    font-size: 1.8rem;
  }

  .stream-card {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-info,
  .contact-form {
    padding: 28px 24px;
  }
}

/* ============================================
   GALLERY SECTION - UPDATED FOR 2 COLUMNS ON MOBILE
   (Matches Our Pride & Interview Panel layout)
============================================ */

.gallery-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff, #fef9f0);
}

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

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

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

/* Tablet view - 2 images per row */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile view - 2 images per row (same as Our Pride & Interview Panel) */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Very small devices - keep 2 columns for consistency */
@media (max-width: 550px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* Lightbox modal styles */
.gallery-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.gallery-lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2001;
}

.lightbox-close:hover {
  color: var(--primary-amber);
}

/* ============================================
   UPSC DEDICATED PAGE PROGRAMME CARDS
   ============================================ */
.upsc-programmes {
  overflow: hidden;
}

.programmes-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: visible;
  scroll-behavior: smooth;
  gap: 20px;
  margin-top: 48px;
  min-width: max-content;
  animation: scrollCourses 30s linear infinite;
}


.programme-card {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 320px;
  scroll-snap-align: start;
}

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

.card-header {
  background: var(--primary-navy);
  padding: 16px 12px;
  position: relative;
  color: #ffffff;
}

.card-meta {
  font-size: 0.7rem;
  color: var(--gold-glow);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.card-badge-gold {
  background: var(--primary-amber);
  color: var(--primary-navy);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  position: absolute;
  top: 16px;
  right: 12px;
}

.card-title {
  font-size: 1rem;
  margin: 6px 0 4px;
  font-weight: 700;
  color: #ffffff;
}

.card-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  display: block;
}

.card-body {
  padding: 16px 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.covers-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.covers-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 8px;
}

.covers-list::-webkit-scrollbar {
  width: 4px;
}

.covers-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.covers-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.covers-list li {
  font-size: 0.75rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
}

.check-icon {
  color: var(--primary-amber);
  margin-right: 6px;
  font-weight: 700;
  flex-shrink: 0;
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  margin-top: auto;
}

.card-tags span {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 40px;
}

.card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-card-enrol {
  flex: 1;
  text-align: center;
  text-decoration: none;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  border: 1px solid var(--primary-navy);
}

.btn-card-enrol:hover {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  color: #ffffff;
}

.btn-card-more {
  flex: 1;
  text-align: center;
  text-decoration: none;
  background: transparent;
  color: var(--primary-navy);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(10, 37, 64, 0.15);
  transition: all 0.2s ease;
}

.btn-card-more:hover {
  background: rgba(10, 37, 64, 0.04);
  border-color: var(--primary-navy);
  color: var(--primary-navy);
}

@media (max-width: 992px) {}

@media (max-width: 768px) {}



/* ============================================
   TOPPER VIDEO INTERVIEWS SECTION
============================================ */
.topper-videos-section {
  padding: 80px 0;
  background: #f5efe6;
}

.topper-videos-section .section-header {
  max-width: 700px;
  margin: 0 auto 48px;
}

.topper-videos-section .section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-amber-dark);
  background: transparent;
  padding: 0;
  display: block;
  margin-bottom: 14px;
}

.topper-videos-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.topper-videos-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
}

/* Video Grid */
.video-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Single Video Card */
.video-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Video Thumbnail Area */
.video-thumb {
  position: relative;
  background: var(--primary-navy);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
  /* shown after click */
}

/* AIR Badge */
.air-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary-amber);
  color: var(--primary-navy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 5px;
  z-index: 2;
  text-transform: uppercase;
}

/* Play Button */
.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.play-btn i {
  color: var(--primary-navy);
  font-size: 1.1rem;
  margin-left: 3px;
  /* optical centering for play icon */
}

.video-thumb:hover .play-btn {
  transform: scale(1.1);
  background: var(--gold-glow);
}

/* Video Card Info */
.video-card-info {
  padding: 16px 18px 20px;
  background: #fff;
}

.video-topper-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.video-topper-name span {
  color: var(--primary-amber-dark);
}

.video-topper-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .video-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .video-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TOPPER REVIEWS SECTION
============================================ */
.topper-reviews-section {
  padding: 80px 0;
  background: #f0ebe2;
}

.topper-reviews-section .section-header {
  max-width: 750px;
  margin: 0 auto 48px;
  text-align: center;
}

.topper-reviews-section .section-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-amber-dark);
  background: transparent;
  padding: 0;
  display: block;
  margin-bottom: 14px;
}

.topper-reviews-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.topper-reviews-section>.container>.section-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Review Card */
.review-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 26px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

/* Quote Icon */
.review-quote-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--primary-amber);
  font-family: Georgia, serif;
  font-weight: 900;
}

/* Review Body Text */
.review-body {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.75;
  flex: 1;
}

.review-body .hl {
  color: var(--primary-amber-dark);
  font-weight: 600;
}

/* Candidate Footer */
.review-candidate {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #f0ebe2;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: var(--primary-amber);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.review-candidate-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.review-candidate-info span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FAQ ACCORDION
============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #e8eaf6;
}

.faq-question {
  padding: 18px 22px;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f0f2ff;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-amber);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after,
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 0 22px;
}

.faq-item.open .faq-answer,
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 22px 18px;
}

/* ============================================
   UPSC DEDICATED PAGE SEO CONTENT BLOCK
   ============================================ */
.upsc-seo-content {
  padding: 80px 0;
  background-color: #f5efe6;
  /* warm cream background */
  text-align: center;
}

.upsc-seo-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--primary-navy);
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.upsc-seo-content h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--primary-navy);
  margin-top: 36px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.upsc-seo-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 20px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.upsc-seo-content strong {
  font-weight: 700;
  color: var(--primary-navy);
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* Hero Section */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 0;
  /* Reduced padding from 100px to 70px */
  background: linear-gradient(135deg, #0a2540 0%, #0d3555 100%);
  /* Dark navy gradient matching the main page */
  color: #ffffff;
}

/* Concentric circles design element on the right */
.about-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: 40%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 45px solid rgba(255, 255, 255, 0.015);
  pointer-events: none;
}

.about-hero::before {
  content: '';
  position: absolute;
  right: -200px;
  top: 40%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 45px solid rgba(255, 255, 255, 0.008);
  pointer-events: none;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(232, 184, 75, 0.04), transparent 60%);
  pointer-events: none;
}

.about-hero-grid-content {
  max-width: 760px;
  text-align: left;
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
  /* Reduced margin from 80px to 48px */
}

.about-hero .hero-badge {
  display: inline-block;
  background: rgba(232, 184, 75, 0.1);
  border: 1px solid rgba(232, 184, 75, 0.25);
  color: var(--primary-amber);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  /* Reduced margin from 30px to 18px */
}

.about-hero .hero-badge i {
  color: var(--primary-amber);
  margin-right: 6px;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  /* Reduced margin from 24px to 16px */
  line-height: 1.15;
  font-weight: 700;
}

.about-hero h1 .highlight {
  color: var(--primary-amber);
  border-bottom: none;
  /* No border bottom */
}

.about-hero-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  /* Reduced margin from 24px to 16px */
}

.about-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  /* Reduced margin from 40px to 24px */
}

.about-hero-meta strong {
  color: var(--primary-amber);
  font-weight: 600;
}

.about-hero-meta .meta-dot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
}

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

/* Filled rectangular button matching screenshot */
.about-hero-btns .btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--primary-amber);
  color: #08192a;
  font-weight: 600;
  border-radius: 4px;
  /* Slight border radius */
  text-decoration: none;
  border: 2px solid var(--primary-amber);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.about-hero-btns .btn-primary:hover {
  background-color: var(--primary-amber-dark);
  border-color: var(--primary-amber-dark);
  transform: translateY(-2px);
}

/* Outline rectangular button matching screenshot */
.about-hero-btns .btn-outline-light {
  display: inline-block;
  padding: 14px 36px;
  background-color: transparent;
  color: #ffffff;
  font-weight: 600;
  border-radius: 4px;
  /* Slight border radius */
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.about-hero-btns .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Stats Bar Style */
.about-hero-stats-bar {
  background: #061524;
  /* Slightly darker than main hero background */
  border-top: 1px solid rgba(232, 184, 75, 0.3);
  /* Thin gold border top */
  padding: 30px 0;
  position: relative;
  z-index: 2;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.stats-bar-col {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-bar-col:last-child {
  border-right: none;
}

.stats-bar-col .stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-amber);
  font-family: var(--font-heading);
  margin-bottom: 6px;
}

.stats-bar-col .stat-lbl {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Responsive adjustment for Stats Bar and Hero Layout */
@media (max-width: 991px) {
  .about-hero-grid-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 80px 0 0;
  }

  .about-hero::after,
  .about-hero::before {
    display: none;
    /* Hide background circles on smaller screens */
  }

  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }

  .stats-bar-col:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 480px) {
  .stats-bar-grid {
    grid-template-columns: 1fr;
    gap: 24px 0;
  }

  .stats-bar-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
  }

  .stats-bar-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* Story Section */
.about-story {
  padding: 80px 0;
  background: #ffffff;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: flex-start;
}

.about-story-content .section-tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--primary-amber);
}

.about-story-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--primary-navy);
  margin-bottom: 16px;
}

.about-story-content p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-story-content p:first-of-type {
  font-size: 1.05rem;
  color: var(--primary-navy);
  font-weight: 500;
}

.about-story-content p:last-of-type {
  margin-bottom: 0;
}

.about-story-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

/* Founder Card Styles */
.founder-card {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.founder-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.founder-img {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-amber);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.founder-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.founder-title {
  font-size: 0.75rem;
  color: var(--primary-amber);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.founder-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.founder-badge {
  display: inline-block;
  background: rgba(232, 184, 75, 0.1);
  border: 1px solid rgba(232, 184, 75, 0.3);
  color: var(--primary-amber);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Mission & Vision Section Redesign */
.about-mission {
  padding: 100px 0;
  background: linear-gradient(135deg, #fef9f0 0%, #fdf3e4 100%);
  /* Warm cream gradient matching other page layouts */
}

.section-header.left {
  text-align: left;
  margin-bottom: 48px;
}

.section-header.left h2,
.section-header.left h3 {
  text-align: left;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--primary-navy);
  margin-top: 12px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-header.left p {
  text-align: left;
  margin: 0;
  max-width: 800px;
  font-size: 1rem;
  color: var(--text-muted);
}

.mission-new-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mission-new-card {
  border-radius: var(--border-radius-lg);
  padding: 32px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mission-new-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-amber);
  z-index: 10;
}

.mission-new-card:hover {
  transform: translateY(-8px);
}

.mission-new-card.vision-card {
  background: linear-gradient(135deg, #1a3a5c, #0f2a44);
  color: #ffffff;
}

.mission-new-card.mission-card {
  background: linear-gradient(135deg, #1e5a45, #164232);
  color: #ffffff;
}

.mission-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.vision-card .mission-icon-circle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-card .mission-icon-circle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-icon-circle i {
  font-size: 1.6rem;
}

.vision-card .mission-icon-circle i {
  color: var(--primary-amber);
  /* Gold/Amber icon color */
}

.mission-card .mission-icon-circle i {
  color: #ff5252;
  /* Red arrow target color */
}

.mission-new-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.mission-new-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  z-index: 2;
}

/* Watermark styles */
.card-watermark {
  position: absolute;
  bottom: -40px;
  right: -10px;
  font-family: var(--font-heading);
  font-size: 14rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.vision-card .card-watermark {
  color: rgba(255, 255, 255, 0.03);
}

.mission-card .card-watermark {
  color: rgba(255, 255, 255, 0.03);
}

/* Responsive Grid */
@media (max-width: 768px) {
  .mission-new-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission-new-card {
    padding: 36px 28px;
  }
}

/* Core Values Section */
.about-values {
  padding: 100px 0;
  background: #ffffff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 184, 75, 0.2);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--primary-amber);
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Why Section */
.about-why {
  padding: 80px 0;
  background: var(--bg-why-us);
}

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

.about-why-card {
  background: #f5f5f5;
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-md);
}

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

.about-why-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.12), rgba(232, 184, 75, 0.05));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.about-why-icon i {
  font-size: 2rem;
  color: var(--primary-amber);
}

.about-why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary-navy);
}

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

/* ============================================
   OUR FACULTY SECTION
   ============================================ */
.about-faculty {
  padding: 100px 0;
  background: #fdfbf7;
}

.about-faculty .faculty-grid {
  display: grid;
  grid-template-columns: 260px repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

/* All cards base */
.about-faculty .faculty-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.about-faculty .faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Founder card special styling */
.about-faculty .faculty-founder {
  border: 2px solid var(--primary-amber);
  background: linear-gradient(160deg, #fffdf5, #fff8e0);
}

.founder-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary-amber);
  border: 1px solid var(--primary-amber);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Avatar circle */
.about-faculty .faculty-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  letter-spacing: 0.02em;
}

.about-faculty .founder-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #c9a227, #e8b84b);
  font-size: 1.4rem;
  color: #fff;
}

.about-faculty .faculty-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-align: center;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.faculty-title {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faculty-subject {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Tags */
.about-faculty .faculty-tags {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.about-faculty .faculty-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-faculty .faculty-tag.upsc {
  background: rgba(30, 77, 140, 0.1);
  color: #1e4d8c;
}

.about-faculty .faculty-tag.mppsc {
  background: rgba(26, 92, 66, 0.1);
  color: #1a5c42;
}

.about-faculty .faculty-tag.both {
  background: rgba(124, 58, 30, 0.1);
  color: #7c3a1e;
}

.about-faculty .faculty-card>p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

/* Horizontal separator in founder card */
.about-faculty .faculty-founder>p {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 14px;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 1200px) {
  .about-faculty .faculty-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-faculty .faculty-founder {
    grid-column: span 1;
  }
}

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

@media (max-width: 480px) {
  .about-faculty .faculty-grid {
    grid-template-columns: 1fr;
  }
}

/* Milestones Section */
.about-milestones {
  padding: 100px 0;
  background: #ffffff;
}

.about-milestones .section-header {
  margin-bottom: 60px;
}

.about-milestones .timeline {
  position: relative;
  padding-left: 60px;
  max-width: 760px;
  margin: 0 auto;
}

.about-milestones .timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-amber);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--primary-amber);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary-amber);
}

.timeline-content {
  padding-left: 0;
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 6px;
}

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--primary-navy);
  font-family: var(--font-heading);
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Desktop Alternating Center Timeline */
@media (min-width: 769px) {
  .about-milestones .timeline {
    padding-left: 0;
  }

  .about-milestones .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    width: 50%;
    margin-bottom: 60px;
  }

  /* Odd items on left, right-aligned text */
  .timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
  }

  /* Even items on right, left-aligned text */
  .timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
  }

  /* Center dots on the middle line */
  .timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
    left: auto;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
  }
}

/* Detailed SEO Info Section */
.about-seo-info {
  padding: 100px 0;
  background: var(--bg-seo, #e0f2f1);
  border-top: 4px solid var(--primary-amber);
}

.about-seo-info .info-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-seo-info h2,
.about-seo-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-navy);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-seo-info h2:first-of-type,
.about-seo-info h3:first-of-type {
  margin-top: 0;
}

.about-seo-info p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.about-seo-info p strong {
  font-weight: 700;
  color: var(--primary-navy);
}

/* Gallery Section */
.about-gallery {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.about-gallery-img {
  width: 100%;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.about-gallery-img:hover {
  transform: scale(1.03);
}

/* Join CTA Section */
.about-join-cta {
  padding: 100px 0;
  background: var(--bg-final-cta);
  text-align: center;
  color: #ffffff;
  border-top: 4px solid var(--primary-amber);
  /* Gold top accent border */
}

.about-join-cta .cta-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-join-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.about-join-cta p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 40px;
}

.about-join-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Filled Button style */
.about-join-cta .btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--primary-amber);
  color: #0a2240;
  font-weight: 600;
  border-radius: 30px;
  /* Pill shape */
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  border: 2px solid var(--primary-amber);
}

.about-join-cta .btn-primary:hover {
  background-color: var(--primary-amber-dark);
  border-color: var(--primary-amber-dark);
  transform: translateY(-2px);
}

/* Outline Button style */
.about-join-cta .btn-outline-gold {
  display: inline-block;
  padding: 14px 36px;
  background-color: transparent;
  color: var(--primary-amber);
  font-weight: 600;
  border-radius: 30px;
  /* Pill shape */
  text-decoration: none;
  border: 1.5px solid var(--primary-amber);
  /* Clear gold outline */
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.about-join-cta .btn-outline-gold:hover {
  background-color: rgba(232, 184, 75, 0.1);
  border-color: var(--primary-amber);
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {

  .about-story-grid,
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero {
    padding: 60px 0;
  }

  .about-hero-image {
    max-width: 100%;
  }
}

/* ============================================
   CONTACT PAGE - Map Left, Form Right
============================================ */
.contact-page-section {
  padding: 80px 0 100px;
  background: #f7f8fa;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

/* --- Left Column: Branch Card --- */
.contact-branch-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.branch-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.branch-header>i {
  font-size: 1.4rem;
  color: var(--primary-amber);
  margin-top: 4px;
  flex-shrink: 0;
}

.branch-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0 0 6px;
  font-family: var(--font-body);
}

.branch-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.branch-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-amber), var(--primary-amber-dark));
  color: var(--primary-navy);
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.branch-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.map-embed-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  line-height: 0;
}

.branch-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.branch-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.branch-detail-item i {
  color: var(--primary-amber);
  width: 16px;
  flex-shrink: 0;
}

/* --- Right Column: Form Card --- */
.contact-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0 0 6px;
  font-family: var(--font-body);
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-navy);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  padding: 11px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-amber);
  box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.15);
  background: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Form Validation Styles ───────────────────────────── */
.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12) !important;
  background: #fff8f8;
}

.field-error {
  display: block;
  font-size: 0.75rem;
  color: #e53e3e;
  margin-top: 4px;
  font-weight: 500;
  padding-left: 2px;
}

.form-group input.input-error:focus,
.form-group textarea.input-error:focus {
  border-color: #e53e3e !important;
}


/* End of About Page Styles */