/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Poppins:wght@300;400;600&display=swap');

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* Light background */
}

/* Heading Styles */
h1, h2 {
    font-family: 'Fredoka One', cursive;
}

/* Paragraph Styles */
p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

/* Navigation Styles */
nav {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Button Styling */
button, .btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

/* Top Bar */
.top-bar {
    background: #00abe1;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 14px;
}
.top-bar .social-icons a {
    color: #ffffff;
    margin-right: 15px;
    text-decoration: none;
}

.top-bar .social-icons a:hover {
    opacity: 0.7;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Navbar */
.navbar {
    background: #ffffff;
    padding: 15px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative; /* For absolute positioning of menu button */
    margin-bottom: 0 !important; /* Ensure no extra space from navbar */
}

.navbar-brand img {
    max-width: 150px;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav .nav-link {
    color: #3e2434;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #f16772;
}

/* Profile Icon */
.profile-icon {
    font-size: 20px;
    color: #00abe1;
    margin-right: 15px;
    text-decoration: none;
}

.profile-icon:hover {
    color: #f16772;
}

/* Get In Touch Button */
.btn-primary {
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
}


.btn-primary:hover {
    background: #3e2434;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
    }
    .top-bar {
        display: none; /* Hide top bar on mobile */
    }
    .custom-menu-btn {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    .side-menu {
        display: none;
    }
}

/* Custom Menu Button (Exact Replica) */
.custom-menu-btn {
    border: none;
    background: none;
    padding: 5px;
    cursor: pointer;
    display: inline-block;
    margin-left: 5px;
    z-index: 1030; /* Ensure button is visible above navbar content */
}

/* SVG Icon Styling */
.menu-icon svg {
    width: 40px;
    height: 40px;
    fill: #00abe1; /* Match brand color */
    transition: transform 0.2s ease-in-out;
}

.menu-icon svg:hover {
    transform: scale(1.1);
    fill: #f16772; /* Hover effect */
}

/* Ensure Proper Placement on Desktop */
@media (min-width: 992px) {
    .custom-menu-btn {
        position: relative;
        top: 0;
        right: 0;
    }
    .mobile-side-menu {
        display: none;
    }
}

/* Side Menu (Initially Hidden) */
.side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    padding: 20px;
    overflow-y: auto;
    z-index: 9999;
}

/* When Active, Move into View */
.side-menu.active {
    right: 0;
}

/* Close Button */
.close-btn {
    font-size: 30px;
    background: none;
    border: none;
    color: #3e2434;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 9999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #f16772;
}

/* Logo Inside Menu */
.menu-logo img {
    width: 150px;
    margin-bottom: 20px;
}

/* Search Bar */
.menu-search input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    margin-bottom: 20px;
}

/* About & Contact Sections */
.menu-about h3,
.menu-contact h3 {
    font-size: 18px;
    color: #3e2434;
}

.menu-about p,
.menu-contact p {
    font-size: 14px;
    color: #666;
}

/* Social Media Icons */
.menu-social {
    margin-top: 20px;
}

.menu-social a {
    color: #00abe1;
    font-size: 20px;
    margin-right: 10px;
    text-decoration: none;
}

.menu-social a:hover {
    color: #f16772;
}


/* Mobile Side Menu (Initially Hidden) */
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -320px; /* Hidden initially */
    width: 320px;
    height: 100%;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease-in-out;
    padding: 20px;
    overflow-y: auto;
    z-index: 1040; /* Ensure mobile menu is above other content */
}

/* When Active, Move into View */
.mobile-side-menu.active {
    left: 0;
}

/* Close Button */
.close-btn {
    font-size: 30px;
    background: none;
    border: none;
    color: #3e2434;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 9999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #f16772;
}

/* Logo Inside Menu */
.menu-logo img {
    width: 150px;
    margin-bottom: 20px;
}

/* Search Bar */
.menu-search input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    margin-bottom: 20px;
}

/* Mobile Navigation */
.mobile-nav {
    list-style: none;
    padding: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.mobile-nav a {
    text-decoration: none;
    font-size: 16px;
    color: #3e2434;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav a:hover {
    color: #f16772;
}

/* Dropdown Menu */
.submenu {
    display: none;
    list-style: none;
    padding-left: 20px;
}

.submenu li {
    padding: 8px 0;
}

/* Toggle Submenu Button */
.toggle-submenu {
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

/* Contact Info */
.menu-contact h3 {
    font-size: 18px;
    color: #3e2434;
    margin-top: 20px;
}

.menu-contact p {
    font-size: 14px;
    color: #666;
}

/* Social Media Icons */
.menu-social {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.menu-social a {
    color: #00abe1;
    font-size: 20px;
    margin: 0 10px;
    text-decoration: none;
}

.menu-social a:hover {
    color: #f16772;
}

/* Ensure Menu Opens for Mobile Only */
@media (max-width: 991px) {
    .mobile-side-menu {
        display: block;
    }
}
/* Hide Incorrect Menu on Mobile */
@media (max-width: 991px) {
    .navbar-nav {
        display: none !important; /* Prevent incorrect menu from appearing */
    }
}


/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(to right, #f8f9fa, #e3f5ff);
    padding: 40px 0;
    text-align: left;
    overflow: hidden;
    z-index: 1;
}

/* Hero Text Container */
.hero-text {
    position: relative;
    z-index: 2;
    padding-left: 0;
    margin-left: 0;
    max-width: 90%;
}

/* Lottie Animation Container */
.lottie-decoration {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    opacity: 0.6;
    pointer-events: none;
}

/* Hero Text */
.hero-text h5 {
    color: #00abe1;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: 48px;
    font-family: 'Fredoka One', cursive;
    color: #3e2434;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 90%;
}

/* Hero Button - Override Bootstrap defaults */
.btn-primary {
    background-color: #f16772 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 12px 24px !important;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    box-shadow: none !important;
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #00abe1 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
}

/* Remove Bootstrap's default focus outline */
.btn-primary:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure button is visible on all backgrounds */
button.btn-primary {
    position: relative;
    z-index: 2;
}

/* Ensure the hero section has a proper stacking order */
.hero {
    position: relative;
    background: linear-gradient(to right, #f8f9fa, #e3f5ff);
    padding: 100px 0;
    text-align: left;
    overflow: hidden;
    z-index: 1;
}

/* Adjust Hero Image */
.hero-image {
    position: relative;
    z-index: 1; /* Keeps the image behind the wave */
}

.hero-image img {
    width: 100%;
    max-width: 650px;
    display: block;
    margin: auto;
}

/* Wave Effect */
.wave-effect {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2; /* Ensure the wave overlays the image */
}

.wave-effect img {
    width: 100%;
    display: block;
}


/* Mobile Responsiveness for Hero Section */
@media (max-width: 991px) {
    .hero {
        padding: 20px 0;
        min-height: 80vh;
    }
    
    .hero-text {
        text-align: center;
        padding: 20px 15px;
        margin: 0 auto;
    }
    
    .lottie-decoration {
        margin: 0 auto 20px;
    }
    
    .hero-image img {
        max-width: 400px;
        margin-top: 30px;
    }
}

/* About Us Section */
.about-us {
    text-align: center;
    padding: 0px;
    background-color: white;
}

/* Section Title & Subtitle */
.section-title {
    font-size: 36px;
    color: #3e2434;
    font-family: 'Fredoka One', cursive;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Cards Container */
.about-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual Card */
.about-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    max-width: 32%;
}

/* Video Styling */
.about-card video {
    width: 100%;
    border-radius: 12px;
}

/* Card Title */
.about-card h3 {
    margin-top: 15px;
    font-size: 20px;
    color: #3e2434;
}

/* Card Text */
.about-card p {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .about-cards {
        flex-direction: column;
        align-items: center;
    }

    .about-card {
        max-width: 90%;
        margin-bottom: 20px;
    }
}

/* Prevent media downloads */
img, video {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

video {
    pointer-events: auto;  /* Allow video controls to work */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide download button and overflow menu */
video::-webkit-media-controls-download-button,
video::-webkit-media-controls-overflow-button,
video::-webkit-media-controls-more-options-button,
video::-internal-media-controls-overflow-button {
    display: none !important;
}

/* Hide the entire overflow menu */
video::-webkit-media-controls-overflow-menu-list {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    overflow: hidden !important;
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}

/* Firefox specific controls */
video::-moz-media-controls-overflow-menu-list {
    display: none !important;
}

/* Campuses Section */
.campuses {
    text-align: center;
    padding: 80px 0;
    background-color: #ffffff;
}

/* Section Title & Subtitle */
.campuses .section-title {
    font-size: 36px;
    color: #3e2434;
    font-family: 'Fredoka One', cursive;
}

.campuses .section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Campus Cards Container */
.campus-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual Campus Card */
.campus-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    max-width: 48%;
    border-top: 6px solid transparent;
    transition: 0.3s ease-in-out;
}

/* Apply Unique Colors for Each Campus */
.main-campus {
    border-top-color: #00abe1;
}

.second-campus {
    border-top-color: #88c038;
}

/* Campus Image */
.campus-card img {
    width: 100%;
    border-radius: 12px;
    height: 250px;
    object-fit: cover;
}

/* Campus Title */
.campus-card h3 {
    margin-top: 15px;
    font-size: 24px;
    color: #3e2434;
}

/* Campus Description */
.campus-card p {
    font-size: 16px;
    color: #666;
    margin-top: 8px;
}

/* Campus Button */
.btn-campus {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 15px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 25px;
    transition: 0.3s ease-in-out;
}

/* Button Colors */
.main-campus .btn-campus {
    background: #00abe1;
}

.second-campus .btn-campus {
    background: #88c038;
}

/* Button Hover Effects */
.main-campus .btn-campus:hover,
.second-campus .btn-campus:hover {
    background: #f16772;
}

.campus-card .carousel {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.campus-card .carousel-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.campus-card .carousel-control-prev,
.campus-card .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 10px;
}

.campus-card .carousel-control-prev-icon,
.campus-card .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .campus-cards {
        flex-direction: column;
        align-items: center;
    }

    .campus-card {
        max-width: 90%;
        margin-bottom: 20px;
    }
}


/* Academic Overview Section */
.academic-overview {
    text-align: center;
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* Section Title & Subtitle */
.academic-overview .section-title {
    font-size: 36px;
    color: #3e2434; /* Dark Purple */
    font-family: 'Fredoka One', cursive;
}

.academic-overview .section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Academic Cards Container */
.academic-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Individual Academic Card */
.academic-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    min-height: 340px; /* Set minimum height */
}

/* Alternate Layout for Each Row */
.academic-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Academic Text Content */
.academic-content {
    flex: 1;
    text-align: left;
    padding: 20px;
}

/* Academic Media */
.academic-media {
    flex: 1;
    text-align: center;
    max-width: 50%; /* Add max-width to control video container size */
}

.academic-media video {
    width: 100%;
    border-radius: 12px;
    height: 400px; /* Fixed height */
    object-fit: cover; /* Maintain aspect ratio */
}

/* Academic Titles */
.academic-content h3 {
    font-size: 24px;
    color: #3e2434; /* Dark Purple */
}

/* Academic Descriptions */
.academic-content p {
    font-size: 16px;
    color: #666;
    margin-top: 8px;
}

/* Learn More Button */
.btn-academic {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 15px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 25px;
    transition: 0.3s ease-in-out;
}

/* Color Coding for Programs */
.kindergarten {
    border-left: 6px solid #00abe1; /* Bright Blue */
}

.lower-primary {
    border-left: 6px solid #88c038; /* Lime Green */
}

.upper-primary {
    border-left: 6px solid #f16772; /* Soft Red/Pink */
}

/* Button Colors */
.kindergarten .btn-academic {
    background: #00abe1;
}

.lower-primary .btn-academic {
    background: #88c038;
}

.upper-primary .btn-academic {
    background: #f16772;
}

/* Button Hover Effects */
.btn-academic:hover {
    background: #3e2434; /* Dark Purple */
}

/* Responsive Design */
@media (max-width: 991px) {
    .academic-card {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .academic-card:nth-child(even) {
        flex-direction: column;
    }

    .academic-media {
        margin-top: 20px;
        max-width: 100%;
    }

    .academic-media video {
        height: 250px; /* Slightly smaller on mobile */
    }
}

/* Notice Board Section */
.notice-board {
    padding: 0px 0;
    background-color: #f8f9fa;
    text-align: center;
}

/* Section Title */
.notice-board .section-title {
    font-size: 36px;
    color: #3e2434;
    margin-bottom: 20px;
}

/* Notice Ticker */
.notice-ticker {
    background: #f16772;
    color: #ffffff;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Notice Cards */
.notice-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Individual Notice Card */
.notice-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 30%;
    transition: 0.3s ease-in-out;
}

.notice-card:hover {
    transform: scale(1.05);
}

/* Read More Button */
.notice-card .read-more {
    background: #00abe1;
    color: #ffffff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.notice-card .read-more:hover {
    background: #3e2434;
}

/* Responsive */
@media (max-width: 991px) {
    .notice-cards {
        flex-direction: column;
        align-items: center;
    }

    .notice-card {
        width: 90%;
    }
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: linear-gradient(to right, #f8f9fa, #e3f5ff);
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.modal-title {
    color: #3e2434;
    font-family: 'Fredoka One', cursive;
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    color: #666;
    margin-bottom: 15px;
}

.modal-body ul {
    padding-left: 20px;
    color: #666;
}

.modal-body ul li {
    margin-bottom: 8px;
}

/* Read More Button Hover Effect */
.read-more:hover {
    background: #00abe1;
    transform: translateY(-2px);
}

/* School Calendar Section */
.school-calendar {
    padding: 80px 0;
    text-align: center;
}

/* Section Title */
.school-calendar .section-title {
    font-size: 36px;
    color: #3e2434;
    margin-bottom: 20px;
}

/* Calendar Layout */
.calendar-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Calendar Box */
.calendar {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 60%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 {
    font-size: 24px;
    color: #3e2434;
    font-family: 'Fredoka One', cursive;
    margin: 0;
}

.calendar-nav {
    background: #00abe1;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
}

.calendar-nav:hover {
    background: #f16772;
    transform: scale(1.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendar-weekdays div {
    font-weight: bold;
    color: #3e2434;
    padding: 10px;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-date {
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.calendar-date:hover {
    background: #e3f5ff;
}

.calendar-date.today {
    background: #00abe1;
    color: white;
}

.calendar-date.has-event {
    background: #f16772;
    color: white;
}

.upcoming-events {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 35%;
}

.upcoming-events h3 {
    color: #3e2434;
    font-family: 'Fredoka One', cursive;
    margin-bottom: 20px;
}

.event-item {
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: 0.3s ease;
}

.event-item:hover {
    transform: translateX(10px);
    background: #e3f5ff;
}

.event-date {
    color: #00abe1;
    font-weight: bold;
}

.event-title {
    color: #3e2434;
    margin: 5px 0;
}

@media (max-width: 991px) {
    .calendar-container {
        flex-direction: column;
        align-items: center;
    }
    
    .calendar, .upcoming-events {
        width: 95%;
        margin-bottom: 20px;
    }
}


/* School Excellence Section */
.school-excellence {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Aligning Row */
.school-excellence .row {
    display: flex;
    align-items: center;
}

/* Left Image with Animation */
.excellence-image {
    position: relative;
    opacity: 0;
}

.excellence-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
}

/* Right Content */
.excellence-content {
    padding-left: 40px;
    opacity: 0;
}

/* Section Title */
.excellence-content .section-title {
    font-size: 36px;
    color: #3e2434; /* Dark Purple */
    font-family: 'Fredoka One', cursive;
}

/* Section Description */
.excellence-content .section-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

/* School Stats */
.school-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat {
    background: #00abe1;
    color: #ffffff;
    padding: 15px;
    border-radius: 15px;
    flex: 1;
    transition: all 0.3s ease;
}

.stat h3 {
    font-size: 28px;
    margin-bottom: 5px;
    font-family: 'Fredoka One', cursive;
    letter-spacing: 0.5px;
}

.stat p {
    font-size: 14px;
}
.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #f16772;
}

/* School Values List */
.school-values {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.school-values li {
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.school-values li span {
    color: #88c038; /* Lime Green */
    font-size: 20px;
    margin-right: 10px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* View More Button */
.btn-primary {
    background: #f16772;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.btn-primary:hover {
    background: #3e2434;
}


/* Responsive Design */
@media (max-width: 991px) {
    .school-excellence .row {
        flex-direction: column;
        text-align: center;
    }

    .excellence-content {
        padding-left: 0;
        margin-top: 20px;
    }

    .school-stats {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

.animate__animated {
    --animate-duration: 1s;
    --animate-delay: 0.3s;
}


/* Enrollment CTA Section */
.enrollment-cta {
    position: relative;
    background: url('../img/campus1.jpg') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    z-index: 1;
}

/* Overlay Effect */
.enrollment-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 171, 225, 0.85); /* Bright Blue Overlay */
}

/* Content Alignment */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Title */
.cta-title {
    font-size: 42px;
    font-family: 'Fredoka One', cursive;
}

/* Section Description */
.cta-description {
    font-size: 18px;
    margin-top: 10px;
}

/* Apply Now Button */
.btn-apply {
    display: inline-block;
    background-color: #f16772;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.btn-apply:hover {
    background-color: #3e2434;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 991px) {
    .cta-title {
        font-size: 32px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .btn-apply {
        font-size: 16px;
        padding: 12px 25px;
    }
}

/* Testimonial Section */
.testimonial {
    padding: 60px 0;
    background: transparent;
    color: linear-gradient(135deg, #f16772 0%, #ff8a8a 100%);;
    position: relative;
    overflow: hidden;
}

/* Testimonial Container */
.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Video Carousel */
.testimonial-carousel {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Video Container */
.testimonial-video-wrapper {
    flex: 0.8; /* Reduce from 1 to make video smaller */
    position: relative;
    padding: 15px;
}

.testimonial-video {
    width: 100%;
    max-height: 350px; /* Reduce from 300px */
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Content Adjustments */
.testimonial-content {
    flex: 1; /* Increase from 1 to give more space to content */
    padding: 20px 30px;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .testimonial-video-wrapper {
        flex: 1;
    }
    
    .testimonial-video {
        max-height: 200px; /* Even smaller on mobile */
    }
    
    .testimonial-content {
        flex: 1;
        padding: 20px 0;
    }
}

/* Testimonial Content */
.testimonial-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-family: 'Fredoka One', cursive;
}

.stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    left: -20px;
    top: -20px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.author-title {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    color: #f16772;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: #3e2434;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .testimonial {
        padding: 40px 0;
    }

    .testimonial-item {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-content {
        padding: 0;
        text-align: center;
    }

    .testimonial-author {
        justify-content: center;
    }

    .carousel-nav {
        top: auto;
        bottom: -50px;
        transform: none;
    }

    .carousel-prev {
        left: calc(50% - 50px);
    }

    .carousel-next {
        right: calc(50% - 50px);
    }
}

/* Video Carousel Styles */
.video-carousel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.testimonial-video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    transition: all .3s ease-in-out;
}

.testimonial-content {
    padding: 30px;
    color: #f16772;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 20px 0;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.3;
}

.author {
    display: block;
    margin-top: 15px;
    font-style: italic;
    opacity: 0.8;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-carousel .row {
        flex-direction: column;
    }
    
    .video-carousel,
    .testimonial-content {
        width: 100%;
        padding: 15px;
    }
    
    .testimonial-video {
        height: 250px;
    }
}

.carousel-item {
    transition: transform .6s ease-in-out;
}

.carousel-item .row {
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.carousel-item.active .row {
    opacity: 1;
}


/* FAQ & Appointment Section */
.faq-appointment {
    padding: 80px 0;
    background: #FFD700;
    color: #ffffff;
}

/* Section Title */
.section-title {
    font-size: 32px;
    font-family: 'Fredoka One', cursive;
    margin-bottom: 20px;
}

/* Accordion Styling */
.accordion-item {
    background: #ffffff;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    font-size: 18px;
    font-weight: bold;
}

.accordion-button {
    background: #f16772; /* Soft Red */
    color: #ffffff;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
}

.accordion-button:not(.collapsed) {
    background: #3d2333; /* Dark Burgundy */
}

.accordion-body {
    padding: 15px;
    color: #333;
    background: #ffffff;
}

/* Appointment Form */
.appointment-section {
    background: rgba(255, 255, 255, 0.2);
    padding: 0px;
    border-radius: 15px;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

textarea.form-control {
    height: 120px;
}

.btn-submit {
    background: #88c038; /* Lime Green */
    color: #ffffff;
    padding: 12px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #3e2434; /* Dark Purple */
}

/* Responsive Design */
@media (max-width: 991px) {
    .faq-appointment .row {
        flex-direction: column;
        text-align: center;
    }

    .appointment-section {
        margin-top: 30px;
    }
}


/* Footer Section */
.footer {
    background: linear-gradient(to right, #f4f3dd, #77d2ef);
    padding: 50px 0;
    color: #3e2434;
    text-align: left;
}

/* Footer Logo */
.footer-logo {
    width: 180px;
    margin-bottom: 15px;
}

/* Footer Social Icons */
.footer-social a {
    display: inline-block;
    margin-right: 10px;
    font-size: 24px;
    color: #00abe1;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #f16772;
}

/* Footer Links */
.footer-links, .footer-programs, .footer-contact {
    text-align: left;
}

.footer-links h4, .footer-programs h4, .footer-contact h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-links ul, .footer-programs ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li, .footer-programs ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .footer-programs ul li a {
    text-decoration: none;
    color: #3e2434;
    transition: 0.3s;
}

.footer-links ul li a:hover, .footer-programs ul li a:hover {
    color: #f16772;
}

/* Contact Section */
.footer-contact p {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-contact i {
    margin-right: 8px;
    color: #00abe1;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f16772;
    color: #ffffff;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.scroll-top:hover {
    background: #3e2434;
}

/* Responsive */
@media (max-width: 991px) {
    .footer .row {
        text-align: center;
    }

    .footer-links, .footer-programs, .footer-contact {
        margin-top: 20px;
    }
}

/* Mobile Responsive Styles */

/* General Mobile Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    /* Top Bar */
    .top-bar {
        flex-direction: column;
        padding: 5px;
    }

    .social-icons, .contact-info {
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }

    /* Navbar */
    .navbar-brand img {
        max-width: 150px;
    }

    .navbar .container {
        padding: 10px;
    }

    /* Hero Section */
    .hero {
        padding: 30px 0;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-image img {
        width: 100%;
        margin-top: 20px;
    }

    /* About Cards */
    .about-cards {
        flex-direction: column;
        gap: 20px;
    }

    .about-card {
        width: 100%;
    }

    .about-card video {
        width: 100%;
        height: auto;
    }

    /* Campus Section */
    .campus-cards {
        flex-direction: column;
        gap: 20px;
    }

    .campus-card {
        width: 100%;
    }

    /* Academic Cards */
    .academic-card {
        flex-direction: column;
        margin: 20px 0;
    }

    .academic-content, .academic-media {
        width: 100%;
    }

    .academic-media video {
        width: 100%;
        height: auto;
    }

    /* Notice Board */
    .notice-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    * Calendar Section */
    .calendar-container {
        flex-direction: column;
    }

    .calendar {
        width: 100%;
        margin-bottom: 20px;
    }

    .upcoming-events {
        width: 100%;
    }

    /* Calendar Specific Fixes */
    .calendar {
        max-width: 100%;
        overflow-x: hidden;
    }

    .calendar-container {
        padding: 10px;
    }

    .calendar-weekdays {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        width: 100%;
    }

    .calendar-weekdays div {
        font-size: 14px;
        padding: 5px;
        text-align: center;
    }

    #calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        width: 100%;
        gap: 2px;
    }

    #calendar-grid div {
        padding: 5px;
        font-size: 14px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .calendar-header {
        padding: 10px 5px;
    }

    .calendar-header h3 {
        font-size: 16px;
    }

    .calendar-nav {
        padding: 5px 10px;
    }

    /* Calendar Overflow Fix */
    .calendar {
        position: relative;
        max-width: 100%;
        overflow: hidden;
        border-radius: 8px;
    }

    .calendar-grid-container {
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    #calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        width: 100%;
        gap: 2px;
        position: relative;
        left: 0;
        transition: left 0.3s ease;
    }

    .calendar-nav {
        position: relative;
        z-index: 2;
    }

    /* Hide overflow content */
    .calendar-container {
        overflow: hidden;
        position: relative;
        width: 100%;
    }

    /* Ensure next month stays hidden */
    .next-month, .prev-month {
        opacity: 0;
        pointer-events: none;
        position: absolute;
        transform: translateX(100%);
    }

    /* School Excellence */
    .school-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat {
        width: 100%;
        text-align: center;
    }

    /* FAQ & Appointment */
    .faq-appointment .row {
        flex-direction: column;
    }

    .faq-section, .appointment-section {
        width: 100%;
        margin-bottom: 30px;
    }

    /* Footer */
    .footer .row > div {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 26px;
    }

    .testimonial-content {
        padding: 15px;
    }

    .testimonial-video {
        height: 200px;
    }

    .modal-dialog {
        margin: 10px;
    }
}

/* Fix for Elements Overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}



