﻿@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
/*@font-face {
    font-family: 'MyCustomFont';
    src: url('../fonts/MyCustomFont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}*/
@font-face {
    font-family: 'AgencyFB-Bold';
    src: url('fonts/AgencyFB-Bold.ttf') format('truetype');
}

/*
    STYLE GUIDE

    Heading Font: "Bebas Neue", sans-serif;  #666666
    Body: "Bebas Neue", sans-serif; #666666

    Navy: #17b9df

*/

:root {
    --primary: #333399;
    --secondary: #330066;
    --accent: #d4b779;
    --secondaryAccent: #b59654;
    --red: #d10d17;
    --navy: #085691; /* Variable for main color */
    --blue: #09357a; /* Variable for main color */
    --pblue: #019ee5;
    --pbluehvr: #038ac7;
    --headingFont: 'AgencyFB-Bold', 'Impact', 'Arial Narrow', 'Segoe UI', sans-serif;
    --bodyFont: "Titillium Web", sans-serif;
}

.titillium-web-extralight {
    font-family: "Titillium Web", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.titillium-web-light {
    font-family: "Titillium Web", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.titillium-web-regular {
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.titillium-web-semibold {
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.titillium-web-bold {
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.titillium-web-black {
    font-family: "Titillium Web", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.titillium-web-extralight-italic {
    font-family: "Titillium Web", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.titillium-web-light-italic {
    font-family: "Titillium Web", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.titillium-web-regular-italic {
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.titillium-web-semibold-italic {
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.titillium-web-bold-italic {
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    font-style: italic;
}


html, body {
    scroll-behavior: smooth;
    font-family: var(--bodyFont);
    color: #666666;
}

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(--secondary);
    text-decoration: none;
}
    a:hover {
        color: var(--primary);
    }

    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(--primary); /* Underline color */
        transition: width 0.3s ease; /* Smooth transition for width */
    }

hr {
    border: none;
    height: 3px;
    background-color: #085691;
    margin:0 0 15px 0;
}

.button, .button:focus {
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

    .button:hover
     {
        background-color: var(--secondary);
        color: #ffffff;
        text-decoration: none;
    }

.buttonAccent, .buttonAccent:focus {
    background-color: var(--accent);
    color: #ffffff !important;
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

    .buttonAccent:hover {
        background-color: var(--secondaryAccent);
        color: #ffffff;
        text-decoration: none;
    }

.buttonBlue, .buttonBlue:focus {
    background-color: var(--pblue);
    color: #ffffff !important;
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

    .buttonBlue:hover {
        background-color: var(--pbluehvr);
        color: #ffffff;
        text-decoration: none;
    }

.buttonWhite {
    background-color: #ffffff;
    color: #133b5f;
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 4px;
    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;
        text-decoration: none;
    }

.ContactButton {
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    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;
    }


.download, .download:focus {
    background-color: #ffffff;
    color: var(--primary) !important;
    padding: 0.6em 1.2em 0.6em 2.4em; /* left padding allows space for icon */
    border: 2px solid var(--primary);
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
    display: inline-block;
    position: relative;
    font-weight: 600;
}

    /* Icon as background */
    .download::before {
        content: '';
        position: absolute;
        left: 0.8em;
        top: 50%;
        transform: translateY(-50%);
        width: 1em;
        height: 1em;
        background-image: url('/ckfinder/userfiles/images/core/download-navy.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: background-image 0.4s ease;
    }

    /* Hover effect */
    .download:hover {
        background-color: var(--secondary);
        color: #ffffff !important;
        border-color: var(--secondary);
    }

        .download:hover::before {
            background-image: url('/ckfinder/userfiles/images/core/download-white.png');
        }



.logo {
    max-width: 450px;
    height: auto;
    position: fixed;
    top: 15px;
    left: 15px;
    /*visibility: hidden;*/ /* Hide without affecting layout */
    z-index: 5;
    -webkit-transition: 0.5s all ease-out;
    -moz-transition: 0.5s all ease-out;
    -o-transition: 0.5s all ease-out;
}

    .logo.active, .logoInternal {
        max-width: 150px;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 5;
        -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 */
    }

.hover-grow {
    display: inline-block;
    transition: transform 0.3s ease;
}

    .hover-grow:hover {
        transform: scale(1.05);
    }


    /*-------------------Side Nav-----------------------*/
.side-nav {
    list-style: none; /* Removes bullet points */
    padding: 0;
    margin: 0;
    background-color: #ffffff; /* or just let it inherit */
}

    .side-nav li {
        border-bottom: 1px solid var(--primary);
    }

        .side-nav li a {
            display: block;
            padding: 0.75em 1em;
            color: var(--primary);
            text-decoration: none;
            background-color: #ffffff; /* Ensure no background by default */
            transition: background-color 0.3s ease, color 0.3s ease;
        }

            .side-nav li a:hover,
            .side-nav li.active a {
                background-color: var(--primary);
                color: #ffffff;
            }

/*------------------------Footer-------------------------------------*/
footer {
    background-color: var(--secondary);
    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(--primary); /* 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(--primary); /* 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(--primary); /* 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: #000033;
    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(--secondary); /* Underline color */
            transition: width 0.3s ease; /* Smooth transition for width */
        }

        /* Underline effect on hover */
        .footerbase a:not(:has(img)):hover {
            color: var(--secondary); /* 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(--secondary); /* Border color */
                transition: width 0.3s; /* Smooth transition for width */
            }


footer hr {
    border: none;
    height: 2px; /* or whatever thickness you want */
    background-color: #ffffff;
    margin: 1em 0; /* optional spacing */
}
/*---------------------------Home Banner-------------------*/
.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(0, 0, 0, 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;
}

    .headerOne.active {
        position: fixed;
        top: 0;
        left: 0;
        background: rgba(58, 73, 127, 1);
        height: 50px;
        z-index: 4;
    }*/

.headerTwo {
    position: fixed;
    top: 0px;
    -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: 100px;
}

    .headerTwo.active {
        position: fixed;
        /*margin-top: 18px;*/
        background: rgba(256,256,256, 1);
        z-index: 3;
        height: 55px;
        -webkit-transition: 0.5s all ease-out;
        -moz-transition: 0.5s all ease-out;
        -o-transition: 0.5s all ease-out;
    }
.headerRight {
    color: var(--secondary);
    padding-top: 5px;
    position: fixed;
    top: 35px;
    right: 20px;
}

    .headerRight.active {
        color: var(--secondary);
        padding-top: 5px;
        position: fixed;
        top: 5px;
        right: 20px;
    }

.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;
}

.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: #133b5f;
    width: 0%;
    z-index: 3;
}


.down-arrow {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index:3;
}

.arrow-box {
    width: 60px;
    height: 60px;
    border: 1px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.arrow {
    color: #ffffff;
    font-size: 28px;
    position: absolute; /* Position arrow absolutely within the box */
    animation: moveArrow 2.5s infinite; /* Apply animation */
    z-index: 3;
}

@keyframes moveArrow {
    0%, 100% {
        transform: translateY(5px); /* Start position */
    }

    50% {
        transform: translateY(-5px); /* Move up */
    }
}

/*---------------------------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;
}

    .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:40px;
}

.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: 10px;
}

/* 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: #2076ff;
    margin-top: 5px;
    font-family: 'cardo-bold';
}

    .strapline a, .straplineSchoolTopbar a {
        position: relative; 
        display: inline-block; 
        color: #2076ff; 
        text-decoration: none; 
        transition: color 0.3s ease; 
    }

        .strapline a::after, .straplineSchoolTopbar a::after {
            content: ''; 
            position: absolute; 
            left: 0; 
            bottom: 0;
            height: 1px; 
            width: 0; 
            background-color: #2076ff; 
            transition: width 0.3s ease; 
        }

        .strapline a:hover, .straplineSchoolTopbar a:hover {
            color: #2076ff; 
        }

            .strapline a:hover::after, .straplineSchoolTopbar a:hover::after {
                width: 100%; 
            }*/


/* 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 */
    font-size: 14pt;
}

    /* Main navigation link styles */
    .nav-item a {
        text-decoration: none;
        color: var(--primary); /* Set text to white */
        padding: 5px 10px;
        transition: color 0.3s; /* Smooth color transition on hover */
        font-family: var(--headingFont); /* 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: var(--secondary); /* Border color */
            transition: width 0.3s; /* Smooth transition for width */
        }

        /* Hover effect for main nav item */
        .nav-item a:hover {
            color: var(--secondary); /* 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 */
    text-align: left;
}

    /* 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(--primary) !important; /* Ensure dropdown text is white */
         /* Slightly smaller font size */
        padding: 8px 10px;
        /*text-transform: uppercase;*/
        display: block;
        border-bottom: 1px solid var(--primary); /* Gold line beneath each item */
        transition: background-color 0.3s; /* Smooth transition for background */
        font-size: 1.0em;
    }

    .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(--primary); /* 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 var(--secondary) 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) {
    .strapline h1 {
        font-size: 1.5em;
        text-align: center;
    }
    .strapline h3 {
        font-size: 14pt;
        text-align: center;
    }
    .strapline
    {
        font-size:1em;
    }
}

@media only screen and (max-width: 670px) {
    .strapline h1 {
        font-size: 1.5em;
        text-align: center;
    }

    .strapline h3 {
        font-size: 14pt;
        text-align: center;
    }
    .strapline {
        font-size: 1em;
    }
}

@media only screen and (max-width: 548px) {
    .strapline h1 {
        font-size: 1.3em;
        text-align: center;
    }

    .strapline h3 {
        font-size: 1.1em;
        text-align: center;
    }
    .strapline {
        font-size: 1em;
    }
}


/*-----------------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;
}



/* Show burger menu on small screens (max-width: 1362px) this is the point at which the horizontal nav wraps */
@media (max-width: 1361px) {

    .nav-container {
        display: none;
    }

    .burgerMenuleft {
        justify-content: left !important;
    }

    .burger-nav {
        display: block;
    }

    .burger-menu {
        display: block;
    }

    .burger-nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px; /* Adjust the width as needed */
        height: 100%;
        padding-top: 100px;
        background-color: #162454;
        transform: translateX(-100%); /* Initially hide menu off-screen */
        transition: transform 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        z-index: 999 !important;
    }

        .burger-nav-menu.open {
            transform: translateX(0); /* Slide in from the left */
        }

    /* Close button styles */
    .close-btn {
        position: absolute; /* Keeps it inside the menu */
        top: 60px; /* Adjust as needed */
        right: 15px; /* Aligns to the right */
        color: var(--gold); /* Gold color */
        font-size: 30px;
        cursor: pointer;
        z-index: 1000; /* Ensures visibility */
        padding: 5px 10px; /* Improves clickability */
        line-height: 1; /* Keeps it compact */
    }



    /*.close-btn {
        background: red; 
        z-index: 9999; 
        position: relative;
    }*/

    .burger-nav-menu .nav-item {
        /*margin: 20px 0;*/
        text-align: left;
        padding: 10px;
        font-size: 18px;
    }

    /* Dropdown for burger menu */
    .nav-dropdown {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .nav-dropdown li {
            padding: 10px 0;
        }


    .nav-item a {
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
    }

        .nav-item a:hover {
            color: #2076ff; /* Hover color */
        }
}

@media (min-width: 769px) and (max-width: 1360px) {
    .burger-nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 250px; /* Main menu width */
        height: 100vh; /* Full viewport height */
        padding-top: 100px;
        background-color: #162454;
        transform: translateX(-100%); /* Initially hidden */
        transition: transform 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        z-index: 999 !important;
    }

    .nav-item {
        position: relative; /* Ensure positioning context */
    }



    .nav-dropdown {
        position: fixed;
        top: 0;
        left: 100%;
        width: 300px;
        padding-top: 100px !important;
        background-color: #2076ff; /* Gold */
        display: none;
        padding: 5px 10px; /* Reduce padding to avoid extra gaps */
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
        height: 100vh;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }

        /* When hovering over the parent nav item OR the dropdown itself, keep it visible */
        .nav-item:hover .nav-dropdown,
        .nav-dropdown:hover {
            display: block;
            opacity: 1;
            visibility: visible;
        }


        .nav-dropdown ul {
            padding: 10px 0; /* Reduce top & bottom padding */
            margin: 0; /* Remove default margins */
            list-style: none;
        }

        .nav-dropdown li {
            padding: 2px 15px; /* Adjust spacing */
            margin: 0; /* Remove extra spacing */
            position: relative;
        }

    .burger-nav-menu.open {
        transform: translateX(0); /* Show menu */
    }

    .nav-dropdown.open {
        display: block; /* Show submenu when triggered */
    }
}



@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: "Bebas Neue", sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #162454;
}

.text {
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    color: #162454;
    text-transform: uppercase;
}


/*-------------------Animated Stats END--------------------------------------*/

.carousel-inner {
    background-color: #000033;
}

.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;}



/*Bubbles*/

.bubble-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* So bubbles don't block clicks */
    overflow: hidden;
    z-index: 9999; /* Adjust as needed */
}

.bubble {
    position: absolute;
    bottom: -100px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: floatUp linear infinite;
    border: solid 1px rgba(135, 206, 250, 0.3);
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh) scale(0.5);
        opacity: 0;
    }
}
