﻿/*
    STYLE GUIDE

    Heading Font: ‘Baskerville’  #666666
    Body: ‘Helvetica’ #666666

    Navy: #17b9df

*/

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

.ubuntu-light {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.ubuntu-regular {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.ubuntu-medium {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.ubuntu-bold {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.ubuntu-light-italic {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.ubuntu-regular-italic {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.ubuntu-medium-italic {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.ubuntu-bold-italic {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: italic;
}


:root {
    --navy: #150e6e; /* Variable for main color */
    --blue: #47b9de; /* Variable for main color */
    --red: #d10d17;
    --lightblue: #1d81cd;
}

html, body {
    scroll-behavior: smooth;
    font-family: "Ubuntu", sans-serif;
    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(--navy);
    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(--red); /* Underline color */
        transition: width 0.3s ease; /* Smooth transition for width */
    }

.button {
    background-color: var(--navy);
    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,
    .button:focus {
        background-color: var(--red);
        color: #ffffff;
        text-decoration: none !important;
    }

.buttonLightBlue {
    background-color: #9cc9ff;
    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;
}

    .buttonLightBlue:hover,
    .buttonLightBlue:focus {
        background-color: #1d81cd;
        color: #ffffff;
        text-decoration: none !important;
    }

.buttonDarkBlue {
    background-color: #1d81cd;
    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;
}

    .buttonDarkBlue:hover,
    .buttonDarkBlue:focus {
        background-color: #9cc9ff;
        color: #ffffff;
        text-decoration: none !important;
    }

.buttonRed {
    background-color: #d22127;
    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;
}

    .buttonRed:hover,
    .buttonRed:focus {
        background-color: #1d81cd;
        color: #ffffff;
        text-decoration: none !important;
    }

.buttonWhite {
    background-color: #ffffff;
    color: var(--navy);
    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: var(--red);
        color: #ffffff;
        text-decoration: none !important;
    }

.ContactButton {
    background-color: var(--navy);
    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: var(--red);
        color: #ffffff;
        text-decoration: none;
    }


.logo {
    max-width: 210px;
    height: auto;
    position: relative; /*fixed*/
    top: 10px;
    left: 20px;
    -webkit-transition: 0.5s all ease-out;
    -moz-transition: 0.5s all ease-out;
    -o-transition: 0.5s all ease-out;
    /* visibility: hidden;*/ /* Hide without affecting layout */
}

    .logo.active {
        max-width: 120px;
        height: auto;
        top: 0px;
        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(--navy);
    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(--navy); /* 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(--navy); /* 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(--navy); /* 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(--lightblue);
    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(--navy); /* Underline color */
            transition: width 0.3s ease; /* Smooth transition for width */
        }

        /* Underline effect on hover */
        .footerbase a:not(:has(img)):hover {
            color: var(--navy); /* 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(--navy); /* Border color */
                transition: width 0.3s; /* Smooth transition for width */
            }

/*---------------------------Home Banner-------------------*/
.header {
    position: fixed;
    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 {
    background-color: #150e6e;
    /*padding: 10px;*/
    color:#fff;
}
    .headerOne a, .headerOne a:link{color:#fff;}
        .headerOne a:hover, .headerOne a:visited {
            color: var(--red)
        }

        .headerTwo {
            position: sticky;
            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, 0.85);
            height: 90px;
        }

    .headerTwo.active {
        position: sticky;
        /*margin-top: 18px;*/
        background: rgba(255, 255, 255, 1);
        z-index: 3;
        height: 70px;
        -webkit-transition: 0.5s all ease-out;
        -moz-transition: 0.5s all ease-out;
        -o-transition: 0.5s all ease-out;
    }

.headerRight {
    color: var(--blue);
    padding-top: 5px;
    position: fixed;
    top: 20px;
    right: 20px;
    -webkit-transition: 0.5s all ease-out;
    -moz-transition: 0.5s all ease-out;
    -o-transition: 0.5s all ease-out;
}

    .headerRight.active {
        color: var(--blue);
        padding-top: 5px;
        position: fixed;
        top: 5px;
        right: 20px;
        -webkit-transition: 0.5s all ease-out;
        -moz-transition: 0.5s all ease-out;
        -o-transition: 0.5s all ease-out;
    }



.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);
    }
}

.hero-banner {
    height: 80vh; /* fill screen height */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fill & crop nicely */
}

/* Make sure overlay is on top of the video */
.hero-banner .strapline {
    z-index: 2;
}



/* Gold bar */
.gold-bar {
    position: absolute;
    bottom: 5px;
    left: 0;
    height: 5px;
    background-color: #9cc9ff;
    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 */
    }
}

/*---------------------------Home Banner END-------------------*/
/*---------------------------Internal Banner-------------------*/

.internal-banner {
    height: 90vh;
    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: 1;
        background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 25%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100% );
    }*/

/* make sure slide is positioned so ::before works */
.internal-banner-slide {
    position: relative;
    height: 100%;
}

/* gradient overlay on top of the background image, under the text */
    .internal-banner-slide::before {
        content: "";
        position: absolute;
        inset: 0; /* shorthand for top/right/bottom/left: 0 */
        z-index: 1;
        background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 25%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100% );
    }

/* strapline above the overlay */
.internal-banner .strapline {
    z-index: 2;
}

.internal-banner-No-Banner {
    height: 15vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}
/*.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-------------------*/
/*---------------------------Internal Banner Articles-------------------*/
.internal-banner-article {
    height: 60vh;
    width: 100%;
    overflow: hidden;
    position: relative;
 
}

.internal-banner-article img {
    min-width: 100%;
    object-fit: cover;
}

.internal-banner-article: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-article::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-article .banner-caption {
    position: absolute;
    bottom: 25px;
    left: 25%;
    color: #fff;
}

.internal-banner-article-images {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: hidden;
}

    .internal-banner-article-images .internal-banner-article-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-article-images .internal-banner-article-slide.active {
            opacity: 1;
            transform: scale(1.1);
        }

.internal-banner-article-caption img {
    display: block;
    margin-left: auto;
    max-width: 50%;
}

.ArticleDate{text-align:right;}

.BlogContainer {
    background-color: #fff;
    padding: 20px;
    min-height:600px;
}

.BlogImg {
    width: 100%;
    max-height: 250px;
    overflow: hidden; /* hides overflow caused by scaling */
    position: relative;
    margin-bottom:15px;
}

    .BlogImg img {
        width: 100%;
        height: auto;
        transition: transform 0.5s ease;
        display: block; /* removes any space below the image */
    }

    .BlogImg:hover img {
        transform: scale(1.1);
    }

/*---------------------------Internal Banner Articles END-------------------*/
/*-------------------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: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #162454;
}

.text {
    font-family: "Ubuntu", 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; color: var(--navy) !important;}

.swiper-slide img {
    transition: transform 0.5s;
}

    .swiper-slide img:hover {
        transform: scale(1.1);
    }
