@import url("https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Fredoka:wght@300..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap");

html,
body {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden !important;
}

:root {
    --primary-color: #8f0000;
    --secondary-color: #474744;
    --third-color: black;
    --fourth-color: #dad6d6;
}

body.modal-open {
    padding-right: 0 !important;
    overflow-x: hidden !important;
}

.social-icons-header a:hover {
    color: #fdcb02 !important;
}

/* CSS For Address Book Icon */
.fa-address-book {
    font-size: 25px;
    color: var(--primary-color);
}

/* CSS For Email Icon */
.fa-envelope {
    font-size: 25px;
    color: var(--primary-color);
}
/* CSS For Phone Icon */
.fa-phone {
    font-size: 25px;
    color: var(--primary-color);
}

/* Css for desktop-icons-below-text */
.desktop-icons-below-text {
    font-size: 16px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
}
.desktop-upper-nav-strip {
    background-color: var(--third-color);
}
.desktop-upper-nav-strip ul li a {
    color: white;
    font-family: "Poppins", sans-serif;
}
.desktop-upper-nav-strip ul li a:hover {
    color: #fdcb02;
    font-weight: bold;
}
.desktop-lower-nav-strip {
    background-color: #8f0000;
}
.desktop-lower-nav-strip ul li a {
    color: white;
    font-family: "Poppins", sans-serif;
}

.desktop-lower-nav-strip ul li a:hover {
    background-color: var(--secondary-color);
    color: white;
}
.desktop-lower-nav-strip .navbar-nav .nav-link {
    padding-right: 14px;
    padding-left: 14px;
}

.explore-potential-heading {
    font-family: "Lora", serif;
    font-size: 30px;
}

.explore-potential-text {
    font-family: "Poppins", sans-serif;
}

.divider {
    background: linear-gradient(30deg, #0c54a0, #027c3f, #e31e25, #ff9a14);
    height: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.footer-unordered-list {
    list-style: none;
}
/* CSS for Footer Link */
.footer-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding-bottom: 20px;
    font-family: "Poppins", sans-serif;
}

/* CSS For Footer Heading */
.footer-heading {
    color: white;
    font-size: 25px;
    font-family: "Lora", serif;
}

/* CSS For Resource Heading */
.resource-heading {
    color: var(--primary-color);
    font-size: 18px;
    font-family: "Poppins", sans-serif;
}
/* CSS for Resource List */
.resource-list {
    font-family: "Poppins", sans-serif;
}
.mandatory-disclosure {
    font-family: "Poppins", sans-serif;
}

.announcements {
    font-family: "Lora", serif;
    color: white;
    background-color: var(--primary-color);
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.announcements-text {
    font-family: "Poppins", sans-serif;
    color: white;
}

.contact-form {
    background-color: rgb(235, 228, 228);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 2px 5px;
}

.google-map {
    box-shadow: 0px 2px 5px;
    background-color: rgb(207, 206, 206);
    border-radius: 8px;
}

/* CSS For Gallery */

.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 250px;
    /* Set a fixed height for consistency */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the container */
}

.section-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-family: "Lora", serif;
    background: var(--primary-color);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    padding: 10px;
}
.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
.album-name {
    margin: 0;
}

.navbar-nav .dropdown-menu {
    position: absolute;
    background-color: var(--secondary-color);
}
.desktop-dropdown:hover .dropdown-menu {
    display: block;
    animation: slidedown 0.5s cubic-bezier(0.25, 0.8, 0.5, 1) forwards;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    border-radius: 8px; /* Rounded corners */
    background-color: var(--secondary-color);
}
/* Keyframes for a smooth slide-down with slight bounce */
@keyframes slidedown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    80% {
        transform: translateY(5px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
    }
}

.desktop-dropdown .dropdown-menu .dropdown-item:hover {
    background-color: #fdcb02;
    color: var(--primary-color);
}

.row.text-center > .col-lg-3 {
    display: flex;
    justify-content: center;
}

.height-container {
    height: 90px; /* Adjust the height as needed */
    align-items: center;
}
.school-name {
    font-family: "Lora", serif;
    font-size: 20px; /* Increase the font size for prominence */
    font-weight: bold; /* Make the text bold */
    color: #2c3e50; /* A dark shade of blue-gray for sophistication */
    text-align: center; /* Center the text */
    display: block; /* Ensure it takes up the full width */
    text-transform: uppercase; /* Make all letters uppercase for emphasis */
    letter-spacing: 2px; /* Add space between letters for a refined appearance */
}

.school-name-footer {
    font-family: "Lora", serif;
    font-size: 20px; /* Increase the font size for prominence */
    font-weight: bold; /* Make the text bold */
    color: #2c3e50; /* A dark shade of blue-gray for sophistication */
    text-align: center; /* Center the text */
    display: block; /* Ensure it takes up the full width */
    text-transform: uppercase; /* Make all letters uppercase for emphasis */
    letter-spacing: 2px; /* Add space between letters for a refined appearance */
    color: #fdcb02;
}
.footer-list-item .footer-link:hover {
    color: #fdcb02;
}

/* Offcanvas Menu CSS */
.nav-mobile {
    top: 20px;
    left: 0;
    width: 100%;
    background: white;
    color: var(--primary-color);
    padding: 20px 0px;
    margin: 0;
    cursor: auto;
    font-size: 18px;
    list-style-type: none;
    box-shadow: 0 5px 5px -5px #333;
}
.nav-mobile:after {
    content: "";
    display: table;
    clear: both;
}
.nav-mobile svg {
    height: 45px;
    width: 65px;
    padding: 9px;
}
.nav-mobile svg path {
    fill: var(--primary-color);
}
.nav-mobile svg.icon-close {
    display: none;
    padding: 15px;
}
.nav-mobile li {
    width: 100%;
    height: 45px;
    line-height: 46px;
    text-align: center;
    float: left;
}
.nav-mobile li a {
    display: block;
    color: #333;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.nav-mobile .menu-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    display: block;
}
.nav-mobile .menu-button:after {
    opacity: 0;
    top: 45px;
    content: "";
    width: 100vw;
    display: block;
    position: fixed;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    content: "";
    z-index: 9;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0, 0, 0.3, 1);
    transition-delay: 0.1s;
}
.nav-mobile #menu-toggle {
    display: none;
}
.nav-mobile #menu-toggle.active ~ .menu-button .icon-close,
.nav-mobile #menu-toggle:checked ~ .menu-button .icon-close {
    display: block;
}
.nav-mobile #menu-toggle.active ~ .menu-button .icon-open,
.nav-mobile #menu-toggle:checked ~ .menu-button .icon-open {
    display: none;
}
.nav-mobile #menu-toggle.active ~ .menu-button:after,
.nav-mobile #menu-toggle:checked ~ .menu-button:after {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s cubic-bezier(0, 0, 0.3, 1);
}
.nav-mobile #menu-toggle.active ~ .menu-sidebar,
.nav-mobile #menu-toggle:checked ~ .menu-sidebar {
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0, 0, 0.3, 1);
}
.nav-mobile .menu-container {
    width: 65px;
    float: left;
    cursor: pointer;
    position: absolute;
}
.nav-mobile .menu-container .menu-sidebar {
    box-shadow: 5px 0 5px -5px #333;
    display: block;
    width: 65vw;
    bottom: 0;
    background: white;
    color: #333;
    position: fixed;
    z-index: 9999999;
    transform: translateX(-405px);
    transition: transform 0.3s cubic-bezier(0, 0, 0.3, 1);
    top: 0px;
    list-style-type: none;
    padding: 0;
    max-width: 400px;
}
.nav-mobile .menu-container .menu-sidebar .arrow {
    position: absolute;
    line-height: 50px;
    font-size: 32px;
    color: #555;
    top: 0;
    z-index: 0;
}
.nav-mobile .menu-container .menu-sidebar .arrow.left {
    left: 25px;
}
.nav-mobile .menu-container .menu-sidebar .arrow.right {
    right: 25px;
}
.nav-mobile .menu-container .menu-sidebar li {
    height: 55px;
    line-height: 55px;
    font-size: 16px;
    text-align: left;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 20px;
}
.nav-mobile .menu-container .menu-sidebar li:hover {
    background: #eee;
}
.nav-mobile .menu-container .menu-sidebar li .menu-sub {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    overflow: hidden;
    background: white;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
    border-left: 1px solid #ccc;
    list-style-type: none;
    padding: 0;
    margin: 0;
    z-index: 2;
    max-width: 400px;
}
.nav-mobile .menu-container .menu-sidebar li .menu-sub li {
    overflow: hidden;
}
.nav-mobile .menu-container .menu-sidebar li .menu-sub .menu-sub-title {
    padding-left: 50px;
}
.nav-mobile .menu-container .menu-sidebar li .submenu-label {
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: block;
}
.nav-mobile .menu-container .menu-sidebar li .submenu-toggle {
    display: none;
}
.nav-mobile .menu-container .menu-sidebar li .submenu-toggle.active ~ .menu-sub,
.nav-mobile
    .menu-container
    .menu-sidebar
    li
    .submenu-toggle:checked
    ~ .menu-sub {
    width: 65vw;
    visibility: visible;
    z-index: 1;
    transition: width 0.35s cubic-bezier(0, 0, 0.3, 1);
}

.mobile-sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

/* Floating strip styles */
.floating-strip-right {
    position: fixed;
    top: 40%; /* Center vertically */
    right: 0; /* Align to the right side */
    text-align: center;
    transform: translateY(-50%); /* Adjust vertical centering */
    background: #8f0000;
    padding: 8px 0px;
    width: 35px; /* Width of the strip */
    height: 130px; /* Height of the strip */
    border-radius: 10px 0 0 10px; /* Round left corners */
    z-index: 1050; /* Keep it above other elements */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    writing-mode: vertical-rl; /* Make the text flow vertically */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.floating-strip-right:hover {
    transform: translateY(-50%) scale(1.05); /* Slightly scale up the strip */
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.4); /* Darker and bigger shadow */
}

.floating-strip-right a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-family: "Lora", serif;
}
.floating-strip-right a:hover {
    color: white;
}

/* Floating strip styles */
.floating-strip-right-bottom {
    position: fixed;
    top: 70%;
    right: 0; /* Align to the right side */
    text-align: center;
    transform: translateY(-50%); /* Adjust vertical centering */
    background: linear-gradient(30deg, #0c54a0, #027c3f, #e31e25, #ff9a14);
    padding: 8px 0px;
    width: 35px; /* Width of the strip */
    height: 200px; /* Height of the strip */
    border-radius: 10px 0 0 10px; /* Round left corners */
    z-index: 1000; /* Keep it above other elements */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    writing-mode: vertical-rl; /* Make the text flow vertically */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.floating-strip-right-bottom:hover {
    transform: translateY(-50%) scale(1.05); /* Slightly scale up the strip */
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.4); /* Darker and bigger shadow */
}

.floating-strip-right-bottom a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-family: "Lora", serif;
}
.floating-strip-right-bottom a:hover {
    color: white;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px; /* Distance from the bottom of the viewport */
    left: 20px; /* Distance from the left of the viewport */
    background-color: #25d366; /* WhatsApp color */
    color: white; /* Text and icon color */
    border-radius: 5px; /* Slightly rounded corners */
    padding: 10px 15px; /* Padding for button */
    display: flex; /* Align items */
    align-items: center; /* Center icon and text */
    text-decoration: none; /* No underline */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Shadow effect */
    z-index: 1000; /* Stay on top of other elements */
    transition: all 0.3s ease; /* Smooth transition for all properties */
    animation: bounce 2s infinite; /* Animation effect */
}

.whatsapp-button i {
    margin-right: 10px; /* Space between icon and text */
    font-size: 24px; /* Icon size */
}

/* Hover Effect */
.whatsapp-button:hover {
    background-color: #128c7e; /* Darker shade on hover */
    transform: scale(1.1) rotate(5deg); /* Slightly enlarge and rotate */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    color: white;
}

/* Bounce Animation */
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.modal-title {
    font-family: "Lora", serif;
}

.enquiry-model-field {
    color: rgb(26, 79, 156);
    font-weight: 500;
}

/* Modal Content Styling */
#successModal .modal-content {
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-in-out;
}

#successModal .modal-header {
    border-bottom: none;
    text-align: center;
}

#successModal .modal-body {
    text-align: center;
    padding: 2rem;
    max-height: 300px; /* Adjust this value as needed */
    overflow-y: auto; /* Adds a scrollbar if content exceeds max height */
}

#successModal .modal-body i {
    font-size: 5rem;
    color: #28a745; /* Green color for the check icon */
    margin-bottom: 20px;
    animation: scaleUp 0.5s ease-in-out;
}

#successModal .modal-body p {
    font-size: 1.25rem;
    color: #333;
    margin-top: 0;
}

#successModal .btn-close {
    filter: brightness(0) invert(1); /* Makes the icon white */
}

/* Animation for fading in the modal */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for scaling up the checkmark */
@keyframes scaleUp {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Custom Width for Modal */
.modal-custom-width {
    max-width: 500px; /* Change this value as needed */
}

.card:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease-in-out;
}

.what-sets-us-apart {
    /* background-color: rgb(248, 249, 250); */
    padding: 50px 0;
    color: #000000;
    font-family: "Poppins", sans-serif;
}

.logo img {
    max-width: 150px;
    display: block;
    margin-bottom: 30px;
}

.image-section img {
    max-width: 100%;
    border-radius: 10px;
}
@media (max-width: 575.98px) {
    .explore-potential-heading {
        font-size: 1.25rem; /* Adjust to your desired smaller font size */
    }
}

.gradient-divider {
    height: 5px; /* Adjust thickness as needed */
    width: 100%; /* Adjust width as needed */
    background: linear-gradient(30deg, #0c54a0, #027c3f, #e31e25, #ff9a14);
    border-radius: 2px; /* Optional, for rounded edges */
}

.explore-text {
    color: var(--primary-color);
    font-weight: 800px;
}

.gradient-text {
    background: linear-gradient(30deg, #0c54a0, #027c3f, #e31e25, #ff9a14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 48px; /* Adjust size as needed */
    font-weight: bold; /* Optional */
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 1200px) {
    .desktop-icons-below-text {
        font-size: 13px;
    }
}

.section-title {
    font-size: 2.5rem; /* 40px */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    color: #111827; /* Tailwind's gray-900 */
    margin-bottom: 2rem;
    position: relative;
    font-family: "Poppins", sans-serif;
    padding-bottom: 1rem;
    background: linear-gradient(to right, #6366f1, #8f0000);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(
        to right,
        #8f0000,
        #ec4899
    ); /* Indigo to Pink */
    border-radius: 2px;
    animation: slidein 1s ease;
}

@keyframes slidein {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

.school-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
.school-card:hover img {
    transform: scale(1.05);
}
.school-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
}
.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-card {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
iframe {
    border: none;
    border-radius: 0.5rem;
}

.ratio iframe {
    border-radius: 0.5rem;
}
.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
