/* ===========================
   ANAND TUTORIALS – STYLE.CSS
   Theme: Black · Red · White
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --primary: #1a1a1a;
  --primary-dark: #0d0d0d;
  --accent: #c0392b;
  --accent-dark: #96281b;
  --accent-light: #e74c3c;
  --light: #f7f7f7;
  --light-red: #fdf2f2;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666666;
  --border: #e5e5e5;
  --gradient: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  --gradient-red: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
  --gradient-hero: linear-gradient(135deg, #111111 0%, #2c2c2c 60%, #1a1a1a 100%);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .14);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .20);
  --shadow-red: 0 8px 32px rgba(192, 57, 43, .25);
  --radius: 14px;
  --radius-lg: 24px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* ── Scroll Progress ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-red);
  z-index: 9999;
  transition: width .1s linear;
}

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* ── whatsapp btn ── */

#whatsapp-btn {
  position: fixed;
  bottom: 80px;
  /* above back-to-top button */
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
}

#whatsapp-btn:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

.logo {
  height: 40px;
  width: auto;
  transition: var(--transition);
  filter: brightness(0) invert(1);
  padding: auto;

}

/* ── Navbar ── */
.navbar {
  /* background: transparent; */
  background: #fff;
  padding: 12px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .10);
  padding: 8px 0;
  border-bottom: 3px solid var(--accent);
}

.navbar.scrolled .nav-link {
  color: var(--text) !important;
}

.navbar-logo {
  height: 60px;
  width: auto;
  transition: var(--transition);
  padding: auto;


}

.navbar.scrolled .navbar-logo {
  filter: none;
}

.navbar-brand {
  padding: 0;
}

.nav-link {
  color: rgba(0, 0, 0, 0.88) !important;
  font-weight: 500;
  font-size: .88rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: var(--light-red);
  color: var(--accent) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  background: var(--light-red);
  color: var(--accent) !important;
}

.btn-primary-custom {
  background: var(--gradient-red);
  color: #fff !important;
  font-weight: 600;
  border-radius: 30px;
  padding: 9px 22px !important;
  transition: var(--transition);
  border: none;
  font-size: .88rem;
  box-shadow: var(--shadow-red);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(192, 57, 43, .4);
}

.btn-admission-nav {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  border-radius: 30px;
  border-color: var(--accent);
  padding: 8px 20px !important;
  border: 2px solid rgba(255, 255, 255, .55) !important;
  transition: var(--transition);
  font-size: .87rem;
}

.btn-admission-nav:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .9) !important;
}

.navbar.scrolled .btn-admission-nav {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}

.navbar.scrolled .btn-admission-nav:hover {
  background: var(--light-red);
}

/* ── Hero ── */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 90px 0 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(192, 57, 43, .08) 0%, transparent 60%);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
  background: var(--accent);
}

.shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
  animation: float 9s ease-in-out infinite;
}

.shape-2 {
  width: 350px;
  height: 350px;
  bottom: 80px;
  left: -100px;
  animation: float 11s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 35%;
  right: 22%;
  animation: float 7s ease-in-out infinite 2s;
  background: rgba(255, 255, 255, .03);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-28px) scale(1.04);
  }
}

.hero-logo-display {
  animation: fadeInUp .5s ease both;
  margin-bottom: 24px;
}

.hero-logo-display img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 57, 43, .18);
  border: 1px solid rgba(192, 57, 43, .45);
  color: #e74c3c;
  border-radius: 30px;
  padding: 7px 18px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp .7s ease both;
}

.hero-tagline {
  font-size: .88rem;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 300;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 18px;
  animation: fadeInUp .7s ease .1s both;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1.18;
  margin-bottom: 20px;
  animation: fadeInUp .7s ease .15s both;
}

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

.hero-desc {
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
  line-height: 1.78;
  max-width: 520px;
  margin-bottom: 36px;
  animation: fadeInUp .7s ease .3s both;
}

.hero-ctas {
  animation: fadeInUp .7s ease .45s both;
}

.btn-hero-primary {
  background: var(--gradient-red);
  color: #fff;
  font-weight: 700;
  border-radius: 30px;
  padding: 14px 34px;
  font-size: 1rem;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-red);
  display: inline-flex;
  align-items: center;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(192, 57, 43, .45);
  color: #fff;
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 14px 34px;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, .45);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .8);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  animation: fadeInUp .7s ease .6s both;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hero-stat h3 {
  font-size: 2rem;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
}

.hero-stat p {
  color: rgba(255, 255, 255, .55);
  font-size: .8rem;
  margin: 0;
}

.hero-card {
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
  animation: fadeInRight .9s ease .3s both;
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hero-card-head img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.hero-card-head span {
  font-size: .75rem;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hero-card-item:last-child {
  border: none;
  padding-bottom: 0;
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hero-card-icon.red {
  background: var(--gradient-red);
  color: #fff;
}

.hero-card-icon.dark {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7);
}

.hero-card-item h6 {
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: #fff;
}

.hero-card-item p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
  margin: 0;
}

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

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

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

/* ── Sections ── */
.section-tag {
  display: inline-block;
  background: var(--light-red);
  color: var(--accent);
  border: 1px solid rgba(192, 57, 43, .2);
  border-radius: 30px;
  padding: 5px 16px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

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

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 540px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-red);
  border-radius: 4px;
  margin: 18px 0;
}

.section-divider.center {
  margin: 18px auto;
}

/* ===========================
   NEET DEVOTEE BATCH SECTION
   =========================== */
.neet-section {
  padding: 80px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.neet-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(192, 57, 43, .07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Info Cards Row */
.neet-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.neet-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.neet-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 14px;
}

.neet-info-icon.accent {
  background: var(--gradient-red);
}

.neet-info-card h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.neet-info-card p {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin: 0;
  font-family: 'Playfair Display', serif;
  line-height: 1.4;
}

.neet-info-card p small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Shared card base */
.neet-tests-card,
.neet-keypoints-card,
.neet-special-card,
.neet-app-card,
.neet-why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  height: 100%;
}

.neet-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* Test Items */
.neet-test-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.neet-test-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--light);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.neet-test-item:hover {
  background: #f0f0f0;
}

.neet-test-item.ut {
  border-left-color: #2471a3;
}

.neet-test-item.ct {
  border-left-color: #1e8449;
}

.neet-test-item.fst {
  border-left-color: var(--accent);
}

.neet-test-badge {
  min-width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.neet-test-badge.ut {
  background: #2471a3;
}

.neet-test-badge.ct {
  background: #1e8449;
}

.neet-test-badge.fst {
  background: var(--accent);
}

.neet-test-info strong {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  color: var(--primary);
}

.neet-test-info span {
  display: block;
  font-size: .8rem;
  color: var(--text-muted);
  margin: 2px 0 6px;
}

.neet-test-meta {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* Key Points */
.neet-keypoints-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.neet-keypoints-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
  line-height: 1.4;
}

.neet-keypoints-list li i {
  color: #27ae60;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Special Sessions */
.neet-special-grid {
  display: flex;
  gap: 12px;
}

.neet-special-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 10px;
  background: var(--light);
  border-radius: var(--radius);
}

.neet-special-item i {
  font-size: 1.6rem;
  color: var(--accent);
}

.neet-special-item span {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

.neet-special-item small {
  font-weight: 400;
  color: var(--text-muted);
}

/* App Card */
.neet-app-category {
  background: var(--light);
  border-radius: var(--radius);
  padding: 14px;
}

.neet-app-category-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.neet-app-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.neet-app-category ul li {
  font-size: .83rem;
  color: var(--text);
  padding-left: 12px;
  position: relative;
}

.neet-app-category ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Why Choose */
.neet-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.neet-why-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--light);
  border-radius: var(--radius);
  font-size: .87rem;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition);
}

.neet-why-item:hover {
  background: var(--light-red);
  color: var(--accent);
}

.neet-why-item i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.neet-enroll-cta .btn-hero-primary {
  display: flex;
}

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

  .neet-special-grid {
    flex-direction: column;
  }
}


/* ── Feature Cards ── */
.why-section {
  padding: 60px 0;
  background: #fff;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(192, 57, 43, .15);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-red);
  color: #fff;
}

.feature-card h5 {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-muted);
  font-size: .89rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Courses ── */
.courses-section {
  padding: 60px 0;
  background: var(--light);
}

.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border);
}

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

.course-card-header {
  background: var(--gradient);
  padding: 28px 28px 20px;
  color: #fff;
}

.course-card-header .course-level {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: .74rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

.course-card-header h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.course-card-header p {
  font-size: .83rem;
  color: rgba(255, 255, 255, .65);
  margin: 0;
}

.course-card-body {
  padding: 24px 28px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
}

.course-meta-item i {
  color: var(--accent);
}

.course-fee {
  font-size: 1.45rem;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-weight: 700;
}

.course-fee small {
  font-size: .75rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Stats ── */
.stats-section {
  padding: 80px 0;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(192, 57, 43, .2) 0%, transparent 70%);
}

.stat-item {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.stat-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.stat-item p {
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  margin-top: 6px;
}

/* ── Faculty ── */
.faculty-section {
  padding: 100px 0;
  background: #fff;
}

.faculty-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: #fff;
}

.faculty-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

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

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

.faculty-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  font-family: 'Playfair Display', serif;
  border: 4px solid var(--light);
}

.faculty-card h5 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.faculty-card .subject-badge {
  background: var(--light-red);
  color: var(--accent);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .78rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

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

/* ── Testimonials ── */
.testimonials-section {
  padding: 100px 0;
  background: var(--light);
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(192, 57, 43, .15);
}

.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  font-family: 'Playfair Display', serif;
  margin-bottom: 12px;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 2px;
  font-size: .9rem;
}

.testimonial-author small {
  color: var(--text-muted);
  font-size: .78rem;
}

.stars {
  color: var(--accent);
  font-size: .85rem;
  margin-bottom: 12px;
}

/* ── CTA ── */
.cta-section {
  padding: 90px 0;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(192, 57, 43, .12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  border: 1px solid rgba(192, 57, 43, .07);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events:none; 
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ── Footer ── */
.footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, .7);
  padding: 70px 0 0;
  border-top: 3px solid var(--accent);
}

.footer-logo {
  height: 58px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 20px;
}

.footer h5 {
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, .5);
  font-size: .87rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

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

.footer-contact-item span {
  font-size: .87rem;
  color: rgba(255, 255, 255, .6);
}

.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: .82rem;
  color: rgba(255, 255, 255, .3);
}

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

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

.social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ── Page Hero ── */
.page-hero {
  background: var(--gradient-hero);
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

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

.page-hero p {
  color: rgba(255, 255, 255, .72);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.breadcrumb-item a {
  color: var(--accent);
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, .55);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .3);
}

/* ── About ── */
.about-section {
  padding: 100px 0;
}


.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-red);
  color: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: var(--shadow-red);
}

.about-badge-float h3 {
  font-size: 2rem;
  margin: 0;
  color: #fff;
}

.about-badge-float p {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
}

.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient-red);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px var(--light-red);
}

.timeline-item h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: .87rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Courses Page ── */
.filter-btns .btn {
  border-radius: 30px;
  margin: 4px;
  font-size: .85rem;
  font-weight: 500;
}

.filter-btns .btn.active,
.filter-btns .btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.course-detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  background: #fff;
}

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

.course-detail-header {
  background: var(--gradient);
  padding: 30px;
  color: #fff;
}

.course-detail-body {
  padding: 28px;
}

.course-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.info-chip {
  background: var(--light);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.info-chip i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 2px;
}

.info-chip span {
  font-size: .78rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.info-chip strong {
  font-size: .88rem;
  color: var(--text);
}

.syllabus-list {
  list-style: none;
  padding: 0;
}

.syllabus-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text);
}

.syllabus-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.syllabus-list li:last-child {
  border: none;
}

/* ── Results ── */

.hero-heading {
  padding: 80px 0;
  background: #fff;
}

.result-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.result-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(192, 57, 43, .2);
}

.result-rank {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
}

.result-rank.gold {
  background: var(--gradient-red);
}

.result-rank.silver {
  background: linear-gradient(135deg, #555, #888);
}

.result-score {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  font-weight: 900;
}

.result-name {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.result-class {
  font-size: .8rem;
  color: var(--text-muted);
}

/* 
.carousel-inner {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.carousel-student-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;

}

.carousel-slide-inner {
  position: relative;
}

.carousel-student-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(20, 30, 80, 0.92) 0%, rgba(20, 30, 80, 0.5) 70%, transparent 100%);
  padding: 36px 28px 28px;
  color: #fff;
  text-align: center;
}

.carousel-score {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffd700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  line-height: 1;
  margin-bottom: 8px;
}

.carousel-name {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.carousel-subject {
  font-size: 0.92rem;
  opacity: 0.82;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary, #1a237e);
  opacity: 0.4;
  border: none;
  margin: 0 4px;
  bottom: -44px;
}

.carousel-indicators .active {
  opacity: 1;
  width: 28px;
  border-radius: 5px;
} */

/* .thumb-item {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.thumb-item.active-thumb {
  border-color: var(--primary, #1a237e);
  transform: scale(1.12);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-control-prev {
    left: -8px !important;
  }

  .carousel-control-next {
    right: -8px !important;
  }

  .carousel-student-img {
    height: 380px;
  }

  .carousel-score {
    font-size: 2rem;
  }

  .carousel-name {
    font-size: 1.1rem;
  }
}

.carousel-control-prev {
  left: -56px;
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.carousel-control-next {
  right: -56px;
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
} */

/* ── gallery── */

.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}

.gallery-card {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-card .gallery-inner {
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  text-align: center;
  padding: 40px 20px;
  min-height: 160px;
  position: relative;
}

.gallery-card .gallery-inner.alt {
  background: linear-gradient(135deg, #1a5276, #2e86c1);
}

.gallery-card .gallery-inner.alt2 {
  background: linear-gradient(135deg, #1e4d2b, #27ae60);
}

.gallery-card .gallery-inner.alt3 {
  background: linear-gradient(135deg, #6d1f6d, #a855f7);
}

.gallery-card .gallery-inner.alt4 {
  background: linear-gradient(135deg, #7b3f00, #c0743d);
}

.gallery-card .gallery-inner.tall {
  min-height: 260px;
}

.gallery-inner i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  opacity: .5;
  display: block;
}

.gallery-inner span {
  font-size: .82rem;
  font-weight: 500;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay i {
  font-size: 2rem;
  color: #fff;
}

@media(max-width:768px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media(max-width:480px) {
  .gallery-masonry {
    columns: 1;
  }
}


/* ── Contact  ── */
.contact-strip {
  background: var(--primary);
  padding: 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
}

.contact-strip-inner {
  border-radius: 0;
}

.contact-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 36px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  transition: var(--transition);
}

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

.contact-strip-item:hover {
  background: rgba(255, 255, 255, .04);
}

.contact-strip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-strip-icon.accent {
  background: var(--gradient-red);
  color: #fff;
}

.contact-strip-item:hover .contact-strip-icon {
  background: var(--gradient-red);
}

.contact-strip-item>div span {
  font-size: .73rem;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.contact-strip-item>div a {
  display: block;
  color: rgba(255, 255, 255, .85);
  font-size: .88rem;
  font-weight: 500;
  transition: var(--transition);
  line-height: 1.6;
}

.contact-strip-item>div a:hover {
  color: var(--accent-light);
}

/* ── Main Contact Section ── */
.contact-main-section {
  padding: 90px 0 80px;
  background: var(--light);
}

/* ── Contact Form Card ── */
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-red);
}

/* ── Form Input Styles ── */
.form-floating-custom {
  position: relative;
  margin-bottom: 0;
}

.form-floating-custom .form-label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  display: block;
}

.required {
  color: var(--accent);
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap>i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: .95rem;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition);
}

.input-icon-wrap .form-control,
.input-icon-wrap .form-select {
  padding-left: 42px;
}

.input-icon-wrap:focus-within>i {
  color: var(--accent);
}

.form-floating-custom textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: .88rem;
  padding-top: 11px;
  padding-bottom: 11px;
  transition: var(--transition);
  background: var(--light);
  color: var(--text);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .1);
  background: #fff;
}

.contact-form .form-control::placeholder {
  color: #bbb;
  font-size: .85rem;
}

/* Submit Button */
.btn-contact-submit {
  background: var(--gradient-red);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 40px;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--shadow-red);
  letter-spacing: .02em;
}

.btn-contact-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(192, 57, 43, .4);
}

.btn-contact-submit:disabled {
  opacity: .8;
  cursor: not-allowed;
}

/* ── Success State ── */
.contact-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 18px;
  animation: bounceIn .6s ease both;
}

.contact-success h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-success p {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.75;
}

.contact-success p a {
  color: var(--accent);
  font-weight: 600;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  50% {
    transform: scale(1.08);
  }

  70% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ── Contact Info Card ── */
.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(192, 57, 43, .12);
}

.contact-info-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
}

.contact-info-card h4 i {
  color: var(--accent);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, .8);
  flex-shrink: 0;
  transition: var(--transition);
}

.ci-icon.accent {
  background: var(--gradient-red);
  color: #fff;
}

.contact-info-row:hover .ci-icon {
  background: var(--gradient-red);
  color: #fff;
}

.ci-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ci-content strong {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ci-content a,
.ci-content span {
  font-size: .87rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.65;
  transition: var(--transition);
  display: block;
}

.ci-content a:hover {
  color: var(--accent-light);
}

/* WhatsApp Button */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: .93rem;
  transition: var(--transition);
  text-align: center;
  width: 100%;
}

.whatsapp-btn i {
  font-size: 1.2rem;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
}

/* ── Map Card ── */
.map-embed-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.map-embed-header {
  background: var(--gradient);
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 20px;
  display: flex;
  align-items: center;
}

.map-embed-header i {
  color: var(--accent);
}

.map-embed-body iframe {
  display: block;
  width: 100%;
}

.map-directions-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 20px;
  background: var(--light);
  color: var(--accent);
  font-size: .86rem;
  font-weight: 700;
  transition: var(--transition);
  border-top: 1px solid var(--border);
}

.map-directions-btn:hover {
  background: var(--light-red);
  color: var(--accent-dark);
}

/* ── Batch Timings Section ── */
.batch-timings-section {
  padding: 90px 0;
  background: #fff;
}

.timing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.timing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  transition: var(--transition);
}

.timing-card:hover,
.timing-card.featured {
  border-color: rgba(192, 57, 43, .25);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.timing-card:hover::before,
.timing-card.featured::before {
  background: var(--gradient-red);
}

.timing-card.featured {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}

.timing-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  margin: 0 auto 18px;
  transition: var(--transition);
}

.timing-card.featured .timing-icon {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.timing-card:hover:not(.featured) .timing-icon {
  background: var(--gradient-red);
  color: #fff;
}

.timing-card h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timing-card.featured h5 {
  color: #fff;
}

.timing-time {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.timing-card.featured .timing-time {
  color: var(--accent-light);
}

.timing-card p {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.timing-card.featured p {
  color: rgba(255, 255, 255, .65);
}

.timing-mode {
  display: inline-block;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.timing-mode.offline {
  background: var(--light-red);
  color: var(--accent);
}

.timing-mode.online {
  background: rgba(34, 197, 94, .1);
  color: #16a34a;
}

.timing-card.featured .timing-mode.offline {
  background: rgba(192, 57, 43, .35);
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .contact-strip-item {
    padding: 22px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

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

  .contact-form-card {
    padding: 32px 24px;
  }
}

@media (max-width: 767px) {
  .contact-form-card {
    padding: 24px 18px;
  }

  .contact-main-section {
    padding: 60px 0 50px;
  }

  .batch-timings-section {
    padding: 60px 0;
  }

  .contact-info-card {
    padding: 26px 22px;
  }

  .timing-card {
    padding: 24px 20px;
  }
}


/* ── Admission Modal ── */
.modal-admission .modal-content {
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
}

.modal-admission .modal-header {
  background: var(--gradient);
  padding: 24px 28px;
  border: none;
  border-bottom: 3px solid var(--accent);
}

.modal-admission .modal-header h5 {
  color: #fff;
  font-size: 1.3rem;
}

.modal-admission .modal-header .btn-close {
  filter: invert(1);
}

.modal-admission .modal-body {
  padding: 28px;
}

.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: .88rem;
  padding: 10px 14px;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .1);
}

.btn-submit-form {
  background: var(--gradient-red);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 36px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  width: 100%;
}

.btn-submit-form:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-success i {
  font-size: 3rem;
  color: #22c55e;
  display: block;
  margin-bottom: 12px;
}

.form-success h5 {
  color: var(--primary);
  margin-bottom: 6px;
}

.form-success p {
  color: var(--text-muted);
  font-size: .9rem;
}

/* ── AOS ── */
.aos-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.aos-init.animated {
  opacity: 1;
  transform: none;
}

.aos-delay-1 {
  transition-delay: .1s !important;
}

.aos-delay-2 {
  transition-delay: .2s !important;
}

.aos-delay-3 {
  transition-delay: .3s !important;
}

.aos-delay-4 {
  transition-delay: .4s !important;
}

/* ── Toast ── */
#notif-toast {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 1080;
  background: #1a1a1a;
  color: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: .88rem;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  max-width: 280px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 4px solid var(--accent);
}

#notif-toast.show {
  transform: translateX(0);
}

#notif-toast i {
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

#notif-toast p {
  margin: 0;
  line-height: 1.4;
}

#notif-toast strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
}

/* ── Typed cursor ── */
#typed-text::after {
  content: '|';
  animation: blink 1s infinite;
  color: var(--accent);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ── Responsive ── */
@media(max-width:991px) {
  .hero-stats {
    gap: 24px;
  }

  .hero-card {
    margin-top: 40px;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.97);
    padding: 16px;
    border-radius: 12px;
    margin-top: 8px;
    border-top: 2px solid var(--accent);
  }

  .navbar.scrolled .navbar-collapse {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
  }

  .navbar.scrolled .nav-link {
    color: var(--text) !important;
  }
}

@media(max-width:767px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .about-badge-float {
    position: static;
    margin-top: 16px;
    display: inline-block;
  }

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

  .hero-stats {
    gap: 20px;
  }

  .hero-stat h3 {
    font-size: 1.6rem;
  }
}


/* ========== Gallery IMAGE WRAPPER ========== */
.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #f0f4f8;
}

/* Height variants for visual rhythm */
.gallery-img-wrap.h-normal {
  height: 220px;
}

.gallery-img-wrap.h-tall {
  height: 310px;
}

.gallery-img-wrap.h-short {
  height: 170px;
}

/* The actual <img> */
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

/* ========== PLACEHOLDER (shown before real image is added) ========== */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #90a4b7;
  font-family: 'DM Sans', sans-serif;
  background: linear-gradient(135deg, #eef2f7 0%, #dce6f0 100%);
}

.gallery-placeholder i {
  font-size: 2.2rem;
  opacity: 0.45;
}

.gallery-placeholder span {
  font-size: 0.78rem;
  opacity: 0.6;
  text-align: center;
  padding: 0 12px;
}

/* ========== HOVER OVERLAY ========== */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 50, 100, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
  color: #fff;
}

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

.gallery-overlay i {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.gallery-overlay .overlay-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

.gallery-overlay .overlay-cat {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ========== CAPTION BELOW IMAGE ========== */
.gallery-caption {
  padding: 12px 14px;
  background: #fff;
}

.gallery-caption .cap-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a3c6e;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-caption .cap-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  color: #8899aa;
}

/* ========== CATEGORY BADGE ========== */
.cat-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 5px;
}

.cat-badge.classroom {
  background: #e8f4fd;
  color: #1a7abf;
}

.cat-badge.events {
  background: #fdf0e8;
  color: #c4620a;
}

.cat-badge.results {
  background: #eaf7ee;
  color: #1a8a3c;
}

/* ========== MODAL ========== */
#galleryModal .modal-dialog {
  max-width: 680px;
}

#galleryModal .modal-img-wrap {
  width: 100%;
  max-height: 460px;
  overflow: hidden;
  background: #0d1f3c;
  display: flex;
  align-items: center;
  justify-content: center;
}

#galleryModal .modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 460px;
}

/* ========== UPLOAD NOTICE ========== */
.upload-notice {
  padding: 32px;
  background: #f4f8fc;
  border-radius: 16px;
  border: 2px dashed #c5d8ec;
  text-align: center;
  margin-top: 48px;
}

.upload-notice i {
  font-size: 2.4rem;
  color: #1a3c6e;
  opacity: 0.35;
  display: block;
  margin-bottom: 12px;
}

/* ========================================================
   ANAND TUTORIALS — TOPPER CAROUSEL  (carousel.css)
   Drop this <link> AFTER style.css in your <head>
   ======================================================== */

/* ── CSS Variables (override if your style.css differs) ── */
:root {
  --car-gold: #f5a623;
  --car-navy: #0d1b3e;
  --car-navy-mid: #1a2f5e;
  --car-white: #ffffff;
  --car-shadow: rgba(13, 27, 62, 0.18);
  --car-radius: 18px;
  --car-transition: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Section wrapper ── */
.topper-section {
  padding: 0 0 56px;
  position: relative;
}

/* ── Stage: masks overflow so only visible cards show ── */
.carousel-stage {
  overflow: hidden;
  border-radius: 8px;
  padding: 24px 0 32px;
  /* vertical breathing room for shadows */
}

/* ── Track: scrolls horizontally via translateX ── */
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform var(--car-transition);
  will-change: transform;
}

/* ── Individual card ── */
.tenth-topper-card {
  flex: 0 0 auto;
  /* Width is computed dynamically in JS; fallback: */
  width: 260px;
  border-radius: var(--car-radius);
  background: var(--car-white);
  box-shadow:
    0 4px 16px var(--car-shadow),
    0 1px 4px rgba(0, 0, 0, .06);
  overflow: hidden;
  transition:
    transform var(--car-transition),
    box-shadow var(--car-transition);
  cursor: pointer;
}

.tenth-topper-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow:
    0 16px 40px var(--car-shadow),
    0 4px 12px rgba(0, 0, 0, .1);
}

/* ── Card inner (image wrapper) ── */
.tenth-topper-card .card-inner {
  position: relative;
  width: 100%;
  /* 4:5 portrait ratio looks great for student photos */
  padding-bottom: 125%;
  overflow: hidden;
}

.tenth-topper-card .card-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.tenth-topper-card:hover .card-inner img {
  transform: scale(1.06);
}

/* ── Gold shimmer overlay on hover ── */
.tenth-topper-card .card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(245, 166, 35, .0) 40%,
      rgba(245, 166, 35, .18) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tenth-topper-card:hover .card-inner::after {
  opacity: 1;
}

/* ── Arrow buttons ── */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition:
    background var(--car-transition),
    transform var(--car-transition),
    box-shadow var(--car-transition);

  /* Glass morphism look */
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(13, 27, 62, .2);
  color: var(--car-navy);
}

.carousel-arrow.left {
  left: -20px;
}

.carousel-arrow.right {
  right: -20px;
}

.carousel-arrow:hover {
  background: var(--car-gold);
  color: var(--car-white);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(245, 166, 35, .4);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

/* ── Dot indicators ── */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background var(--car-transition),
    width var(--car-transition),
    border-radius var(--car-transition);
}

.carousel-dot.active {
  background: var(--car-gold);
  width: 28px;
  border-radius: 4px;
}

/* ── Disabled arrow state ── */
.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Drag cursor while dragging ── */
.carousel-stage.is-dragging {
  cursor: grabbing;
}

.carousel-stage:not(.is-dragging) {
  cursor: grab;
}

/* ── Responsive: cards-per-view is handled by JS, but
       keep the font/spacing tight on small screens ── */
@media (max-width: 767px) {
  .carousel-arrow.left {
    left: 4px;
  }

  .carousel-arrow.right {
    right: 4px;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
}