/* ============================================================
   KALYANI PVT. ITI — Custom Stylesheet
   Color Scheme: Navy Blue (#003087), Red (#C8102E), White (#FFFFFF)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --blue: #2563eb;
  --blue-dark: #0f172a;
  --blue-light: #3b82f6;
  --red: #C8102E;
  --red-dark: #a00d25;
  --white: #ffffff;
  --off-white: #f8fafc;
  --light-gray: #f1f5f9;
  --text-dark: #0f172a;
  --text-mid: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', sans-serif;
  --font-head: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

.section-pad-sm {
  padding: 70px 0;
}

.section-tag {
  display: none !important;
  /* display: inline-flex; */
  align-items: center;
  gap: 6px;
  background: rgba(200, 16, 46, .08);
  color: var(--red);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(200, 16, 46, .2);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 18px;
}

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

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 650px;
  line-height: 1.8;
}

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

.section-header .section-sub {
  margin: 0 auto;
}

.divider-line {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 10px;
  margin: 16px auto 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}



.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark)) !important;
  color: var(--white);
}



.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 16, 46, .45);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--blue);
  color: var(--white);
}

.divider-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ── Preloader ──────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s, visibility .5s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 120px;
  margin: 0 auto 20px;
  animation: pulse 1.4s ease-in-out infinite;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, .2);
  border-top-color: var(--red);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

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

  50% {
    opacity: .7;
    transform: scale(.97)
  }
}

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

#header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-top {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  padding: 8px 0;
}

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

.header-top-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.header-top-info a {
  color: rgba(255, 255, 255, .85);
  font-size: .8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-top-info a i {
  color: var(--red);
}

.header-top-info a:hover {
  color: var(--white);
}

.header-top-social {
  display: flex;
  gap: 10px;
}

.header-top-social a {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
}

.header-top-social a:hover {
  background: var(--red);
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

nav.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
}

nav.main-nav ul li {
  position: relative;
}

nav.main-nav ul li a {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: block;
  white-space: nowrap;
}

nav.main-nav ul li a:hover,
nav.main-nav ul li a.active {
  color: var(--blue);
  background: var(--off-white);
}

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

.header-actions .btn {
  padding: 10px 22px;
  font-size: .83rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 16px 0;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav ul li a {
  display: block;
  padding: 12px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

.mobile-nav ul li a:hover {
  color: var(--red);
  background: var(--off-white);
}

/* ══════════════════════════════════════════════════════════════
   SPLIT HERO SLIDER
══════════════════════════════════════════════════════════════ */
.split-hero-section {
  padding: 140px 0 80px;
  background-color: #fcfdfe;
  min-height: 85vh;
  /* Increase height slightly */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 5;
  /* Boost z-index to be above potential overlaps */
}

.hero-content-left,
.hero-content-right {
  opacity: 1 !important;
  /* Force visibility */
  visibility: visible !important;
}

.split-hero-slider {
  width: 100%;
  height: 100%;
}

/* Smooth ease-in-out override for Swiper slide transition */
.split-hero-slider .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-split-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

/* Left Content */
.hero-content-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #2563eb;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
  border: 1px solid #dbeafe;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: #2563eb;
  border-radius: 50%;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin: 0;
}

.hero-title span {
  color: #2563eb;
}

.hero-desc {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.6;
  max-width: 540px;
  margin: 0;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-blue {
  padding: 16px 32px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.btn-hero-blue:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.2);
  color: #ffffff;
}

.btn-hero-white {
  padding: 16px 32px;
  background: #ffffff;
  color: #1e293b;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #e2e8f0;
  transition: all 0.3s ease;
}

.btn-hero-white:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
}

.trust-item i {
  color: #10b981;
  font-size: 1rem;
}

/* Right Content - Image Card Frame */
.hero-content-right {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 12px;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

/* The halo shadow behind the card */
.hero-img-card::before {
  content: '';
  position: absolute;
  background: linear-gradient(135deg, #e0e7ff 0%, #fae8ff 100%);
  border-radius: 38px;
  z-index: -1;
  opacity: 0.8;
  transform: translate(12px, 12px);
}

.hero-img-card img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

/* Floating Rating Card */
.floating-rating {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #f1f5f9;
  z-index: 10;
}

.rating-star {
  width: 44px;
  height: 44px;
  background: #fef3c7;
  color: #d97706;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.rating-text {
  display: flex;
  flex-direction: column;
}

.rating-text strong {
  font-size: 1rem;
  color: #0f172a;
  font-weight: 800;
}

.rating-text span {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

/* Slider Controls Styles */
.hero-pagination {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 20;
}

.hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #2563eb;
  width: 28px;
  border-radius: 10px;
}

.hero-nav-prev,
.hero-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  z-index: 25;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-nav-prev {
  left: 30px;
}

.hero-nav-next {
  right: 30px;
}

.hero-nav-prev:hover,
.hero-nav-next:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

/* Animations per slide — slow, smooth, calm */
.swiper-slide-active .hero-content-left>* {
  animation: slideFadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.swiper-slide-active .hero-badge {
  animation-delay: 0.2s;
}

.swiper-slide-active .hero-title {
  animation-delay: 0.35s;
}

.swiper-slide-active .hero-desc {
  animation-delay: 0.5s;
}

.swiper-slide-active .hero-btns {
  animation-delay: 0.65s;
}

.swiper-slide-active .hero-trust {
  animation-delay: 0.8s;
}

.swiper-slide-active .hero-content-right {
  animation: slideFadeInRight 1.1s cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation-delay: 0.3s;
}

@keyframes slideFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

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

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

/* Responsive Split Hero */
@media (max-width: 1200px) {
  .hero-nav-prev {
    left: 15px;
  }

  .hero-nav-next {
    right: 15px;
  }
}

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

  .hero-content-left {
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

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

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

  .hero-nav-prev,
  .hero-nav-next {
    display: none;
  }
}

@media (max-width: 640px) {
  .split-hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .floating-rating {
    left: 5px;
    scale: 0.85;
    bottom: 10px;
  }

  .hero-img-card {
    padding: 8px;
    border-radius: 20px;
  }

  .hero-img-card::before {
    border-radius: 24px;
  }
}

/* ══════════════════════════════════════════════════════════════
   WHY CHOOSE ITI AFTER 10TH — DARK SPLIT SECTION
══════════════════════════════════════════════════════════════ */
.why-iti-split-section {
  background: linear-gradient(135deg, #0a0f1e 0%, #0d1526 50%, #0f172a 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow accents */
.why-iti-split-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.why-iti-split-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

/* Two-column grid */
.why-iti-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── LEFT side ── */
.why-iti-split-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-iti-split-tag {
  display: none;
  /* display: inline-flex; */
  align-items: center;
  gap: 6px;
  background: rgba(200, 16, 46, 0.18);
  color: #f87171;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(200, 16, 46, 0.3);
  width: fit-content;
}

.why-iti-split-heading {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

.why-iti-split-heading span {
  color: var(--red);
}

.why-iti-split-highlight {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: #60a5fa;
  margin: 0;
  letter-spacing: -0.3px;
}

.why-iti-split-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  max-width: 520px;
  margin: 0;
}

/* Bullet list */
.why-iti-split-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 8px 0 0;
  padding: 0;
}

.why-iti-split-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.iti-check-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  margin-top: 2px;
}

.iti-list-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.iti-list-text strong {
  font-family: var(--font-head);
  font-size: 0.975rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.iti-list-text span {
  font-size: 0.855rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.55;
}

/* ── RIGHT side — Dual Images ── */
.why-iti-split-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.iti-dual-img-wrap {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.iti-img-top,
.iti-img-bottom {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.iti-img-top {
  margin-top: 0;
}

.iti-img-bottom {
  margin-top: 36px;
  /* vertical offset for staggered effect */
}

.iti-img-top img,
.iti-img-bottom img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.iti-img-top:hover img,
.iti-img-bottom:hover img {
  transform: scale(1.04);
}

/* Responsive */
@media (max-width: 1024px) {
  .why-iti-split-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .why-iti-split-desc {
    max-width: 100%;
  }

  .iti-dual-img-wrap {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .why-iti-split-section {
    padding: 72px 0;
  }

  .why-iti-split-heading {
    font-size: 2rem;
  }

  .iti-img-top img,
  .iti-img-bottom img {
    height: 210px;
  }

  .iti-img-bottom {
    margin-top: 24px;
  }
}

/* ══════════════════════════════════════════════════════════════
   OUR PREMIUM ITI COURSES
══════════════════════════════════════════════════════════════ */
.premium-courses-section {
  background: #f8fafc;
  padding: 100px 0;
}

/* Header */
.premium-courses-header {
  text-align: center;
  margin-bottom: 56px;
}

.premium-courses-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  line-height: 1.2;
}

.premium-courses-title span {
  color: var(--red);
}

.premium-courses-sub {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.75;
}

/* 2×2 Grid */
.premium-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Individual Card */
.pc-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pc-card:hover {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

/* Icon Badge */
.pc-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.pc-icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.pc-icon-amber {
  background: #fffbeb;
  color: #d97706;
}

.pc-icon-red {
  background: #fff1f2;
  color: #e11d48;
}

.pc-icon-green {
  background: #f0fdf4;
  color: #16a34a;
}

/* Title & Desc */
.pc-card-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.3;
}

.pc-card-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 20px;
}

/* Duration / Eligibility Meta Row */
.pc-meta-row {
  display: flex;
  gap: 32px;
  padding: 14px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
}

.pc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pc-meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94a3b8;
}

.pc-meta-value {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

/* Career Opportunities Block */
.pc-career-block {
  margin-bottom: 24px;
  flex: 1;
}

.pc-career-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.pc-career-label i {
  color: #94a3b8;
  font-size: 0.78rem;
}

.pc-career-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pc-career-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.855rem;
  line-height: 1.5;
  color: #475569;
}

.pc-career-list li i {
  font-size: 0.78rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Color-coded check icons */
.pc-career-govt i {
  color: #2563eb;
}

.pc-career-pvt i {
  color: #16a34a;
}

.pc-career-self i {
  color: #d97706;
}

.pc-career-list li strong {
  color: #0f172a;
  font-weight: 700;
}

/* Dual Button Row */
.pc-card-btns {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.pc-apply-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.pc-apply-btn:hover {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.4);
}

.pc-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 18px;
  background: #ffffff;
  color: #2563eb;
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1.5px solid #dbeafe;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}

.pc-call-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 900px) {
  .premium-courses-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .premium-courses-section {
    padding: 72px 0;
  }

  .pc-card {
    padding: 24px 20px 22px;
  }

  .pc-card-btns {
    flex-direction: column;
  }

  .pc-apply-btn,
  .pc-call-btn {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════
   REAL STUDENTS. REAL SUCCESS. (RESTORED STYLE)
══════════════════════════════════════════════════════════════ */
#student-success {
  background: var(--white);
  overflow: hidden;
  padding: 100px 0;
}

.success-slider-wrapper {
  position: relative;
  margin-top: 40px;
}

.success-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.success-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.15);
  border-color: rgba(37, 99, 235, 0.2);
}

.success-card-img {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.success-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.success-card-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.success-card-body {
  padding: 20px 22px 24px;
  flex-grow: 1;
}

.success-role-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.success-role-badge.electrician {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.success-role-badge.fitter {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.success-role-badge.welder {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.success-placed-label {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.success-company {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-dark);
}

.success-company i {
  color: #2563eb;
  font-size: 1rem;
}

/* Navigation Arrows */
.success-nav-prev,
.success-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  z-index: 25;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.success-nav-prev {
  left: -60px;
}

.success-nav-next {
  right: -60px;
}

.success-nav-prev:hover,
.success-nav-next:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

@media (max-width: 1350px) {
  .success-nav-prev {
    left: -20px;
  }

  .success-nav-next {
    right: -20px;
  }
}

@media (max-width: 1100px) {

  .success-nav-prev,
  .success-nav-next {
    display: none;
  }
}

@media (max-width: 768px) {
  #student-success {
    padding: 60px 0;
  }
}

/* ══════════════════════════════════════════════════════════════
   OUR PROGRAMMES — REDESIGNED
══════════════════════════════════════════════════════════════ */
.programmes-section {
  background: linear-gradient(160deg, #0a0f1e 0%, #0f172a 40%, #131c33 100%) !important;
  position: relative;
  overflow: hidden;
}

.programmes-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
  pointer-events: none;
}

.programmes-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.08), transparent 70%);
  pointer-events: none;
}

.programmes-tag {
  background: rgba(200, 16, 46, 0.2) !important;
  color: #f87171 !important;
  border-color: rgba(200, 16, 46, 0.35) !important;
}

.programmes-title {
  color: #ffffff !important;
}

.programmes-title span {
  color: #60a5fa !important;
}

.programmes-sub {
  color: rgba(255, 255, 255, 0.6) !important;
}

.programmes-section .divider-line {
  background: linear-gradient(90deg, #f87171, #60a5fa) !important;
}

/* Filter Buttons - Dark Theme */
.programmes-section .filter-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
}

.programmes-section .filter-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.programmes-section .filter-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.5);
}

/* Course Cards - Dark Glassmorphism */
.programmes-section .course-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.programmes-section .course-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5);
}

/* Accent Bar */
.course-accent-bar {
  height: 4px;
  width: 100%;
  transition: height 0.3s ease;
}

.course-card[data-accent="amber"] .course-accent-bar {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.course-card[data-accent="steel"] .course-accent-bar {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.course-card[data-accent="orange"] .course-accent-bar {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.course-card[data-accent="teal"] .course-accent-bar {
  background: linear-gradient(90deg, #14b8a6, #2dd4bf);
}

.course-card[data-accent="purple"] .course-accent-bar {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.course-card[data-accent="rose"] .course-accent-bar {
  background: linear-gradient(90deg, #f43f5e, #fb7185);
}

.programmes-section .course-card:hover .course-accent-bar {
  height: 5px;
}

/* Thumb overrides */
.programmes-section .course-thumb {
  height: 200px;
  border-radius: 0;
}

.programmes-section .course-badge {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.course-card[data-accent="amber"] .course-badge {
  border-color: rgba(245, 158, 11, 0.4);
}

.course-card[data-accent="steel"] .course-badge {
  border-color: rgba(59, 130, 246, 0.4);
}

.course-card[data-accent="orange"] .course-badge {
  border-color: rgba(249, 115, 22, 0.4);
}

.course-card[data-accent="teal"] .course-badge {
  border-color: rgba(20, 184, 166, 0.4);
}

.course-card[data-accent="purple"] .course-badge {
  border-color: rgba(139, 92, 246, 0.4);
}

.course-card[data-accent="rose"] .course-badge {
  border-color: rgba(244, 63, 94, 0.4);
}

/* Body overrides */
.programmes-section .course-body {
  padding: 24px;
}

.programmes-section .course-title {
  color: #ffffff;
  font-size: 1.1rem;
}

.programmes-section .course-meta-item {
  color: rgba(255, 255, 255, 0.5);
}

.programmes-section .course-meta-item i {
  color: rgba(255, 255, 255, 0.3);
}

.course-card[data-accent="amber"] .course-meta-item i {
  color: #f59e0b;
}

.course-card[data-accent="steel"] .course-meta-item i {
  color: #3b82f6;
}

.course-card[data-accent="orange"] .course-meta-item i {
  color: #f97316;
}

.course-card[data-accent="teal"] .course-meta-item i {
  color: #14b8a6;
}

.course-card[data-accent="purple"] .course-meta-item i {
  color: #8b5cf6;
}

.course-card[data-accent="rose"] .course-meta-item i {
  color: #f43f5e;
}

.programmes-section .course-desc {
  color: rgba(255, 255, 255, 0.5);
}

.programmes-section .course-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.programmes-section .course-seats {
  color: rgba(255, 255, 255, 0.45);
}

.programmes-section .course-seats strong {
  color: #f87171;
}

/* Apply Button */
.course-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.4s ease;
}

.course-card[data-accent="amber"] .course-apply-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.course-card[data-accent="steel"] .course-apply-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.course-card[data-accent="orange"] .course-apply-btn {
  background: linear-gradient(135deg, #f97316, #ea580c);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.course-card[data-accent="teal"] .course-apply-btn {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3);
}

.course-card[data-accent="purple"] .course-apply-btn {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

.course-card[data-accent="rose"] .course-apply-btn {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.3);
}

.course-apply-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.course-card[data-accent="amber"] .course-apply-btn:hover {
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}

.course-card[data-accent="steel"] .course-apply-btn:hover {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.course-card[data-accent="orange"] .course-apply-btn:hover {
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
}

.course-card[data-accent="teal"] .course-apply-btn:hover {
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.5);
}

.course-card[data-accent="purple"] .course-apply-btn:hover {
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
}

.course-card[data-accent="rose"] .course-apply-btn:hover {
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.5);
}

/* View All Button Dark Theme */
.btn-programmes-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-programmes-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   WHY CHOOSE ITI
══════════════════════════════════════════════════════════════ */
#why-iti {
  background: var(--off-white);
  counter-reset: why-counter;
}

/* ── Why Choose Us (Ultimate Bento Redesign) ────────────────── */
#why-iti {
  background: radial-gradient(circle at top right, #f8fafc, #ffffff);
  position: relative;
  overflow: hidden;
}

/* Background Decoration */
#why-iti::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(200, 16, 46, 0.03);
  filter: blur(80px);
  border-radius: 50%;
}

.why-iti-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 24px;
  counter-reset: why-counter;
}

.why-iti-card {
  grid-column: span 4;
  background: var(--white);
  padding: 40px;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

/* Featured Bento Cards */
.why-iti-card:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
}

.why-iti-card:nth-child(2) {
  grid-column: span 5;
  grid-row: span 2;
}

.why-iti-card:nth-child(3) {
  grid-column: span 4;
}

.why-iti-card:nth-child(4) {
  grid-column: span 4;
}

.why-iti-card:nth-child(5) {
  grid-column: span 4;
}

.why-iti-card:nth-child(6) {
  grid-column: span 12;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding: 30px 50px;
}

@media (max-width: 1024px) {
  .why-iti-card:nth-child(1) {
    grid-column: span 12;
    grid-row: span 1;
  }

  .why-iti-card:nth-child(2) {
    grid-column: span 12;
    grid-row: span 1;
  }

  .why-iti-card {
    grid-column: span 6;
  }

  .why-iti-card:nth-child(6) {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .why-iti-card {
    grid-column: span 12 !important;
  }

  .why-iti-card:nth-child(6) {
    flex-direction: column;
    text-align: center;
  }
}

.why-iti-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
  z-index: 2;
}

.why-iti-card:nth-child(1) .why-card-title {
  color: var(--white);
}

.why-iti-card:nth-child(1) .why-card-text {
  color: rgba(255, 255, 255, 0.7);
}

.why-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
  transition: all 0.5s ease;
}

.why-iti-card:nth-child(1) .why-card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.why-iti-card:hover .why-card-icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.1) rotate(-10deg);
}

.why-iti-card:nth-child(6) .why-card-icon {
  margin-bottom: 0;
}

.why-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.why-card-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.why-iti-card:hover::after {
  transform: translateY(-10px);
  color: rgba(37, 99, 235, 0.06);
}

.why-iti-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.why-iti-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.2);
}

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

.why-card-icon {
  width: 70px;
  height: 70px;
  background: #f8fafc;
  color: var(--blue);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 28px;
  transition: all 0.5s ease;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.why-iti-card:hover .why-card-icon {
  background: var(--blue);
  color: var(--white);
  transform: rotateY(180deg) scale(1.1);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.4);
}

.why-card-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 18px;
  position: relative;
}

.why-card-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  opacity: 0.9;
}

/* ══════════════════════════════════════════════════════════════
   COURSES
══════════════════════════════════════════════════════════════ */
#courses {
  background: var(--white);
}

.courses-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 30px;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: var(--font-head);
  font-size: .825rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

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

.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

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

.course-thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.course-card:hover .course-thumb img {
  transform: scale(1.08);
}

.course-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.course-body {
  padding: 22px;
}

.course-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

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

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

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

.course-desc {
  font-size: .85rem;
  color: var(--text-mid);
  margin-bottom: 18px;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.course-seats {
  font-size: .8rem;
  color: var(--text-light);
}

.course-seats strong {
  color: var(--red);
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM COURSE CARDS (Metadata & Details)
══════════════════════════════════════════════════════════════ */
.premium-courses-section {
  padding: 100px 0;
  background: var(--white);
}

.premium-courses-header {
  text-align: center;
  margin-bottom: 60px;
}

.premium-courses-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.premium-courses-title span {
  color: var(--red);
}

.premium-courses-sub {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.premium-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.pc-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  /* Changed to accommodate top image */
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Ensure image corners are clipped */
}

.pc-card-media {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.pc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pc-card:hover .pc-card-media img {
  transform: scale(1.1);
}

.pc-card-content {
  padding: 30px 15px 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
  border-color: rgba(37, 99, 235, 0.1);
}

.pc-card-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  margin-top: -65px;
  /* Pull icon up into the image area slightly */
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffffff;
}

.pc-icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.pc-icon-amber {
  background: #fffbeb;
  color: #d97706;
}

.pc-icon-red {
  background: #fef2f2;
  color: #dc2626;
}

.pc-icon-green {
  background: #f0fdf4;
  color: #16a34a;
}

.pc-card-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.pc-card-desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Metadata Row (Duration & Eligibility) */
.pc-meta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.pc-meta-item {
  flex: 1;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.pc-meta-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pc-meta-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

/* Career Block */
.pc-career-block {
  margin-bottom: 35px;
  padding-top: 25px;
  border-top: 1px dashed #e2e8f0;
}

.pc-career-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-career-label i {
  color: #2563eb;
}

.pc-career-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pc-career-list li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

.pc-career-list li i {
  margin-top: 3px;
  font-size: 0.85rem;
}

.pc-career-govt i {
  color: #2563eb;
}

.pc-career-pvt i {
  color: #16a34a;
}

.pc-career-self i {
  color: #d97706;
}

.pc-career-list li span strong {
  color: #0f172a;
}

/* Card Buttons */
.pc-card-btns {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.pc-apply-btn {
  flex: 1.5;
  background: #2563eb;
  color: #ffffff;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none !important;
}

.pc-apply-btn:hover {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.4);
}

.pc-call-btn {
  flex: 1;
  background: #ffffff;
  color: #0f172a;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pc-call-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

@media (max-width: 1024px) {
  .premium-courses-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pc-card {
    padding: 0px;
  }
}

@media (max-width: 640px) {
  .pc-card-btns {
    flex-direction: column;
  }

  .pc-meta-row {
    flex-direction: row;
  }
}

/* ══════════════════════════════════════════════════════════════
   WHY KALYANI IS BEST CHOICE (Grid)
══════════════════════════════════════════════════════════════ */
.best-choice-section {
  padding: 100px 0;
  background: #f8fafc;
}

.best-choice-header {
  text-align: center;
  margin-bottom: 60px;
}

.best-choice-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.best-choice-title span {
  color: var(--red);
}

.best-choice-sub {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
}

.best-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.best-choice-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 24px;
  box-shadow: 0 30px 60px -12px rgba(200, 16, 46, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(200, 16, 46, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform: translateY(-12px);
}

.best-choice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  transition: height 0.4s ease;
  z-index: -1;
}

.best-choice-card:hover::before {
  height: 100%;
}

.best-choice-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 40px 80px -15px rgba(200, 16, 46, 0.2);
  border-color: rgba(200, 16, 46, 0.4);
}

.best-card-icon {
  width: 50px;
  height: 50px;
  background: var(--red);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(200, 16, 46, 0.1);
  box-shadow: 0 10px 20px rgba(200, 16, 46, 0.15);
}

.best-choice-card:hover .best-card-icon {
  transform: rotateY(180deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(200, 16, 46, 0.3);
}

.best-card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.best-card-text {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

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

  .best-choice-section {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .best-choice-grid {
    grid-template-columns: 1fr;
  }

  .best-choice-section {
    padding: 60px 0;
  }

  .best-choice-title {
    font-size: 1.8rem;
  }

  .best-choice-sub {
    font-size: 1rem;
  }
}


/* ══════════════════════════════════════════════════════════════
   PLACEMENT PARTNERS
══════════════════════════════════════════════════════════════ */
#partners {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.partners-track-wrap {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.partners-track-wrap::before,
.partners-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
}

.partners-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.partners-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.partners-track {
  display: flex;
  width: max-content;
  animation: scroll-track 40s linear infinite;
  align-items: center;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-track {
  from {
    transform: translateX(0);
  }

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

.partner-logo-item {
  flex-shrink: 0;
  width: 220px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 15px;
  background: #f8fafc;
  border-radius: 20px;
  border: 1.5px solid #f1f5f9;
  padding: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.partner-logo-item:hover {
  background: #ffffff;
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--blue);
}

.partner-logo-item img {
  max-height: 140px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  /* filter: grayscale(100%);  */
  /* opacity: 0.5; */
  transition: all 0.4s ease;
}

.partner-logo-item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Partner company names fallback */
.partner-name {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-mid);
  text-align: center;
}

/* Testimonials Section Removed */

/* ══════════════════════════════════════════════════════════════
   CAMPUSES
══════════════════════════════════════════════════════════════ */
#campuses {
  background: var(--off-white);
}

.campuses-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.campus-tab {
  padding: 12px 36px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.campus-tab.active {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
}

.campus-tab:hover:not(.active) {
  background: var(--light-gray);
  transform: translateY(-2px);
}

.campus-panel {
  display: none;
}

.campus-panel.active {
  display: block;
}

.campus-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.campus-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 14px;
}

.campus-img-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  background: var(--blue-dark);
}

.campus-img-item::after {
  content: '\f00e';
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  width: 50px;
  height: 50px;
  background: var(--white);
  color: var(--blue-dark);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 15;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.campus-img-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.5));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
  pointer-events: none;
}

.campus-img-item:hover::before {
  opacity: 1;
}

.campus-img-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.campus-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.campus-img-item:hover img {
  transform: scale(1.15);
  filter: blur(2px);
}

.campus-img-item.large {
  grid-row: span 2;
}

.campus-info h3 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 18px;
  line-height: 1.2;
}

.campus-info .section-tag {
  margin-bottom: 15px;
}

.campus-info p {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 30px;
}

.campus-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 35px;
}

.campus-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  padding: 15px 20px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.campus-feature-item:hover {
  border-color: var(--blue);
  background: var(--white);
  transform: translateY(-10px);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.15);
}

.campus-feature-item i {
  color: var(--blue);
  font-size: 1.1rem;
}

/* ══════════════════════════════════════════════════════════════
   ADMISSION PROCESS / CALLBACK
══════════════════════════════════════════════════════════════ */
.admission-process-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  position: relative;
  overflow: hidden;
}

.admission-process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.admission-process-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.admission-process-info {
  color: #ffffff;
}

.admission-process-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.admission-process-title span {
  color: var(--red);
}

.admission-process-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

.admission-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admission-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  line-height: 0.8;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  /* Adjusted for better alignment with large numbers */
}

@media (max-width: 1024px) {
  .admission-process-wrap {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .admission-process-info {
    max-width: 100%;
    text-align: center;
  }

  .admission-process-sub {
    margin: 0 auto 40px;
  }

  .admission-steps {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .admission-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .step-number {
    font-size: 4rem;
    margin-bottom: -10px;
  }

  .step-content {
    margin-top: 0;
  }

  .admission-form-wrap {
    padding: 30px 20px;
  }
}

.step-content h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.step-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* Form Side */
.admission-form-wrap {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.admission-form-wrap h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 24px;
}

.admission-form-wrap .form-group {
  margin-bottom: 20px;
}

.admission-form-wrap label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.admission-form-wrap input,
.admission-form-wrap select,
.admission-form-wrap textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.3s ease;
  outline: none;
  resize: vertical;
}

.admission-form-wrap input:focus,
.admission-form-wrap select:focus,
.admission-form-wrap textarea:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.admission-submit-btn {
  width: 100%;
  padding: 16px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.admission-submit-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.form-direct-call {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  margin: 16px 0 0;
}

.form-direct-call a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.form-success {
  display: none;
  background: #d1fae5;
  color: #065f46;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .88rem;
  margin-top: 12px;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════ */
#faq {
  background: var(--white);
}

.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  background: var(--white);
  gap: 12px;
}

.faq-question-text {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.faq-item.open .faq-question-text {
  color: var(--blue);
}

.faq-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--blue);
  transition: transform .3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 22px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 22px 20px;
}

.faq-answer p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════════
   SEO TEXT SECTION
══════════════════════════════════════════════════════════════ */
.seo-text-section {
  background: #f0f2f5;
  padding: 38px 0;
  border-top: 1px solid #e0e3e8;
}

.seo-text-content {
  font-family: var(--font-main);
  font-size: 0.85rem;
  line-height: 1.85;
  color: #4a5568;
  margin: 0;
}

.seo-text-content strong {
  color: #1a202c;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER — REDESIGNED
══════════════════════════════════════════════════════════════ */
.footer-redesigned {
  background: #0c1425;
  color: rgba(255, 255, 255, 0.75);
}

.footer-redesigned .footer-main {
  padding: 56px 0 40px;
}

.footer-grid-new {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

/* Brand Column */
.footer-brand-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand-identity img {
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 10px;
  display: inline-block;
}

.footer-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.2px;
}

.footer-brand-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 24px;
  max-width: 340px;
}

.footer-phone-numbers {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-phone-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-phone-item i {
  color: #3b82f6;
  font-size: 0.85rem;
}

.footer-phone-item:hover {
  color: #60a5fa;
}

/* Footer Headings */
.footer-heading-new {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 22px;
}

/* Footer Links */
.footer-links-new {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-new a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: block;
}

.footer-links-new a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Campuses */
.footer-campus-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-campus-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-campus-name {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: #60a5fa;
  margin: 0;
}

.footer-campus-address {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  max-width: 260px;
}

/* Footer Bottom */
.footer-bottom-new {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom-new .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: auto;
}

.footer-tagline-right {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  font-style: italic;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-grid-new {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid-new {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand-col {
    grid-column: auto;
  }

  .footer-bottom-new .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   STUDENT SUCCESS SECTION
══════════════════════════════════════════════════════════════ */
.student-success-slider-container {
  padding: 20px 0;
}

.success-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.success-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.2);
}

.success-card-img {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-card-img img {
  width: 55%;
  height: 78%;
  object-fit: cover;
  object-position: top center;
  text-align: center;
  margin: auto;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* Focus on faces */
}

.success-card:hover .success-card-img img {
  transform: scale(1.1);
}

.success-card-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 15px 15px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  z-index: 2;
}

.success-card-body {
  padding: 25px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-role-badge {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  width: fit-content;
}

.success-card-body {
  padding: 25px;
  position: relative;
}

.success-role-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.success-role-badge.electrician {
  background: #eff6ff;
  color: #2563eb;
}

.success-role-badge.fitter {
  background: #fff7ed;
  color: #ea580c;
}

.success-role-badge.generic {
  background: #f3f4f6;
  color: #4b5563;
}

.success-placed-label {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 4px;
  /* Reduced gap */
}

.success-company {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  width: 58%;
  /* Even more compact box */
}

.success-card:hover .success-company {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.1);
}

.success-card-body>img {
  position: absolute;
  right: 27px;
  bottom: 5px;
  height: 105px;
  max-width: 105px;
  width: auto;

  object-fit: contain;
  /* filter: grayscale(1) opacity(0.8) brightness(0.9); */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.success-card:hover .success-card-body>img {
  filter: grayscale(0) opacity(1) brightness(1);
  transform: scale(1.05) translateY(-2px);
}

.success-company i {
  color: var(--blue);
  font-size: 1.3rem;
  transition: all 0.4s ease;
}

.success-card:hover .success-company i {
  transform: scale(1.2);
  color: var(--red);
}

/* Placement Detail Badge */
.placement-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #059669;
  box-shadow: var(--shadow-sm);
  z-index: 10;
  border: 1px solid rgba(5, 150, 105, 0.1);
}

/* Navigation Arrows */
.success-nav-prev,
.success-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  color: var(--blue-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.success-nav-prev {
  left: -70px;
}

.success-nav-next {
  right: -70px;
}

.success-nav-prev:hover,
.success-nav-next:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1400px) {
  .success-nav-prev {
    left: -20px;
  }

  .success-nav-next {
    right: -20px;
  }
}

@media (max-width: 768px) {

  .success-nav-prev,
  .success-nav-next {
    display: none;
  }
}

/* ── Scroll To Top ──────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(200, 16, 46, .4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 10002;
  border: none;
}

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

#scroll-top:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════════ */
/* AOS Visibility Fix - Disable initial hiding to prevent permanent invisibility */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity .6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-24px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(24px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .why-kalyani-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-kalyani-img-main img {
    height: 340px;
  }

  .why-kalyani-badge {
    right: 20px;
  }

  .callback-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .campus-content {
    gap: 28px;
  }

  .admission-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {

  nav.main-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .campus-content {
    grid-template-columns: 1fr;
  }

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

  .header-top {
    display: none;
  }

  .why-kalyani-img-wrap {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-stats-bar .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stat {
    flex: 1 1 40%;
  }
}

/* ══════════════════════════════════════════════════════════════
   FLOATING ACTIONS
══════════════════════════════════════════════════════════════ */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 9999;
}

.float-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.float-call {
  background-color: var(--blue);
}

.float-message {
  background-color: #f59e0b;
}

.float-whatsapp {
  background-color: #25d366;
}

/* ══════════════════════════════════════════════════════════════
   MODAL ENQUIRY FORM (Improved)
══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-box {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 28px;
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.modal-content-box::-webkit-scrollbar {
  width: 6px;
}

.modal-content-box::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 10px;
}

.modal-overlay.active .modal-content-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
  padding-bottom: 4px;
  /* Align &times; better */
}

.modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.modal-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 32px;
  line-height: 1.6;
}

.modal-content-box .form-group {
  margin-bottom: 20px;
}

.modal-content-box label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.modal-content-box input,
.modal-content-box textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.3s ease;
  outline: none;
}

.modal-content-box input:focus,
.modal-content-box textarea:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.modal-content-box textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-content-box .form-submit {
  margin-top: 12px;
  padding: 16px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px !important;
  /* Overriding inline style */
}

.modal-content-box .form-success {
  border-radius: 12px !important;
  margin-top: 20px;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE BOTTOM BAR (Sticky Footer)
══════════════════════════════════════════════════════════════ */
.mobile-bottom-bar {
  display: none;
  /* Hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.bottom-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  color: var(--text-mid);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  background-color: transparent !important;
  border: none;
  border-right: 1px solid var(--border);
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  color: var(--text-mid) !important;
}

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

.bottom-bar-item i {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.bottom-bar-item:nth-child(1) i {
  color: var(--blue);
}

.bottom-bar-item:nth-child(2) i {
  color: #f59e0b;
}

.bottom-bar-item:nth-child(3) i {
  color: #25d366;
}

.bottom-bar-item:hover,
.bottom-bar-item:active {
  background: var(--off-white);
  color: var(--blue-dark);
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
  }

  .floating-actions {
    display: none;
    /* Hide floating buttons on mobile, replaced by bottom bar */
  }

  #scroll-top {
    bottom: 85px;
    /* Lift scroll-to-top button above the mobile bar */
  }

  body {
    padding-bottom: 70px;
    /* Prevent content from being hidden behind the sticky footer */
  }
}

@media (max-width: 640px) {
  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

/* ══════════════════════════════════════════════════════
   CAMPUS LIGHTBOX (REDUCED HEIGHT & MOBILE OPTIMIZED)
══════════════════════════════════════════════════════ */
.campus-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  padding: 20px;
}

.campus-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  max-width: 100%;
  max-height: 80vh;
  /* Reduced height as requested */
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.campus-lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  /* Compact view */
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10002;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  background: var(--blue-dark);
}

@media (max-width: 768px) {
  .campus-lightbox {
    padding: 10px;
  }

  .lightbox-content {
    max-height: 75vh;
  }

  .lightbox-content img {
    max-height: 75vh;
  }

  .lightbox-close {
    top: -50px;
    right: 50%;
    transform: translateX(50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }

  .lightbox-close:hover {
    transform: translateX(50%) scale(1.1) rotate(90deg);
  }
}

/* ══════════════════════════════════════════════════════
   WHY CHOOSE ITI (MODERNIZED - BLUE/ORANGE/WHITE THEME)
══════════════════════════════════════════════════════ */
.modern-why-iti-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  position: relative;
  overflow: hidden;
}

.modern-why-iti-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.modern-why-iti-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.modern-why-iti-section .container {
  position: relative;
  z-index: 2;
}

.modern-why-header .modern-why-title {
  color: var(--blue-dark);
}

.modern-why-header .modern-why-title span {
  color: #ff6b00;
  /* Orange theme accent */
}

.modern-why-header .modern-why-divider {
  background: linear-gradient(90deg, #2563eb, #ff6b00);
}

.modern-why-header .modern-why-tag {
  color: #ff6b00;
  background: rgba(255, 107, 0, 0.1);
  border-color: rgba(255, 107, 0, 0.2);
}

.modern-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.modern-why-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.modern-why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 250, 252, 0.5) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modern-why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: #e2e8f0;
}

.modern-why-card:hover::before {
  opacity: 1;
}

.modern-why-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modern-why-card:hover .modern-why-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.icon-blue {
  background: #eff6ff;
  color: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.icon-orange {
  background: #fff7ed;
  color: #ea580c;
  /* Orange matching theme */
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.15);
}

.modern-why-card-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.modern-why-card-text {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.modern-why-card-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  transition: width 0.4s ease;
}

.bg-blue {
  background: #2563eb;
}

.bg-orange {
  background: #ea580c;
}

.modern-why-card:hover .modern-why-card-hover-line {
  width: 100%;
}

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

@media (max-width: 640px) {
  .modern-why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modern-why-card {
    padding: 30px 24px;
  }

  .modern-why-icon-wrap {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .modern-why-card-title {
    font-size: 1.15rem;
  }
}

/* ══════════════════════════════════════════════════════
   BENTO WHY CHOOSE ITI (FRESH & MODERN REDESIGN)
══════════════════════════════════════════════════════ */
.bento-why-section {
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  z-index: 1;
}

/* Glassy background blobs */
.bento-blob {
  position: absolute;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.6;
  border-radius: 50%;
  animation: floatBlob 10s ease-in-out infinite alternate;
}

.bento-blob.blob-1 {
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: #e0e7ff;
  /* soft blue */
}

.bento-blob.blob-2 {
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: #ffedd5;
  /* soft orange */
  animation-delay: -5s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 50px) scale(1.1);
  }
}

.bento-why-header {
  margin-bottom: 60px;
  text-align: center;
}

.bento-tag {
  background: #ffffff;
  color: #2563eb;
  border: 1px solid #dbeafe;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.05);
}

.bento-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #0f172a;
}

.bento-title span {
  background: linear-gradient(135deg, #2563eb, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bento-sub {
  margin: 0 auto;
  color: #64748b;
  font-size: 1.1rem;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  auto-rows: minmax(200px, auto);
  /* basic row height */
}

/* Base Card Style */
.bento-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

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

/* Card Icons */
.bento-icon {
  width: 65px;
  height: 65px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: transform 0.4s ease;
  z-index: 2;
}

.bento-card:hover .bento-icon {
  transform: scale(1.1);
}

.icon-blue {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.icon-orange {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #ea580c;
  border: 1px solid #fed7aa;
}

/* Card Typography */
.bento-content {
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bento-card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.bento-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Specific Card Layouts */
.bento-wide {
  grid-column: span 8;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.bento-wide .bento-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  font-size: 2rem;
}

.bento-tall {
  grid-column: span 4;
  grid-row: span 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 247, 237, 0.6) 100%);
}

.bento-tall .bento-icon {
  width: 75px;
  height: 75px;
  font-size: 1.8rem;
}

.bento-tall .bento-decor {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 12rem;
  color: rgba(234, 88, 12, 0.03);
  z-index: 1;
  transform: rotate(-15deg);
  transition: transform 0.6s ease;
}

.bento-tall:hover .bento-decor {
  transform: rotate(0deg) scale(1.1);
}

.bento-square {
  grid-column: span 4;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .bento-wide {
    grid-column: span 12;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .bento-wide .bento-icon {
    margin-bottom: 20px;
    width: 65px;
    height: 65px;
    font-size: 1.6rem;
  }

  .bento-tall {
    grid-column: span 6;
    grid-row: span 1;
  }

  .bento-square {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {

  .bento-tall,
  .bento-square {
    grid-column: span 12;
  }

  .bento-card {
    padding: 25px;
  }

  .bento-card h3 {
    font-size: 1.2rem;
  }
}

/* ══════════════════════════════════════════════════════
   WHY CHOOSE ITI (STICKY SCROLL LAYOUT)
══════════════════════════════════════════════════════ */
.sticky-why-section {
  background-color: #0f172a;
  /* Dark premium background */
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

/* Background ambient glow */
.sticky-why-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sticky-why-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sticky-why-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

/* Sidebar */
.sticky-why-sidebar {
  flex: 0 0 40%;
  position: sticky;
  top: 140px;
  /* offset from header */
  height: max-content;
}

.sticky-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
  margin-bottom: 24px;
}

.sticky-title {
  color: #ffffff;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.sticky-title span {
  background: linear-gradient(135deg, #60a5fa, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sticky-divider {
  margin: 0 0 24px 0;
  background: linear-gradient(90deg, #60a5fa, #ea580c);
}

.sticky-sub {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Sidebar Visual */
.sticky-visual {
  position: relative;
  width: 200px;
  height: 200px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-circle {
  position: absolute;
  border-radius: 50%;
  animation: pulseRotate 10s linear infinite;
}

.circle-1 {
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(96, 165, 250, 0.3);
  animation-duration: 15s;
}

.circle-2 {
  width: 75%;
  height: 75%;
  border: 2px solid rgba(234, 88, 12, 0.3);
  animation-direction: reverse;
}

.visual-icon {
  font-size: 3.5rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #ea580c);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.4);
  z-index: 2;
}

@keyframes pulseRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.05);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Cards Area */
.sticky-why-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sticky-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  gap: 30px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

/* Hover glow effect */
.sticky-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.sticky-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

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

/* Icon Box */
.sc-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.bg-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
}

.bg-orange {
  background: linear-gradient(135deg, #f97316, #c2410c);
  color: #ffffff;
}

/* Text Box */
.sc-text-box h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.3;
}

.sc-text-box p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .sticky-why-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .sticky-why-sidebar {
    position: relative;
    top: 0;
    flex: none;
    width: 100%;
  }

  .sticky-why-cards {
    width: 100%;
  }

  .sticky-card {
    flex-direction: column;
    gap: 20px;
    padding: 30px;
  }

  .sc-icon-box {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .sticky-visual {
    margin: 40px auto 0;
  }

  .sticky-title,
  .sticky-sub {
    text-align: center;
  }

  .sticky-tag,
  .sticky-divider {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ══════════════════════════════════════════════════════
   WHY CHOOSE ITI (FUTURISTIC UI LAYOUT)
══════════════════════════════════════════════════════ */
.futuristic-why-section {
  background-color: #030712;
  /* Deep space black */
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  color: #f8fafc;
}

/* Cyber grid background */
.f-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
  z-index: 0;
}

.f-glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.4;
  animation: f-orb-float 15s ease-in-out infinite alternate;
}

.f-glow-orb.orb-1 {
  background: rgba(37, 99, 235, 0.6);
  /* Blue */
  top: -200px;
  left: -200px;
}

.f-glow-orb.orb-2 {
  background: rgba(234, 88, 12, 0.4);
  /* Orange */
  bottom: -200px;
  right: -200px;
  animation-delay: -7s;
}

@keyframes f-orb-float {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(100px, 100px);
  }
}

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

/* Header Styling */
.futuristic-header {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.f-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #93c5fd;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.f-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 10px #3b82f6, 0 0 20px #3b82f6;
  animation: f-blink 2s infinite;
}

@keyframes f-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.f-title {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 20px;
  font-family: var(--font-head);
  font-weight: 800;
}

.f-gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a855f7 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: f-gradient-shift 5s linear infinite;
}

@keyframes f-gradient-shift {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.f-sub {
  color: #94a3b8;
  max-width: 600px;
  font-size: 1.15rem;
}

/* Staggered Grid Layout */
.futuristic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.f-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.f-col-2 {
  transform: translateY(40px);
}

.f-col-3 {
  transform: translateY(80px);
}

/* Card Wrapper for Animated Gradient Border */
.f-card-wrapper {
  position: relative;
  border-radius: 24px;
  padding: 1px;
  /* This becomes the border width */
  background: rgba(255, 255, 255, 0.1);
  /* Default border color */
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.f-card-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent,
      transparent,
      transparent,
      #3b82f6,
      #a855f7,
      #f97316,
      transparent);
  animation: f-rotate-border 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.f-card-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.2);
}

.f-card-wrapper:hover::before {
  opacity: 1;
}

@keyframes f-rotate-border {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Actual Card Content Area */
.f-card {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 23px;
  /* Slightly less than wrapper */
  height: 100%;
  position: relative;
  z-index: 1;
}

.f-card-content {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Modern Icons */
.f-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #60a5fa;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.f-icon-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
}

.f-card-wrapper:hover .f-icon-container::after {
  animation: f-shine 1.5s ease;
}

@keyframes f-shine {
  100% {
    left: 200%;
  }
}

.f-icon-alt {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.2);
  color: #fb923c;
}

.f-card-content h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: #f8fafc;
  margin-bottom: 12px;
  line-height: 1.4;
}

.f-card-content p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

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

  .f-col-2 {
    transform: translateY(0);
  }

  .f-col-3 {
    transform: translateY(0);
  }

  /* Stagger just the second column on tablet */
  .f-col:nth-child(2) {
    transform: translateY(40px);
  }
}

@media (max-width: 768px) {
  .futuristic-why-section {
    padding: 100px 0;
  }

  .futuristic-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .f-col {
    gap: 24px;
  }

  .f-col:nth-child(2) {
    transform: translateY(0);
  }

  .f-card-content {
    padding: 30px 24px;
  }
}

/* ══════════════════════════════════════════════════════
   WHY CHOOSE ITI (STICKY SCROLL / ED-TECH JOURNEY)
══════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════
   THE ITI ADVANTAGE — PREMIUM CARD GRID
══════════════════════════════════════════════════════ */
.advantage-section {
  background-color: #f8fafc;
  /* Minimal light grey background */
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.advantage-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.advantage-tag {
  display: inline-block;
  padding: 8px 20px;
  background: #ffffff;
  color: var(--red);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.08);
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.advantage-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.advantage-title span {
  color: var(--red);
}

.advantage-sub {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Advantage Grid Layout (2-3-1) */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* Base Card Style */
.adv-card {
  background: #ffffff;
  /* Brighter pure white */
  padding: 40px;
  border-radius: 32px;
  border: 1px solid rgba(200, 16, 46, 0.2);
  /* Soft glowing border base */
  box-shadow:
    0 25px 50px -12px rgba(15, 23, 42, 0.12),
    0 0 25px rgba(200, 16, 46, 0.1);
  /* Stronger layered shadows */
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
  transform: translateY(-15px);
  overflow: hidden;
}

.adv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--red);
  z-index: 2;
}

.adv-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow:
    0 40px 80px -15px rgba(15, 23, 42, 0.18),
    0 0 40px rgba(200, 16, 46, 0.2);
  /* Massive elevation & red glow */
  border-color: rgba(200, 16, 46, 0.5);
}

/* Column Spans for 2-3-1 Layout */
.adv-card.featured-dark {
  grid-column: span 3;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.3), 0 0 20px rgba(200, 16, 46, 0.15);
}

.adv-card.featured-dark:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
}

.adv-card:nth-child(2) {
  grid-column: span 3;
}

.adv-card:nth-child(3),
.adv-card:nth-child(4),
.adv-card:nth-child(5) {
  grid-column: span 2;
}

.adv-card.wide {
  grid-column: span 6;
  padding: 30px 40px;
}

/* Icon Boxes */
.adv-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.adv-card:hover .adv-icon-box {
  transform: scale(1.15) rotate(5deg);
}

.adv-icon-box.blue-soft {
  background: var(--red);
  color: var(--white);
  border: 1px solid rgba(200, 16, 46, 0.1);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.2);
}

.adv-icon-box.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.adv-icon-text {
  font-weight: 800;
  font-size: 1.2rem;
}

/* Card Content */
.adv-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--red);
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.adv-card:hover .adv-card-title {
  color: var(--red);
}

.featured-dark .adv-card-title {
  color: #ffffff;
  font-size: 1.5rem;
}

.featured-dark:hover .adv-card-title {
  color: #ffffff;
}

.adv-card-desc {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

.adv-card:hover .adv-card-desc {
  color: #334155;
}

.featured-dark .adv-card-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.featured-dark:hover .adv-card-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* Wide Card Flex */
.wide-flex-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.wide-text-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .advantage-grid {
    gap: 20px;
  }

  .adv-card {
    padding: 30px;
  }
}

@media (max-width: 992px) {

  .adv-card.featured-dark,
  .adv-card:nth-child(2) {
    grid-column: span 6;
  }

  .adv-card:nth-child(3),
  .adv-card:nth-child(4),
  .adv-card:nth-child(5) {
    grid-column: span 3;
  }
}

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

  .advantage-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .adv-card {
    grid-column: span 6 !important;
  }

  .wide-flex-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .featured-dark .adv-card-title {
    font-size: 1.3rem;
  }
}

/* -- Global Icon Enhancements ---------------------------------- */
.fa-phone-alt,
.fa-phone {
  display: inline-block;
  transform: rotate(90deg);
}

/* -- PLACEMENT SHOWCASE (REAL STUDENTS) ------------------------- */
.placement-showcase-section {
  padding: 100px 0;
  background-color: #ffffff;
  position: relative;
}

.placement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.placement-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.placement-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12), 0 0 20px rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
}

.student-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.student-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.placement-card:hover .student-img-wrap img {
  transform: scale(1.1);
}

.placement-status {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

.placement-card-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.student-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.student-trade {
  color: #2563eb;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.placement-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.1), transparent);
  margin: 20px 0;
}

.company-showcase {
  display: flex;
  align-items: center;
  gap: 15px;
}

.company-logo-box {
  width: 50px;
  height: 50px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.company-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.placement-card:hover .company-logo-box img {
  filter: grayscale(0%);
}

.company-name {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.job-role {
  font-size: 0.85rem;
  color: #64748b;
}

.placement-footer {
  text-align: center;
  margin-top: 60px;
}

.placement-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 35px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.placement-cta:hover {
  background: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
}

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

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

  .placement-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ══════════════════════════════════════════════════════
   NPF WIDGET POPUP OVERRIDES (Fixed Position & Scroll Lock)
══════════════════════════════════════════════════════ */
html.npf-popup-open,
body.npf-popup-open {
  overflow: hidden !important;
}

div[id^="popup-"] {
  overflow: hidden !important;
}

div[id^="popup-in-"] {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  padding: 10px 15px !important;
  /* Reduced extra padding */
  z-index: 9999999 !important;
  height: auto !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  /* Disable popup scrolling completely */
}

/* Compact form field spacing for NPF widget */
div[id^="popup-in-"] .npfTitle {
  margin-bottom: 5px !important;
}

div[id^="popup-in-"] iframe {
  height: 590px !important;
  /* Ensure iframe matches the compact height without scrollbars if possible */
  margin: 0 !important;
  padding: 0 !important;
}





/* If the form is injected directly into the DOM instead of an iframe */
.npf_wgts .form-group,
.npf_wgts .margin-bottom,
.npf_wgts .mb-3 {
  margin-bottom: 8px !important;
}

.npf_wgts input,
.npf_wgts select,
.npf_wgts textarea,
.npf_wgts .form-control {
  padding: 6px 12px !important;
  min-height: 36px !important;
}

#npfPopup textarea,
.npf_wgts textarea,
div[id^="label_no"] textarea,
textarea.form-control,
.cf_message {
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  padding: 6px 10px !important;
  resize: none !important;
  overflow: hidden !important;
  line-height: 1.2 !important;
}

/* Decrease font size for the text/checkbox above the submit button */
.npf_wgts .checkbox label,
.npf_wgts .form-group label,
.npf_wgts .terms-text,
.npf_wgts p {
  font-size: 11px !important;
  line-height: 1.2 !important;
  margin-bottom: 5px !important;
}

div[id^="popup-back-"] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999998 !important;
  overflow: hidden !important;
}