/* =========================================================
   Master International School Kashipur — Bootstrap 5 build
   Fonts: Montserrat, Inter, Samarkan (matched to Figma)
   ========================================================= */

:root{
  --red: #e84b55;
  --dark-red: #8b0000;
  --deep-purple: #38269c;
  --light-purple-bg: #dad4ff;
  --purple-text: #6b5acc;
  --samarkan-red: #a5281e;
  --orange: #f97316;
  --yellow: #f4c22f;
  --green: #45a85b;
  --blue-name: #1e40af;
  --gray-text: #6b7280;
  --dark-heading: #2d2d2d;
  --footer-dark: #424242;
  font-size: 16px;
}

*{ box-sizing: border-box; }
ol, ul {
    padding: 0;
}
html{ scroll-behavior: smooth; }

body{
  font-family: 'Inter', sans-serif;
  color: #212121;
   overflow-x: hidden;  
}

h1,h2,h3,h4,h5,h6{ font-family: 'Montserrat', sans-serif; margin: 0; }
p{ margin: 0; }
a{ text-decoration: none; transition: all .25s ease; }
img{ max-width: 100%; }

.container-xl{ max-width: 1240px; }

/* =========== TOP UTILITY BAR =========== */
.top-utility-bar{
  background: var(--deep-purple);
  color: #fff;
}
.utility-link{
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  opacity: .92;
}
.utility-link:hover{ color: var(--yellow); opacity: 1; transform: translateX(2px); }
.social-links a{
  color: #fff;
  font-size: .95rem;
  display: inline-flex;
  transition: transform .3s ease, color .3s ease;
}
.social-links a:hover{ color: var(--yellow); transform: translateY(-3px) scale(1.15); }
.social {
	position: fixed;
	top: 150px;
	right: 10px;
	padding: 0;
	list-style: none;
	z-index: 99;
	width: 0px;
}
 
.social ul {
	padding: 0px;
	-webkit-transform: translate(-48px, 0);
	-moz-transform: translate(-48px, 0);
	-ms-transform: translate(-48px, 0);
	-o-transform: translate(-48px, 0);
	transform: translate(-48px, 0);
}

.social ul li {
	    display: flex;
	margin: 0px;
    margin-top: 10px;
 
	text-align: right;
	 
 
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-ms-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}
.social ul li:first-child { margin-top: 0;}
.social ul li:hover {
	-webkit-transform: translate(-200px, 0);
	-moz-transform: translate(-200px, 0);
	-ms-transform: translate(-200px, 0);
	-o-transform: translate(-200px, 0);
	transform: translate(-200px, 0);
 
}
 .social ul li a {   color: #000;
font-family: Inter, serif;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;display: flex; text-transform: uppercase;
    flex-direction: row;
  }
.social ul li a .icons { display: inline-block;    width: 50px;    height: 46px;  margin-right: 5px;  text-align: center;
    padding-top: 8px;   border-radius: 28px 0px 0px 28px;  background: #38269c}
    .social ul li a .icons img { height: 35px;}
.social ul li a .text-2 { background: #fff;height: 46px;
padding: 8px 12px; text-align: left; width: 200px;    display: flex;
    align-items: center;
 }
 .social ul li a .icons i { color: #fff; font-size: 30px;}
  .social ul li a .icons svg{    height: 29px;    width: 29px;}
    
/* =========== MAIN NAVBAR =========== */
.main-navbar{
  background: var(--red);
  padding: .55rem 0;
  z-index: 1030;
  transition: box-shadow .3s ease;
}
.main-navbar.scrolled{ box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.main-navbar > .container-xl{ max-width: 1320px; flex-wrap: nowrap; }
.brand-logo{ height: 42px; width: auto; }
.navbar-brand{ flex: 0 0 auto; margin-right: .75rem; }
.kashipur-badge{
  background: #fcf7f7;
  color: var(--red);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .6px;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
}
.navbar-collapse{ flex-wrap: nowrap; }
.nav-links{ flex-wrap: nowrap; }
.nav-links .nav-item{ white-space: nowrap; }
 .nav-link:focus-visible {
    outline: 0;
    box-shadow: none;
}
.n-right { position: relative;}
.nav-links .nav-link{
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  position: relative;
  padding: .4rem .1rem !important;
  margin: 0 .45rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links .nav-link::after{
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--yellow);
  transition: width .3s ease;
}
.nav-links .nav-link:hover{ color: var(--yellow); }
.nav-links .nav-link:hover::after{ width: 100%; }

/* Bootstrap dropdown caret -> recolor to match theme */
.nav-links .dropdown-toggle::after{
  border-top-color: rgba(255,255,255,.8);
  vertical-align: .16em;
  transition: transform .3s ease;
}
.nav-links .dropdown-toggle:hover::after{ border-top-color: var(--yellow); }
.nav-item.dropdown.show .dropdown-toggle::after{ transform: rotate(180deg); }

.dropdown-menu{
  border: none;
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: 0 18px 34px rgba(0,0,0,.18);
}
/* Fancy fade/slide open only at desktop widths — mobile keeps Bootstrap's
   default display:none/block toggle so the collapsed menu doesn't leave gaps */
@media (min-width: 992px){
  .dropdown-menu{
    margin-top: 10px !important;
    opacity: 0;
    transform: translateY(10px);
    display: block;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .dropdown-menu.show{
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
}
.dropdown-item{
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .85rem;
  color: var(--dark-heading);
  padding: 9px 20px;
  position: relative;
  transition: background .25s ease, color .25s ease, padding-left .25s ease;
}
.dropdown-item:hover, .dropdown-item:focus{
  background: var(--light-purple-bg);
  color: var(--red);
  padding-left: 26px;
}
.dropdown-item::before{
  content: '';
  position: absolute;
  left: 10px; top: 50%;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .25s ease;
  transform: translateY(-50%);
}
.dropdown-item:hover::before{ width: 10px; }

.quick-access-dropdown{ flex: 0 0 auto; margin-left: .75rem; }
.quick-access-btn{
  background: var(--deep-purple);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s ease, transform .3s ease;
}
.quick-access-btn:hover, .quick-access-btn:focus{ background: #2c1c7d; transform: translateY(-2px); }
.quick-access-btn i{ transition: transform .3s ease; }
.quick-access-dropdown.show .quick-access-btn i{ transform: rotate(180deg); }
.quick-access-dropdown .dropdown-menu{ min-width: 180px;right: 0; }

/* =========== HERO SLIDER =========== */
.hero-section{ position: relative; }
.hero-section .carousel-item{
  height: 88vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.85) 10%, rgba(0,0,0,.35) 55%, rgba(255,255,255,0) 90%);
}
.hero-content{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  max-width: 620px;
  padding-left: 15px;
}
.hero-arrow-decor{
  width: 90px;
  transform: rotate(41deg);
  margin-bottom: 10px;
  animation: floaty 3.5s ease-in-out infinite;
}
@keyframes floaty{
  0%,100%{ transform: rotate(41deg) translateY(0); }
  50%{ transform: rotate(41deg) translateY(-10px); }
}
.hero-tagline{
  font-family: 'Samarkan', cursive;
  color: var(--samarkan-red);
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero-title{
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--purple-text);
  font-size: 3.6rem;
  line-height: 1.05;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.hero-desc{
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}
.btn-hero-apply{
  background: var(--yellow);
  color: var(--samarkan-red);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
  transition: all .3s ease;
}
.btn-hero-apply:hover{
  background: #fff;
  color: var(--samarkan-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.3);
}
.btn-hero-apply i{ transition: transform .3s ease; }
.btn-hero-apply:hover i{ transform: translateY(3px); }

.hero-nav-arrow{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid #fff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.hero-nav-arrow.small{ width: 38px; height: 38px; border-color: var(--red); color: var(--red); background: #fff; }
.carousel-control-prev, .carousel-control-next{ width: 6%; opacity: 1; }
.carousel-control-prev:hover .hero-nav-arrow,
.carousel-control-next:hover .hero-nav-arrow{
  background: var(--yellow);
  color: var(--samarkan-red);
  border-color: var(--yellow);
  transform: scale(1.1);
}

/* =========== SECTION HEADERS (shared) =========== */
.section-header h2{
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--dark-heading);
  letter-spacing: .3px;
  text-transform: uppercase;
}
.header-accent{ display: flex; gap: 6px; margin-top: 12px; }
.header-accent .line{ height: 4px; width: 40px; border-radius: 3px; }
.line-blue{ background: #1d2b7d; }
.line-red{ background: var(--red); }

/* =========== LATEST NEWS =========== */
.latest-news-section{
  background: var(--light-purple-bg);
  padding: 5rem 0;
}
.news-card{
  background: #fff;
  border-radius: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 32px 12px 12px;
  position: relative;
  box-shadow: 0 12px 24px rgba(0,0,0,.05);
  transition: transform .35s ease, box-shadow .35s ease;
}
.news-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 34px rgba(0,0,0,.12);
}
.date-badge{
  background: var(--red);
  color: #fff;
  width: 96px; height: 96px;
  min-width: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .35s ease;
}
.news-card:hover .date-badge{ transform: rotate(-8deg) scale(1.05); }
.date-badge .day{ font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.8rem; line-height: 1; }
.date-badge .month{ font-family: 'Inter', sans-serif; font-weight: 600; font-size: .8rem; text-transform: uppercase; }
.news-text{ font-family: 'Inter', sans-serif; font-weight: 500; color: var(--dark-heading); font-size: 1rem; line-height: 1.5; }
.new-tag{
  position: absolute;
  top: -8px; left: 84px;
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ---- reusable mini slider (Latest News, Toppers, Birthdays) ---- */
.mini-slider{
  display: flex;
  align-items: center;
  gap: 18px;
}
.mini-slider-nav{
  background: none;
  border: none;
  padding: 0;
  flex: 0 0 auto;
  line-height: 0;
}
.mini-slider-nav .hero-nav-arrow.small{ width: 44px; height: 44px; }
.mini-slider-nav:hover .hero-nav-arrow.small{
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: scale(1.1);
}
.mini-slider-nav:disabled{ opacity: .35; cursor: default; }
.mini-slider-nav:disabled .hero-nav-arrow.small{ background: #fff; color: var(--red); transform: none; }
.mini-slider-track{ padding: 0px 60px;}
.mini-slider-track .slick-slide { padding: 0px 10px;}
.slick-prev {
    left: 0;
    z-index: 1;
}
.slick-next {
    right: 0px; z-index: 1;
}
.mini-slider-track-wrapper{
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
}
.mini-slider-track{
  display: flex;
  gap: 24px;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.mini-slider-slide{
  flex: 0 0 calc(50% - 12px);
  min-width: 0;
}
.mini-slider-slide > *{ height: 100%; }

.mini-slider-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.mini-slider-dots .dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(0,0,0,.18);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all .3s ease;
}
.mini-slider-dots .dot.active{ background: var(--red); width: 26px; border-radius: 5px; }

/* smaller nav arrows + single dot row look nicer inside the narrower
   Toppers/Birthdays half-columns */
.community-section .mini-slider-nav .hero-nav-arrow.small{ width: 36px; height: 36px; font-size: .8rem; }
.community-section .mini-slider{ gap: 10px; }
.community-section .mini-slider-dots{ margin-top: 18px; }

@media (max-width: 767.98px){
  .mini-slider-slide{ flex: 0 0 100%; }
  .mini-slider-nav .hero-nav-arrow.small{ width: 36px; height: 36px; font-size: .85rem; }
}
@media (max-width: 575.98px){
  .community-section .mini-slider-slide{ flex: 0 0 calc(50% - 6px); }
  .community-section .mini-slider-track{ gap: 12px; }
}

/* =========== ABOUT / FEATURED =========== */
.about-featured-section{
  background: var(--light-purple-bg);
  padding: 5rem 0;
}
.collage-wrapper{
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1/1;
}
.center-photo{
  position: absolute;
  top: 14%; left: 14%;
  width: 72%; height: 72%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
  transition: transform .5s ease;
}
.center-photo img{ width: 100%; height: 100%; object-fit: cover; }
.collage-wrapper:hover .center-photo{ transform: scale(1.04) rotate(1deg); }
.deco-ellipse{
  position: absolute;
  border-radius: 50%;
  animation: floaty2 6s ease-in-out infinite;
}
.deco-ellipse.e1{ width: 16%; top: 8%; right: 4%; animation-delay: 0s; }
.deco-ellipse.e2{ width: 14%; bottom: 16%; right: 0%; animation-delay: 1.2s; }
.deco-ellipse.e3{ width: 18%; top: 6%; left: 2%; animation-delay: 2s; }
.deco-ellipse.e4{ width: 16%; bottom: 10%; left: 0%; animation-delay: 3s; }
@keyframes floaty2{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-14px); }
}
.school-info-card{
  background: #fff;
  border-top: 8px solid var(--orange);
  border-radius: 0 0 32px 32px;
  padding: 3rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.school-info-card:hover{ transform: translateY(-6px); box-shadow: 0 22px 40px rgba(0,0,0,.1); }
.school-info-card h3{
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--dark-red);
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 1.25;
}
.orange-underline{ width: 80px; height: 4px; background: var(--orange); margin: 10px 0 20px; }
.school-info-card p{ color: var(--gray-text); font-size: 1rem; line-height: 1.65; margin-bottom: 1.1rem; font-family: 'Inter', sans-serif; }

.btn-read-more{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-red);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all .3s ease;
}
.btn-read-more:hover{ background: var(--red); color: #fff; transform: translateX(4px); box-shadow: 0 8px 18px rgba(0,0,0,.2); }

/* =========== WHY MASTER INTERNATIONAL (hover accordion) =========== */
.why-section{ background: var(--light-purple-bg); padding: 5rem 0 4rem; overflow: hidden; }
.why-title{
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: #000;
  text-transform: capitalize;
}
.why-accordion{
  display: flex;
  height: 420px;
  width: 100%;
  gap: 4px;
  margin-bottom: 4rem;
}
.why-panel{
  position: relative;
  flex: 1;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  transition: flex .6s cubic-bezier(.22,1,.36,1);
}
.why-panel-overlay{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  transition: background .5s ease;
}
.why-panel-vertical-text{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease;
}
.why-panel-vertical-text span{
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  white-space: nowrap;
  letter-spacing: 1px;
}
.why-panel-detail{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease .1s, transform .5s ease .1s;
  background: rgba(255,255,255,.94);
}
.why-panel-detail h4{
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--dark-heading);
  margin-bottom: 1rem;
}
.why-panel-detail p{
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}
.why-panel:hover{ flex: 4; }
.why-panel:hover .why-panel-overlay{ background: rgba(0,0,0,.15); }
.why-panel:hover .why-panel-vertical-text{ opacity: 0; }
.why-panel:hover .why-panel-detail{ opacity: 1; transform: translateY(0); }
.why-panel.why-panel-preview{ flex: 4; }
.why-panel.why-panel-preview .why-panel-overlay{ background: rgba(0,0,0,.15); }
.why-panel.why-panel-preview .why-panel-vertical-text{ opacity: 0; }
.why-panel.why-panel-preview .why-panel-detail{ opacity: 1; transform: translateY(0); }

.features-row{ margin-top: -1rem; }
.feature-card{
  background: #eaeaea;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  min-height: 143px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: all .35s ease;
}
.feature-card i{ font-size: 2rem; color: #646464; transition: color .35s ease, transform .35s ease; }
.feature-card p{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #646464;
}
.feature-divider{ height: 1px; background: #646464; width: 100%; margin-top: auto; }
.feature-card-active{ background: var(--red); }
.feature-card-active i,
.feature-card-active p{ color: #fff; }
.feature-card-active .feature-divider{ background: rgba(255,255,255,.5); }
.feature-card:hover{
  background: var(--red);
  transform: translateY(-8px);
  box-shadow: 0 16px 30px rgba(232,75,85,.3);
}
.feature-card:hover i,
.feature-card:hover p{ color: #fff; }
.feature-card:hover .feature-divider{ background: rgba(255,255,255,.5); }
.feature-card:hover i{ transform: scale(1.15) rotate(-6deg); }

/* =========== PRINCIPAL MESSAGE =========== */
.principal-message-section{
  background: var(--light-purple-bg);
  padding: 5rem 0;
}
.section-title-red{
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--dark-red);
  font-size: 1.9rem;
}
.red-underline{ width: 40px; height: 3px; background: var(--red); margin: 10px 0 20px; }
.principal-message-section p{
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  line-height: 1.7;
  color: #111;
  margin-bottom: 1.1rem;
}
.btn-read-more-sm{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all .3s ease;
}
.btn-read-more-sm:hover{ background: var(--dark-red); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.2); }

.principal-photo-frame{
  position: relative;
  background: #fff;
  border: 8px solid var(--dark-red);
  border-radius: 4px;
  padding: 8px;
  max-width: 420px;
  height: 320px;
  transition: transform .4s ease;
}
.principal-photo-frame:hover{ transform: rotate(-1deg) scale(1.02); }
.principal-photo-frame img{ width: 100%; height: 100%; object-fit: cover; }
.wand-sparkle{
  position: absolute;
  top: -20px; right: -20px;
  font-size: 2.4rem;
  color: var(--orange);
  animation: sparkle 2.4s ease-in-out infinite;
}
@keyframes sparkle{
  0%,100%{ transform: scale(1) rotate(0); opacity: 1; }
  50%{ transform: scale(1.25) rotate(15deg); opacity: .75; }
}

/* =========== TOPPERS & BIRTHDAYS =========== */
.community-section{ background: var(--light-purple-bg); padding: 5rem 0; }
.community-heading h3{
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--dark-red);
  font-size: 1.7rem;
}
.person-card{
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,.03);
  transition: all .35s ease;
  height: 100%;
}
.person-card:hover{ transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 34px rgba(0,0,0,.12); }
.person-photo{ width: 100%; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.person-photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.person-card:hover .person-photo img{ transform: scale(1.1); }
.person-name{ font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--blue-name); font-size: 1rem; }
.person-sub{ font-family: 'Inter', sans-serif; color: var(--gray-text); font-size: .75rem; margin: 2px 0; }
.person-badge{ font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--orange); font-size: .85rem; }

/* =========== CELEBRATE + CONTACT =========== */
.celebrate-contact-section{
  background: linear-gradient(180deg, #fefeff 0%, #e6e8f8 60%, var(--light-purple-bg) 100%);
  padding: 5rem 0;
}
.celebrate-photo{
  border-radius: 18px;
  overflow: hidden;
  height: 260px;
  margin-bottom: 24px;
  position: relative;
}
.celebrate-photo::after{ content:''; position:absolute; inset:0; background: rgba(0,0,0,.2); }
.celebrate-photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.celebrate-photo:hover img{ transform: scale(1.08); }
.celebrate-years{ font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.5rem; color: #000; margin-bottom: 1.2rem; }
.celebrate-heading{ font-family: 'Inter', sans-serif; font-weight: 500; font-size: 1.5rem; color: #000; margin-bottom: 1rem; }
.celebrate-contact-section > .container-xl > .row > .col-lg-6 p{ font-family: 'Inter', sans-serif; font-size: 1rem; color: #222; line-height: 1.6; margin-bottom: 1.5rem; }

.contact-form-card{
  background: var(--red);
  border-radius: 16px;
  padding: 32px 28px;
  color: #fff;
  box-shadow: 0 20px 40px rgba(232,75,85,.25);
}
.contact-form-card h3{
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.6rem;
}
.form-field{
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color .3s ease, background .3s ease;
}
.form-field:focus-within{ border-color: #fff; background: rgba(255,255,255,.08); }
.form-field i{ color: #fff; font-size: 1rem; }
.form-field-textarea{ align-items: flex-start; }
.form-field .form-control{
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 0;
  box-shadow: none !important;
}
.form-field .form-control::placeholder{ color: rgba(255,255,255,.85); }
.btn-submit-form{
  background: #fff;
  border: 1px solid #000;
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all .3s ease;
}
.btn-submit-form:hover{ background: #000; color: #fff; transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.3); }

/* =========== GALLERY =========== */
/* Figma has this section sitting on a soft white-to-lavender gradient that
   transitions into solid green toward the bottom (not a plain white bg). */
.gallery-section{
  background: linear-gradient(180deg, #fefeff 0%, #e6e8f8 55%, var(--green) 55%, var(--green) 100%);
  border-radius: 22px 22px 0 0;
  padding: 5rem 0 6rem;
  position: relative;
}
.gallery-tabs{ display: flex; align-items: center; justify-content: center; gap: 24px; }
.gallery-tab{
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: capitalize;
  color: var(--footer-dark);
  transition: color .3s ease, transform .3s ease;
}
.gallery-tab span{ color: var(--red); }
.gallery-tab:hover{ transform: translateY(-2px); }
.gallery-tab.active{ text-decoration: underline; text-underline-offset: 6px; }
.gallery-divider{ width: 1px; height: 40px; background: #ccc; }

.gallery-track{ display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.gallery-thumb{
  width: 130px; height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  transition: all .4s ease;
}
.gallery-thumb.main{ width: 190px; height: 190px; border-color: var(--red); }
.gallery-thumb img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-thumb:hover{ transform: translateY(-10px) scale(1.06); box-shadow: 0 16px 30px rgba(0,0,0,.25); }
.gallery-thumb:hover img{ transform: scale(1.15); }

.view-all-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .5px;
  padding: 10px 22px;
  border-radius: 4px;
  transition: all .3s ease;
}
.view-all-btn:hover{ background: var(--green); color: #fff; transform: translateX(4px); }

/* =========== FOOTER =========== */
/* Figma's actual footer background is light-purple (#dad4ff) with a faint
   20%-opacity texture image behind the content — NOT green. The green belongs
   to the gallery section above (fixed separately). */
footer{ background: var(--light-purple-bg); position: relative; overflow: hidden; }
.footer-bg-texture{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  pointer-events: none;
}
.footer-main{ position: relative; padding: 3.5rem 0 1rem; color: #000; }
.footer-logo{ height: 46px; }
.footer-badge{ height: 40px; }
.footer-address{ font-family: 'Inter', sans-serif; font-weight: 500; font-size: 1rem; color: #000; margin-bottom: 14px; }
.footer-contact{ font-family: 'Inter', sans-serif; font-weight: 300; font-size: .95rem; color: #000; margin-bottom: 10px; }
.footer-contact a{ color: #000; }
.footer-contact a:hover{ color: var(--red); }
.follow-us-label{ font-family: 'Inter', sans-serif; font-weight: 800; color: #2d1f80; font-size: 1.1rem; text-transform: uppercase; margin: 18px 0 10px; }
.footer-socials a{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--deep-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  transition: all .3s ease;
}
.footer-socials a:hover{ background: var(--deep-purple); color: #fff; transform: translateY(-4px) rotate(8deg); }
.footer-col-title{ font-family: 'Inter', sans-serif; font-weight: 800; color: var(--orange); font-size: 1.1rem; text-transform: uppercase; margin-bottom: 18px; }
.footer-links{ list-style: none; padding: 0; margin: 0; }
.footer-links li{ margin-bottom: 18px; }
.footer-links a{ color: #000; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 1rem; text-transform: capitalize; position: relative; }
.footer-links a::before{
  content: '';
  position: absolute; left: -14px; top: 50%;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .3s ease;
}
.footer-links a:hover{ color: var(--red); padding-left: 6px; }
.footer-links a:hover::before{ width: 10px; }
.footer-divider{ border-top: 1px solid rgba(0,0,0,.3); margin: 1.5rem 0; opacity: 1; }
.footer-bottom-links{ list-style: none; padding: 0; }
.footer-bottom-links a{ color: #000; font-family: 'Roboto', sans-serif; font-size: .85rem; }
.footer-bottom-links a:hover{ color: var(--red); }
.copyright{ font-family: 'Roboto', sans-serif; font-weight: 300; font-size: .8rem; color: #000; }

/* =========== BACK TO TOP =========== */
#backToTop{
  position: fixed;
  bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  z-index: 999;
  transition: all .3s ease;
}
#backToTop:hover{ background: var(--dark-red); transform: translateY(-5px); }
#backToTop.show{ display: flex; }

/* =========== INNER PAGES (About, Message, Prospectus, Admission, etc.) =========== */
.inner-hero{
  background: linear-gradient(120deg, var(--deep-purple) 0%, var(--red) 100%);
  padding: 3.2rem 0 2.4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.inner-hero::after{
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 55%);
}
.inner-hero h1{
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
}
.inner-breadcrumb{
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  margin-top: 8px;
  opacity: .9;
}
.inner-breadcrumb a{ color: #fff; opacity: .85; }
.inner-breadcrumb a:hover{ opacity: 1; color: var(--yellow); }
.inner-breadcrumb i{ font-size: .7rem; margin: 0 8px; vertical-align: middle; }

.inner-content-section{ background: var(--light-purple-bg); padding: 4rem 0 5rem; }
.inner-card{
  background: #fff;
  border-radius: 20px;
  padding: 2.75rem;
  box-shadow: 0 16px 34px rgba(0,0,0,.06);
}
.inner-card img.inner-photo{
  width: 100%;
  border-radius: 14px;
  margin-bottom: 1.75rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.1);
}
.inner-card h2{
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--dark-red);
  font-size: 1.5rem;
  margin: 1.75rem 0 .75rem;
}
.inner-card h2:first-child{ margin-top: 0; }
.inner-card p{
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 1.1rem;
}
.inner-card ul.inner-list{ margin: 0 0 1.1rem; padding-left: 1.3rem; }
.inner-card ul.inner-list li{ font-family: 'Inter', sans-serif; line-height: 1.75; color: #333; margin-bottom: .4rem; }
.inner-signature{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark-red);
  margin-top: 1.5rem;
}
.inner-signature span{ display: block; font-family: 'Inter', sans-serif; font-weight: 400; color: #666; font-size: .85rem; }

.inner-sidebar-card{
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  border-top: 6px solid var(--orange);
  margin-bottom: 1.5rem;
}
.inner-sidebar-card h4{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark-red);
  font-size: 1.05rem;
  margin-bottom: .9rem;
}
.inner-sidebar-card ul{ list-style: none; padding: 0; margin: 0; }
.inner-sidebar-card ul li{ margin-bottom: 2px; }
.inner-sidebar-card ul li a{
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: #333;
  padding: 10px 4px;
  border-bottom: 1px solid #f1eff9;
  transition: all .25s ease;
}
.inner-sidebar-card ul li:last-child a{ border-bottom: none; }
.inner-sidebar-card ul li a:hover{ color: var(--red); padding-left: 10px; }
.inner-sidebar-card ul li a.active{ color: var(--red); font-weight: 700; }
.inner-sidebar-contact{ background: var(--deep-purple); color: #fff; }
.inner-sidebar-contact h4{ color: #fff; }
.inner-sidebar-contact p{ font-family: 'Inter', sans-serif; font-size: .9rem; margin-bottom: .6rem; display: flex; gap: 10px; align-items: flex-start; }
.inner-sidebar-contact a{ color: #fff; }
.inner-sidebar-contact a:hover{ color: var(--yellow); }

/* timing table */
.timing-table{ width: 100%; border-collapse: separate; border-spacing: 0 16px; }
.timing-table td{ vertical-align: top; padding: 0; }
.timing-row{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--light-purple-bg);
  border-radius: 14px;
  padding: 1.5rem;
}
.timing-row i{ font-size: 2rem; color: var(--red); flex: 0 0 auto; }
.timing-row h5{ font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--dark-red); margin-bottom: 8px; }
.timing-row p{ font-family: 'Inter', sans-serif; font-size: .95rem; line-height: 1.8; color: #333; margin: 0; }

        /* Custom functional Tabs Styling */
        .gallery-nav-tabs {
            border-bottom: none;
            justify-content: center;
            align-items: center;
            padding: 40px 0 20px;
            background-color: #fff;
            gap: 20px;
        }
        .gallery-nav-tabs .nav-item .nav-link {
            border: none;
            font-size: 2rem;
            font-weight: 700;
            color: #6c757d;
            background: transparent;
            padding: 0;
            transition: color 0.3s ease;
        }
        .gallery-nav-tabs .nav-item .nav-link span {
            color: #dc3545;
            opacity: 0.6;
        }
        .gallery-nav-tabs .nav-item .nav-link.active {
            color: #333333 !important;
            background-color: transparent;
        }
        .gallery-nav-tabs .nav-item .nav-link.active span {
            opacity: 1;
        }
        .tab-divider {
            width: 1px;
            height: 40px;
            background-color: #999;
        }

        /* Split Background Section */
        .gallery-slider-section {
            background: linear-gradient(to bottom, #f6f8fb 55%, #34a853 55%);
            padding-bottom: 50px;
            position: relative;
        }

        /* Main Slider */
        .slider-main-container {
            max-width: 1100px;
            margin: 0 auto;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        .slider-main .slide-item img,
        .slider-main .slide-item .video-placeholder {
            width: 100%;
            height: 500px;
            object-fit: cover;
            display: block;
        }
        
        .slider-main .slide-item .video-placeholder {
            background: #222;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        .video-placeholder .play-overlay {
            font-size: 5rem;
            color: rgba(255, 255, 255, 0.8);
            cursor: pointer;
            transition: transform 0.2s;
        }
        .video-placeholder .play-overlay:hover {
            transform: scale(1.1);
            color: #fff;
        }
.foundertxt h2 {color: #38269c;}
.master-text {font-size: 16px;
    line-height: 30px;}
    .innerH3 {    color: #38269c;
    margin-bottom: 5px;    font-size: 30px;}
.master-text p { margin-bottom: 15px;}
        /* Thumbnail Navigation Slider */
        .slider-nav-wrapper {
            max-width: 700px;
            margin: -60px auto 0;
            position: relative;
            z-index: 10;
            padding: 0 45px;
        }
        .slider-nav .slick-arrow::before,.slider-nav .slick-arrow i{ display: none;}
        
           .slider-nav .slick-prev{ background:url(/images/Group78.png) center center no-repeat; height: 29px; width: 29px; left: -40px;}
           
           .slider-nav .slick-next {background:url(/images/Group30.png) center center no-repeat; height: 29px; width: 29px; right: -40px;}
        .slider-nav .slide-thumb {
            padding: 0 8px;
            outline: none;
            cursor: pointer;
        }
        .slider-nav .slide-thumb img {
            width: 100%;
            height: 100px;
            object-fit: cover;
            border-radius: 16px;
            border: 3px solid #fff;
            transition: all 0.3s ease;
        }
        .slider-nav .slide-thumb .empty-thumb {
            width: 100%;
            height: 100px;
            border-radius: 16px;
            border: 2px solid rgba(255, 255, 255, 0.8);
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
        }
        
        .slider-nav .slick-current .slide-thumb img {
            border-color: #ffc107;
            transform: scale(1.05);
        }

      
        .btn-view-all {
            background-color: #fff;
            color: #34a853;
            border: none;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 700;
            padding: 10px 24px;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-view-all:hover {
            background-color: #eef7f0;
            transform: translateY(-2px);
            color: #27803e;
        }

        @media (max-width: 991px) {
            .slider-main .slide-item img, .slider-main .slide-item .video-placeholder { height: 350px; }
            .slider-nav-wrapper { max-width: 500px; margin-top: -45px; }
            .slider-nav .slide-thumb img, .slider-nav .slide-thumb .empty-thumb { height: 80px; }
        }
        @media (max-width: 576px) {
            .gallery-nav-tabs .nav-item .nav-link { font-size: 1.4rem; }
            .slider-main .slide-item img, .slider-main .slide-item .video-placeholder { height: 240px; }
            .slider-nav-wrapper { max-width: 320px; margin-top: -30px; }
            .slider-nav .slide-thumb img, .slider-nav .slide-thumb .empty-thumb { height: 60px; border-radius: 10px; }
        }
/* fee structure */
.fee-table{ width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.fee-table th{
  background: var(--deep-purple);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-align: left;
  padding: 12px 18px;
}
.fee-table th:first-child{ border-radius: 10px 0 0 0; }
.fee-table th:last-child{ border-radius: 0 10px 0 0; }
.fee-table td{
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: #333;
  padding: 12px 18px;
  border-bottom: 1px solid var(--light-purple-bg);
}
.fee-table tr:nth-child(even) td{ background: #faf9ff; }
.fee-table td.amount{ font-weight: 700; color: var(--dark-red); text-align: right; }

/* achievement card */
.achievement-card{
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.achievement-card:hover{ transform: translateY(-8px); box-shadow: 0 22px 40px rgba(0,0,0,.12); }
.achievement-card img{ width: 100%; height: 220px; object-fit: cover; }
.achievement-card .achievement-body{ padding: 1.5rem; }
.achievement-card h5{ font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--dark-red); font-size: 1.05rem; margin-bottom: 8px; }
.achievement-card .achievement-meta{ font-family: 'Inter', sans-serif; font-size: .82rem; color: var(--gray-text); margin-bottom: 10px; }
.achievement-card p{ font-family: 'Inter', sans-serif; font-size: .92rem; color: #444; line-height: 1.6; }

.empty-state{
  text-align: center;
  padding: 3rem 1.5rem;
  font-family: 'Inter', sans-serif;
  color: #666;
}
.empty-state i{ font-size: 2.6rem; color: var(--orange); margin-bottom: 1rem; display: block; }

@media (max-width: 767.98px){
  .inner-card{ padding: 1.75rem; }
  .inner-hero h1{ font-size: 1.7rem; }
}

/* =========== RESPONSIVE =========== */
@media (max-width: 991.98px){
  .main-navbar > .container-xl{ flex-wrap: wrap; }
  .navbar-collapse{ flex-wrap: wrap; }
  .nav-links{ padding: .5rem 0; flex-wrap: wrap; }
  .nav-links .nav-item{ white-space: normal; width: 100%; }
  .nav-links .nav-link{ margin: 0; padding: .6rem .1rem !important; width: 100%; }
  .nav-links .dropdown-menu{ background: rgba(0,0,0,.12); box-shadow: none; border-radius: 8px; }
  .nav-links .dropdown-item{ color: #fff; }
  .nav-links .dropdown-item:hover{ background: rgba(255,255,255,.15); color: var(--yellow); }
  .nav-links .dropdown-item::before{ background: var(--yellow); }
  .quick-access-dropdown{ width: 100%; margin: .5rem 0 0; }
  .quick-access-btn{ width: fit-content; }
  .why-accordion{ flex-direction: column; height: auto; }
  .why-panel{ height: 130px; flex: none !important; }
  .why-panel:hover{ height: 320px; }
  .why-panel-vertical-text span{ writing-mode: horizontal-tb; transform: none; font-size: 1.1rem; }
  .hero-title{ font-size: 2.6rem; }
  .hero-tagline{ font-size: 2rem; }
}
@media (max-width: 575.98px){
  .hero-content{ max-width: 90%; }
  .hero-title{ font-size: 2.1rem; }
  .hero-tagline{ font-size: 1.6rem; }
  .hero-section .carousel-item{ height: 100vh; }
  .contact-info .utility-link span{ display: none; }
}
