/* CONTAINER */
.side-buttons {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* BASE BUTTON */
.side-btn {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 10px;
  border-radius: 10px 0px 0px 10px;
  color: #fff;
  transition: 0.3s;
  text-align: center;
}

/* COLORS */
.admission {
  background: #d4b062;
  /* gold */
}

.career {
  background: #1f2a6b;
  /* blue */
}

.contact {
  background: #d4b062;
  /* gold */
}

/* HOVER EFFECT */
.side-btn:hover {
  padding-left: 18px;
  filter: brightness(0.9);
}




/* --------------------------------------------------------------------- */

/* default css */

p,
li {
  font-family: "Roboto", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif !important;
}

a{
  color: #1f2a6b !important;
}

.justify {
  text-align: justify;
}

.d-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}


.d-flex-start {
  display: flex;
  align-items: center;
  justify-content: start;
} 

.d-flex-end {
  display: flex;
  align-items:center;
  justify-content: end;
} 


.d-flex-col {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.custom-header {
  font-family: 'Poppins', sans-serif;
}

/* TOP BAR */
.top-bar {
  background: #d8c79a;
  padding: 8px 0;
  font-size: 13px;
}

.top-bar .right {
  text-align: right;
}

/* NAV BAR */
.nav-bar {
  background: #ffffff;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}



.logo-area img {
  height: 80px;
}


.main-menu > ul > li{
  margin: 0px 10px !important;
}


.main-menu ul li a {
  text-decoration: none;
  font-weight: 600;
  color: #000;
  font-size: 14px;
}


@media(max-width:767px) {
  .main-menu ul, .top-nav{
  display: none !important;
}
}





/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
}

.swiper {
  width: 100%;
  height: 100%;
}


.hero .swiper-slide {
  width: 100% !important;
} 
.swiper-slide {
  position: relative;
  background-size: cover;
  background-position: center;
}

.swiper-button-next svg, .swiper-button-prev svg{
  display: none !important;
}
.swiper-button-next:after, .swiper-button-prev:after{
  font-size: 20px !important;
  color: #000 !important;
}
/* Background Images */
.slide1 {
  background-image: url('../img/kalai-image/home/hero-1.jpg');
}

.slide2 {
  background-image: url('../img/kalai-image/home/hero-2.jpg');
}

.slide3 {
  background-image: url('../img/kalai-image/home/hero-3.jpg');
}

/* Overlay */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.288);
  top: 0;
  left: 0;
}

/* Text */
.hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
  max-width: 600px;
}

.tagline {
  letter-spacing: 2px;
  font-size: 14px;
  color: #fff !important;
}

.hero-text h1 {
  font-size: 50px;
  margin: 10px 0;
  color: #fff !important;
}

.desc {
  margin-bottom: 20px;
  color: #fff !important;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-right: 10px;
}

.green {
  background: green;
  color: #fff;
}

.yellow {
  background: gold;
  color: #000;
}

.about-section {
  padding: 60px 0;
  background: #f8f8f8;
  position: relative;
}

.about-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  border-radius: 20px;
}

.about-img .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #1f6f4a;
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 13px;
}

.about-content .tag {
  background: #f2dede;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

.about-content h2 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 15px;
}

.about-content p {
  color: #555;
  line-height: 1.6;
}

/* STATS */
.stats {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}


.stat h4 {
  color: #1f6f4a;
  margin: 0;
}

/* BUTTONS */
.buttons {
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin-right: 10px;
  font-weight: 600;
}

.btn.green {
  background: #1f6f4a;
  color: #fff !important;
}

.btn.yellow {
  background: #d9a300;
  color: #000;
}

/* SIDE TABS */
.side-tabs {
  position: fixed;
  left: 0;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-tabs a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 15px 10px;
  background: #1f6f4a;
  color: #fff;
  text-decoration: none;
  border-radius: 0 10px 10px 0;
  font-size: 12px;
}

.side-tabs a:nth-child(2) {
  background: #2c2c6c;
}

.side-tabs a:nth-child(3) {
  background: #d9a300;
}


body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f6f3ee;
}

.info-section {
  padding: 40px 0 10px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 25px;
  justify-content: center;
}

/* CARD BASE */
.card {
  flex: 1;
  padding: 30px;
  border-radius: 16px;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}

/* ICON */
.icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 18px;
}

/* TEXT */
.card h3 {
  margin: 10px 0;
  font-size: 22px;
  font-weight: 600;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
}

/* DEFAULT STATES */
.founder,
.motto {
  background: #d4b062;
  /* gold */
  color: #111;
}

.patron {
  background: #1f2a6b;
  /* blue */
  color: #fff;
}

/* HOVER EFFECT (SWAP COLORS) */
.founder:hover,
.motto:hover {
  background: #1f2a6b;
  color: #fff;
}

.patron:hover {
  background: #d4b062;
  color: #111;
}

/* ICON COLOR ADJUST */
.card:hover .icon {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
}

/* OPTIONAL TOP BORDER ACCENT */
.card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 20px;
  width: 50px;
  height: 4px;
  background: #1f2a6b;
  border-radius: 2px;
}

.patron::before {
  background: #d4b062;
}

.card:hover h3,
.card:hover p {
  color: #fff;
}

.card {
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
}



/* vision ---------------------------------- */

/* HEADER WRAPPER */
.section-header {
  text-align: center;
  /* margin-bottom: 40px; */
}

/* SMALL TAG */
.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #8b2e2e;
  background: #f3e6e6;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* MAIN HEADING */
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin: 10px 0;
  position: relative;
}

/* GOLD UNDERLINE */
.section-header h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #d4b062;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* SUBTEXT */
.subtitle {
  max-width: 700px;
  margin: 15px auto;
  color: #383838;
  font-size: 16px !important;
  line-height: 1.6;
}

/* PILLS */
.pills {
  margin-top: 15px;
}

.pills span {
  display: inline-block;
  background: #f1f1f1;
  color: #333;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 15px;
  margin: 5px 5px 25px !important;
  transition: 0.3s;
}

/* HOVER EFFECT ON PILLS */
.pills span:hover {
  background: #d4b062;
  color: #fff;
}


.vmv-section {
  padding: 60px 0;
  background: #f6f3ee;
}

.container-re {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}



/* BASE CARD */
.vmv-card {
  position: relative;
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.2s ease;
}

/* OVERLAY (hidden by default) */
.vmv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 0.2s ease;
  z-index: 0;
}

/* DARK LAYER */
.vmv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.363);
  opacity: 0;
  transition: 0.4s ease;
  z-index: 2;
}

/* CONTENT ABOVE IMAGE */
.vmv-card * {
  position: relative;
  z-index: 3;
}

.vmv-card .btn {
  border: 1px solid #000 !important;
  padding: 10px 10px !important;
}

/* ========================= */
/* INDIVIDUAL IMAGES */
/* ========================= */

.image-card-1::after {
  background-image: url('../img/kalai-image/home/vis-1.JPG');
}

.image-card-2::after {
  background-image: url('../img/kalai-image/home/mis-1.jpg');
}

.image-card-3::after {
  background-image: url('../img/kalai-image/home/it-1.jpg');
}

.image-card-4::after {
  background-image: url('../img/kalai-image/home/core-1.JPG');
}

/* ========================= */
/* HOVER EFFECT */
/* ========================= */

.vmv-card:hover::after {
  opacity: 1;
}

.vmv-card:hover::before {
  opacity: 1;
}

/* TEXT WHITE ON HOVER */
.vmv-card:hover h4,
.vmv-card:hover p,
.vmv-card:hover li,
.vmv-card:hover a {
  color: #fff;
}

/* BUTTON FIX */
.vmv-card:hover .btn {
  background: transparent;
  border: 1px solid #fff !important;
  color: #fff !important;
}

/* OPTIONAL LIFT */
.vmv-card:hover {
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .container-re {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container-re {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------swiper */


.curriculum-section {
  padding: 10px 0px 30px;
  background: #f6f3ee;
  text-align: center;
}

/* HEADER (reuse if already created) */
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
}

.section-header h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #d4b062;
  display: block;
  margin: 10px auto;
}

/* SWIPER */
.curriculumSwiper {
  margin-top: 15px;
  padding-bottom: 50px;
}

/* CARD */
.curriculum-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  text-align: left;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 0.5px solid #a5a3a369;
}

/* TOP TAG */
.card-top {
  background: #d4a017;
  color: #000;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 15px;
  position: relative;
  width: 360px !important;
}

/* RIGHT ARROW SHAPE */
.card-top::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 15px solid #d4a017;
}

/* TITLE */
.curriculum-card h4 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 700;
}

/* LIST */
.curriculum-card ul {
  list-style: none;
  padding: 0;
}

.curriculum-card ul li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 30px;
  font-size: 18px ;
}

/* CHECK ICON */
.curriculum-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #d4a017;
  font-size: 14px;
}

/* PAGINATION */
.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #1f2a6b;
}

.swiper-slide{
width: 420px !important;
margin-right: 10px !important;
}

/* -------------------------------------------count box */

.numbers-section {
  padding: 40px 0 40px;
  background: #eef2f1;
}

/* HEADER */
.numbers-header {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 30px;
}

.numbers-header h2 {
  font-size: 28px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.numbers-header h2::after {
  content: "";
  width: 50px;
  height: 4px;
  background: #d4a017;
  position: absolute;
  left: 0;
  bottom: -8px;
  border-radius: 2px;
}

.numbers-header p {
  text-align: center;
  /* margin-top: 20px; */
  color: #3f3f3f;
  font-size: 18px !important;
}

/* BOX */
.numbers-box {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  background: #fbf4df;
  border-radius: 20px;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  position: relative;
}

/* CORNER CUT EFFECT */
.numbers-box::before,
.numbers-box::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background: #eef2f1;
  border-radius: 10px 0 20px 0;
}

.numbers-box::before {
  top: 0;
  left: 0;
}

.numbers-box::after {
  bottom: 0;
  right: 0;
}

/* STAT ITEM */
.stat {
  flex: 1;
}

/* ICON CIRCLE */
.stat .icon {
  width: 80px;
  height: 80px;
  background: #d4a017;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 30px;
}

/* NUMBER */
.stat h3 {
  font-size: 36px;
  margin: 10px 0;
  font-weight: 700;
}

/* LABEL */
.stat span {
  font-size: 16px;
  color: #7a5c00;
  letter-spacing: 1px;
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .numbers-box {
    flex-direction: column;
    gap: 30px;
  }
}


/* ----------------------------------------------------student life */
.activities-section {
  padding: 40px 0 60px;
  background: #f7f8fb;
}


.swiper-slide{
  margin-right: 10px !important;
}

/* CARD */
.hover-card {
  position: relative;
  height: 250px !important;
  border-radius: 18px;
  overflow: hidden;
  background: #f2f2f2;
  transition: 0.4s ease;
}

/* IMAGE BACKGROUND */
.bg-img {
  position: absolute;
  inset: 0;
  opacity: 2;
  transition: 0.5s;
  z-index: 1;
}

.bg-img:hover{
   opacity: 0;
}


.bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: 0.5s;
}

/* CONTENT */
.content {
  position: relative;
  z-index: 2;
  padding: 25px;
  text-align: center;
  transition: 0.4s;
}

/* TAGS */
.tags span {
  background: #ddd;
  padding: 6px 12px;
  margin: 4px;
  border-radius: 20px;
  font-size: 12px;
}

/* 🔥 HOVER */
.hover-card:hover {
  transform: translateY(-10px);
}

/* SHOW IMAGE */
.hover-card:hover .bg-img {
  opacity: 1;
}

.hover-card:hover .bg-img img {
  transform: scale(1);
}

/* DARK OVERLAY */
.hover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(255, 255, 255);
  opacity: 0;
  transition: 0.4s;
  z-index: 1;
}

.hover-card:hover::after {
  opacity: 1;
}

/* TEXT COLOR CHANGE */
.hover-card:hover .content {
  color: #020202;
}

.hover-card:hover p,
.hover-card:hover h5 {
  color: #000000;
}

/* TAG HOVER */
.hover-card:hover .tags span {
  background: rgba(75, 74, 74, 0.2);
  color: #000000;
}

/* SWIPER */
.mySwiper {
  margin-top: 40px;
}


.hover-card {
  position: relative;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
}

/* IMAGE */
.bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CONTENT (HIDDEN INITIALLY) */
.content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgb(255, 255, 255);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s ease;
  color: #fff;
}

/* TAGS */
.tags span {
  background: rgba(255, 254, 254, 0.274);
  padding: 6px 12px;
  margin: 4px;
  border-radius: 20px;
  font-size: 12px;
}

/* 🔥 HOVER EFFECT */
.hover-card:hover .content {
  opacity: 1;
  transform: translateY(0);
}

/* OPTIONAL: slight zoom */
.hover-card:hover img {
  transform: scale(1.1);
  transition: 0.5s;
}


/* --------------------------------------------------card */

.rules-section {
  padding: 20px 0 60px;
  background: #f8f9fc;
}

/* TITLE */
.title-area {
  text-align: center;
  margin-bottom: 50px;
}

.sub-title {
  display: inline-block;
  padding: 6px 14px;
  background: #ffecec;
  color: #8b0000;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 10px;
}

.title-area h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.title-area p {
  max-width: 700px;
  margin: auto;
  color: #555;
}

/* GRID */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.rule-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.rule-card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.rule-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* CONTENT */
.rule-content {
  padding: 20px;
}

.rule-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: capitalize;
}

/* COLORED LINE */
.line {
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 12px;
}

.line.green {
  background: #2ecc71;
}

.line.yellow {
  background: #f1c40f;
}

.line.blue {
  background: #3b82f6;
}

.rule-content p {
  font-size: 16px;
  color: #3d3d3d;
  line-height: 1.6;
  text-align: justify;
}


/* footer */

.footer-img p a img {
    width: 50px !important;
}

.footer-img img {
    width: 260px !important;
}

.widget-area {
    padding-top: 50px !important;
    padding-bottom: 0px !important;
}

.copyright-wrap {
    padding: 5px 0px !important;
    background-color: #d4b062!important;
    border-top: 1px solid #fff !important;
}

.copyright-text {
    color: #fff !important;
}


.footer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-info i {
    min-width: 42px;
    margin-top: 5px;
}

.footer-info a {
    display: block;
color: #fff !important;
}

.footer-widget.widget_nav_menu a{
  color: #fff !important;
}

.footer-widget .widget_title {
    margin-bottom: 15px !important;
    margin-left: 30px !important;
}

.footer-layout3, .footer-layout1{
  background: #1f2a6b !important;
}

/* ---------------------------------------------------nav */

/* Mobile Menu Hidden by Default */
.vs-menu-wrapper {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: 0.4s;
    overflow-y: auto;
}

/* Show Menu */
.vs-menu-wrapper.open {
    left: 0;
}

/* Overlay (optional) */
.vs-menu-wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 280px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
}

.vs-menu-wrapper.open::before {
    display: block;
}

/* Submenu hidden */
.vs-mobile-menu .sub-menu {
    display: none;
    transition: all 0.3s ease;
}

/* Show submenu */
.vs-mobile-menu li.active > .sub-menu {
    display: block;
}

/* Clickable parent */
.menu-item-has-children > a {
    cursor: pointer;
}

.submenu-toggle {
    float: right;
    cursor: pointer;
    font-size: 18px;
    padding: 5px 10px;
} 

.vs-menu-wrapper {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: 0.4s;
}

.vs-menu-wrapper.open {
    left: 0;
}

/* FORCE SUBMENU WORKING */
.vs-mobile-menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
}

.vs-mobile-menu .has-sub.active .sub-menu {
    max-height: 500px; /* enough height */
}

/* Optional arrow */
.vs-mobile-menu .has-sub > a {
    position: relative;
}


.main-menu ul.sub-menu{
  display: flex;
  align-items: start;
  flex-direction: column;
}

.top-nav{
  background: #1f2a6b !important;

}
.location-content, .mail-content{
  padding: 5px 0px !important;
}

.location-content i, .location-content p, .mail-content i, .mail-content a{
color: #fff !important;
}

@media(max-width:767px){
  body, html{
    overflow-x: hidden !important;
    padding: 0px 5px !important;
  }

  .hero{
    height: 50vh !important;
  }

  .hero-text h1{
    font-size: 30px !important;
  }

  .swiper-slide{
    width: 330px !important;
  }

  .card-top{
    width: 280px !important;
  }

  .rules-grid{
    grid-template-columns: 1fr !important;
  }

  .rule-content p{
    text-align: justify !important;
  }
}