@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --brand-blue: #3989c8;
  --secondary-blue: #3989c8;
  --accent-gold: #f8ee3e;
  --dark-navy: #2c314a;
  --light-lavender: #dcdaf0;
  --neutral-dark: #3a3a3a;
  --neutral-light: #f9f9fb;
}

html {
  font-family: "Roboto", sans-serif;
}

a {
  text-decoration: none;
}

/* ============================= */

/* #header {
  position: absolute;
  top: 30px;
  width: 100%;
  z-index: 999;
  background: transparent;
  transition: all 0.4s ease;
} */

#header .navbar {
  padding: 20px 0;
  transition: all 0.4s ease;
}

.logo-sub {
  display: none;
}

#header.scrolled {
  position: fixed;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#header.scrolled .nav-top-media {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

#header.scrolled .navbar {
  padding: 10px 0;
}

#header.scrolled .nav-link {
  color: #000000 !important;
}

#header.scrolled .logo {
  width: 130px;
}

#header.scrolled .logo {
  display: none;
}

#header.scrolled .logo-sub {
  display: block;
  width: 220px;
}

#header.scrolled{
  top: 0px;
}

/* ---------------------------------- */

.header {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  transition: all 0.4s ease;
}

.navbar {
  background: transparent !important;
}

.navbar-brand img {
  width: 180px;
  transition: all 0.4s ease;
}

.nav-top-media a i {
  font-size: 10px;
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-blue);
  justify-content: center;
  border-radius: 50%;
  background-color: var(--accent-gold);
  text-align: center;
  line-height: 1;
}

.nav-top-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
  align-items: center;
  margin-right: 20px;
}

.nav-top-links li {
  cursor: pointer;
  transition:
    color 0.3s,
    border-bottom 0.3s;
  padding-bottom: 2px;
  position: relative;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
}

.top-div2 li:nth-child(-n + 9):after {
  content: "";
  border-right: 2px solid var(--brand-blue);
  display: block;
  width: 114%;
  height: 14px;
  margin-top: -16px;
}

.top-div2 .dropdown li:nth-child(-n + 8):after {
  display: none;
}

.btn-donate,
.btn-volunteer {
  text-transform: uppercase;
}

/* Common button style */
a[class^="btn-"] {
  display: inline-block;
  padding: 5px 20px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-right: 10px;
  border-radius: 10px;
}

.btn-volunteer {
  background-color: var(--brand-blue);
  font-weight: 500;
}
.btn-volunteer:hover {
  background-color: #2f6fa3;
}

.btn-sponsor {
  background-color: var(--accent-gold);
  color: #000;
}
.btn-sponsor:hover {
  background-color: #e6dc35;
  color: #000;
}

.helpdesk-link,
.email-link {
  color: var(--neutral-light);
  text-decoration: none;
  font-size: 14px;
}

.nav-top-media {
  padding: 15px 0;
}

.fa-facebook {
  color: var(--brand-blue);
}

.fa-youtube {
  color: var(--brand-red, #db1e32);
}

.fa-instagram {
  background: linear-gradient(
    45deg,
    var(--accent-gold) 0%,
    var(--brand-red, #db1e32) 50%,
    var(--brand-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fa-x-twitter {
  color: var(--brand-blue);
}

.nav-contact {
  color: var(--brand-blue);
}

.nav-top-section {
  background-color: var(--brand-blue);
  padding: 8px 0;
}

.nav-top-section .top-div2 p {
  color: #fff;
  margin-bottom: 0;
  text-transform: uppercase;
  font-size: 14px;
}

.nav-top-section .top-div1 a {
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
}

.top-div1 p {
  font-size: 13px;
}

.navbar .navbar-nav .nav-link {
  color: #fff;
  padding-left: 10px !important;
  padding-right: 11px !important;
  padding-top: 11px;
  padding-bottom: 11px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
}

.dropdown-toggle::after {
  display: none;
}

@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .dropend:hover > .dropdown-menu {
    display: block;
    position: absolute;
    top: -0.5rem;
    left: 100%;
    margin-left: 0;
  }
}

.fso-link a {
  font-size: 12px !important;
}

.dropdown a {
  font-size: 14px;
}

.navbar-nav li a:hover {
  background-color: var(--brand-blue);
  color: #fff;
}

.top-div2 .nav-item li a:hover {
  background-color: var(--brand-blue);
  color: #fff;
}

.top-div2 .nav-item li a {
  font-size: 12px;
}

.navbar > .container-fluid {
  align-items: flex-end !important;
}

.only-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ------------------------------ */
/* -----------Video-banner------ */
/* ---------------------------- */
.video-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.banner-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.video-banner::after {
  content: "";
  position: absolute;
  inset: 0;
}

.banner-content {
  position: absolute;
  bottom: 60px;
  left: 150px;
  text-align: left;
  z-index: 2;
}

.banner-content h1 {
  text-transform: uppercase;
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--accent-gold);
  letter-spacing: 1px;
  line-height: 1.2;
}

.banner-content p {
  font-size: 25px;
  color: var(--neutral-light);
  line-height: 1.6;
  font-family: "Playpen Sans", cursive;
  font-optical-sizing: auto;
  font-style: normal;
}

.video-banner {
  position: relative;
}

.banner-content {
  position: absolute;
  bottom: 60px;
  left: 150px;
  z-index: 2;
}

.banner-logos {
  position: absolute;
  bottom: 60px;
  right: 150px;
  display: flex;
  gap: 20px;
  z-index: 2;
}

.logo-box {
  background-color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
}

.logo-box img {
  height: 120px;
  width: auto;
  display: block;
}

/* ---------------------------------------- */
/* ------------Acadamics------------------ */
/* -------------------------------------- */

.Academics-intro-jsvm {
  padding: 80px 0 0px 0;
  background: #f9fbff;
}

.Academics-intro-jsvm .intro-content h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
  position: relative;
  text-transform: uppercase;
}

.Academics-intro-jsvm .intro-content p {
  line-height: 1.9;
  color: #555;
  margin-bottom: 18px;
  font-weight: 400;
}

@media (max-width: 991px) {
  .Academics-intro-jsvm .intro-content p {
    font-size: 15px;
  }
}

/* --------------------------------------- */

.grid-acadamics {
  padding: 10px 0px 0px 0px;
  background: #f9fbff;
}

.parent-acadamic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
}
.parent-acadamic > div {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  padding: 20px;
}

.parent-acadamic > div:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(57, 137, 200, 0.15);
}

.img-left-slot {
  width: 45%;
  height: 100%;
}

.img-left-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-text {
  width: 55%;
  padding: 30px;
}

.slot-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.slot-text p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}

.acadamic-btn {
  display: flex;
  gap: 10px;
}

.acadamic-btn a {
  text-decoration: none;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: 0.3s ease;
}

.btn-know {
  background: var(--brand-blue);
  color: #fff;
}

.btn-apply {
  background: var(--accent-gold);
  color: #000 !important;
  font-weight: 600;
}

@media (max-width: 992px) {
  .parent-acadamic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .parent-acadamic > div {
    flex-direction: column;
  }

  .img-left-slot,
  .slot-text {
    width: 100%;
  }
}

/* --------------------------------------- */
/* ------------About-section------------- */
/* ------------------------------------- */

.about-section {
  padding-top: 80px;
  border-radius: 12px;
  background: #f9fbff;
}

.about-left img {
  border-radius: 10px;
}

.about-contact h5 {
  color: #333;
  margin-bottom: 10px;
}

.about-contact p {
  color: #666;
  font-size: 15px;
}

.about-contact a {
  background-color: #f1f1f1;
  border-radius: 6px;
  padding: 8px 18px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.about-contact a:hover {
  background-color: #ffd369;
  color: #000;
}

.about-right {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.section-subtitle-aboutus {
  color: var(--brand-blue);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title-aboutus {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.about-right p {
  color: #555;
  line-height: 1.7;
}

.green-bold {
  font-size: 2.8rem;
}

.read-more {
  color: var(--dark-navy);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.main-points {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.main-points > div[class^="points-"] {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-points img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.main-points span {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dark-navy);
}

/* --------------------------------- */
/* -----------Counter-------------- */
/* ------------------------------- */

.counter-jsvm {
  background: #f9fbff;
  padding: 20px 0px 80px 0px;
}

.counter-jsvm .counter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.counter-jsvm .counter-box {
  text-align: center;
  width: 220px;
  padding: 30px 20px;
  transition: all 0.4s ease;
}

.counter-jsvm .counter-box:hover {
  transform: translateY(-8px);
}

.counter-jsvm .counter-icon {
  font-size: 40px;
  color: var(--brand-blue);
  margin-bottom: 18px;
}

.counter-jsvm .counter {
  font-size: 38px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.counter-jsvm .counter-title {
  font-size: 15px;
  font-weight: 600;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.counter-jsvm .counter-box:hover .counter-icon {
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .counter-jsvm .counter-box {
    width: 160px;
    padding: 20px 15px;
  }

  .counter-jsvm .counter {
    font-size: 30px;
  }

  .counter-jsvm .counter-icon {
    font-size: 32px;
  }

  .counter-jsvm .counter-title {
    font-size: 13px;
  }
}

/* ------------------------------------------ */
/* ----------Facilities-carosal------------- */
/* ---------------------------------------- */

.navkis-carousel-section {
  padding: 10px 0px 0px 0px;
  background: #f9fbff;
}

.navkis-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.navkis-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.navkis-overlay {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  padding: 10px 50px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.navkis-overlay h3 {
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

.navkis-owl .owl-dots {
  text-align: center !important;
  margin-top: 25px !important;
}

.navkis-owl .owl-dot span {
  width: 12px !important;
  height: 6px !important;
  background: var(--secondary-blue) !important;
  display: block !important;
  border-radius: 50px !important;
  margin: 6px !important;
  transition: all 0.4s ease !important;
  opacity: 0.5;
}

.navkis-owl .owl-dot.active span {
  width: 32px !important;
  height: 6px !important;
  background: var(--brand-blue) !important;
  opacity: 1;
}

/* ================================
   EVENT MARQUEE 
================================ */

.only-events-title {
  background: #f9fbff;
}

.only-events-title .heading-programs {
  color: #333;
  font-weight: 700;
}

.only-events-title .heading-programs span {
  color: var(--brand-blue);
  line-height: 50px;
}

.event-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0px 60px 0px;
  cursor: auto;
  background: #f9fbff;
}

.event-marquee:active {
  cursor: grabbing;
}

.event-marquee__wrapper {
  width: 100%;
  overflow: hidden;
}

.event-marquee__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: eventMarqueeScroll 60s linear infinite;
  will-change: transform;
}

.event-marquee__wrapper:hover .event-marquee__track,
.event-marquee.is-dragging .event-marquee__track {
  animation-play-state: paused;
}

.event-marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-marquee__item img {
  height: 260px;
  width: auto;
  max-width: 1000px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  user-select: none;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.event-marquee__item img:hover {
  transform: scale(1.03);
}

@keyframes eventMarqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 992px) {
  .event-marquee__item img {
    height: 210px;
  }
}

@media (max-width: 768px) {
  .event-marquee {
    padding: 20px 0;
  }

  .event-marquee__track {
    gap: 40px;
  }

  .event-marquee__item img {
    height: 160px;
    max-width: 600px;
  }
}

/* ================================
   Footer Main Section
================================ */

.footer-jsvm {
  background: #020617;
  color: #cbd5e1;
  padding: 60px 0 25px;
  font-family: "Poppins", sans-serif;
}

.footer-jsvm .footer-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-jsvm .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-jsvm .footer-links li {
  margin-bottom: 10px;
}

.footer-jsvm .footer-links a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 400;
  transition: 0.3s ease;
}

.footer-jsvm .footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-jsvm .footer-address {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 15px;
}

.footer-jsvm .footer-contact a {
  display: block;
  text-decoration: none;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 8px;
  transition: 0.3s ease;
}

.footer-jsvm .footer-contact a:hover {
  color: #ffffff;
}

.footer-jsvm .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  margin-top: 35px;
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-jsvm .footer-bottom a {
  text-decoration: none;
  color: #94a3b8;
  margin-left: 15px;
  transition: 0.3s ease;
}

.footer-jsvm .footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-jsvm .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-jsvm .footer-bottom a {
    margin: 0 8px;
  }
}

/* --------------------------------- */

.blogs {
  background: #f9fbff;
  padding: 60px 0;
}

/* Heading */
.blogs-heading-top h3 {
  color: #3989c8;
  font-weight: 700;
  padding-bottom: 35px;
  line-height: 1.4;
}

.blogs-heading-top span {
  color: #f8ee3e;
}

/* Blog Card */
.blog-card {
  margin-bottom: 30px;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Image */
.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

/* Card Body */
.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Title */
.blog-card-body h5 {
  font-size: 20px;
  font-weight: 700;
  color: #3989c8;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Paragraph */
.blog-card-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Read More */
.readmorebtn-text {
  color: #3989c8;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: 0.3s;
}

.readmorebtn-text:hover {
  color: #f8ee3e;
}

/* ---------------------------------- */
/* -----------JSVM-Trust------------ */
/* -------------------------------- */

.bg-banner-inside {
  background: linear-gradient(to right, #0f172a, #334155);
  height: 40vh;
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.breadcrumb-jsvm li a {
  text-decoration: none;
  font-weight: 600;
  color: #fff;
}
.breadcrumb-jsvm {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-bottom: 20px;
  list-style: none;
  font-size: 16px;
  cursor: pointer;
}

.breadcrumb-jsvm li i {
  font-size: 12px;
  color: #fff;
}

.breadcrumb-jsvm li.active {
  font-weight: 700;
  color: #ffff;
}

.js-trust-section {
  padding: 80px 0;
  background: #f9fafc;
}

.js-trust-heading h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.js-trust-heading p {
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.js-trust-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: 0.3s;
}

.js-trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.js-trust-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.js-trust-card span {
  font-size: 14px;
  color: #d90a2c;
  font-weight: 600;
}

.js-trust-description p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-top: 20px;
}

/* --------------------------------- */
/* ------------About-JSVM---------- */
/* ------------------------------- */

.jsvm-about-section {
  padding: 80px 0;
  background: #f7fbff;
}

.jsvm-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.jsvm-section-title p {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-blue);
  margin: 0;
}

.title-line {
  width: 45px;
  height: 3px;
  background: var(--accent-gold);
  display: inline-block;
}

.jsvm-heading h3 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  margin-bottom: 25px;
}

.jsvm-heading span {
  color: var(--brand-blue);
}

.jsvm-logos {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 15px;
}

.logo-grv {
  width: 85px;
  height: auto;
}

.logo-jsvm {
  width: 120px;
  height: auto;
}

.jsvm-text p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.highlight {
  color: var(--brand-blue);
  font-weight: 600;
}

.jsvm-about-row {
  margin-top: 30px;
}

.jsvm-bigwords h2 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 2px;
  color: rgba(57, 137, 200, 0.12);
}

.jsvm-description {
  margin-top: 20px;
}

.jsvm-description p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.jsvm-image img {
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  width: 100%;
}

/* ---------------------------------- */
/* -------------Visiom-Mission------ */
/* -------------------------------- */

.vision-mission {
  background: #f9fbff;
  padding: 0px 0px 80px 0px;
}

.vision-mission h3 {
  font-size: 30px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 20px;
  position: relative;
}

.vision-mission h3::after {
  content: "";
  width: 55px;
  height: 4px;
  background: var(--accent-gold);
  display: block;
  margin-top: 10px;
  border-radius: 2px;
}

.vision-mission p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin-top: 15px;
}

.vision-text,
.vision-mission {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

/* ----------------------------------------- */
/* ----------Principal-message------------- */
/* --------------------------------------- */

.principal-message {
  padding: 90px 0;
  background: #f9fbff;
}

.principal-image img {
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 5px solid #fff;
}

.principal-info {
  margin-top: 20px;
}

.principal-info h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 5px;
}

.principal-info p {
  margin: 0;
  font-weight: 600;
}

.principal-info span {
  font-size: 14px;
  color: #666;
}

.principal-content {
  padding-left: 20px;
}

.principal-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 20px;
  position: relative;
}

.principal-content h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--accent-gold);
  display: block;
  margin-top: 10px;
  border-radius: 3px;
}

.principal-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.principal-sign {
  margin-top: 25px;
  font-size: 18px;
  color: #333;
}

/* --------------------------------- */
/* ----------Leader-ship-team------ */
/* ------------------------------- */

.jsvm-leadership {
  padding: 90px 0;
  background: #f9fbff;
}

.jsvm-leadership-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.jsvm-leadership-subtitle {
  max-width: 700px;
  margin: 15px auto 50px;
  font-size: 17px;
  color: #555;
  line-height: 1.7;
}

.jsvm-leadership .leader-card {
  padding: 30px 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.jsvm-leadership .leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.jsvm-leadership .leader-img {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--accent-gold);
}

.jsvm-leadership .leader-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jsvm-leadership h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 5px;
}

.jsvm-leadership span {
  display: block;
  font-weight: 600;
  color: #555;
  margin-bottom: 15px;
}

.jsvm-leadership p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #666;
}

/* ------------------------------------------- */
/* -------------ACadamics-pre-primary-------- */
/* ----------------------------------------- */

.jsvm-preprimary-section {
  padding: 80px 0;
  background: #f9fbff;
}

.preprimary-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.preprimary-subtitle {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: auto;
  margin-bottom: 60px;
}

.preprimary-row {
  margin-bottom: 70px;
}

.preprimary-content {
  margin-top: 25px;
}

.preprimary-content h4 {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-blue);
  margin-bottom: 15px;
}

.preprimary-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}

.preprimary-img {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.preprimary-row {
  margin-bottom: 0px;
}

.preprimary-cta-box {
  background: var(--brand-blue);
  padding: 50px 40px;
  border-radius: 14px;
  margin-top: 40px;
  color: white;
}

.preprimary-cta-box h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.preprimary-cta-box p {
  max-width: 650px;
  margin: auto;
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.preprimary-cta-buttons a {
  text-decoration: none;
  margin: 10px;
}

.btn-preprimary-admission {
  background: var(--accent-gold);
  color: #000 !important;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}

.btn-preprimary-admission:hover {
  background: #fff;
}

.btn-preprimary-call {
  border: 2px solid white;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}

.btn-preprimary-call i {
  margin-right: 8px;
}

.btn-preprimary-call:hover {
  background: white;
  color: var(--brand-blue);
}

/* ---------------------------------- */
/* ---------Primary-edu------------- */
/* -------------------------------- */

.jsvm-primary-section {
  padding: 80px 0;
  background: #f9fbfd;
}

.primary-heading h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.primary-heading p {
  font-size: 17px;
  color: #555;
  margin-bottom: 50px;
}

.primary-intro-row {
  margin-bottom: 60px;
}

.primary-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
}

.primary-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.primary-image img {
  border-radius: 12px;
}

.primary-learning-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
  transition: 0.3s;
  height: 100%;
}

.primary-learning-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.learning-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 15px;
}

.learning-icon i {
  font-size: 22px;
  color: #000;
}

.primary-learning-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--brand-blue);
}

.primary-learning-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ---------------------------------- */
/* -----------Middle-school--------- */
/* -------------------------------- */

.jsvm-middle-school-section {
  padding: 80px 0;
  background: #ffffff;
}

.middle-heading h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.middle-heading p {
  font-size: 17px;
  color: #555;
  margin-bottom: 50px;
}

.middle-intro-row {
  margin-bottom: 60px;
}

.middle-content h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.middle-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.middle-image img {
  border-radius: 12px;
}

.middle-feature-box {
  background: #f9fbfd;
  padding: 30px;
  border-left: 5px solid var(--accent-gold);
  border-radius: 10px;
  margin-bottom: 25px;
  transition: 0.3s;
  height: 100%;
}

.middle-feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.middle-feature-box h4 {
  font-size: 20px;
  color: var(--brand-blue);
  margin-bottom: 10px;
  font-weight: 600;
}

.middle-feature-box p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* -------------------------------- */
/* ------------High-school-------- */
/* ------------------------------ */

.jsvm-highschool-section {
  padding: 80px 0;
  background: #ffffff;
}


.highschool-heading h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.highschool-heading p {
  font-size: 17px;
  color: #555;
  margin-bottom: 50px;
}


.highschool-main-row {
  margin-bottom: 60px;
}

.highschool-content h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
}

.highschool-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.highschool-card {
  background: #f9fbfd;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border-top: 4px solid var(--accent-gold);
  transition: 0.3s;
  height: 100%;
}

.highschool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.highschool-card h4 {
  font-size: 20px;
  color: var(--brand-blue);
  margin-bottom: 10px;
  font-weight: 600;
}

.highschool-card p {
  font-size: 15px;
  color: #555;
}


.highschool-cta {
  background: var(--brand-blue);
  padding: 50px;
  border-radius: 12px;
  color: white;
}

.highschool-cta h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.highschool-cta p {
  max-width: 700px;
  margin: auto;
  margin-bottom: 25px;
  font-size: 16px;
}

.highschool-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-highschool-admission {
  background: var(--accent-gold);
  color: #000;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

.btn-highschool-call {
  background: white;
  color: var(--brand-blue);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

/* -------------------------------------- */
/* ----------Admission-process---------- */
/* ------------------------------------ */

.jsvm-admission-process {
  background: #f7fbff;
}

.jsvm-admission-process .section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-blue);
}

.admission-tabs .nav-link {
  color: var(--brand-blue);
  font-weight: 500;
  border: 1px solid transparent;
  padding: 10px 20px;
}

.admission-tabs .nav-link.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}


.admission-content {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.admission-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.admission-content h5 {
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 15px;
}

.admission-content h6 {
  color: #333;
  font-weight: 600;
}


.visit-info {
  background: #f9fbfd;
  padding: 20px;
  border-left: 4px solid var(--accent-gold);
  border-radius: 6px;
}

.document-list {
  padding-left: 18px;
}

.document-list li {
  margin-bottom: 8px;
}


.admission-notes ul {
  padding-left: 18px;
}

.admission-notes li {
  margin-bottom: 8px;
}

.btn-download-form {
  background: var(--brand-blue);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
  transition: 0.3s;
}

.btn-download-form:hover {
  background: #2e73a8;
  color: #fff;
}

/* Links */

.admission-content a {
  color: var(--brand-blue);
  font-weight: 500;
  text-decoration: none;
}

.admission-content a:hover {
  text-decoration: underline;
}

/* -------------------------------- */
/* -----------Facilities---------- */
/* ------------------------------ */

.cources-ails {
  padding: 40px 0;
}

.spot-cource {
  display: flex;
  align-items: center;
  position: relative;
}

.spot-cource .right-content-course {
  width: 70%;
  margin-left: auto;
  background: var(--brand-blue);
  color: #fff;
  padding: 100px 60px 100px 150px;
  border-radius: 18px;
  position: relative;
}

.right-content-course h3 {
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-weight: 700;
}

.right-content-course ul {
  padding-left: 18px;
  margin: 0;
}

.right-content-course ul li {
  font-size: 16px;
  margin-bottom: 8px;
}

.spot-cource .left-image-cource {
  width: 40%;
  position: absolute;
  left: 0;
  z-index: 2;
}

.spot-cource .left-image-cource img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.spot-cource-reverse {
  flex-direction: row-reverse;
}

.spot-cource-reverse .left-image-cource {
  left: auto;
  right: 0;
}

.spot-cource-reverse .right-content-course {
  margin-left: 0;
  margin-right: auto;
  padding: 100px 150px 100px 60px;
}

/* ------------------------------------------- */
/*--------------- SCHOOL LIFE---------------- */
/* ----------------------------------------- */

.jsvm-schoollife {
  background: #f7fbff;
}

.schoollife-heading h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-blue);
}

.schoollife-heading p {
  color: #555;
  font-size: 16px;
  max-width: 600px;
  margin: auto;
}

.schoollife-tabs .nav-link {
  color: var(--brand-blue);
  border-radius: 30px;
  padding: 8px 20px;
  margin: 5px;
  font-weight: 500;
  border: 1px solid transparent;
}

.schoollife-tabs .nav-link.active {
  background: var(--brand-blue);
  color: #fff;
}

.schoollife-content h4 {
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.schoollife-content p {
  max-width: 800px;
  margin: auto;
  color: #555;
  line-height: 1.7;
}

.gallery-card {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.4s;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.ails-events h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-blue);
}

/* ------------------------------------ */
/* ------------Gallery---------------- */
/* ---------------------------------- */

.ails-events__banner p {
  font-size: 16px;
  opacity: 0.9;
}

.ails-events .ails-event-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.ails-events .ails-event-card__image {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.ails-events .ails-event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.ails-events .ails-event-card__overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

.ails-events .ails-event-card__overlay h5 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.ails-events .ails-event-card:hover img {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .ails-events__banner h1 {
    font-size: 28px;
  }

  .ails-events .ails-event-card__image {
    height: 220px;
  }
}

/* ------------------------------------- */
/* -------------Blogs-inside----------- */
/* ----------------------------------- */

.blogs-banner {
  padding: 70px 0;
  background: #fff;
}

.blog-top-title {
  color: #00205b;
  font-weight: 600;
}

.blog-main-title {
  font-size: 38px;
  margin-bottom: 20px;
}

.blog-intro {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  text-align: justify;
  margin-top: 10px;
}

.blog-subtitle {
  font-size: 20px;
  color: #00205b;
  margin-top: 20px;
}

.blogs-banner p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.blog-image {
  border-radius: 10px;
  margin: 20px 0;
}

.blog-conclusion {
  color: #000;
  margin-top: 25px;
}

.blog-navigation a {
  text-decoration: none;
  font-weight: 600;
  color: #d90a2c;
  transition: 0.3s;
}

.blog-navigation a:hover {
  color: #00205b;
}

/* Contact Section */

.jsvm-contact-section {
  padding: 80px 0;
  background: #f9fbff;
}

.jsvm-contact-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.jsvm-contact-subtitle {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: auto;
}

.jsvm-contact-info {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.jsvm-contact-info h4 {
  color: var(--brand-blue);
  font-size: 20px;
  margin-top: 20px;
  font-weight: 600;
}

.jsvm-contact-info p {
  color: #555;
  line-height: 1.7;
}

.jsvm-contact-info a {
  color: var(--brand-blue);
  text-decoration: none;
}

.jsvm-contact-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.jsvm-input {
  border-radius: 6px;
  padding: 12px;
  border: 1px solid #ddd;
}

.jsvm-input:focus {
  border-color: var(--brand-blue);
  box-shadow: none;
}

.jsvm-contact-btn {
  background: var(--brand-blue);
  color: white;
  padding: 12px 35px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
}

.jsvm-contact-btn:hover {
  background: var(--secondary-blue);
}

.jsvm-map iframe {
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.apply-btn {
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.apply-btn:hover {
  background: #2d6fa4;
  transform: translateY(-2px);
}

/* ------------Modal------------------- */

.admission-modal {
  border-radius: 10px;
  overflow: hidden;
}

.admission-modal .modal-header {
  background: var(--brand-blue);
  color: #fff;
  padding: 18px 25px;
}

.admission-modal .modal-title {
  font-weight: 600;
}

.modal-body {
  padding: 30px;
}

#admissionForm label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

#admissionForm .form-control {
  height: 46px;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 14px;
  transition: 0.3s;
}

#admissionForm .form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(57, 137, 200, 0.15);
}

.submit-area {
  text-align: center;
  margin-top: 25px;
}

.submit-btn {
  background: var(--brand-blue);
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #2d6fa4;
  transform: translateY(-2px);
}



/* ----------------------------- */

.header-top-jsvm {
  background: #f8f9fb;
  border-bottom: 1px solid #e6e6e6;
  font-size: 14px;
}

.header-top-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}

.contact-info p {
    margin: 0;
    color: var(--brand-blue);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand-blue);
  margin-left: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.social-links a:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {

  .header-top-wrapper {
    gap: 5px;
    text-align: center;
  }

}