/********** Template CSS **********/
:root {
    --primary: #1E60AA;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #17224D;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.top-bar {
    height: 50px; /* Changed from 75px to 50px */
    padding: 0 4rem;
}
/* This makes the text and small icons the color from your screenshot */
.custom-blue-text {
    color: #000080 !important;
    font-weight: 700; /* Makes the smaller text bold and readable */
}

/* This makes the social media button backgrounds the same blue */
.custom-blue-bg {
    background-color: #000080 !important;
}

/* Specifically for the long title to keep it small */
.navbar-brand h1.custom-blue-text {
    font-size: 14px !important; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px !important;
}
.top-bar {
    height: 50px;
    padding: 0 4rem;
}
.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #000080;
}

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*  */
    /* Mobile Settings (Centered and normal size) */
    .logo-wrapper {
        position: relative;
        z-index: 10001;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center; 
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .responsive-logo {
        width: 100%;
        max-width: 250px; 
        height: auto;
        display: block;
    }

    /* Desktop Settings (Screens wider than 992px) */
    @media (min-width: 992px) {
        .logo-wrapper {
            margin-left: -250px; 
            height: 10px !important;
            width: auto;
            padding: 0;
        }

        .responsive-logo {
            width: 250px; 
            max-width: none;
            position: absolute;
            /* CHANGED: Increased negative top to pull it HIGHER */
            top: -120px; 
            /* CHANGED: Adjusted left to keep it centered where you liked it */
            left: -200px; 
            z-index: 10005;
            display: block;
        }
    }
    /* 1. Allow clicks to pass through the top-bar background */
.top-bar {
    pointer-events: none;
}

/* 2. Re-enable clicks ONLY for the links and buttons */
.top-bar a, 
.top-bar p, 
.top-bar i,
.top-bar .h-100 {
    pointer-events: auto;
}

/* 3. Ensure the logo wrapper isn't stealing clicks */
.logo-wrapper {
    pointer-events: none;
}
.responsive-logo {
    pointer-events: auto;
}

/* 4. Fix for the social buttons specifically */
.custom-blue-bg {
    position: relative;
    z-index: 99999 !important;
    display: inline-flex !important;
}
/*** Header ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #000080;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #000080;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}
/* services */

.btn-dark-blue {
    background-color: #2B3D51;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    font-size: 14px;
}

/* Image Container - No background, height fits image */
.image-shape-container {
    position: relative;
    display: inline-block;
    line-height: 0; /* Removes tiny gap at bottom of images */
}

/* Custom utility to pull content up */
.mt-n5 {
    margin-top: -6rem !important; /* Adjust this to move it higher or lower */
}

.custom-shape-img {
    width: 100%;
    /* Keep this high to maintain the section height, but tight to the container */
    min-height: 600px; 
    object-fit: cover;
    border-radius: 80px 20px 80px 20px;
    display: block;
}

/* Force the container to not add extra flex spacing at the bottom */
.container-fluid.pb-2 {
    display: block !important; 
}
/* Round Logo overlay */
.logo-overlay-small {
    position: absolute;
    bottom: 10px;
    right: 20px;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.bubble-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px; /* Size of the bubble area */
    height: 500px;
    
    /* 1. CHECK THIS PATH: Make sure it matches your actual folder and filename */
    background-image: url('/img/new/SL_040819_19550_21-removebg-preview.png'); 
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    
    /* 2. Z-INDEX: Keeps it behind the text (which is z-index 2) */
    z-index: 1; 
    
    /* 3. CLICKS: Ensures the 'Learn More' button still works if overlapped */
    pointer-events: none; 
    
    display: block !important;
}

.btn-dark-blue {
    transition: background-color 0.4s ease, letter-spacing 0.3s ease;
}

.btn-dark-blue:hover {
    background-color: #1e2d66 !important; /* Slightly lighter navy */
    letter-spacing: 1px;                  /* Expands text slightly */
    box-shadow: inset 0 0 0 2px #FFB11B;  /* Adds an internal gold border */
}
/* services */


/* about */


.border-white-frame {
    /* Kept at 12px to match the larger scale of the image */
    border: 12px solid #ffffff; 
    background: #ffffff;
    /* Added a slightly heavier shadow for the larger element */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

/* Optional: subtle hover effect to make it feel interactive */
.border-white-frame:hover {
    transform: scale(1.02);
}
.border-white-frame:hover {
    transform: scale(1.02);
}



/* Custom Green Button styling */
.btn-success {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s all ease;
}

.btn-success:hover {
    background-color: #007d3a !important;
    transform: translateY(-2px);
}

/* Ensure the background is the exact deep blue from your screenshot */
.bg-custom-blue {
    background-color: #000080 !important;
}


.circuit-promo-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    /* Updated for dark blue background: using light lines instead of dark ones */
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 19px,
        rgba(255, 255, 255, 0.05) 19px,
        rgba(255, 255, 255, 0.05) 20px,
        transparent 20px,
        transparent 39px,
        rgba(255, 255, 255, 0.05) 39px,
        rgba(255, 255, 255, 0.05) 40px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 19px,
        rgba(255, 255, 255, 0.05) 19px,
        rgba(255, 255, 255, 0.05) 20px,
        transparent 20px,
        transparent 39px,
        rgba(255, 255, 255, 0.05) 39px,
        rgba(255, 255, 255, 0.05) 40px
    ),
    radial-gradient(
        circle at 20px 20px,
        rgba(255, 255, 255, 0.08) 2px,
        transparent 2px
    ),
    radial-gradient(
        circle at 40px 40px,
        rgba(255, 255, 255, 0.08) 2px,
        transparent 2px
    );
    background-size: 40px 40px, 40px 40px, 40px 40px, 40px 40px;
}

/* Enhancing the white frame to make it pop against the pattern */
.border-white-frame {
    border: 12px solid #ffffff;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
/* about */


/* team */

.team-card-model {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-img-box {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The floating Phone button */
.call-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    background: #46d5f3; /* Cyan blue to match your screenshot */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.call-btn:hover {
    background: #17224D; /* Changes to Navy on hover */
    color: white;
    transform: scale(1.1);
}

/* The dark footer bar */
.team-footer {
    background: #17224D;
    padding: 20px 10px;
    text-align: center;
}

.team-footer h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.team-footer p {
    color: #a5a5a5;
    font-size: 13px;
    margin-top: 5px;
}

.team-card-model:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}


/* team */


/*** Facts ***/

.stat-icon {
    color: #FFB11B; /* Gold/Yellow for icons */
    font-size: 40px;
    display: block;
}

.stat-number {
    color: #ffffff;
    font-size: 45px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-number sup {
    font-size: 20px;
    top: -1em;
}

.stat-text {
    color: #a5a5a5; /* Muted text for sub-labels */
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 13px;
}

/* Vertical Divider Lines */
.border-end-custom {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Remove dividers on mobile so they don't look weird when stacked */
@media (max-width: 991px) {
    .border-end-custom {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}
/*** Facts ***/







/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}





/* Navy Blue Color used in your design */
.text-navy { color: #17224D; }

/* Section Title with Yellow Bottom Bar */
.footer-title {
    color: #17224D;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: "";
    position: absolute;
    width: 45px;
    height: 3px;
    background: #FFB11B; /* Yellow accent */
    bottom: 0;
    left: 0;
}

/* Social Buttons: Light blue background from screenshot */
.btn-social-custom {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E9F2F6;
    color: #17224D;
    border-radius: 5px;
    transition: 0.3s;
    text-decoration: none;
}

.btn-social-custom:hover {
    background: #17224D;
    color: #ffffff;
}

/* Contact Icons styling */
.contact-icon {
    font-size: 20px;
    color: #17224D;
}

/* Quick Links styling */
.btn-link-custom {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #6C757D;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.btn-link-custom:hover {
    color: #17224D;
    padding-left: 5px;
}

.copyright.border-top {
    border-top: 1px solid #dee2e6 !important;
}
/* Section Title with Yellow Bottom Bar */
.footer-title {
    color: #17224D;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    display: inline-block; /* Ensures underline only spans the text width */
}

.footer-title::after {
    content: "";
    position: absolute;
    width: 45px;
    height: 3px;
    background: #FFB11B;
    bottom: 0;
    left: 0; /* Keep underline on the left of the text */
}

/* Center the middle column contents while keeping the list left-aligned */
@media (min-width: 992px) {
    .text-lg-center {
        text-align: center !important;
    }
}

.btn-link-custom {
    color: #6C757D;
    text-decoration: none;
    transition: 0.3s;
    display: block;
}

.btn-link-custom:hover {
    color: #17224D;
    padding-left: 5px;
}
.footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.footer .container.py-5 {
    padding-top: 20px !important; /* Adjust this small value to control the inner breathing room */
}

/* Ensure the previous section doesn't have a bottom margin */
section, .container-fluid {
    margin-bottom: 0 !important;
    
}
.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #c4c70c; /* Changes to your brand Blue */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);

    color: #4c4b4b
}
 .premium-voc-box:hover h4 {
        color: #0c9222 !important;
    }