/* ============================================================
   PKIS School Website — Design System
   Merged from pkis.vivasoft.in + pkis2.vivasoft.in
   ============================================================ */

/* ---- GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* ---- DESIGN TOKENS ---- */
:root {
  --primary:        #C2185B;
  --primary-dark:   #880E4F;
  --primary-light:  #E91E8C;
  --primary-pale:   #FFF5F7;
  --primary-pale2:  #FCE4EC;
  --secondary:      #F9D423;
  --secondary-dark: #F57F17;
  --accent-blue:    #1565C0;
  --dark:           #1A1F2C;
  --dark2:          #2C3350;
  --text:           #444;
  --text-light:     #777;
  --white:          #ffffff;
  --border:         rgba(194,24,91,0.15);
  --radius:         20px;
  --radius-sm:      12px;
  --radius-pill:    50px;
  --shadow:         0 6px 30px rgba(194,24,91,0.12);
  --shadow-card:    0 4px 20px rgba(0,0,0,0.08);
  --transition:     all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; padding: 0; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--dark); line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p  { color: var(--text); }

/* ---- SECTION UTILITY ---- */
.section-pad    { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }
.bg-pale        { background: var(--primary-pale); }
.bg-dark        { background: var(--dark); }
.bg-primary     { background: var(--primary); }
.text-primary   { color: var(--primary) !important; }
.text-white     { color: var(--white) !important; }

/* ---- SECTION LABEL ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-label::before, .section-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ---- SECTION HEADING ---- */
.section-heading { margin-bottom: 12px; }
.section-heading span { color: var(--primary); }
.section-subtext { color: var(--text-light); font-size: 0.95rem; max-width: 600px; }

/* ---- BUTTONS ---- */
.btn-pk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 34px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-pk-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-pk-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(194,24,91,0.4);
}
.btn-pk-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-pk-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-pk-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-pk-white:hover {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
  transform: translateY(-2px);
}
.btn-pk-yellow {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}
.btn-pk-yellow:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- CARDS ---- */
.pk-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.pk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(194,24,91,0.3);
}
.pk-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

/* ---- WAVE DIVIDER ---- */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; }
.wave-up   { margin-top: -2px; }
.wave-down { margin-bottom: -2px; }

/* ============================================================
   TOPBAR
   ============================================================ */
/* ============================================================
   NEWS TICKER
   ============================================================ */
.news-ticker {
  background: #AD1457;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
}
.news-ticker .ticker-label {
  background: #FFD700;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 15px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  margin-right: 18px;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.news-ticker .ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.news-ticker .ticker-text {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 65s linear infinite;
  width: max-content;
}
.news-ticker .ticker-text span {
  color: var(--white);
  font-size: 0.9rem;
  padding: 0 30px;
}
.news-ticker .ticker-text span::before {
  content: '\2022\00a0';
  color: #FFD700;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: linear-gradient(135deg, #E91E63 0%, #F06292 50%, #E91E63 100%);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--white);
}
.top-bar a { color: var(--white); transition: var(--transition); }
.top-bar a:hover { color: #F8BBD0; opacity: 0.85; }
.top-bar .contact-info i { margin-right: 5px; }
.top-bar .contact-info span { margin-right: 20px; }
.top-bar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.8rem;
  margin-left: 6px;
  transition: var(--transition);
}
.top-bar .social-icons a:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
  transition: var(--transition);
}
.main-navbar.scrolled {
  padding: 5px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.main-navbar .navbar-brand .logo-img {
  width: 82px;
  height: 82px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.main-navbar .navbar-brand .logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.main-navbar.scrolled .navbar-brand .logo-img {
  width: 72px;
  height: 72px;
}
.main-navbar .navbar-brand .school-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #c9302c;
  line-height: 1.02;
}
.main-navbar .navbar-brand .school-name .foundation-line {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.9px;
  text-transform: none;
  margin-bottom: 2px;
}
.main-navbar .navbar-brand .school-name .school-title {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.6px;
}
.main-navbar .navbar-brand .school-name small {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #c9302c;
  letter-spacing: 0.45px;
  text-transform: none;
}
.main-navbar .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.84rem;
  color: #333 !important;
  padding: 8px 10px !important;
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active,
.main-navbar .nav-item.active > .nav-link,
.main-navbar .dropdown-toggle.show {
  color: var(--primary) !important;
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after,
.main-navbar .nav-item.active > .nav-link::after {
  transform: scaleX(1);
}
.main-navbar .dropdown-toggle::after { border-top-color: var(--primary); }

/* Keep desktop menu in one line */
@media (min-width: 992px) {
  .main-navbar .nav-container {
    flex-wrap: nowrap;
    padding-left: clamp(10px, 2vw, 24px);
    padding-right: clamp(10px, 2vw, 24px);
  }
  .main-navbar .navbar-brand {
    margin-right: 10px;
    flex-shrink: 0;
    gap: 8px !important;
  }
  .main-navbar .navbar-brand .logo-img {
    width: 64px;
    height: 64px;
  }
  .main-navbar .navbar-brand .school-name .foundation-line {
    font-size: 0.62rem;
  }
  .main-navbar .navbar-brand .school-name .school-title {
    font-size: 0.98rem;
    letter-spacing: 0.2px;
  }
  .main-navbar .navbar-brand .school-name small {
    font-size: 0.72rem;
  }
  .main-navbar .navbar-collapse {
    flex-basis: auto;
    flex-grow: 1;
    min-width: 0;
  }
  .main-navbar .navbar-nav {
    flex-wrap: nowrap;
    width: 100%;
  }
  .main-navbar .nav-item {
    flex: 0 0 auto;
  }
  .main-navbar .nav-link {
    font-size: 0.78rem;
    padding: 8px 7px !important;
  }
  .main-navbar .nav-cta-btn {
    margin-left: 8px;
    padding: 10px 16px !important;
    font-size: 0.78rem !important;
  }
}

@media (min-width: 1400px) {
  .main-navbar .navbar-brand .school-name {
    font-size: 1rem;
  }
  .main-navbar .nav-link {
    font-size: 0.82rem;
    padding: 8px 9px !important;
  }
  .main-navbar .nav-cta-btn {
    padding: 10px 20px !important;
    font-size: 0.82rem !important;
  }
}

/* Dropdown */
.main-navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(233,30,99,0.2);
  padding: 10px 0;
  margin-top: 10px;
  animation: fadeInDown 0.3s ease;
  min-width: 250px;
}
.main-navbar .dropdown.show > .dropdown-menu {
  display: block;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.main-navbar .dropdown-item {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 20px;
  color: #333333;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.main-navbar .dropdown-item i {
  width: 20px;
  margin-right: 8px;
  color: #E91E63;
  font-size: 0.8rem;
}
.main-navbar .dropdown-item:hover {
  background: #FCE4EC;
  color: #E91E63;
  border-left-color: var(--primary);
  padding-left: 25px;
}
.main-navbar .navbar-toggler {
  border: 2px solid var(--primary);
  padding: 5px 10px;
}
.main-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E91E63' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
  .main-navbar .navbar-brand .logo-img {
    display: none;
  }
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #880E4F;
  color: var(--white) !important;
  border: none;
  border-radius: 50px !important;
  padding: 11px 26px !important;
  margin-left: 14px;
  font-size: 0.88rem !important;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 18px rgba(136,14,79,0.35);
  transition: var(--transition);
}
/* Override the broad .main-navbar .nav-link padding for CTA specifically */
.main-navbar .nav-cta-btn {
  padding: 11px 26px !important;
  color: var(--white) !important;
}
.nav-cta-btn::after,
.main-navbar .nav-cta-btn::after { display: none !important; }
.nav-cta-btn:hover,
.main-navbar .nav-cta-btn:hover {
  background: #6d0034 !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(136,14,79,0.45);
}

/* ============================================================
   PAGE BANNER (Inner Pages)
   ============================================================ */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 70px 0 80px;
  overflow: hidden;
}
.page-banner .doodle-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C!-- pencil --%3E%3Crect x='20' y='10' width='8' height='28' rx='2' transform='rotate(30 24 24)'/%3E%3Cpolygon points='24,44 20,54 28,54' transform='rotate(30 24 24)'/%3E%3C!-- star --%3E%3Cpolygon points='90,8 92,14 98,14 93,18 95,24 90,20 85,24 87,18 82,14 88,14' /%3E%3C!-- book --%3E%3Crect x='10' y='70' width='22' height='28' rx='2'/%3E%3Cline x1='10' y1='84' x2='32' y2='84'/%3E%3C!-- lightbulb --%3E%3Ccircle cx='120' cy='25' r='10'/%3E%3Crect x='116' y='36' width='8' height='5' rx='2'/%3E%3Cline x1='120' y1='41' x2='120' y2='46'/%3E%3C!-- grad cap --%3E%3Cellipse cx='60' cy='90' rx='14' ry='5'/%3E%3Cpolygon points='60,76 74,84 60,90 46,84' /%3E%3Cline x1='74' y1='84' x2='74' y2='96'/%3E%3C!-- airplane --%3E%3Cpath d='M130,70 L150,80 L130,90 L134,80 Z'/%3E%3Cpath d='M130,75 L122,68'/%3E%3Cpath d='M130,85 L122,92'/%3E%3C!-- atom --%3E%3Ccircle cx='30' cy='130' r='4'/%3E%3Cellipse cx='30' cy='130' rx='14' ry='5' transform='rotate(0 30 130)'/%3E%3Cellipse cx='30' cy='130' rx='14' ry='5' transform='rotate(60 30 130)'/%3E%3Cellipse cx='30' cy='130' rx='14' ry='5' transform='rotate(120 30 130)'/%3E%3C!-- music notes --%3E%3Cpath d='M100,120 L100,110 L112,108 L112,118'/%3E%3Ccircle cx='98' cy='121' r='3'/%3E%3Ccircle cx='110' cy='119' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.page-banner .banner-content { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-banner .breadcrumb { background: none; padding: 0; margin: 0; }
.page-banner .breadcrumb-item { font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.page-banner .breadcrumb-item.active { color: var(--secondary); font-weight: 600; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.page-banner .breadcrumb-item a { color: rgba(255,255,255,0.85); }
.page-banner .breadcrumb-item a:hover { color: var(--secondary); }
.page-banner-wave { margin-top: -2px; }
.page-banner-wave svg { display: block; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, #E91E8C 70%, #FF5E95 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero-section .hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='15' cy='15' r='8' fill='%23fff'/%3E%3Ccircle cx='75' cy='40' r='5' fill='%23fff'/%3E%3Ccircle cx='40' cy='75' r='10' fill='%23fff'/%3E%3Ccircle cx='90' cy='85' r='6' fill='%23fff'/%3E%3Ccircle cx='55' cy='10' r='4' fill='%23fff'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
/* Animated floating shapes */
.hero-section .float-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  animation: floatShape 6s ease-in-out infinite;
}
.float-shape.s1 { width: 120px; height: 120px; top: 10%; right: 8%;  animation-delay: 0s; }
.float-shape.s2 { width: 70px;  height: 70px;  top: 60%; right: 20%; animation-delay: 2s; }
.float-shape.s3 { width: 50px;  height: 50px;  top: 30%; left: 5%;   animation-delay: 1s; }
.float-shape.s4 { width: 90px;  height: 90px;  bottom: 15%; left: 15%; animation-delay: 3s; }
@keyframes floatShape {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-20px) scale(1.05); }
}
.hero-section h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.hero-section h1 .highlight {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}
.hero-section h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(249,212,35,0.5);
  border-radius: 2px;
}
.hero-section p { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin-bottom: 32px; max-width: 500px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* Stats Card */
.hero-stats-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 30px;
  color: var(--white);
  animation: floatShape 5s ease-in-out infinite;
}
.hero-stats-card .stat-item { text-align: center; padding: 12px 0; }
.hero-stats-card .stat-item + .stat-item { border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stats-card .stat-num { font-size: 2rem; font-weight: 800; color: var(--secondary); line-height: 1; }
.hero-stats-card .stat-label { font-size: 0.78rem; opacity: 0.85; margin-top: 4px; }
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.hero-image-wrap img { border-radius: var(--radius); }
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.75rem;
  box-shadow: 0 8px 25px rgba(249,212,35,0.4);
  animation: rotateBadge 20s linear infinite;
}
@keyframes rotateBadge {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-badge span { animation: rotateBadge 20s linear infinite reverse; }

/* Hero Wave */
.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--white); }
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-years-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-align: center;
  font-size: 0.7rem;
  box-shadow: 0 8px 25px rgba(194,24,91,0.4);
  border: 4px solid var(--white);
  animation: floatShape 4s ease-in-out infinite;
}
.about-years-badge strong { font-size: 1.6rem; line-height: 1; }
.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text);
  font-size: 0.9rem;
}
.feature-checklist li i { color: var(--primary); font-size: 1rem; flex-shrink: 0; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { background: var(--primary-pale); }
.why-card { text-align: center; }
.why-card .card-icon { margin: 0 auto 18px; }
.why-card h4 { margin-bottom: 10px; font-size: 1.05rem; }
.why-card p  { font-size: 0.88rem; color: var(--text-light); }

/* ============================================================
   FACILITIES
   ============================================================ */
.facilities-section { background: var(--white); }
.facility-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
}
.facility-item:hover {
  background: var(--primary-pale);
  border-color: rgba(194,24,91,0.3);
  transform: translateY(-4px);
}
.facility-item .fac-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-pale2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 12px;
  transition: var(--transition);
}
.facility-item:hover .fac-icon {
  background: var(--primary);
  color: var(--white);
}
.facility-item span { font-size: 0.84rem; font-weight: 600; color: var(--dark); }

/* ============================================================
   ACADEMIC EXCELLENCE
   ============================================================ */
.academics-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.academics-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='15' cy='15' r='8' fill='rgba(255,255,255,0.04)'/%3E%3Ccircle cx='45' cy='45' r='5' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") repeat;
}
.academics-section .section-label { color: var(--secondary); }
.academics-section .section-label::before,
.academics-section .section-label::after { background: var(--secondary); }
.academics-section .section-heading { color: var(--white); }
.academics-feat li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.academics-feat li:last-child { border-bottom: none; }
.academics-feat li i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }
.stat-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
}
.stat-box:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.stat-box .num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  display: block;
}
.stat-box .lbl { font-size: 0.82rem; opacity: 0.85; margin-top: 6px; }

/* ============================================================
   GALLERY (Swiper) — Rounded Organic Style
   ============================================================ */
.gallery-section {
  background: #f7f7fa;
  position: relative;
  overflow: hidden;
}
.gallery-section::before {
  content: '';
  position: absolute;
  inset: 120px -80px auto;
  height: 180px;
  pointer-events: none;
  background: radial-gradient(circle at 10% 50%, rgba(61,182,214,0.26) 0 2px, transparent 2px 100%) 0 0 / 34px 34px;
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.gallery-swiper { padding-bottom: 66px !important; position: relative; z-index: 1; }

.gallery-slide {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 8px 6px 10px;
  cursor: pointer;
  background: transparent;
}
.gallery-slide .blob-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 44% 44% 52% 52% / 30% 30% 70% 70%;
  box-shadow: 0 14px 34px rgba(26,31,44,0.17);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-slide:nth-child(2n) .blob-img-wrap {
  border-radius: 46% 40% 56% 48% / 32% 28% 72% 68%;
}
.gallery-slide:nth-child(3n) .blob-img-wrap {
  border-radius: 40% 46% 50% 54% / 28% 34% 68% 72%;
}
.gallery-slide:nth-child(4n) .blob-img-wrap {
  border-radius: 48% 42% 54% 50% / 33% 30% 67% 70%;
}
.gallery-slide:hover .blob-img-wrap {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 42px rgba(194,24,91,0.22);
}
.gallery-slide .blob-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-slide:hover .blob-img-wrap img { transform: scale(1.08); }
.gallery-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(26,31,44,0.72) 0%, rgba(194,24,91,0.18) 45%, transparent 75%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gallery-slide:hover .gallery-slide-overlay { opacity: 1; }
.gallery-slide-overlay span { color: var(--white); font-weight: 700; font-size: 0.86rem; line-height: 1.35; }

.gallery-swiper .swiper-pagination { display: none !important; }
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  top: auto;
  bottom: 0;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(26,31,44,0.14);
  transition: var(--transition);
}
.gallery-swiper .swiper-button-prev {
  left: calc(50% - 52px);
  border: 2px solid #111111;
  color: #111111 !important;
}
.gallery-swiper .swiper-button-next {
  right: calc(50% - 52px);
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}
.gallery-swiper .swiper-button-prev:hover {
  background: #111111;
  color: var(--white) !important;
}
.gallery-swiper .swiper-button-next:hover {
  background: var(--primary);
  color: var(--white) !important;
}
.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after { font-size: 0.8rem !important; font-weight: 800; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--white); }
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-card);
  text-align: center;
  margin: 10px;
}
.testi-card .quote-icon { font-size: 2.5rem; color: var(--primary); opacity: 0.25; margin-bottom: 14px; display: block; }
.testi-card p { font-size: 0.9rem; color: var(--text); font-style: italic; margin-bottom: 20px; }
.testi-card .testi-author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  margin: 0 auto 10px;
}
.testi-card .testi-author strong { display: block; font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.testi-card .testi-author span { font-size: 0.78rem; color: var(--primary); }
.testi-card .stars { color: var(--secondary); font-size: 0.85rem; margin-bottom: 8px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-section::after {
  content: '';
  position: absolute;
  left: 10%;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-section h2 { color: var(--white); }
.cta-section p  { color: rgba(255,255,255,0.82); }

/* ============================================================
   EVENTS
   ============================================================ */
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-card .event-date {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 20px;
  min-width: 80px;
}
.event-card .event-date .day   { font-size: 2rem; font-weight: 800; line-height: 1; display: block; }
.event-card .event-date .month { font-size: 0.78rem; font-weight: 600; opacity: 0.85; text-transform: uppercase; }
.event-card .event-body { padding: 20px; flex: 1; }
.event-card .event-body h5 { font-size: 1rem; margin-bottom: 6px; }
.event-card .event-body p { font-size: 0.84rem; color: var(--text-light); margin: 0; }
.event-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--primary-pale2);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(194,24,91,0.12);
}
.form-label { font-size: 0.84rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
  height: 100%;
}
.contact-info-card .info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-card .info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-card h5 { font-size: 0.8rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; color: var(--white); }
.contact-info-card p { font-size: 0.9rem; opacity: 0.9; margin: 0; }
.alert-pk-success { background: var(--primary-pale2); border: 1px solid rgba(194,24,91,0.3); color: var(--primary); border-radius: var(--radius-sm); padding: 14px 20px; font-size: 0.9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer,
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: rgba(255,255,255,0.8);
  padding-top: 80px;
}
.footer h5 {
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 5px;
  border-radius: 999px;
  background: var(--primary);
}
.footer p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer-brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E91E63, #F06292);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}
.footer .footer-links,
.footer .footer-contact {
  margin: 0;
  padding: 0;
}
.footer .footer-links li {
  list-style: none;
  margin-bottom: 10px;
}
.footer .footer-links li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer .footer-links li a i {
  color: var(--primary);
  font-size: 0.7rem;
}
.footer .footer-links li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}
.footer .footer-contact li {
  list-style: none;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer .footer-contact li i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
  width: 20px;
  text-align: center;
}
.footer .footer-contact li span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer .footer-social a {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  margin-right: 10px;
  transition: var(--transition);
  font-size: 1.35rem;
}
.footer .footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(233,30,99,0.3);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 50px;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.text-pink {
  color: #ff2f7f;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6aa2 0%, #e91e63 100%);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(233,30,99,0.45);
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
}
.scroll-to-top.visible { opacity: 1; transform: translateY(0); }
.scroll-to-top:hover { transform: translateY(-4px) scale(1.04); }

/* ============================================================
   INNER PAGES CONTENT
   ============================================================ */
.sidebar-nav { position: sticky; top: 100px; }
.sidebar-nav .nav-link {
  color: var(--text);
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
}
.sidebar-nav .nav-link.active,
.sidebar-nav .nav-link:hover {
  background: var(--primary-pale);
  color: var(--primary);
  border-color: var(--border);
  font-weight: 600;
}
.sidebar-nav .nav-link i { color: var(--primary); }
.content-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 36px; }
.process-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Programs card */
.program-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-card .prog-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 28px 24px;
  color: var(--white);
}
.program-card .prog-header .prog-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.program-card .prog-header h4 { color: var(--white); margin: 0; font-size: 1.05rem; }
.program-card .prog-body { padding: 24px; background: var(--white); }
.program-card .prog-body li { font-size: 0.84rem; padding: 5px 0; display: flex; align-items: center; gap: 8px; color: var(--text); }
.program-card .prog-body li i { color: var(--primary); font-size: 0.8rem; }

/* ============================================================
   GALLERY FILTER
   ============================================================ */
.gallery-filter-btn {
  display: inline-flex;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin: 4px;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.gallery-grid-item { border-radius: var(--radius-sm); overflow: hidden; }
.gallery-grid-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid-item:hover img { transform: scale(1.06); }

/* ============================================================
   TABLE STYLES (Fee Structure etc.)
   ============================================================ */
.pk-table { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.pk-table thead th { background: var(--primary); color: var(--white); font-weight: 600; font-size: 0.88rem; padding: 14px 20px; border: none; }
.pk-table tbody td { padding: 13px 20px; font-size: 0.88rem; border-color: var(--border); }
.pk-table tbody tr:hover { background: var(--primary-pale); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .section-pad { padding: 75px 0; }
  .hero-section { min-height: auto; padding: 70px 0; }
  .hero-stats-card { display: none; }
  
  /* Mobile Navbar Fixes */
  .main-navbar .navbar-collapse {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    margin-top: 15px;
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    z-index: 1050;
  }
  .main-navbar .nav-link { padding: 12px 14px !important; border-bottom: 1px solid var(--border); }
  .main-navbar .nav-item:last-child .nav-link { border-bottom: none; }
  .main-navbar .nav-link::after { display: none; }
  
  /* Dropdown changes for mobile */
  .main-navbar .dropdown-menu { box-shadow: none; padding: 0 0 0 15px; margin: 0; background: transparent; }
  .main-navbar .dropdown-item { padding: 10px 15px; }
  .nav-cta-btn,
  .main-navbar .nav-cta-btn {
    margin: 15px auto 0 !important;
    text-align: center;
    justify-content: center;
    display: flex;
    width: fit-content;
    min-width: 160px;
    padding: 11px 24px !important;
  }
}
@media (max-width: 767px) {
  .section-pad { padding: 50px 0; }
  .top-bar .contact-info { display: none !important; }
  .hero-buttons { justify-content: center; }
  .hero-section { text-align: center; }
  .hero-section p { margin: 0 auto 32px; }
  .about-image-wrap { margin-bottom: 30px; }
  .contact-form-card, .contact-info-card { padding: 28px 22px; }
}
@media (max-width: 575px) {
  .hero-section h1 { font-size: 2rem; }
  .hero-section { padding: 55px 0 70px; }
  .page-banner { padding: 50px 0 60px; }
  .cta-section { padding: 50px 0; }
}
