
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/



/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-light) !important;
}

.btn.btn-dark {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-dark:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}

.btn.btn-light {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-dark) !important;
}

@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top,
.sticky-top .container {
    transition: 0.5s !important;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark) !important;
}

.navbar .navbar-nav .nav-item {
    position: relative;
    margin: 0 5px !important;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 0px solid var(--bs-primary);
    transition: 0.5s;

}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 100%;
    border-width: 1px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        margin-top: 20px !important;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        margin-top: 15px !important;
        transition: 0.5s;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item.nav-link {
        margin: 15px 0 !important;
    }

}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    margin-top: 20px !important;
    transition: .5s;
    opacity: 1;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-primary);
}

/*** Navbar End ***/

/*** logo ***/
.logo{
    line-height: 1;
  }
  
.logo img {
    max-height: 80px;
    margin-left: 25px;
    scale: 1.2;
  }
/*** Carousel Header Start ***/
.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 20px;
    border-radius: 40px;
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.owl-prev {
    left: 30px;
}

.owl-next {
    right: 30px;
}

.owl-prev:hover,
.owl-next:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
}

.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
    position: relative;
    overflow: hidden;
}

.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -300px;
    border-radius: 300px;
    border: 100px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {top: -400px;}
    50%   {right: -200px;}
    75%   {top: -200px;}
    100%  {top: -400px;}
}

.header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 70px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}

@keyframes RotateMoveRight {
    0%   {left: 0px;}
    50%   {left: 70px;}
    100%  {left: 0px;}
}

.header-carousel .header-carousel-item::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 1200px;
    top: -150px;
    left: -265px;
    transform: rotate(-30deg);
    background: var(--bs-dark);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}

@keyframes RotateMoveLeft {
    0%   {left: -240px;}
    50%   {left: -300px;}
    100%  {left: -240px;}
}

.header-carousel .header-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2 !important;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
}

.header-carousel .carousel-caption-inner p {
    color: #ffffff !important;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 10px;
    }
    .header-carousel-item img {
        height: 700px;
        object-fit: cover;
    }

    .owl-prev,
    .owl-next {
        top: 40px !important;
    }

    .owl-prev {
        left: 65%;
    }
}
/*** Header Carousel End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}

.bg-breadcrumb .bg-breadcrumb-single {
    position: absolute;
    width: 500px;
    height: 1200px;
    top: 0px;
    left: 0;
    margin-left: 30px;
    transform: rotate(-30deg);
    background: var(--bs-dark);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}


.bg-breadcrumb::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    border-radius: 200px;
    border: 80px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {top: -200px;}
    50%   {right: -100px;}
    75%   {top: -100px;}
    100%  {top: -200px;}
}


.bg-breadcrumb::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 0;
    margin-left: 160px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}
/*** Single Page Hero Header End ***/

/* Leadership name smaller for better hierarchy */
.lead-name {
    font-size: 1.75rem;
    line-height: 1.05;
    font-weight: 700;
    color: #6c7a7b;
}

@media (max-width: 768px) {
    .lead-name { font-size: 1.5rem; }
}

/* Leadership section: force maroon headings and content for consistency */
.lead-section,
.lead-section h1,
.lead-section .lead-name,
.lead-section .lead-role,
.lead-section p,
.lead-section .text-uppercase,
.lead-section .lead-role * {
    color: #811a1b !important;
}

.lead-section p {
    color: #811a1b !important;
}


/*** About Start ***/
.about .text {
    position: relative;
}

.about .text::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary);
}
/*** About End ***/

/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.3);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item .service-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.service .service-item:hover .service-img::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content {
    position: relative;
}

.service .service-item .service-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover .service-content .service-content-inner a.h4 {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}
/*** Service End ***/

/*** Project Start ***/
.project .project-carousel.owl-carousel {
    height: 100%;
}

.project .project-carousel .project-item {
    position: relative;
    overflow: hidden;
}

.project .project-carousel .project-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project .project-carousel .project-item .project-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img::after {
    height: 100%;
}

.project .project-carousel .project-item .project-img img {
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img img {
    transform: scale(1.2);
}

.project .project-carousel .project-item .project-content {
    position: relative;
    width: 75%;
    height: 100%;
    bottom: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.project .project-carousel .project-item .project-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px !important;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project .project-carousel .project-item .project-content .project-content-inner {
    position: relative;
    z-index: 2;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner p,
.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4,
.project .project-carousel .project-item:hover .project-content .project-content-inner .project-icon i {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}

.project .project-carousel .project-item:hover .project-content::after {
    height: 100%;
}

.project-carousel .owl-dots {
    position: absolute;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -120px;
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 15px;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 40px;
    border: 8px solid var(--bs-primary);
}
/*** Project End ***/


/*** Testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
}


.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 40px;
    background: var(--bs-primary);
}
/*** Testimonial End ***/

/*** FAQ'S Start ***/
.faq {
    position: relative;
    overflow: hidden;
}

.faq::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/bg.png);
    object-fit: cover;
    z-index: -1;
}

.faq .faq-img {
    position: relative;
}

.faq .faq-img .faq-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/*** FAQ'S End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item-post a {
    transition: 0.5s;
}

.footer .footer-item-post a:hover {
    color: var(--bs-primary) !important;
}

.footer .footer-item-post .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item-post .footer-btn a:hover {
    color: var(--bs-dark);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/


/* Mobile / Responsive overrides */
@media (max-width: 1199px) {
    .logo img {
        max-height: 70px;
        margin-left: 12px;
        scale: 1;
    }

    .bg-breadcrumb {
        padding: 40px 0 40px 0;
        background-position: center top;
    }
}

/* Leadership section improvements */
.lead-section .container {
    max-width: 1100px;
}
.lead-section .ps-lg-4 {
    padding-left: 2rem !important;
}
.lead-section .lead-name {
    color: #811a1b !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
}
.lead-section .text-uppercase {
    color: #811a1b !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    display: block;
    width: 100%;
    margin: 0 auto 1rem;
}

/* Right-align the role/partner label on wider screens, keep readable on small screens */
.lead-section .lead-role {
    text-align: left !important;
    display: block;
    width: 100%;
    color: #811a1b !important;
    font-weight: 600 !important;
    margin-top: 0.25rem;
}

/* Force white text inside the four mission info cards */
.mission-card,
.mission-card * {
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .lead-section .lead-role { text-align: left !important; }
}
.lead-section p {
    max-width: 900px;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.85;
    color: #811a1b !important;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}
.lead-section .display-5 {
    margin-bottom: 0.5rem;
}
.lead-section .container .row {
    gap: 1.5rem;
}

/* Make section paragraphs end evenly like the leadership copy */
.container-fluid.py-5 .container p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}

@media (max-width: 991px) {
    .lead-section .ps-lg-4 { padding-left: 1rem !important; }
    .lead-section p { max-width: 100%; }
}
/* Override: set global white background and maroon text */
html, body {
    background: #ffffff !important;
    color: #800000 !important;
}
/* Make most text elements maroon */
h1,h2,h3,h4,h5,h6,p,a,span,li,div {
    color: #800000 !important;
}
/* Clear dark decorative backgrounds in hero/breadcrumb sections */
.header-carousel .header-carousel-item::after,
.header-carousel .header-carousel-item::before,
.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-1::after,
.bg-breadcrumb,
.bg-breadcrumb .bg-breadcrumb-single,
.bg-breadcrumb::after,
.bg-breadcrumb::before {
    background: transparent !important;
    border-color: transparent !important;
}
/* Ensure nav links remain readable */
.navbar .navbar-nav .nav-link { color: #800000 !important; }
/* Keep other component styles as-is; override further if needed */


    .bg-breadcrumb .bg-breadcrumb-single,
    .bg-breadcrumb::before,
    .bg-breadcrumb::after,
    .header-carousel .header-carousel-item-img-1::before,
    .header-carousel .header-carousel-item-img-2::before,
    .header-carousel .header-carousel-item-img-3::before,
    .header-carousel .header-carousel-item-img-1::after,
    .header-carousel .header-carousel-item-img-2::after,
    .header-carousel .header-carousel-item-img-3::after,
    .header-carousel .header-carousel-item::before,
    .header-carousel .header-carousel-item::after {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .header-carousel-item img {
        height: auto !important;
        max-height: 420px;
        object-fit: cover;
    }

    .container-fluid.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .navbar .navbar-toggler {
        padding: 6px 10px;
    }
}

@media (max-width: 767px) {
    .logo img {
        max-height: 60px;
        margin-left: 6px;
    }

    .navbar .navbar-nav .nav-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
        font-size: 0.95rem;
    }

    .bg-breadcrumb .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .container.py-5 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .container .row.g-5 {
        gap: 1rem;
    }

    .d-flex.flex-column[style*="gap"] {
        gap: 0.6rem !important;
    }

    /* CTA smaller on phones */
    .container-fluid.py-5.text-center h1.display-4 {
        font-size: 1.4rem !important;
    }
    .container-fluid.py-5.text-center p {
        font-size: 0.95rem !important;
    }

    /* Footer spacing */
    .footer .footer-item a,
    .footer .footer-item p {
        line-height: 1.6;
        font-size: 0.95rem;
    }

    /* Make hero taller on mobile */
    .header-carousel-item img,
    .header-carousel-item img {
        height: 520px !important;
        max-height: 520px !important;
        object-fit: cover !important;
    }

    .bg-breadcrumb {
        padding: 80px 0 80px 0 !important;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-height: 52px;
        margin-left: 4px;
    }

    .display-4 {
        font-size: 1.6rem !important;
    }

    .bg-breadcrumb {
        padding: 30px 0 30px 0;
    }

    .navbar .navbar-brand p-0 img {
        max-height: 48px;
    }

    /* Ensure images are fluid */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Global box-sizing and overflow fix to prevent horizontal scroll on mobile */
html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Ensure media elements never exceed their container */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Fix for elements using 100% + padding that can cause overflow */
.container, .container-fluid {
    max-width: 100%;
}

/* Stronger fixes to eliminate horizontal scroll on narrow viewports */
@media (max-width: 1200px) {
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .container, .container-fluid, .row, nav, .topbar, .bg-breadcrumb, .header-carousel, .footer {
        overflow-x: hidden !important;
    }

    .bg-breadcrumb .bg-breadcrumb-single,
    .bg-breadcrumb::before,
    .bg-breadcrumb::after,
    .header-carousel .header-carousel-item-img-1::before,
    .header-carousel .header-carousel-item-img-2::before,
    .header-carousel .header-carousel-item-img-3::before,
    .header-carousel .header-carousel-item-img-1::after,
    .header-carousel .header-carousel-item-img-2::after,
    .header-carousel .header-carousel-item-img-3::after,
    .header-carousel .header-carousel-item::before,
    .header-carousel .header-carousel-item::after {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* If any absolute decorations remain, constrain them */
    .position-absolute.bg-dark {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
}

/* Ensure mobile menu button sits at top-right inside sticky header */
@media (max-width: 991px) {
    .container-fluid.sticky-top {
        position: relative;
    }

    .container-fluid.sticky-top .navbar-toggler {
        position: absolute;
        right: 0.75rem;
        top: 0.55rem;
        z-index: 1050;
    }

    .container-fluid.sticky-top .navbar-brand {
        padding-left: 0.5rem;
    }
}

/* CTA highlight: make the emphasized span white on the maroon CTA background */
.container.py-5.text-center h1.display-4 span,
.container.py-5.text-center h1 span {
    color: #fff !important;
}

/* Make icons inside CTA and similar dark blocks white for contrast */
.container.py-5.text-center .fas,
.container.py-5.text-center .fa,
.container.py-5.text-center .bi {
    color: #fff !important;
}

/* Ensure footer icons are white */
.footer .fas,
.footer .fa,
.footer .bi {
    color: #fff !important;
}

/* Breadcrumb/hero small icons contrast */
.bg-breadcrumb .breadcrumb-item a,
.bg-breadcrumb .breadcrumb-item a .fas,
.bg-breadcrumb .breadcrumb-item a .fa {
    color: rgba(255,255,255,0.9) !important;
}

/* Stat card headings inside rounded boxes should be white on maroon backgrounds */
.p-4.rounded h3.mb-1,
.p-4.rounded h3 {
    color: #fff !important;
}

/* CTA maroon override - ensures strong maroon background and white text */
.cta-maroon {
    background: linear-gradient(180deg, rgba(129,26,27,0.96) 0%, rgba(129,26,27,0.9) 100%) !important;
    color: #ffffff !important;
}
.cta-maroon h1,
.cta-maroon h2,
.cta-maroon h3,
.cta-maroon p,
.cta-maroon a,
.cta-maroon i,
.cta-maroon .row {
    color: #ffffff !important;
}
.cta-maroon .col-auto,
.cta-maroon .col-auto *,
.cta-maroon .col-auto i {
    color: #ffffff !important;
}
.cta-maroon .btn {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
}

/* Ensure mission cards keep readable text when inside light/dark sections */
.mission-card, .mission-card * { color: #ffffff !important; }