body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Topbar Base */
.topbar {
    background: #2c2c2c;
    color: white;
    font-size: 14px;
}

/* Links */
.topbar a {
    color: white;
}

/* Buttons */
.btn-payment {
    background: #f7a400;
    color: white;
    border-radius: 20px;
}

.btn-admission {
    background: #ff4d4d;
    color: white;
    border-radius: 20px;
}

/* 📱 Mobile View */
@media (max-width: 768px) {
    .topbar {
        text-align: center;
        font-size: 13px;
    }

    .topbar .btn {
        width: 100%;
        display: block;
    }

    .topbar i {
        display: inline-block;
        margin-top: 5px;
    }
}

/* Mobile Navbar Styling */
@media (max-width: 991px) {

    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .navbar-nav {
        gap: 10px;
    }

    .nav-link {
        padding: 10px;
        font-weight: 500;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: #f5f5f5;
    }

    /* Dropdown inside mobile */
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 15px;
    }
}

/*STOP SCROLL WHEN MENU OPEN */
body.nav-open {
    overflow: hidden;
}

/* MOBILE NAVBAR */
@media (max-width: 991px) {

    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .nav-link {
        padding: 10px;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: #f5f5f5;
    }
}

/* 🚫 LOCK SCROLL */
body.nav-open {
    overflow: hidden;
}

/* HAMBURGER CUSTOM */
.navbar-toggler {
    border: none;
}
.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  width: 25px;
  height: 2px;
  background-color: black !important;
  display: inline-block;
  position: relative;
  transition: 0.3s;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  width: 25px;
  height: 2px;
  background-color: black;
  position: absolute;
  left: 0;
  transition: 0.3s;
  display: block;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

body.nav-open .navbar-toggler-icon {
  background: transparent;
}

body.nav-open .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

body.nav-open .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}
.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 25px;
    height: 2px;
    background-color: black;
    display: inline-block;
}

/* 3 lines */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: black;
    left: 0;
    transition: 0.3s;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* CROSS */
.navbar-toggler.active .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler.active .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}


/* OVERLAP EFFECT */
.feature-section {
  margin-top: -100px;
  position: relative;
  z-index: 10;
}

/* CARD STYLE */
.feature-card {
  border: none;
  border-radius: 15px;
  padding: 25px;
  transition: all 0.4s ease;
  background: #f9f9f9;
  cursor: pointer;
}

/* Base card */
.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
    text-align: center;
}

/* Smooth transition */
.feature-card h5,
.feature-card p,
.feature-card i {
    transition: 0.3s;
}

/* HOVER EFFECT */
.feature-card:hover {
    color: #fff;
}

/* GREEN */
.feature-card:hover .icon-box.green,
.feature-card.green:hover {
    background: #28a745;
}

.feature-card.green:hover {
    background: #28a745;
}

/* YELLOW */
.feature-card.yellow:hover {
    background: #efc52a;
}

/* BLUE */
.feature-card.blue:hover {
    background: #0d6efd;
}

/* RED */
.feature-card.red:hover {
    background: #ed3238;
}

/* TEXT WHITE ON HOVER */
.feature-card:hover h5,
.feature-card:hover p,
.feature-card:hover i {
    color: #fff;
}

/* BASE CARD */
.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

/* TEXT TRANSITION */
.feature-card h5,
.feature-card p,
.feature-card i {
    transition: all 0.3s ease;
}

/* 🖥️ DESKTOP HOVER ONLY */
@media (hover: hover) {
    .feature-card.green:hover {
        background: #28a745;
    }

    .feature-card.yellow:hover {
        background: #efc52a;
    }

    .feature-card.blue:hover {
        background: #0d6efd;
    }

    .feature-card.red:hover {
        background: #ed3238;
    }

    .feature-card:hover h5,
    .feature-card:hover p,
    .feature-card:hover i {
        color: #fff;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }
}

/* 📱 MOBILE TAP EFFECT */
.feature-card:active {
    transform: scale(0.98);
}

/* OPTIONAL: ALWAYS LOOK GOOD ON MOBILE */
@media (max-width: 768px) {
    .feature-card {
        padding: 20px;
    }
}

.feature-card:hover {
  transform: translateY(-8px);
}
/* INITIAL STATE */
.animate-item {
    opacity: 0;
    transform: translateY(40px);
}

/* FADE + SLIDE UP */
.animate-item.animate-fadeInUp {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* OPTIONAL LEFT */
.animate-item.animate-fadeInLeft {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

/* OPTIONAL RIGHT */
.animate-item.animate-fadeInRight {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

/* ICON BOX */
.icon-box {
  width: 50px;
  height: 50px;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

/* COLORS */
.green { color: #28a745; }
.yellow { color: #ffc107; }
.blue { color: #0d6efd; }
.red { color: #dc3545; }

/* Active states for feature cards */
.feature-card.active-green {
  background-color: #d4edda !important;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.25) !important;
}
.feature-card.active-yellow {
  background-color: #fff3cd !important;
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.25) !important;
}
.feature-card.active-blue {
  background-color: #cce7ff !important;
  box-shadow: 0 4px 20px rgba(13, 110, 253, 0.25) !important;
}
.feature-card.active-red {
  background-color: #f8d7da !important;
  box-shadow: 0 4px 20px rgba(220, 53, 69, 0.25) !important;
}

/* TEXT ALIGN */
.feature-card p {
  text-align: justify;
}

/* PLAY BUTTON */
.play-btn {
  position: absolute;
  top: 40%;
  left: 40%;
  background: red;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Document Cards */
.doc-card {
    background:#fff;
    border-radius:10px;
    border:1px solid #eee;

    /* professional look always visible */
    box-shadow: rgba(100, 100, 111, 0.15) 0px 7px 29px 0px;

    transition:0.3s;
}

/* subtle hover (optional, theme-safe) */
.doc-card:hover {
    transform: translateY(-5px);
}

/* Icon */
.doc-icon {
    width:65px;
    height:65px;
    margin:auto;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    color:#fff;
}

/* Theme colors (same as your site) */
.icon-yellow {
    background:#efc52a;
}

.icon-orange {
    background:#ed3238;
}

/* Dropdown box */
.custom-dropdown {
    border-radius: 12px;
    border: none;
    padding: 10px 0;
    min-width: 230px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: fadeIn 0.3s ease;
}

/* Items */
.custom-dropdown .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

/* Hover effect */
.custom-dropdown .dropdown-item:hover {
    background: linear-gradient(45deg, #ff4d4d, #ff6a6a);
    color: white;
    transform: translateX(5px);
}

/* Icon */
.dropdown-item i {
    font-size: 16px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hover open (desktop) */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Animation Classes */
.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-item.animate-fadeInUp {
    opacity: 1;
    transform: translateY(0);
}

.animate-item.animate-fadeInLeft {
    opacity: 1;
    transform: translateX(0);
}

.animate-item.animate-fadeInRight {
    opacity: 1;
    transform: translateX(0);
}

.animate-item.animate-bounceIn {
    animation: bounceIn 0.8s ease forwards;
}

.animate-item.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-item.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Hero Enhancements */
.hero-img {
    transition: transform 0.5s ease;
}

.carousel-item:hover .hero-img {
    transform: scale(1.02);
}

.cards-wrapper {
    transition: all 0.5s ease;
}

.card-hover {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.card-hover:hover::before {
    left: 100%;
}

.card-hover:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Play Button Enhanced */
.play-btn {
    animation: pulse 2s infinite;
}

.play-btn:hover {
    animation: none;
    background: #e60000;
    /* transform: translate(-50%, -50%) scale(1.15); */
}

/* Section Enhancements */
section {
    position: relative;
}

.achievement-section {
    overflow: hidden;
}

.achievement-section .overlay {
    transition: background 0.5s ease;
}

.achievement-section:hover .overlay {
    background: rgba(0, 0, 0, 0.7);
}

.counter {
    font-size: 3rem !important;
    transition: all 2s ease-out;
}

.doc-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.doc-card i {
    transition: all 0.3s ease;
}

.doc-card:hover i {
    transform: scale(1.1);
    color: white;
    background: rgba(255,255,255,0.2);
    border-color: transparent;
}

.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
img {
    max-width: 100%;
    height: auto;
}

.hero-img {
    height: 500px;
    object-fit: cover;
}

.cards-wrapper {
    position: absolute;
    bottom: -80px;   /* controls overlap */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.card-hover {
    border-radius: 15px;
    transition: 0.3s;
}

.card-hover:hover {
    transform: translateY(-10px);
}

/* Topbar */
.topbar {
    background: #2c2c2c;
    color: white;
    font-size: 14px;
    padding: 5px 0;
}

.topbar a {
    color: white;
    text-decoration: none;
}

.btn-custom {
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
}

.btn-payment {
    background: #f7a400;
    color: white;
}

.btn-admission {
    background: #ff4d4d;
    color: white;
}

/* Navbar */
.navbar-brand img {
    height: 60px;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
}

.nav-link:hover {
    color: #ff4d4d !important;
}

/* Slider */
.carousel-item img {
    height: 80vh;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 80px;
    height: 80px;
    background: #ff4d4d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.play-btn i {
    color: white;
    font-size: 30px;
}

/* .play-btn:hover {
    background: #e60000;
    transform: translate(-50%, -50%) scale(1.1);
} */


.card-hover {
    border-radius: 15px;
    transition: 0.3s;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card img {
    height: 150px;
    object-fit: cover;
}

.achievement-section {
background: url('images/bg.jpg') center/cover no-repeat;
    position: relative;
}

.achievement-section .overlay {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
}

.achievement-section h1 {
    font-size: 60px;
}

.achievement-section i {
    opacity: 0.8;
}

.lead {
    font-size: 18px;
    line-height: 1.8;
}

/* .rounded-circle {
    object-fit: cover;
} */

.doc-card {
    background: #f4f4f4;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.doc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.doc-card i {
    font-size: 40px;
    display: inline-block;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.icon-yellow {
    color: #f4a300;
    border-color: #f4a300;
}

.icon-orange {
    color: #ff6a00;
    border-color: #ff6a00;
}


.divider {
    width: 50px;
    height: 3px;
    background: red;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    position: relative;
    text-align: left;
    border-right: 4px solid #1e2a78;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Corner Design */
.testimonial-card::before,
.testimonial-card::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.testimonial-card::before {
    top: 0;
    left: 0;
    border-width: 20px 20px 0 0;
    border-color: red transparent transparent transparent;
}

.testimonial-card::after {
    bottom: 0;
    left: 0;
    border-width: 0 20px 20px 0;
    border-color: transparent transparent red transparent;
}

/* Carousel dots */
.carousel-indicators [data-bs-target] {
    background-color: red;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.footer {
    background: #1f1f1f;
}

.footer p,
.footer li {
    color: #ccc;
    font-size: 14px;
}

.footer-links li {
    margin-bottom: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.footer-links li:hover {
    color: #ff4d4d;
    padding-left: 5px;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #444;
    padding: 5px 0;
}

.footer-bottom {
    background: #2c2c2c;
    font-size: 14px;
}

/* RESPONSIVE DESIGN - MOBILE FIRST ENHANCEMENTS */
:root {
  --hero-height-mobile: 50vh;
  --hero-height-tablet: 60vh;
  --hero-height-desktop: 80vh;
  --font-scale-mobile: 0.8;
}


/* menubar */
.menu-btn {
    all: unset;
    width: 24px;
    background-color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.menu-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3s ease;
}

.menu-line:nth-child(1) {
    transform: translateY(-8px);
}

.menu-line:nth-child(2) {
    opacity: 1;
}

.menu-line:nth-child(3) {
    transform: translateY(8px);
}

.menu-btn[data-menu-expanded="true"] .menu-line:nth-child(1) {
    transform: rotate(45deg);
}

.menu-btn[data-menu-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-btn[data-menu-expanded="true"] .menu-line:nth-child(3) {
    transform: rotate(-45deg);
}


/* Hide by default (desktop) */
.menu-btn {
    display: none;
}

/* Show only on mobile (below 992px = Bootstrap lg breakpoint) */
@media (max-width: 991px) {
    .menu-btn {
        display: flex;
    }
}