:root {
    --sai-blue: #0A4C7D;
    --sai-teal: #18A7B5;
    --sai-light: #ecf3f8;
    /* #F4F8FB; */
    --sai-text: #1F2A33;
    --bs-navbar-toggler-icon-bg-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--sai-text);
}

/*.hero {
			margin-top: -20px;
		}
		.navbar {
			height: 60px;
		}
		*/
/* NAVBAR – transparent over hero */
.navbar-transparent {
    background: transparent;
    transition: background-color 0.3s ease;
}

/* Logo default: WHITE for hero */
.navbar-transparent .navbar-brand {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* Dark links over hero */
.navbar-transparent .nav-link {
    color: #ffffff;
}

.navbar-transparent .nav-link:hover {
    color: #f0f0f0;
}

/* CTA button stays strong */
.navbar-transparent .btn-primary {
    background-color: var(--sai-blue);
    border-color: var(--sai-blue);
}

/* Active nav link */
.navbar .nav-link.active {
    color: var(--sai-blue) !important;
    font-weight: 600;
    position: relative;
}

/* Optional executive underline */
.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--sai-blue);
}

/* Navbar after scroll */
.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled .navbar-logo {
    filter: none;
}

.navbar.scrolled .nav-link {
    color: var(--sai-text) !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--sai-blue) !important;
}

.navbar.scrolled .navbar-brand img {
    filter: none;
}

/*.navbar-transparent .navbar-brand img {
			filter: brightness(0) invert(1);
		}*/

/* Ensure burger icon is always visible */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .navbar-toggler-icon {
    filter: none;
}

/* DEFAULT (hero / transparent) */
.navbar-transparent {
    background-color: transparent;
}

.navbar-transparent .nav-link {
    color: #ffffff;
}

.navbar-transparent .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar-transparent .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg-dark);
}

/* AFTER SCROLL */
.navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled .nav-link {
    color: var(--sai-text);
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
}


.btn-primary {
    background-color: var(--sai-blue) !important;
    border-color: var(--sai-blue) !important;
}

.btn-outline-primary {
    color: var(--sai-blue) !important;
    border-color: var(--sai-blue) !important;
}

.section {
    padding: 20px 0;
}

.section-light {
    background-color: var(--sai-light);
}

.hero {
    padding: 0px 0;
    background: linear-gradient(135deg, #ffffff 60%, var(--sai-light));
}

.hero-slide {
    min-height: 400px;
    display: flex;
    align-items: start;
    background-size: cover;
    background-position: center;
    position: relative;
    filter: saturate(70%);
}

.hero-slide .container {
    margin-top: 62px;
}


/* Strong executive overlay */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(10, 20, 30, 0.85) 0%,
            rgba(10, 20, 30, 0.75) 45%,
            rgba(10, 20, 30, 0.55) 100%);
    z-index: 1;
}

/* Ensure content stays above overlay */
.hero-slide>.container {
    position: relative;
    z-index: 2;
}

.hero-cta {
    margin-top: 1.0rem;
    margin-bottom: 2.5rem;
    /* space above dots */
}

/* Hero carousel dots */
.carousel-indicators {
    /*margin-top: 12px;
			gap: 8px;*/
    position: absolute;
    bottom: 16px;
    margin: 0;
    z-index: 3;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
}

.carousel-indicators .active {
    background-color: #ffffff;
}

.team-card {
    border-radius: 6px;
    box-shadow: var(--shadow-subtle);
    border-top: 1px solid var(--sai-teal);
    border-right: 1px solid var(--sai-teal);
    border-left: 1px solid var(--sai-teal);
    border-bottom: 4px solid var(--sai-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-photo {
    width: 96px;
    height: 96px;
    object-fit: cover;
}

.sticky-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.tco-image-wrap {
    width: 100%;
    max-height: 500px;
    /* slightly taller than contact image */
    overflow: hidden;
    border-radius: 0.5rem;
}

.tco-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    filter: saturate(90%) contrast(95%);
}

.section-photo {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.backimage-text-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 520px;
    position: relative;
    display: flex;
    align-items: flex-start;
    border-radius: 0.5rem;
}

/* optional dark image overlay */
.backimage-text-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.25);*/
}

.backimage-text-section .container {
    position: relative;
    z-index: 2;
}

/* 🔥 TEXT PANEL */
.text-overlay {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 0.25rem;

    background: rgba(255, 255, 255, 0);
    /* 🔥 readability */
    color: #fbfbfb;

    padding: 0.5rem 0.5rem;
    border-radius: 3px;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.text-overlay h2 small {
    color: #6c757d;
}

.tco-components {
    border-top: 1px solid #e4ebf1;
    padding-top: 1rem;
}

.tco-icon {
    font-size: 1.4rem;
    color: var(--sai-teal);
    margin-top: 0.15rem;
}

.contact-image-wrap {
    width: 100%;
    max-height: 280px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.contact-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* Offset anchor scroll for fixed navbar */
section[id] {
    scroll-margin-top: 90px;
    /* adjust to navbar height */
}

.text-teal {
    --bs-text-opacity: 1;
    color: var(--sai-teal) !important;
}

.quote-mark {
    color: var(--sai-blue);
    /* -- rgba(255, 255, 255, 0.35); --*/
    font-size: 3.5rem;
    line-height: 0;
    vertical-align: -0.2em;
    font-weight: 600;
}

/* Teal emphasis animation */
.animate-teal {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-teal.active {
    opacity: 1;
    transform: translateY(0);
}

.bio,
.contact-wrap p {
    margin-bottom: 0 !important;
    color: var(--bs-secondary-color) !important;
}

.contact-wrap i {
    width: 18px;
    text-align: center;
}

.contact-wrap a:hover {
    color: var(--sai-blue) !important;
}

i.bi {
    color: #18A7B5 !important;
    line-height: 1;
    vertical-align: middle;
    display: inline-block;
}

i.fas,
i.far,
i.fab,
i.fa-solid,
i.fa-brands,
i.fa-regular {
    color: #18A7B5 !important;
}

.table {
    background-color: transparent !important;
}

.table tr,
td {
    border: none !important;
    background-color: transparent !important;
}

.footer {
    background-color: var(--sai-blue);
    color: #e6eef5;
}

.footer img {
    filter: brightness(0) invert(1);
}

.footer h6 {
    color: #ffffff;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.footer p,
.footer a,
.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover,
.footer a:hover {
    color: var(--sai-teal);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Mobile menu background fix */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(10, 20, 30, 0.95);
        padding: 1rem 1.25rem;
        border-radius: 0 0 0.75rem 0.75rem;
    }

    .navbar-collapse .nav-link {
        color: #ffffff !important;
        padding: 0.6rem 0;
    }

    .navbar-collapse .nav-link:hover {
        color: var(--sai-teal) !important;
    }

    /* CTA button inside menu */
    .navbar-collapse .btn {
        width: 100%;
        margin-top: 0.75rem;
    }

    h1 {
        font-size: calc(1.1rem + 1.5vw);
    }

    .quote-mark {
        color: var(--sai-blue);
        font-size: 2.5rem;
        line-height: 0;
        vertical-align: -0.3em;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .backimage-text-section {
        min-height: 360px;
    }

    .text-overlay {
        max-width: 100%;
        margin-top: 0rem;
        padding: 0.5rem;
        border-radius: 2px;
    }
}

@media (max-width: 991.98px) {

    .navbar-collapse.show~.navbar-brand .navbar-logo,
    .navbar:not(.scrolled) .navbar-logo {
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 991.98px) {
    .navbar.scrolled .navbar-collapse {
        background-color: #ffffff;
    }

    .navbar.scrolled .navbar-collapse .nav-link {
        color: var(--sai-text) !important;
    }
}