﻿/*
    STYLE GUIDE

    Heading Font: Playfair Display  #666666
    Body: Roboto #666666

    Navy: #17b9df

*/

:root {
    --primary: #70A1FF; /* Variable for main color */
    --secondary: #A3C4F3;
    --blue: #17b9df; /* Variable for main color */
    --accent: #FF6B6B; /* Variable for main color */

    --bodyFont: "Roboto", sans-serif;
    --headingFont: "Playfair Display", serif;
}


.playfair-display {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}


.roboto {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    /*font-variation-settings: "wdth" 100;*/
}

html, body {
    scroll-behavior: smooth;
    font-family: var(--bodyFont);
    color: #30545d;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    color: #23393d;
    font-family: var(--headingFont);
    font-weight:bold;
}

a[href^="tel"] {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Use the current text color */
    cursor: pointer; /* Ensure it's still clickable but without link styling */
}

/* Standard parallax for desktop */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* iOS-specific fix */
@supports (-webkit-overflow-scrolling: touch) {
    .parallax {
        background-attachment: scroll;
        -webkit-transform: translate3d(0, 0, 0); /* Use this only for iOS */
        will-change: transform;
        background-size: cover;
    }
}


a, a:link, a:active, a:visited {
    color: var(--primary);
    text-decoration: none;
}

    a::after {
        content: ''; /* Empty content for the pseudo-element */
        position: absolute; /* Position it absolutely */
        left: 0; /* Start from the left */
        bottom: 0; /* Align to the bottom of the text */
        height: 1px; /* Thickness of the underline */
        width: 0; /* Start with width 0 */
        background-color: var(--orange); /* Underline color */
        transition: width 0.3s ease; /* Smooth transition for width */
    }

hr {
    border: none;
    height: 5px;
    background-color: var(--accent);
    margin: 0 0 15px 0;
    opacity: 1 !important;
}

.button {
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-transform:uppercase;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

    .button:hover,
    .button:focus {
        background-color: var(--accent) !important;
        color: #ffffff;
        text-decoration: none;
    }

.buttonWhite {
    background-color: #ffffff;
    color: #133b5f;
    padding: 0.6em 1.2em;
    border: none;
    /*border-radius: 4px;*/
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

    .buttonWhite:hover,
    .buttonWhite:focus {
        background-color: #17b9df;
        color: #ffffff !important;
        text-decoration: none;
    }

.buttonLightBlue {
    background-color: #133b5f;
    color: #ffffff !important;
    padding: 0.6em 1.2em;
    border: solid 1px #133b5f;
    /*border-radius: 4px;*/
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

    .buttonLightBlue:hover,
    .buttonLightBlue:focus {
        background-color: #ffffff;
        border: solid 1px #17b9df;
        color: #17b9df !important;
        text-decoration: none;
    }

.ContactButton {
    background-color: #133b5f;
    color: #ffffff !important;
    padding: 0.6em 1.2em;
    border: none;
    /*border-radius: 4px;*/
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    width: 100%;
}

    .ContactButton:hover,
    .ContactButton:focus {
        background-color: #17b9df;
        color: #ffffff;
        text-decoration: none;
    }


.logo {
    max-width: 120px;
    height: auto;
    position: fixed;
    top: 20px;
    left: 20px;
    /*visibility: hidden;*/ /* Hide without affecting layout */
}

    .logo.active {
        max-width: 150px;
        height: auto;
        top: 20px;
        left: 20px;
        -webkit-transition: 0.5s all ease-out;
        -moz-transition: 0.5s all ease-out;
        -o-transition: 0.5s all ease-out;
        visibility: visible; /* Make visible when active */
    }

/*------------------------Footer-------------------------------------*/
footer {
    background-color: var(--primary);
    color: white;
}

footer a, footer a:link, footer a:active, footer a:visited {
    position: relative; /* Position relative for pseudo-element */
    display: inline-block; /* Make the element inline-block to fit the text */
    color: white; /* Start color */
    text-decoration: none; /* Remove default underline */
    transition: color 0.3s ease; /* Smooth color transition */
}

    footer a::after {
        content: ''; /* Empty content for the pseudo-element */
        position: absolute; /* Position it absolutely */
        left: 0; /* Start from the left */
        bottom: 0; /* Align to the bottom of the text */
        height: 1px; /* Thickness of the underline */
        width: 0; /* Start with width 0 */
        background-color: var(--accent); /* Underline color */
        transition: width 0.3s ease; /* Smooth transition for width */
    }

    /* Underline effect for main nav item on hover, but not for images */
    footer a:not(:has(img)), .footerbase a:not(:has(img)) {
        color: white; /* Start color */
    }

        /* Underline effect on hover */
        footer a:not(:has(img)):hover {
            color: var(--accent); /* Change text color on hover */
        }

            /* Underline for text links on hover */
            footer a:not(:has(img)):hover::after {
                content: ""; /* Create an empty content for the pseudo-element */
                position: absolute;
                left: 0;
                bottom: 0; /* Position at the bottom of the anchor */
                width: 100%; /* Expand to full width on hover */
                height: 1px; /* Height of the border */
                background-color: var(--accent); /* Border color */
                transition: width 0.3s; /* Smooth transition for width */
            }

    /* For images within anchor tags in the footer */
    footer a img {
        transition: transform 0.3s ease; /* Smooth scaling transition */
    }

    /* Scale images on hover */
    footer a:hover img {
        transform: scale(1.1); /* Slightly scale the image */
    }

.footerbase {
    background-color: var(--secondary);
    color: #fff;
    padding: 10px 0;
    font-size: 9pt;
}

    .footerbase a, .footerbase a:link, .footerbase a:active, .footerbase a:visited, .footerbase a {
        position: relative; /* Position relative for pseudo-element */
        display: inline-block; /* Make the element inline-block to fit the text */
        color: white; /* Start color */
        text-decoration: none; /* Remove default underline */
        transition: color 0.3s ease; /* Smooth color transition */
    }

        .footerbase a::after {
            content: ''; /* Empty content for the pseudo-element */
            position: absolute; /* Position it absolutely */
            left: 0; /* Start from the left */
            bottom: 0; /* Align to the bottom of the text */
            height: 1px; /* Thickness of the underline */
            width: 0; /* Start with width 0 */
            background-color: var(--accent); /* Underline color */
            transition: width 0.3s ease; /* Smooth transition for width */
        }

        /* Underline effect on hover */
        .footerbase a:not(:has(img)):hover {
            color: var(--accent); /* Change text color on hover */
        }
            /* Underline for text links on hover */
            .footerbase a:not(:has(img)):hover::after {
                content: ""; /* Create an empty content for the pseudo-element */
                position: absolute;
                left: 0;
                bottom: 0; /* Position at the bottom of the anchor */
                width: 100%; /* Expand to full width on hover */
                height: 1px; /* Height of the border */
                background-color: var(--accent); /* Border color */
                transition: width 0.3s; /* Smooth transition for width */
            }

/*---------------------------Home Banner-------------------*/

.carousel-control-prev,
.carousel-control-next {
    display: none !important;
}
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9; /* Ensure it's on top of the banner */
    background: linear-gradient(to bottom, rgba(256, 256, 256, 0.7), rgba(0, 0, 0, 0)); /* Dark to transparent gradient */
    /*padding: 20px 0px;*/ /* Add padding for aesthetics */
}

.headerOne {
    -webkit-transition: 0.5s all ease-out;
    -moz-transition: 0.5s all ease-out;
    -o-transition: 0.5s all ease-out;
    z-index: 4;
    height: 90px;
    background: rgba(256, 256, 256, 0);
}

    .headerOne.active {
        position: fixed;
        top: 0;
        left: 0;
        background: rgba(256, 256, 256, 1);
        height: 90px;
        z-index: 4;
    }

.headerTwo {
    position: fixed;
    top: 90px;
    -webkit-transition: 0.5s all ease-out;
    -moz-transition: 0.5s all ease-out;
    -o-transition: 0.5s all ease-out;
    background: rgba(256, 256, 256, 1);
    height: 45px;
    z-index:9;
}

    .headerTwo.active {
        position: fixed;
        /*margin-top: 18px;*/
        background: rgba(255, 255, 255, 1);
        z-index: 3;
        top: 75px;
        height: 50px;
        -webkit-transition: 0.5s all ease-out;
        -moz-transition: 0.5s all ease-out;
        -o-transition: 0.5s all ease-out;
        z-index: 9;
    }
.headerRight {
    color: var(--accent);
    /*padding-top: 5px;*/
    position: fixed;
    top: 25px;
    right: 20px;
}

    .headerRight.active {
        color: var(--accent);
        padding-top: 5px;
        position: fixed;
        top: 10px;
        right: 20px;
    }

        .headerRight.active img {
            max-width: 25px !important;
            max-height: 25px !important;
        }
        .home-banner-images {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.home-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 6s ease-in-out;
    z-index: -1;
}

.home-banner-slide.zooming .slide-bg {
    transform: scale(1.1);
}


.strapline {
    z-index: 3;
    animation: fadeInStrapline 2s ease 0.5s forwards;
    opacity: 0;
    font-family:Raleway;
}

    .strapline p {
        font-size:12pt;
    }

    .home-banner-slide.visible .strapline {
        opacity: 1;
    }

@keyframes fadeInStrapline {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Gold bar */
.gold-bar {
    position: absolute;
    bottom: 5px;
    left: 0;
    height: 5px;
    background-color: var(--accent);
    width: 0%;
    z-index: 3;
}


.down-arrow {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

.arrow-box {
    width: 60px;
    height: 60px;
    border: 1px solid #133b5f;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow {
    color: #17bae3;
    font-size: 28px;
    position: absolute; /* Position arrow absolutely within the box */
    animation: moveArrow 2.5s infinite; /* Apply animation */
}

@keyframes moveArrow {
    0%, 100% {
        transform: translateY(5px); /* Start position */
    }

    50% {
        transform: translateY(-5px); /* Move up */
    }
}



#homepageCarousel {
    padding-top: 180px;
    height: 800px;
    overflow: hidden;
    background-color: var(--secondary);
}

    #homepageCarousel .carousel-item img {
        object-fit: cover;
        object-position: center top;
        height: 800px;
    }

    #homepageCarousel .carousel-caption {
        bottom: 250px;
        background: rgba(255, 255, 255, 0.15); /* semi-transparent black box */
        padding: 20px 30px;
        border-radius: 10px;
        display: inline-block;
        text-align: left;
        right: auto;
    }

        #homepageCarousel .carousel-caption h1 {
            font-size: 48px;
            font-weight: 700;
            color: #fff;
            font-family: var(--headingFont);
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        }

        #homepageCarousel .carousel-caption p {
            font-size: 24px;
            color: #fff;
            margin-top: 10px;
            font-family: var(--headingFont);
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        }

@media only screen and (max-width: 1366.9px) {
    #homepageCarousel {
        padding-top: 160px;
        height: 800px;
        overflow: hidden;
    }
}

@media only screen and (max-width: 820.9px) {
    #homepageCarousel .carousel-caption {
        bottom: 250px;
        background: rgba(255, 255, 255, 0.15); /* semi-transparent black box */
        padding: 20px 30px;
        border-radius: 10px;
        display: inline-block;
        text-align: left;
        left: 40px;
        right: auto;
    }

        #homepageCarousel .carousel-caption h1 {
            font-size: 38px;
            font-weight: 700;
            color: #fff;
            font-family: var(--headingFont);
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        }

        #homepageCarousel .carousel-caption p {
            font-size: 24px;
            color: #fff;
            margin-top: 10px;
            font-family: var(--headingFont);
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        }
}

@media only screen and (max-width: 430.9px) {
    #homepageCarousel {
        padding-top: 150px;
        height: 700px;
        overflow: hidden;
    }

        #homepageCarousel .carousel-caption {
            bottom: 300px;
            background: rgba(255, 255, 255, 0.15); /* semi-transparent black box */
            padding: 10px 15px;
            border-radius: 10px;
            display: inline-block;
            text-align: left;
            left: 10px;
            right: auto;
        }

            #homepageCarousel .carousel-caption h1 {
                font-size: 24px;
                font-weight: 700;
                color: #fff;
                font-family: var(--headingFont);
                text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
            }

            #homepageCarousel .carousel-caption p {
                font-size: 18px;
                color: #fff;
                margin-top: 10px;
                font-family: var(--headingFont);
                text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
            }
}


/*---------------------------Home Banner END-------------------*/
/*---------------------------Internal Banner-------------------*/

.internal-banner {
    height: 60vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

    .internal-banner img {
        min-width: 100%;
        object-fit: cover;
    }

    .internal-banner:before {
        content: " ";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 0;
        background: rgb(0,0,0);
        background: -moz-linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0) 100%);
        background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0) 100%);
        background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
    }

    .internal-banner::after {
        content: "";
        display: block;
        background-image: url(/ckfinder/userfiles/images/core/wave.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 55%;
        height: 20%;
        width: 100%;
        position: absolute;
        bottom: -1px;
        left: 0;
    }

    .internal-banner .banner-caption {
        position: absolute;
        bottom: 25px;
        left: 25%;
        color: #fff;
    }

.internal-banner-images {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: hidden;
}

    .internal-banner-images .internal-banner-slide {
        position: absolute;
        min-width: 100%;
        min-height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        transform: scale(1);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        transition: 0.5s opacity ease-in-out, 5s transform linear;
        -webkit-transition: 0.5s opacity ease-in-out, 5s transform linear;
        -moz-transition: 0.5s opacity ease-in-out, 5s transform linear;
        -o-transition: 0.5s opacity ease-in-out, 5s transform linear;
    }


        .internal-banner-images .internal-banner-slide.active {
            opacity: 1;
            transform: scale(1.1);
        }

.internal-banner-caption img {
    display: block;
    margin-left: auto;
    max-width: 50%;
}

.internal-banner-dots {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    left: 0;
    bottom: 10%;
    z-index: 5;
}

    .internal-banner-dots .banner-dot {
        height: 15px;
        width: 15px;
        border: 2px solid #fff;
        border-radius: 50%;
        margin: 0 5px;
        background-color: none;
        cursor: pointer;
        transition: 0.5s all ease-in-out;
        -webkit-transition: 0.5s all ease-in-out;
        -moz-transition: 0.5s all ease-in-out;
        -o-transition: 0.5s all ease-in-out;
    }

        .internal-banner-dots .banner-dot.active {
            background-color: #fff;
        }

.internal-content {
    margin-top: 25px;
}

/*---------------------------Internal Banner END-------------------*/


/* Primary navigation bar styles */
.primarynavbar {
    display: flex;
    flex-direction: column;
    padding: 10px;
   /* z-index:999;*/

}

    .primarynavbar.active {
        display: flex;
        flex-direction: column;
        padding: 10px 10px 2px 10px;
    }

/* Flex container for nav items and logo */
.primarynavbar-content {
    display: flex;
    justify-content: center; /* Center the logo and the strapline */
    align-items: center; /* Vertically center the items */
    position: relative;
    width: 100%;
}

/* Navigation divs */
.nav-container {
    flex: 1; /* Allow the left and right containers to grow equally */
    position: fixed; /* Needed for dropdown positioning */
    text-align: center; /* Center text in navigation */
    z-index: 5;
    top:100px;
}

.nav-container.active {
    flex: 1; /* Allow the left and right containers to grow equally */
    position: fixed; /* Needed for dropdown positioning */
    text-align: center; /* Center text in navigation */
    z-index: 5;
    top: 90px;
}

/* Logo styles */
.primarynavbar-brand {
    text-align: center; /* Center the logo text */
    margin: 0 20px; /* Optional margin */
}

.primarynavbar-logo {
    width: 100px; /* Set logo width */
    height: auto;
}

/* Strapline styles */
/*.strapline, .straplineSchoolTopbar {
    text-align: center;
    color: #17bae3;
    margin-top: 5px;
    font-family: Raleway;
}

    .strapline a, .straplineSchoolTopbar a {
        position: relative;*/ /* Position relative for pseudo-element */
        /*display: inline-block;*/ /* Make the element inline-block to fit the text */
        /*color: #17bae3;*/ /* Start color */
        /*text-decoration: none;*/ /* Remove default underline */
        /*transition: color 0.3s ease;*/ /* Smooth color transition */
    /*}

        .strapline a::after, .straplineSchoolTopbar a::after {
            content: '';*/ /* Empty content for the pseudo-element */
            /*position: absolute;*/ /* Position it absolutely */
            /*left: 0;*/ /* Start from the left */
            /*bottom: 0;*/ /* Align to the bottom of the text */
            /*height: 1px;*/ /* Thickness of the underline */
            /*width: 0;*/ /* Start with width 0 */
            /*background-color: #17bae3;*/ /* Underline color */
            /*transition: width 0.3s ease;*/ /* Smooth transition for width */
        /*}

        .strapline a:hover, .straplineSchoolTopbar a:hover {
            color: #17bae3;*/ /* Change text color on hover */
        /*}

            .strapline a:hover::after, .straplineSchoolTopbar a:hover::after {
                width: 100%;*/ /* Expand to full width on hover */
            /*}*/


/* Navigation item styles */
.nav-item {
    position: relative; /* Needed for the positioning of the pseudo-element */
    display: inline-block; /* Ensure nav items display horizontally */
    margin: 0 10px; /* Adjust margin as needed */
    transition: all 0.3s ease; /* Add a transition for smoothness */
}

    /* Main navigation link styles */
    .nav-item a {
        text-decoration: none;
        color: var(--secondary); /* Set text to white */
        padding: 5px 10px;
        transition: color 0.3s; /* Smooth color transition on hover */
        font-family: 'cardo-bold'; /* Set font family */
        text-transform: uppercase; /* Force text to be uppercase */
    }

        /* Underline effect for main nav item on hover */
        .nav-item a::after {
            content: ""; /* Create an empty content for the pseudo-element */
            position: absolute;
            left: 0;
            bottom: 0; /* Position at the bottom of the anchor */
            width: 0; /* Initial width is 0 */
            height: 1px; /* Height of the border */
            background-color: #17bae3; /* Border color */
            transition: width 0.3s; /* Smooth transition for width */
        }

        /* Hover effect for main nav item */
        .nav-item a:hover {
            color: #17bae3; /* Change to your desired hover color */
        }

            /* Expand the underline on hover */
            .nav-item a:hover::after {
                width: 100%; /* Expand to full width on hover */
            }

/* Dropdown styles */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px); /* Adjusted top to add margin */
    left: 0;
    background-color: #ffffff;
    list-style-type: none;
    padding: 5px;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 240px; /* Ensures wider content fits on one line */
    opacity: 0; /* Start invisible */
    visibility: hidden; /* Prevent interaction when not visible */
    transition: opacity 0.3s ease, visibility 0s linear 0.3s; /* Smooth transition for fade in */
}

    /* Show dropdown on hover */
    .nav-item:hover .nav-dropdown,
    .nav-dropdown:hover {
        opacity: 1; /* Fade in */
        visibility: visible; /* Allow interaction */
        transition: opacity 0.3s ease, visibility 0s; /* Remove delay on visibility */
    }

/* Keep the nav-item border static when hovering over the dropdown */
.nav-item:hover a::after {
    width: 100%; /* Ensure the underline stays expanded */
}

/* Dropdown items */
.nav-dropdown li {
    margin: 0 5px; /* Remove margin to avoid extra spacing */
    position: relative; /* Positioning for the dropdown items */
}

    /* Dropdown item link styles */
    .nav-dropdown li a {
        color: var(--secondary) !important; /* Ensure dropdown text is white */
        font-size: 14px; /* Slightly smaller font size */
        padding: 8px 10px;
        text-transform: uppercase;
        display: block;
        border-bottom: 1px solid var(--secondary); /* Gold line beneath each item */
        transition: background-color 0.3s; /* Smooth transition for background */
    }

    .nav-dropdown li:last-child a {
        border-bottom: none !important; /* Remove border for the last item */
    }

    /* Dropdown item hover effect */
    .nav-dropdown li:hover a {
        background-color: var(--secondary); /* Change background on hover */
        color: #ffffff !important; /* Change text color on hover */
    }

/* Triangle for dropdown */
.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 20px; /* Adjust to place the triangle */
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #162454 transparent;
}

/* Dropdown on hover */
.nav-item:hover .nav-dropdown {
    display: block; /* Show dropdown on hover */
}

.straplineSchool, .straplineSchoolTopbar {
    font-size: 2em;
}

@media only screen and (max-width: 1301px) {
    .straplineSchool, .straplineSchoolTopbar {
        font-size: 1.5em;
        text-align: center;
    }
}

@media only screen and (max-width: 670px) {
    .straplineSchool, .straplineSchoolTopbar {
        font-size: 1.2em;
        text-align: center;
    }
}

@media only screen and (max-width: 548px) {
    .straplineSchool, .straplineSchoolTopbar {
        font-size: 0.9em;
        text-align: center;
    }
}


/*-----------------Mobile Nav Bar-----------------------*/

/* Basic styling for the burger navigation */
.burger-nav {
    display: none; /* Initially hidden, will be shown on small screens */
    position: relative;
}

.burger-menu {
    font-size: 30px;
    color: var(--gold);
    cursor: pointer;
    display: none; /* Initially hidden */
    padding: 10px;
}




@media (max-width: 768px) {
    /* Arrow rotation transition */
    .dropdown-arrow {
        cursor: pointer;
        font-size: 16px;
        color: var(--gold);
        margin-left: 10px;
        transition: transform 0.3s ease-in-out;
        display: inline-block;
    }

        .dropdown-arrow.rotated {
            transform: rotate(90deg); /* Rotate 90 degrees to point down */
        }

    .nav-dropdown {
        display: none; /* Hidden by default */
        position: relative;
        background-color: #162454;
        padding-left: 15px;
        transition: opacity 0.3s ease; /* Smooth fade-in/fade-out effect */
        opacity: 0;
    }

        .nav-dropdown.active {
            opacity: 1; /* Make the dropdown visible */
        }

        /* CSS for hidden and visible dropdowns */
        .nav-dropdown.closed {
            display: none !important;
        }

    /* Prevent body scrolling when menu is open */
    body.no-scroll {
        overflow: hidden;
        height: 100vh; /* Ensures the body stays fixed */
    }

    /* Enable scrolling inside the dropdown */
    .nav-dropdown.open {
        display: block !important;
        max-height: 60vh; /* Limits height to 60% of the viewport */
        overflow-y: auto; /* Enables scrolling if content overflows */
        padding-right: 10px; /* Prevents cut-off on the right */
        padding-bottom: 100px;
    }
}


/*-------------------Animated Stats--------------------------------------*/
.progress-container {
    display: flex; /* Use Flexbox for alignment */
    flex-wrap: wrap; /* Allow wrapping to the next line if necessary */
    justify-content: space-around; /* Space out the circles evenly */
}

.circle-container {
    display: flex; /* Enable Flexbox on circle container */
    flex-direction: column; /* Stack circle and text vertically */
    justify-content: space-between; /* Push text to the bottom */
    align-items: center; /* Center children horizontally */
    text-align: center; /* Center text */
    margin-bottom: 20px; /* Space below each circle container */
    flex: 1 1 300px; /* Allow growth and shrinkage but start at a width of 300px */
    min-height: 300px; /* Set a minimum height for the circle container */
}


.circle {
    position: relative;
    display: inline-block;
}

.percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Cardo", serif;
    font-weight: 700;
    font-size: 36px;
    color: #162454;
}

.text {
    font-family: "Cardo", serif;
    font-size: 20px;
    color: #162454;
    text-transform: uppercase;
}


/*-------------------Animated Stats END--------------------------------------*/

.carousel-inner {
    background-color: var(--secondary);
}

.testimonial-content {
    color: #ffffff;
}

.carousel-control-prev, .carousel-control-next{color:#ffffff;}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #fff;
}


.ContactControl{padding:10px;margin:5px 0;}

/*------------Blog--------------*/
.BlogHomeWrap {
    position: relative;
    overflow: hidden;
    font-family: cardo-bold;
}

.BlogHomeImage {
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 102, 0.7); /* Semi-transparent blue */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.BlogHomeImage:hover .image-overlay {
    opacity: 1;
}

.read-more {
    color: white;
    font-weight: bold;
    font-size: 1.2em;
}

/* Animated underline for h5 links */
.BlogHomeContainer h5 {
    position: relative;
    display: inline-block;
    font-size: 1.1rem;
    margin-top: 0.5em;
}

    .BlogHomeContainer h5 a,
    .BlogHomeContainer h5 span {
        position: relative;
        color: var(--primary);
        text-decoration: none;
    }

        .BlogHomeContainer h5 a::after,
        .BlogHomeContainer h5 span::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -2px;
            height: 2px;
            width: 0;
            background-color: var(--secondary);
            transition: width 0.3s ease;
        }

        .BlogHomeContainer h5 a:hover::after,
        .BlogHomeContainer h5 span:hover::after {
            width: 100%;
        }
