/* ==========================================
   GLOBAL STYLES & TYPOGRAPHY
   ========================================== */

/* Typography */
h1, h2, h3, h4, h5, h6,
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
    font-family: 'Cormorant Garamond', cormorantgaramond-semibold, cormorantgaramond, serif;
    font-weight: 600;
}

p, a, span, li, button, .btn {
    font-family: 'Work Sans', helvetica-w01-light, helvetica-w02-light, sans-serif;
    font-weight: 300;
}

/* Base Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: 'Work Sans', sans-serif;
}

.section-subtitle {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    font-family: 'Work Sans', sans-serif;
}

.skip-link:focus {
    top: 0;
}

/* Focus Visible Styles */
.btn-hero:focus-visible,
.btn-contact:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar-transparent {
    background-color: transparent;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0;
}

.navbar-transparent.scrolled {
    padding: 1rem 0;
}

.navbar {
    align-items: flex-start !important;
}

.navbar-brand {
    padding: 0;
    margin-right: auto;
}

.navbar-brand img {
    height: 180px;
    width: auto;
}

.navbar-collapse {
    align-items: flex-start;
    padding-top: 0;
}

.navbar-nav {
    align-items: center;
    margin-top: 0;
}

.navbar-transparent .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.375rem 1rem;
    transition: color 0.3s ease;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 30px;
}

.navbar-transparent .navbar-nav .nav-link:hover,
.navbar-transparent .navbar-nav .nav-link:focus {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.navbar-transparent .navbar-nav .nav-link.active {
    color: #fff;
    font-weight: 500;
}

.btn-contact {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 0.375rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif;
    line-height: 26px;
}

.btn-contact:hover,
.btn-contact:focus {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.5rem;
    margin-top: 0;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #000;
}

.hero-section .container,
.product-box {
    position: relative;
    z-index: 2;
}

/* Hero Video */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    padding: 8px 15px;
    border-radius: 0;
    backdrop-filter: blur(10px);
}

.btn-video-control {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.btn-video-control:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.btn-video-control:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.control-label {
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
}

/* Hero Content */
.hero-content {
    padding-top: 100px;
}

.hero-content h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-content h1 .line-break {
    display: block;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: 300;
}

.btn-hero {
    background-color: #fff;
    color: #000;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 400;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Work Sans', sans-serif;
}

.btn-hero svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    fill: currentColor;
}

.btn-hero:hover,
.btn-hero:focus {
    background-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover svg {
    transform: translateX(5px);
}

/* Product Box */
.product-box {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background-color: #001b68c9;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 320px;
}

.product-box h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.75rem;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list li {
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.4;
    transition: transform 0.3s ease;
}

.product-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.product-list li:hover {
    transform: translateX(5px);
}

.product-list li:hover:before {
    color: #fff;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-section {
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/files/120706/square-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-section .section-title,
.about-section .section-subtitle {
    color: #1a1a1a;
}

.about-section .section-subtitle {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000;
    max-width: 1200px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.btn-about {
    background-color: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Work Sans', sans-serif;
}

.btn-about:hover,
.btn-about:focus {
    background-color: rgb(0, 27, 104);
    border-color: rgb(0, 27, 104);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services-section {
    background-color: #f8f9fa;
    padding: 0;
    position: relative;
}

.services-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0;
    position: relative;
    padding: 0;
}

.services-image {
    flex: 1;
    height: 41em;
    background: url('/files/120706/services-home.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}
.services-image-overlay {
        z-index: 10;
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 60px;
        background-color: rgb(0, 27, 104);
        width: 60%;
    }

    .services-image-overlay p {
        font-size: 1.25rem;
    }

    .services-image-overlay h2 {
        font-size: 3rem;
    }
.services-content {
    flex: 1;
    padding: 60px;
    background-color: rgb(0, 27, 104);
    position: relative;
    margin-top: -50px;
    margin-bottom: -50px;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    margin-top: 2rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-item {
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif;
    position: relative;
}

.service-item:nth-child(1),
.service-item:nth-child(4),
.service-item:nth-child(5) {
    background-color: rgb(17, 51, 150);
}

.service-item:nth-child(2),
.service-item:nth-child(3),
.service-item:nth-child(6) {
    background-color: rgb(27, 26, 26);
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-item:hover::after {
    opacity: 1;
}

/* ==========================================
   QUOTE SECTION
   ========================================== */

.quote-section {
    background: linear-gradient(90deg, #1B1A1A 0%, #001B68 100%);
    padding: 120px 0;
    text-align: center;
}

.quote-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 600;
    font-style: italic;
}

.quote-text::before {
    content: '"';
    font-size: 4rem;
    display: block;
    margin-bottom: -20px;
    opacity: 0.5;
}

/* ==========================================
   NEWS SECTION
   ========================================== */

.news-section {
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/files/120706/left-square-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.news-section .container {
    position: relative;
    z-index: 1;
}

.news-section .section-title,
.news-section .section-subtitle {
    text-align: center;
    color: #1a1a1a;
}

.news-section .section-subtitle {
    margin-bottom: 3rem;
}

.news-card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-card-body {
    padding: 2rem;
}

.news-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: 'Work Sans', sans-serif;
}

.news-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.news-link {
    color: rgb(0, 27, 104);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif;
}

.news-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ==========================================
   CONTACT CTA SECTION
   ========================================== */

.contact-cta-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('/files/120706/home-cta.jpg');
    background-size: cover;
    background-position: top;
}

.contact-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-cta-title {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: 'Work Sans', sans-serif;
}

.contact-cta-subtitle {
    font-size: 66px;
    color: #fff;
    margin-bottom: 2.5rem;
    line-height: 1.1;
}

.btn-contact-cta {
    background-color: #fff;
    color: #1a1a1a;
    border: 2px solid #fff;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Work Sans', sans-serif;
}

.btn-contact-cta:hover,
.btn-contact-cta:focus {
    background-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.page-hero {
            position: relative;
            height: 70vh;
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('/files/120706/services-hero.jpg');
            background-size: cover;
            background-position: top;
            text-align: center;
        }

        .page-hero-content {
            padding: 0 20px;
            max-width: 900px;
            margin: 0 auto;
        }

        .page-hero h1 {
            color: #fff;
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 2rem;
            letter-spacing: -0.5px;
        }

        .hero-divider {
            width: 48px;
            height: 28px;
            margin: 0 auto;
            opacity: 0.8;
            transform: rotate(180deg);
            /* Flips the SVG to point down */
            animation: float 3s ease-in-out infinite;
        }

        .hero-divider svg {
            fill: #fff;
        }

        @keyframes float {

            0%,
            100% {
                transform: rotate(180deg) translateY(0);
            }

            50% {
                transform: rotate(180deg) translateY(-10px);
            }
        }
/* ==========================================
           INTRODUCTION SECTION
           ========================================== */

        .intro-section {
            background-color: #fff;
            padding: 100px 0;
        }

        .intro-content {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .intro-text {
            font-size: 1.35rem;
            line-height: 1.8;
            color: #333;
            font-weight: 300;
            letter-spacing: 0.3px;
        }

        /* ==========================================
   SERVICES DETAIL SECTION
   ========================================== */

        .services-detail {
            background-color: #f8f9fa;
            padding: 80px 0;
        }

        .service-card-detail {
            background: #fff;
            padding: 3rem;
            margin-bottom: 2rem;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            height: 100%;
            /* Ensure card takes full height of column */
            display: flex;
            flex-direction: column;
        }

        .service-card-detail:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        }

        .service-card-detail h3 {
            color: rgb(0, 27, 104);
            font-size: 2rem;
            margin-bottom: 1.5rem;
            /* Ensure consistent spacing */
            min-height: 2.5rem;
        }

        .service-card-detail p {
            color: #666;
            font-size: 1.1rem;
            line-height: 1.8;
            flex-grow: 1;
        }

        .services-detail .row {
            display: flex;
            flex-wrap: wrap;
        }

        .services-detail .col-lg-6 {
            display: flex;
            margin-bottom: 2rem;
        }

        .service-card-detail {
            min-height: 320px;
        }

        @media (max-width: 991px) {
            .services-detail .col-lg-6 {
                display: block;
            }

            .service-card-detail {
                min-height: auto;
            }
        }

        @media (max-width: 768px) {
            .service-card-detail {
                padding: 2rem;
            }

            .service-card-detail h3 {
                font-size: 1.5rem;
                min-height: auto;
            }
        }
/* ==========================================
           VIDEO SECTION
           ========================================== */

    .video-section {
        background: linear-gradient(90deg, #1B1A1A 0%, #001B68 100%);
        padding: 100px 0;
    }

    .video-item {
        margin-bottom: 80px;
    }

    .video-item:last-child {
        margin-bottom: 0;
    }

    /* Alternate layout for even items */
    .video-item:nth-child(even) .video-content {
        order: 2;
    }

    .video-item:nth-child(even) .video-wrapper {
        order: 1;
    }

    .video-title {
        color: #fff;
        font-size: clamp(1.75rem, 3vw, 2.5rem);
        line-height: 1.3;
        margin-bottom: 2rem;
    }

    .video-content {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
    }

    .video-wrapper {
        padding: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .video-container {
        position: relative;
        width: 100%;
        max-width: 600px;
        background: #000;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    }

    video {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        border: solid 2px #fff;
    }

    /* Video controls styling */
    video::-webkit-media-controls {
        z-index: 2;
    }

    /* Number indicator */
    .video-number {
        display: inline-block;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        text-align: center;
        line-height: 36px;
        color: #fff;
        font-weight: 500;
        margin-bottom: 1rem;
        font-family: 'Work Sans', sans-serif;
    }

    .team-section {
        position: relative;
        padding: 80px 0;
        overflow: hidden;
        background: linear-gradient(rgb(0, 27, 104), rgb(0, 27, 104)), url(/files/120706/left-square-bg.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .team-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/files/120706/left-square-bg.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 0.1;
        z-index: 0;
    }
 /* ==========================================
   TEAM SECTION STYLES - UPDATED
   ========================================== */

    .team-section {
        padding: 80px 0;
        background-color: #f8f9fa;
    }

    .team-member {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        cursor: pointer;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* Align content to top */
    }

    .team-member:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .team-image {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .team-image img {
        width: 300px;
        height: 300px;
        object-fit: cover;
        object-position: top center;
        border: 4px solid #fff;
        display: block;
    }

    .team-info {
        padding: 1.5rem;
        text-align: center;
        background: rgb(0, 0, 0);
        color: #fff;
        width: 100%;
        margin-top: auto;
    }

    .team-info h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: #fff;
    }

    .team-info p {
        font-size: 1rem;
        margin-bottom: 1rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 300;
    }

    .view-profile {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 400;
        transition: color 0.3s ease;
    }

    .team-member:hover .view-profile {
        color: #fff;
    }

    .modal-content {
        background-color: rgb(0, 27, 104);
    }

    .modal-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        border: 4px solid #fff;
        border-radius: 4px;
        margin-bottom: 1.5rem;
    }
 /* ==========================================
   NEWS SECTION
   ========================================== */
    .news-section {
        position: relative;
        padding: 80px 0;
        overflow: hidden;
        /* Background image with gradient overlay */
        background: linear-gradient(rgb(0, 27, 104), rgb(0, 27, 104)), url(/files/120706/left-square-bg.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    /* Ensure content stays above overlay */
    .news-content {
        position: relative;
        z-index: 1;
    }

    .article-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Card link styles */
    .card-link {
        text-decoration: none;
        color: inherit;
        display: block;
        width: 70%;
        margin: 0 auto;
        transition: transform 0.3s ease;
    }

    .card-link:hover {
        transform: translateY(-5px);
    }

    .article-container .card {
        width: 100%;
        background-color: #fff;
        transition: box-shadow 0.3s ease;
    }

    .card-link:hover .card {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

    .news-article {
        display: flex;
        background-color: #fff;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: center;
        align-items: flex-start;
        padding: 2em;
        height: 340px;
        text-align: start;
    }

    .card-title {
        color: #1a1a1a;
        transition: color 0.3s ease;
    }

    .card-link:hover .card-title {
        color: rgb(0, 27, 104);
    }

    .card-text {
        color: #000;
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
        .card-link {
            width: 90%;
        }

        .news-article {
            height: auto;
            min-height: 200px;
        }
    }

    @media (max-width: 575px) {
        .card-link {
            width: 95%;
        }

        .col-6 {
            width: 100%;
        }

        .news-article {
            padding: 1.5em;
        }
    }

    .card-link+.card-link {
        margin-left: auto;
    }

    @keyframes float {

        0%,
        100% {
            transform: rotate(180deg) translateY(0);
        }

        50% {
            transform: rotate(180deg) translateY(-10px);
        }
    }
  /* ==========================================
   CONTACT SECTION
   ========================================== */
    .contact-section {
        position: relative;
        padding: 80px 0;
        overflow: hidden;
        background: linear-gradient(rgb(0, 27, 104), rgb(0, 27, 104));
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .contact-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/files/120706/left-square-bg.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 0.1;
        z-index: 0;
    }

    /* Ensure content stays above overlay */
    .contact-content {
        position: relative;
        z-index: 1;
    }

    /* ==========================================
   CONTACT FORM STYLES
   ========================================== */

    .contact-form {
        background-color: transparent;
        border: 2px solid #fff;
        border-radius: 8px;
        padding: 2.5rem;
    }

    .form-group {
        position: relative;
    }

    .form-label {
        color: #fff;
        font-size: 1rem;
        font-weight: 400;
        margin-bottom: 0.5rem;
        display: block;
        font-family: 'Work Sans', sans-serif;
    }

    .required {
        color: #ff6b6b;
        margin-left: 4px;
    }

    .form-control {
        background-color: rgba(255, 255, 255, 1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 4px;
        color: #fff;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        width: 100%;
        transition: all 0.3s ease;
        font-family: 'Work Sans', sans-serif;
    }

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .form-control:focus {
        background-color: rgba(255, 255, 255, 0.3);
        border-color: #fff;
        outline: 3px solid rgba(255, 255, 255, 0.3);
        outline-offset: 2px;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    }

    /* Ensure text remains white when autofilled */
    .form-control:-webkit-autofill,
    .form-control:-webkit-autofill:hover,
    .form-control:-webkit-autofill:focus {
        -webkit-text-fill-color: #fff;
        -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.1) inset;
        transition: background-color 5000s ease-in-out 0s;
    }

    textarea.form-control {
        resize: vertical;
        min-height: 120px;
    }

    /* Help text and error messages */
    .help-text {
        display: block;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 1);
        margin-top: 0.25rem;
        font-family: 'Work Sans', sans-serif;
    }

    .error-message {
        display: none;
        font-size: 0.875rem;
        color: #ff6b6b;
        margin-top: 0.25rem;
        font-family: 'Work Sans', sans-serif;
    }

    .error-message.show {
        display: block;
    }

    .form-control.error {
        border-color: #ff6b6b;
    }

    /* Submit button */
    .btn-submit {
        background-color: #fff;
        color: rgb(0, 27, 104);
        border: 2px solid #fff;
        padding: 0.75rem 2.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Work Sans', sans-serif;
        margin-top: 1rem;
    }

    .btn-submit:hover {
        background-color: transparent;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .btn-submit:focus {
        outline: 3px solid #fff;
        outline-offset: 2px;
    }

    .btn-submit:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    /* Contact info styles */
    .section-title {
        font-size: 0.875rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 1rem;
        font-family: 'Work Sans', sans-serif;
        font-weight: 400;
    }

    .section-subtitle {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .contact-links {
        margin-top: 2rem;
    }

    .contact-links a {
        color: #fff;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

    .contact-links a:hover {
        opacity: 0.8;
        text-decoration: underline;
    }

    hr {
        border-color: rgb(255, 255, 255);
        margin: 2rem 0;
        opacity: 1;
    }

#footer {
        background-color: black;
    }

    .custom-footer {
        background-color: black;
        color: #fff;
    }

    .custom-footer p,
    .custom-footer a {
        color: #fff !important;
    }

    .broker-check-container {
        display: none !important;
    }

    .footer-nav .navbar-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-content: center;
        height: 100%;
    }

    .footer-nav .navbar-nav .nav-link {
        margin: 1em;
    }
/* ==========================================
   MEDIA QUERIES
   ========================================== */

/* Tablet - Large */
@media (max-width: 1199px) {
    .services-content {
        padding: 50px;
        margin-left: -30px;
    }
}

/* Tablet - Medium */
@media (max-width: 991px) {
    /* Navigation */
    .navbar-transparent {
        background-color: rgba(0, 0, 0, 0.25);
        padding: 1rem 0;
    }

    .navbar-brand img {
        height: 75px;
    }

    .navbar-collapse {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav {
        align-items: flex-start;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }

    .btn-contact {
        margin-top: 1rem;
        display: inline-block;
    }

    .navbar-toggler {
        position: relative;
    }
.team-image {
            height: 250px;
        }

        .team-image img {
            width: 250px;
            height: 250px;
        }
    /* Hero */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .product-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 3rem;
        max-width: 100%;
    }

    /* Services */
    .services-container {
        flex-direction: column;
        align-items: stretch;
    }

    .services-image {
        width: 100%;
        height: 400px;
        margin-bottom: -50px;
    }

    .services-content {
        margin-left: 0;
        margin-top: 0;
        min-height: auto;
        padding: 60px 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
    } /* Video section responsive */
        .video-item:nth-child(even) .video-content,
        .video-item:nth-child(even) .video-wrapper {
            order: unset;
        }

        .video-title {
            padding-right: 0;
            text-align: center;
            margin-bottom: 2rem;
        }

        .video-content,
        .video-wrapper {
            padding: 1rem;
        }

        .video-item {
            margin-bottom: 60px;
        }
}
/* High contrast mode support */
    @media (prefers-contrast: high) {
        .form-control {
            background-color: rgba(0, 0, 0, 0.5);
            border: 2px solid #fff;
        }

        .form-control:focus {
            outline: 4px solid #fff;
        }
    }
    /* Reduced motion support */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
        }
    }

    @keyframes float {

        0%,
        100% {
            transform: rotate(180deg) translateY(0);
        }

        50% {
            transform: rotate(180deg) translateY(-10px);
        }
    }

/* Mobile - Large */
@media (max-width: 768px) {.contact-form {
            padding: 1.5rem;
            margin-top: 3rem;
        }

        .section-subtitle {
            font-size: 2rem;
        } .card-link {
            width: 90%;
        }

        .news-article {
            height: auto;
            min-height: 200px;
        }
    /* Base */
    section {
        padding: 60px 0;
    }

    .section-subtitle {
        font-size: 1.75rem;
    }
 .team-section {
            padding: 60px 0;
        }

        .team-image {
            height: 300px;
        }

        .team-image img {
            width: 100%;
            max-width: 300px;
            height: 300px;
        }

        .modal-body .row {
            flex-direction: column;
        }

        .modal-image {
            margin: 0 auto 1.5rem;
        }

        .modal-bio {
            max-height: 300px;
        }
    /* Video Controls */
    .video-controls {
        bottom: 10px;
        left: 10px;
        padding: 6px 12px;
    }

    .btn-video-control {
        width: 35px;
        height: 35px;
    }

    .control-label {
        font-size: 0.8rem;
    }

    /* Quote */
    .quote-text {
        font-size: 1.5rem;
    }

    /* Services */
    .services-section {
        padding: 60px 0;
    }

    .services-content {
        padding: 40px 20px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .service-item {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }

    .services-image {
        height: 300px;
        border-radius: 0;
    }.video-section {
            padding: 60px 0;
        }

        .video-title {
            font-size: 1.5rem;
        }
     .page-hero {
                height: 50vh;
                min-height: 350px;
            }

            .page-hero h1 {
                font-size: 2rem;
            }

            .intro-text {
                font-size: 1.1rem;
            }

            .service-card-detail {
                padding: 2rem;
            }

            .service-card-detail h3 {
                font-size: 1.5rem;
            }
}

/* Mobile - Small */
@media (max-width: 575px) { .card-link {
            width: 95%;
        }

        .col-6 {
            width: 100%;
        }

        .news-article {
            padding: 1.5em;
        }.team-info h3 {
            font-size: 1.25rem;
        }

        .team-info p {
            font-size: 0.9rem;
        }
    .navbar-brand img {
        height: 120px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
.page-hero {
                height: 40vh;
                min-height: 300px;
            }
    .product-box {
        margin: 2rem -15px 0;
        border-radius: 0;
    }
}

/* Accessibility - High Contrast */
@media (prefers-contrast: high) {
    .hero-section {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                    url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    }

    .product-box {
        background-color: #001b68c9;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-video {
        display: none;
    }

    .hero-section {
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                    url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
        background-size: cover;
        background-position: center;
    }

    .video-controls {
        display: none;
    }
}