:root {
    --fsa-blue: #003580;
    --fsa-red: #c8102e;
    --fsa-dark: #0a1628;
    --fsa-light: #f4f7fc;
    --fsa-gray: #6c757d;
    --fsa-border: #e0e7f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
}

/* ===== TOP BAR ===== */
.topbar {
    background: var(--fsa-dark);
    color: #cdd5e0;
    font-size: 0.82rem;
    padding: 6px 0;
}

.topbar a {
    color: #cdd5e0;
    text-decoration: none;
    margin-left: 14px;
    transition: color .2s;
}

.topbar a:hover {
    color: #fff;
}

.topbar .social-icons a {
    font-size: 1rem;
    margin-left: 10px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .09);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-brand img {
    height: 52px;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    color: #222 !important;
    padding: 22px 14px !important;
    letter-spacing: .3px;
    transition: color .2s;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover {
    color: var(--fsa-red) !important;
}

.navbar-nav .nav-link.active {
    color: var(--fsa-red) !important;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
    border-top: 3px solid var(--fsa-red);
    border-radius: 0 0 6px 6px;
    min-width: 260px;
}

.navbar .dropdown-item {
    font-size: .85rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 9px 20px;
    color: #333;
    transition: background .2s, color .2s;
}

.navbar .dropdown-item:hover {
    background: var(--fsa-red);
    color: #fff;
}

.btn-quote {
    background: var(--fsa-red);
    color: white !important;
    text-decoration: none;
    border-radius: 3px;
    padding: 10px 20px !important;
    font-size: .82rem !important;
    margin-left: 10px;
    transition: background .2s;
}

.btn-quote:hover {
    background: var(--fsa-blue) !important;
}

/* ===== HERO SLIDER ===== */
#heroSlider {
    position: relative;
}

.hero-slide {
    height: 100vh;
    min-height: 580px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 20, 60, .78) 0%, rgba(0, 20, 60, .35) 70%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 620px;
}

.hero-content .eyebrow {
    display: inline-block;
    background: var(--fsa-red);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.hero-content p {
    font-size: 1.05rem;
    opacity: .92;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-content .btn-hero {
    background: var(--fsa-red);
    color: #fff;
    border: 2px solid var(--fsa-red);
    border-radius: 3px;
    padding: 13px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    letter-spacing: .5px;
    transition: all .3s;
    margin-right: 12px;
}

.hero-content .btn-hero:hover {
    background: transparent;
    border-color: #fff;
}

.hero-content .btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
    border-radius: 3px;
    padding: 13px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    transition: all .3s;
}

.hero-content .btn-hero-outline:hover {
    background: #fff;
    color: var(--fsa-blue);
}

/* Slider controls */
.carousel-control-prev,
.carousel-control-next {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, .18);
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    opacity: 1;
    transition: background .2s;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--fsa-red);
    border-color: var(--fsa-red);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    margin: 0 5px;
    opacity: 1;
}

.carousel-indicators .active {
    background: var(--fsa-red);
    border-color: var(--fsa-red);
}

/* Slide backgrounds */
.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?w=1600&q=80');
}

.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1600&q=80');
}

.slide-3 {
    background-image: url('https://images.unsplash.com/photo-1520175480921-4edfa2983e0f?w=1600&q=80');
}

/* ===== SECTION COMMONS ===== */
section {
    padding: 80px 0;
}

.section-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--fsa-red);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--fsa-dark);
    line-height: 1.25;
}

.section-title span {
    color: var(--fsa-red);
}

.divider-red {
    width: 50px;
    height: 3px;
    background: var(--fsa-red);
    margin: 14px 0 20px;
    border-radius: 2px;
}

.btn-primary-fsa {
    background: var(--fsa-red);
    color: #fff;
    border: 2px solid var(--fsa-red);
    border-radius: 3px;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: all .3s;
    display: inline-block;
}

.btn-primary-fsa:hover {
    background: var(--fsa-blue);
    border-color: var(--fsa-blue);
    color: #fff;
}

.btn-outline-fsa {
    background: transparent;
    color: var(--fsa-blue);
    border: 2px solid var(--fsa-blue);
    border-radius: 3px;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: all .3s;
    display: inline-block;
}

.btn-outline-fsa:hover {
    background: var(--fsa-blue);
    color: #fff;
}

/* ===== ABOUT SECTION ===== */
#about {
    background: #fff;
}

.about-mission-cards {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
}

.mission-card {
    flex: 1;
    background: var(--fsa-light);
    border-left: 3px solid var(--fsa-red);
    border-radius: 4px;
    padding: 18px 14px;
    text-align: center;
}

.mission-card i {
    font-size: 1.8rem;
    color: var(--fsa-red);
    margin-bottom: 8px;
    display: block;
}

.mission-card h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    color: var(--fsa-dark);
    margin: 0;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    width: 100%;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--fsa-red);
    color: #fff;
    border-radius: 6px;
    padding: 18px 22px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(200, 16, 46, .3);
}

.about-badge .num {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.about-badge .lbl {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .85;
}

/* ===== SERVICES ===== */
#services {
    background: var(--fsa-light);
}

.service-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .13);
}

.service-card .img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.service-card:hover .img-wrap img {
    transform: scale(1.07);
}

.service-card .card-body {
    padding: 24px;
}

.service-card .icon-box {
    width: 52px;
    height: 52px;
    background: var(--fsa-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.service-card .icon-box i {
    color: #fff;
    font-size: 1.4rem;
}

.service-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fsa-dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: .86rem;
    color: var(--fsa-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card a {
    color: var(--fsa-red);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.service-card a:hover {
    color: var(--fsa-blue);
}

.service-card a i {
    font-size: .7rem;
    margin-left: 4px;
}

/* ===== BANNER CTA ===== */
#cta-banner {
    background: linear-gradient(135deg, var(--fsa-blue) 0%, #001f50 100%);
    padding: 70px 0;
    color: #fff;
    text-align: center;
}

#cta-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 14px;
}

#cta-banner p {
    opacity: .85;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 28px;
}

/* ===== STATS ===== */
#stats {
    background: var(--fsa-red);
    padding: 60px 0;
    color: #fff;
}

.stat-item {
    text-align: center;
}

.stat-item .num {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.stat-item .lbl {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .85;
    margin-top: 6px;
}

.stat-item i {
    font-size: 2rem;
    opacity: .5;
    margin-bottom: 10px;
    display: block;
}

.stats-divider {
    width: 1px;
    background: rgba(255, 255, 255, .25);
    height: 60px;
    margin: auto;
}

/* ===== WHY CHOOSE US ===== */
#why {
    background: #fff;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: .92rem;
    color: #444;
}

.why-list li i {
    color: var(--fsa-red);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-form-card {
    background: var(--fsa-light);
    border-radius: 8px;
    padding: 36px 32px;
    border-top: 4px solid var(--fsa-red);
}

.contact-form-card h4 {
    font-weight: 700;
    color: var(--fsa-dark);
    margin-bottom: 22px;
    font-size: 1.1rem;
}

.contact-form-card .form-control {
    border: 1.5px solid var(--fsa-border);
    border-radius: 4px;
    padding: 11px 14px;
    font-size: .88rem;
    margin-bottom: 14px;
    transition: border-color .2s;
}

.contact-form-card .form-control:focus {
    border-color: var(--fsa-red);
    box-shadow: none;
}

.contact-form-card textarea {
    height: 110px;
    resize: none;
}

/* ===== MEMBERSHIPS ===== */
#memberships {
    background: var(--fsa-light);
    padding: 60px 0;
}

.membership-track {
    display: flex;
    gap: 36px;
    animation: scrollTrack 22s linear infinite;
    width: max-content;
}

#memberships .track-wrap {
    overflow: hidden;
}

@keyframes scrollTrack {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.membership-track img {
    height: 58px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .65;
    transition: filter .3s, opacity .3s;
}

.membership-track img:hover {
    filter: none;
    opacity: 1;
}

/* ===== INNER PAGE HEROES ===== */
.page-hero {
    height: 260px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 20, 60, .82) 0%, rgba(0, 20, 60, .5) 100%);
}

.page-hero .content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-size: .82rem;
}

.breadcrumb-item.active {
    color: var(--fsa-red);
    font-size: .82rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .4);
}

/* ===== SERVICE INNER PAGE ===== */
.service-detail {
    padding: 70px 0;
}

.service-detail-img img {
    border-radius: 6px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .1);
}

.service-sidebar {
    background: var(--fsa-light);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--fsa-border);
}

.service-sidebar .sidebar-title {
    background: var(--fsa-blue);
    color: #fff;
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-sidebar ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.service-sidebar ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    color: #333;
    text-decoration: none;
    font-size: .88rem;
    border-bottom: 1px solid var(--fsa-border);
    transition: background .2s, color .2s;
}

.service-sidebar ul li a:hover,
.service-sidebar ul li a.active {
    background: var(--fsa-red);
    color: #fff;
}

.service-sidebar ul li:last-child a {
    border-bottom: none;
}

/* ===== ABOUT PAGE ===== */
.team-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
    overflow: hidden;
    text-align: center;
    transition: transform .3s;
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-card .img-wrap {
    height: 200px;
    background: var(--fsa-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card .img-wrap i {
    font-size: 5rem;
    color: #c0cad8;
}

.team-card .card-body {
    padding: 20px;
}

.team-card h6 {
    font-weight: 700;
    color: var(--fsa-dark);
    margin-bottom: 4px;
}

.team-card small {
    color: var(--fsa-red);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
    background: var(--fsa-dark);
    border-radius: 8px;
    padding: 36px 28px;
    color: #fff;
    height: 100%;
}

.contact-info-card h4 {
    font-weight: 700;
    margin-bottom: 28px;
    color: #fff;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.contact-info-item .icon-wrap {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item .icon-wrap i {
    color: var(--fsa-red);
    font-size: 1.1rem;
}

.contact-info-item h6 {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .6;
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: .9rem;
    margin: 0;
    opacity: .9;
}

/* ===== GLOBAL NETWORK ===== */
.network-map {
    background: var(--fsa-light);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.network-map img {
    width: 100%;
    border-radius: 4px;
}

.region-card {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    border-left: 4px solid var(--fsa-red);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    height: 100%;
}

.region-card h6 {
    font-weight: 700;
    color: var(--fsa-dark);
    margin-bottom: 8px;
    font-size: .9rem;
}

.region-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.region-card ul li {
    font-size: .82rem;
    color: var(--fsa-gray);
    padding: 3px 0;
}

.region-card ul li::before {
    content: '›';
    color: var(--fsa-red);
    margin-right: 6px;
    font-weight: 700;
}

/* ===== FOOTER ===== */
footer {
    background: var(--fsa-dark);
    color: #9aafc4;
}

.footer-top {
    padding: 60px 0 30px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer-top p {
    font-size: .86rem;
    line-height: 1.8;
    opacity: .7;
    max-width: 280px;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, .1);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #9aafc4;
    text-decoration: none;
    font-size: .86rem;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--fsa-red);
    font-weight: 700;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: .86rem;
}

.footer-contact-item i {
    color: var(--fsa-red);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: #9aafc4;
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: #fff;
}

.footer-bottom {
    background: rgba(0, 0, 0, .25);
    padding: 18px 0;
    font-size: .82rem;
}

.footer-bottom .social-links a {
    color: #9aafc4;
    font-size: 1.1rem;
    margin-left: 14px;
    transition: color .2s;
}

.footer-bottom .social-links a:hover {
    color: var(--fsa-red);
}

/* ===== BACK TO TOP ===== */
#backToTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--fsa-red);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(200, 16, 46, .3);
}

#backToTop.show {
    opacity: 1;
    pointer-events: all;
}

#backToTop:hover {
    background: var(--fsa-blue);
}

/* ===== PAGE SECTIONS ===== */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* ===== QUOTE PAGE ===== */
.quote-form-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, .08);
    border-top: 4px solid var(--fsa-red);
}

.quote-form-wrap label {
    font-size: .84rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}

.quote-form-wrap .form-control,
.quote-form-wrap .form-select {
    border: 1.5px solid var(--fsa-border);
    border-radius: 4px;
    font-size: .88rem;
    padding: 11px 14px;
}

.quote-form-wrap .form-control:focus,
.quote-form-wrap .form-select:focus {
    border-color: var(--fsa-red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 12px 14px !important;
    }

    .hero-slide {
        height: 70vh;
        min-height: 460px;
    }

    .about-badge {
        display: none;
    }

    .about-mission-cards {
        flex-direction: column;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .hero-slide {
        height: 60vh;
    }

    .stats-divider {
        display: none;
    }

    .topbar .d-none-sm {
        display: none !important;
    }
}

/* ===========================
   MOBILE HERO RESPONSIVE
=========================== */

@media (max-width: 767px) {

    /* Hide Slider Arrows */
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    /* Hero Content */
    .hero-content {
        max-width: 100%;
        text-align: left;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    /* Buttons */
    .hero-content .btn-hero,
    .hero-content .btn-hero-outline {
        display: inline-block;
        padding: 10px 18px;
        font-size: 13px;
        margin: 5px;
    }

    .hero-slide {
        min-height: 500px;
        height: 75vh;
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 23px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-content .btn-hero,
    .hero-content .btn-hero-outline {
        padding: 8px 14px;
        font-size: 12px;
    }
}