/*global */
/*particals effect */
#particles-js {
    position: fixed;  /* Keeps particles fixed on screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;  /* Keeps particles in the background */
    pointer-events: none;  /* Ensures particles do not block clicks */
}

/* text animation  */
.text-animation {
    font-size: 3rem;
    font-weight: bold;
    /*text-transform: uppercase;*/
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 4s forwards;
}

/* Keyframes for slide-in animation */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Optional: Add a delay for different screen sizes */
@media (min-width: 768px) {
    h1 {
        animation-delay: 0.5s;
    }
}

/*text animation 2 */
/* Apply to text elements you want to animate */
.text-animation-2 {
    animation: zoomInOut 5s ease-in-out; /* Slow zoom in and out with 5s duration */
    font-weight: bold; /* Optional: Make text bold */
}
hover-content
/* Define the keyframes for the slow zoom in and out animation */
@keyframes zoomInOut {
    0% {
        transform: scale(1); /* Normal size */
    }
    50% {
        transform: scale(1.2); /* Zoom in 1.2 times */
    }
    100% {
        transform: scale(1); /* Zoom back to normal size */
    }
}

/*text animation-running*/
/* Apply to text elements you want to animate */
.text-animation-running {
    animation: textFadeIn 5s ease-in-out infinite; /* Adjust 5s for a slow animation */
    font-weight: bold; /* Optional: Make text bold */
}

/* Define the keyframes for the text fade-in animation */
@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start from 20px below */
    }
    50% {
        opacity: 1;
        transform: translateY(0); /* Text moves to its normal position */
    }
    100% {
        opacity: 0;
        transform: translateY(-20px); /* Fade out and move upwards */
    }
}
/* Default image state */
.hover-animation {
    transition: transform 1s ease-in-out, z-index 0s ease; /* Transition for zoom and z-index */
    transform: scale(1); /* Initial size */
    z-index: 11; /* Default z-index (behind other elements) */
}

/* On hover: zoom in and bring the image to the front */
.hover-animation:hover {
    transform: scale(1.2); /* Zoom in 1.2 times on hover */
    z-index: 11; /* Bring the image in front of other elements */
}
/* Image with rounded corners */
.img-rounded {
    border-radius: 5px; /* Adjust this value to control the roundness of the corners */
}


/* Default state (no shadow) */
.hover-shadow {
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition for shadow */
    box-shadow: none; /* No shadow by default */
}

/* On hover: Add a shadow */
.hover-shadow:hover {
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2); /* Add a shadow on hover */
}

/* Smooth left-to-right animation */
.moving-animation-left {
    position: relative;
    animation: moveLeftToRight 3s ease-in-out  alternate;
}

/* Keyframes for left-to-right movement */
@keyframes moveLeftToRight {
    from {
        transform: translateX(-50px); /* Start from left */
        opacity: 0;
    }
    to {
        transform: translateX(0); /* Move to original position */
        opacity: 1;
    }
}

/* Smooth right-to-left animation */
.moving-animation-right {
    position: relative;
    animation: moveLeftToLeft 3s ease-in-out  alternate;
}

/* Keyframes for left-to-right movement */
@keyframes moveLeftToLeft {
    from {
        transform: translateX(50px); /* Start from left */
        opacity: 0;
    }
    to {
        transform: translateX(0); /* Move to original position */
        opacity: 1;
    }
}

/* Smooth moving up animation */
.moving-animation-up {
    position: relative;
    animation: moveUp 3s ease-in-out alternate ;
}

@keyframes moveUp {
    from {
        transform: translateY(0); /* Start at original position */
    }
    to {
        transform: translateY(-20px); /* Move 20px up */
    }
}
/* Smooth moving up animation */
.moving-animation-down {
    position: relative;
    animation: moveDown 3s ease-in-out alternate;
}

@keyframes moveDown {
    0% {
        top: 0; /* Start at the original position */
    }
    100% {
        top: 100px; /* Move 100px down (adjust as needed) */
    }
}




/* private school section */
#pvtSchoolBtn {
    display: inline-block;
    width: 200px;
    padding: 10px 20px;
    text-align: center;
    border: 1px solid var(--accent-color) !important;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: bold;
    background-color: transparent;
    transition: all 0.7s ease-in-out; /* Smoother and slower transition */
    border-radius: 5px; /* Rounded corners for a smoother look */
}

#pvtSchoolBtn:hover {
    background-color: var(--accent-color); /* Change background color */
    color: #fff; /* Change text color */
    border: 1px solid #2c3034 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add a subtle shadow on hover */
}


/* Social Media Sidebar */
.social-sidebar {
    position: fixed;
    left: 20px; /* Position at the left bottom */
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse; /* Ensures the toggle button is at the bottom */
}

/* Toggle Button */
.social-toggle {
    width: 50px;
    height: 50px;
    background: #022f5d;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.social-toggle:hover {
    background: #098ddf;
}

/* Hide Icons Initially */
.social-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    pointer-events: none;
}

/* Show Icons on Hover */
.social-sidebar:hover ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Social Media Items */
.social-sidebar ul li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 50px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 25px;
    transition: width 0.4s ease-in-out;
    position: relative;
    overflow: hidden;

}

/* Icons */
.social-sidebar ul li a {
    display: flex;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    width: 100%;
    align-items: center;
    margin-left: 7px;

}

/* Hide Text Initially */
.social-sidebar ul li span {
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease-in-out;
}

/* Expand on Hover */
.social-sidebar ul li:hover {
    width: 130px;
}

/* Show Text */
.social-sidebar ul li:hover span {
    opacity: 1;
}

/* Social Media Colors */
.facebook { background: #3b5998; }
.twitter { background: #1da1f2; }
.linkedin { background: #0077b5; }
.instagram { background: #e4405f; }

/* Hover Effects for Icons */
.social-sidebar ul li:hover a i {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    left: 80px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Hover Effect */
.whatsapp-float:hover {
    background-color: #25D366;
}

/* facebook Messenger Button */
.messenger-icon {
    position: fixed;
    left: 140px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: #0084FF;
    color: #fff;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
}

/* Ensuring Icon is Centered */
.messenger-icon i {
    font-size: 26px; /* Adjust icon size if needed */
    line-height: 50px; /* Align with button height */
    text-align: center;
    color: #fff;
}

@keyframes slowZoom {
    0% {
        transform: scale(.5);
    }
    50% {
        transform: scale(1); /* Adjust the zoom level here */
    }
    100% {
        transform: scale(1);
    }
}

.zoom-animation {
    animation: slowZoom 10s ; /* 10s duration, adjust as needed */
    animation-timing-function: ease-in-out; /* Smooth easing */
}

/*global */

/*gallery page */
/*home */
/* welcome_phgs */
.overlay {
    transition: all 0.5s ease-in-out; /* Smooth transition effect */
}

/* css  */
.school-img img {
    border: 2px;
}

.school-section:hover .overlay {
    cursor: pointer;
    transform: translateX(-50%);
    background-color: rgba(2, 61, 108 , 0.7);
}
.school-levels,
.row,
.col {
    padding: 0 !important;
    margin: 0 !important;
}



/*hero section*/
.main-banner {
    position: relative;
    max-height: 100%;
    overflow: hidden;
    margin: 0 !important;
    /*margin-bottom: -7px;*/
}

#bg-video {
    min-width: 100%;
    min-height: 90vh;
    max-width: 100%;
    max-height: 90vh;
    object-fit: cover;
    z-index: -1;
}

#bg-video::-webkit-media-controls {
    display: none !important;
}

.video-overlay {
    position: absolute;
    background: linear-gradient(to top, rgba(0, 96, 172 , 1.9), rgba(8, 144, 253, 0));
    top: 0;
    left: 0;
    bottom: 8px;
    right: 0;
    width: 100%;
}

/*hero section*/
.slider-active-3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: 0;
    border: 0;
    padding: 0;
    font-size: 36px;
    transition: 0.4s;
    opacity: 0;
    visibility: hidden;
}

.slider-area:hover .slider-active-3 .slick-arrow {
    opacity: 1;
    visibility: visible;
}

.slider-active-3 .slick-next.slick-arrow {
    right: 53px;
    color: #fff;
}

.slider-active-3 .slick-prev.slick-arrow {
    z-index: 1;
    color: #fff;
    left: 53px;
}

.slider-active-3 .slick-dots li {
    display: inline-block;
}


/*typing text */
.slider-content {
    text-align: center;
    color: white;
    height: 100vh;
}

.typing-container {
    font-size: 3rem;
    font-weight: bold;
    border-right: 5px solid red;
    padding: 5px 15px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    /*font-size: 3rem;*/
    /*font-weight: bold;*/
    color: red !important;
    border-right: 5px groove red;
    /*padding: 5px 15px;*/
    /*display: inline-block;*/
    /*text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);*/
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    text-shadow:0 1px 0 #ccc, 0 2px 0 #ccc,
    0 3px 0 #ccc, 0 4px 0 #ccc,
    0 5px 0 #ccc, 0 6px 0 #ccc,
    0 7px 0 #ccc, 0 8px 0 #ccc,
    0 9px 0 #ccc, 0 10px 0 #ccc,
    0 11px 0 #ccc, 0 12px 0 #ccc,
    0 20px 30px rgba(0, 0, 0, 0.0);

}


.typing-container:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.text-light {
    color: #aaa;
    font-size: 1.2rem;
    margin-top: 20px;
}


@keyframes blink {
    50% { border-color: transparent; }
}

/* academic-excel */
.academic-excel .row {
    padding: 0px;
    margin: 0px;
}

/* dropdown more menu  */
.dropbtn {
    background-color: #ffffff;
    color: #0055aa;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}
/*more dorpdown button */
.more-dropdown {
    position: absolute;
    display: inline-block;
    z-index: 99;
}
.dropdown-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    font-size: 18px;
    font-weight: bold;
    right: 0;
    top: 100%; /* Ensures it appears below the button */
    background-color: #f9f9f9;
    color:#2b2f32;
    min-width: 180px;
    box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(-10px); /* Start slightly above */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.more-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Moves to normal position */
}

.dropdown-content a {
    color: black;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #0f3d81;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/*home page */
.welcome-section{
    width: 100%;
    height: 150px;
    background: linear-gradient(150deg, #001639 49.5%, white 50%, #107AAA 50.5%);
}

.iPad-Preview {
    width: 150px;
    height: 200px;
    position: absolute;
    z-index: 9;
}

@media (max-width: 768px) {
    .iPad-Preview {
        width: 80px;  /* Adjust size for tablets */
        height: 100px;
    }
}

@media (max-width: 480px) {
    .iPad-Preview {
        width: 60px;  /* Adjust size for mobile */
        height: 100px;
    }
}

/*school-section*/
/* Container for image and overlay */
.school-card {
    position: relative;
    overflow: hidden;
    z-index: 1; /* Ensure it's above default content */
}

/* Image settings */
.school-card img {
    display: block;
    width: 100%;
    height: 300px; /* Set height */
    transition: transform 0.3s ease;
}

/* The overlay that sits on top of the image */
.hover-overlay{
    position: absolute;
    bottom: 0; /* Start at the bottom */
    left: 0;
    width: 100%;
    height: 60px; /* Initially small */
    background: linear-gradient(to top, rgba(2, 61, 108 , 0.8), rgba(2, 61, 108 , 0.9)); /* Blue background by default */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: height 0.3s ease, background 0.3s ease;
    z-index: 2; /* Keep overlay above image */
}

/* On hover, expand the overlay and change its background */
.school-card:hover .hover-overlay {
    height: 50%; /* Expand the overlay */
    background: linear-gradient(to top, rgba(2, 61, 108 , 1), rgba(2, 61, 108 , 0)); /* Darker blue on hover */
}

/*!*4 image section *!====================*/

.four-img-hover {
    position: relative;
    overflow: hidden;
}

/* Default overlay transparency */
.four-img-hover .card-img-overlay {
    background-color: rgba(4, 86, 150, 0.3); /* Default transparency */
    transition: background-color 0.3s ease-in-out;
}

/* Darker overlay on hover */
.four-img-hover:hover .card-img-overlay {
    background-color: rgba(4, 86, 150, 0.7);
}

/* Ensure parent container is relative */
.four-img-hover {
    position: relative;
    overflow: hidden;
}

/* Hide extra text box initially */
.four-img-hover .extra-text-box {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%; /* Adjust width as needed */
    max-width: 90%; /* Prevent overflow */
    text-align: center;
    background-color: #045696; /* Fully visible background */
    color: white; /* Ensure text is readable */
    font-weight: bold;
    border-radius: 5px;
    transform: translate(-50%, -50%) scale(1.1);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Show extra text box fully on hover */
.four-img-hover:hover .extra-text-box {
    opacity: 1;
    z-index: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Title initially visible */
.four-img-hover .card-title {
    background-color: rgba(10, 85, 124 , 0.6); /* Solid warning color */
    transition: opacity 0.3s ease-in-out;
}

/* Hide title on hover */
.four-img-hover:hover .card-title {
    opacity: 0;
}
.separator {
    position: relative;
    flex: 1; /* Distribute space equally */
    text-align: center;
}

/* Vertical line between items */
.separator::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0; /* Align to the right of the separator */
    width:5px;
    background-color: #045696; /* Change line color */
    border-radius: 50%;
}

/* Remove the last separator's line */
.row > .separator:last-child::after {
    display: none;
}
/*upClose feature */
.card-container {
    width: 100%;
    margin: auto;
    border: none;
}

.card-hover {
    position: relative;
    border: none;
    overflow: hidden;
}

/* Image settings */
.card-hover img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

/* Border Effect - 50% inside & 50% outside */
.card-hover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid #fe0000; /* Adjust border thickness */
    top: 50%; /* Half inside, half outside */
    left: 0;
    transform: translateY(-50%);
    box-sizing: border-box;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
    opacity: 0;
}

/* Show border on hover */
.card-hover:hover::after {
    opacity: 1;
}

/* Title - 50% inside image, 50% inside hover-content */
.hover-content-title {
    background-color: #fe0000;
    padding: 5px;
    margin-top: 50px;
    color: white;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    width: 75%; /* Ensures it follows the w-75 Bootstrap class */
    position: absolute;
    left: 50%;
    bottom: -50%; /* 50% inside image, 50% outside */
    transform: translateX(-50%); /* Move down by 10px */
    transition: bottom 0.4s ease-in-out, transform 0.4s ease-in-out;
    z-index: 111; /* Ensures it appears on top */
}

/* Hide content by default */
.hover-content {
    width: 100%;
    height: 140px;
    background: #012f54;
    color: white;
    text-align: center;
    padding: 30px 15px 15px; /* Extra padding on top for title overlap */
    position: relative;
    opacity: 0; /* Hide content */
    transform: translateY(10px); /* Moves content out of view */
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    z-index: 0; /* Lower z-index to be behind title */
}

/* Hover effect to show content */
.card-container:hover .hover-content-title {
    bottom: 125px; /* Make title slide into view */
}

.card-container:hover .hover-content {
    opacity: 1; /* Show content */
    transform: translateY(0); /* Move content into place */
    z-index: 1; /* Ensure it's shown above the background */
}

/* Make sure title stays in front */
.card-container:hover .hover-content-title {
    z-index: 999; /* Title stays above content */
}

.card-container:hover .hover-content {
    opacity: 1;
    transform: translateY(0);
}


/*sport page */
/*page title*/
.sport-page-title{
    background-image: url('/frontend/img/sport/anualSport.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*club */
/*page title*/
.club-page-title{
    background-image: url('/frontend/img/club/club.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*lunch */
/*page title*/
.lunch-page-title{
    background-image: url('/frontend/img/lunch/lunch.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*gallery */
/*page title*/
.gallery-page-title{
    background-image: url('/frontend/img/gallery/gallery.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}


/*================*/
/*about page */
/*event calander*/
/* Hide modal by default */
.modal-overlay {
    display: none;
    position: fixed;
    top: 30%;
    left: 30%;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Modal Content */
.modal-content {
    background: white;
    padding-top: 20px;
    border-radius: 10px;
    width: 75%;
    text-align: center;
    color:#000 !important;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Close Button (Top Right) */
.close-btn {
    position: absolute;
    top: 10px;
    color: red;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/*leadershipg page */
.custom-modal {
    max-width: 40vw; /* Makes modal 90% of viewport width */
    width: 100%;
    /*height: 80vh; !* Makes modal take 80% of the viewport height *!*/
}

.custom-modal .modal-body {
    /*max-height: 40vh; !* Prevents scrolling issues *!*/
    overflow-y: auto; /* Adds scrolling if content overflows */
}

/*contact us page*/

/*welcome page*/
.welcome-page-title{
    background-image: url('/frontend/img/about/welcome.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}



/*leadership page*/
.leadership-page-title{
    background-image: url('/frontend/img/about/leadership.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*leadership page*/
.page-title{
    background-image: url('/frontend/img/about/leadership.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}


/*health and safety page*/
.health-and-safety-page-title{
    background-image: url('/frontend/img/about/healthSeafty.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*health and safety page*/
.career-page-title{
    background-image: url('/frontend/img/about/career.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}
/*page title*/
.contact-page-title{
    background-image: url('/frontend/img/about/contact.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*career page */
.center-card {
    display: flex;
    padding: 25px;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    height: 100%; /* Ensure it takes full height if needed */
}

/*admission page */
/*why phgs*/
/*page title*/
.whyPhgs-page-title{
    background-image: url('/frontend/img/admission/whyPhgs.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*page title*/
.tour-event-page-title{
    background-image: url('/frontend/img/admission/tourEvent.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*page title*/
.how-to-apply-page-title{
    background-image: url('/frontend/img/admission/howtoApply.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*page title*/
.tuition-fees-page-title{
    background-image: url('/frontend/img/admission/tuitionFees.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*page title*/
.faq-page-title{
    background-image: url('/frontend/img/admission/faq.png');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/* our-mission */
.our-mission {
    background-image: url('/frontend/img/admission/our_mission.jpeg');
    padding: 0 !important;
    margin: 0 !important;
    height: 300px;
    align-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contain {
    transform: translate(0%);
    background: rgba( 13, 58, 143, 0.7);
    color: white; /* Ensures text is readable on dark background */
    padding: 25px 0px;
    height: 300px;
    width: 100%;
    font-size: 18px;
}
.hr_divider {
    background-color: #6a88a9; /* Pure red */
    height: 8px;
    border-radius: 5px;
    width: 180px;
}

/*text-part-2*/
.text-part-2 .contain{
    background-color: #e9eaea; /* Background color */
    width: 100%;
    height: auto;
    padding: 40px;
    margin: auto;
    position: relative;

    clip-path: ellipse(90% 90% at 50% 10%); /* Creates an upward curve */
}

.text_underline {
    height: 3px;
    margin-top: 2px;
    background-color: #FF0000;
    width: 30%;
    position: relative; /* Required for positioning pseudo-element */
}

.text_underline::after {
    content: "...";
    font-size: 30px; /* Adjust size of dots */
    position: absolute;
    right: -30px; /* Adjust position of the dots */
    top: 70%; /* Center vertically */
    transform: translateY(-70%); /* Fine-tune vertical centering */
}
/*text-part-3*/
.text-part-3 {
    background-image: url('/frontend/img/admission/tour_schedule.jpeg');
    display: flex;
    justify-content: center;  /* Center horizontally */
    align-items: center;      /* Center vertically */
    min-height: 300px;         /* Set minimum height */
    text-align: center;       /* Center the text inside */
    position: relative;       /* Relative positioning to stack content */
    background-attachment: fixed;
    background-size: cover;   /* Ensure the background image covers the container */
    background-position: center; /* Center the image */
}

.contain {
    position: relative;
    display: flex;
    flex-direction: column;    /* Stack the elements vertically */
    justify-content: center;   /* Vertical centering */
    align-items: center;       /* Horizontal centering */
    z-index: 1;                /* Ensure it appears above the background image */
    padding: 20px;             /* Add some padding */
    background: rgba( 13, 58, 143, 0.7);
    border-radius: 10px;       /* Optional: Rounded corners for contain */
    transition: transform 0.3s ease-in-out; /* Smooth hover transition */
}

.contain:hover {
    transform: scale(1.05); /* Slightly scale up the container on hover */
}

.contain h2 {
    color: #fff; /* Text color for heading */
}

.custom-btn {
    margin-top: 20px; /* Space between the text and button */
}
.text-part-3 .contain button{
    border: 1px solid #fff;
    border-radius: 2px;
}

/*tuition fees */
/* Remove shadows, borders, and focus effects */
.tuitionFees .accordion-button {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    transform: none !important;
    background-color: #045696 !important; /* Keeps background fixed */
    color: white !important; /* Ensures text color remains white */
}

/* Prevent hover effects */
#accordionFaq  .accordion-button:hover,
#accordionFaq  .accordion-button:focus {
    box-shadow: none !important;
    border: none !important;
    background-color: #045696 !important;
    color: white !important;
}

/* Remove default item borders but add a dotted top border */
#accordionFaq, .accordion-item {
    border: none !important;
    border-top: 2px dotted #4a5568 !important; /* Dotted top border */
}
#accordionFaq{
    background-color: #045696 !important;
}
/* Make the accordion body color inherit from the parent */
#accordionFaq , .accordion-body {
    /*background-color: inherit !important; !* Inherit background color *!*/
    color: #fff; /* Inherit text color */
}

/*admission-text-part-1*/
.admission-text-part-1 {
    background-image: url('/frontend/img/admission/tour_schedule.jpeg');
    background-size: cover; /* Ensures full coverage */
    background-position: center;
    background-attachment: fixed; /* Keeps the background static on scroll */
    position: relative;
    overflow: hidden; /* Prevents unintended scrolling effects */
    transition: none !important; /* Disables any transitions including zooming */
}

/* Dark transparent overlay */
.admission-text-part-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust transparency */
    z-index: 1;
}

/* Prevents any zooming effect on hover */
.admission-text-part-1:hover {
    transform: none !important;
    transition: none !important;
}

/* Ensure content is above the overlay */
.admission-text-part-1 .contain {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Prevent zoom-in or out effects */
.admission-text-part-1 img {
    transform: none !important;
    transition: none !important;
}
/*==============================*/

/*Junior campus */
/*page title*/
.admission-page-title{
    background-image: url('/frontend/img/juniorCampus/admission.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

.admissioRequriment-page-title{
    background-image: url('/frontend/img/juniorCampus/admissionRequirment.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}


/*page title*/
.student-activity-page-title{
    background-image: url('/frontend/img/juniorCampus/studentActivity.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*page title*/
.assesment-exam-page-title{
    background-image: url('/frontend/img/juniorCampus/assesmentExam.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*Senior campus */
/*page title*/
.admission-page-title{
    background-image: url('/frontend/img/seniorCampus/admission.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}
.admission-requirment-page-title{
    background-image: url('/frontend/img/seniorCampus/admissionRequirment.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}
/*page title*/
.student-activity-page-title{
    background-image: url('/frontend/img/seniorCampus/studentAcitivity.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}
/*page title*/
.assesment-exam-page-title{
    background-image: url('/frontend/img/seniorCampus/assesmentExam.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}
/*page title*/
.science-ict-lab-page-title{
    background-image: url('/frontend/img/seniorCampus/scienceIctlab.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}
/*page title*/
.scout-page-title{
    background-image: url('/frontend/img/seniorCampus/scout.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}
/*page title*/
.assesment-exam-page-title{
    background-image: url('/frontend/img/seniorCampus/assesmentExam.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}
/*page title*/
.assesment-exam-page-title{
    background-image: url('/frontend/img/seniorCampus/assesmentExam.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}


/*academic*/
/* Lower school page */
.academic-lowerschool {
    background-image: url('/frontend/img/admission/tour_schedule.jpeg');
    background-size: cover; /* Ensures full coverage */
    background-position: center;
    position: relative;
    overflow: hidden; /* Prevents unintended scrolling effects */
    transition: none !important; /* Disables any transitions including zooming */
}

/* Dark transparent overlay */
.academic-lowerschool::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 58, 143, 0.8); /* Adjust transparency (lower opacity for more transparency) */
    z-index: 0; /* Ensures overlay stays behind content */
}

/* Content Text (above overlay) */
.academic-lowerschool .content {
    position: relative;
    z-index: 1; /* Ensures text content is above the overlay */
    color: #fff; /* Text color set to white */
}

/*vertical line */
/* Add a left vertical line with white color and 10px width */
.vertical-line .part_1{
    border-left: 5px solid white; /* Creates the vertical line */
    padding-left: 15px; /* Adds some padding to prevent text from being too close to the line */
    margin-left: 0; /* Optional: Resets margin for alignment */
    height: 100%;
    border-radius: 2px;
}

/*=============================*/
/* STUDENT LIFE */

/*page title*/
.lower-school-page-title{
    background-image: url('/frontend/img/stulentLife/lowerSchool.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*page title*/
.lower-school-page-title{
    background-image: url('/frontend/img/stulentLife/lowerSchool.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*page title*/
.upper-school-page-title{
    background-image: url('/frontend/img/stulentLife/upperSchool.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*page title*/
.middle-school-page-title{
    background-image: url('/frontend/img/stulentLife/middleSchool.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*page title*/
.after-school-page-title{
    background-image: url('/frontend/img/stulentLife/afterSchool.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}


/* lower school  */
.custom-btn {
    background-color: #004899;
    color: white;
    width: 180px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: transform 0.5s ease-in-out, background-color 0.9s ease-in-out; /* Smooth zoom transition */
}

/* Zoom in effect on hover */
.custom-btn:hover {
    background-color: #003580;
    transform: scale(1.1); /* Slightly enlarge button */
}

/* Zoom out effect when not hovered */
.custom-btn:active {
    transform: scale(0.95); /* Slightly shrink when clicked */
}

/*tab container */
.tab-container .row{
    padding: 0px !important;
    margin-left: -12px !important;

}
.nav-container{
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 0 !important;
    margin: 0 !important;
}

.grade-list {
    list-style: none;
    font-size: 14px;
    padding: 0;
    margin: 0;

}
.grade-list li a{
    padding: 7px 10px;
    color: #0d417c;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}
.grade-list li:last-child {
    border-bottom: none;
}
.grade-list li:hover a,
.grade-list li.active a{
    background-color: #004899;
    transition: background-color 0.9s ease-in-out; /* Smooth transition */
    color: white;
}
.grade-list .nav-link {
    color: black;
}
.grade-list .nav-link.active {
    background-color: #004899;
    color: white;
}
.tab-content {
    border-top: 2px solid #ff0000;
    padding-top: 10px;
    border-radius: 0 !important;
}
@media (min-width: 576px) {
    .btn-container {
        display: flex;
        gap: 10px;
    }
    .btn-custom {
        width: auto;
        flex: 1;
    }
}
/* middle school  */
.Horizontal-nav-container ul li{
    padding:0px !important;
    font-size: 14px;
    margin-right: 5px;

}
.Horizontal-nav-container ul li button{
    padding: 5px 5px !important;
    width: 100%;
}
.Horizontal-nav-container button{
    background-color: #eceff1;
    padding: 0 !important;
    margin-right: 5px;
}
.grade-list li:hover button,
.grade-list li.active button{
    background-color: #004899;
    transition: background-color 0.9s ease-in-out; /* Smooth transition */
    color: white;
}
/* middle school  */

/*after school care */
.animation {
    transition: transform 0.5s ease-in-out;
}
.animation:hover {
    transform: scale(1.05) !important;
    cursor: pointer;
    z-index: 999; /* Brings it to the front */
}
/*student life*/

/*academic */
/*O level page title*/
.o-level-page-title{
    background-image: url('/frontend/img/academic/oLevelSchool.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/* a level page title*/
.a-level-page-title{
    background-image: url('/frontend/img/academic/alevelSchool.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*safe guarding page title*/
.safe-guard-page-title{
    background-image: url('/frontend/img/academic/safeGuard.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*pre school page title*/
.preSchool-page-title{
    background-image: url('/frontend/img/academic/preSchool.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*lower school page title*/
.lowerSchool-page-title{
    background-image: url('/frontend/img/academic/lowerSchool.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*middle school page title*/
.middleSchool-page-title{
    background-image: url('/frontend/img/academic/middleSchool.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*upper school page title*/
.upperSchool-page-title{
    background-image: url('/frontend/img/academic/upperSchool.jpeg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}

/*unique ability school page title*/
.uniqueAbility-page-title{
    background-image: url('/frontend/img/academic/uniqueAbility.jpg');
    background-size: cover;
    background-position: center;
    transition-delay: 0.5s;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: #fff !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3.5s ease-out forwards;
    height: 400px;
}























