
/* =========================================
   1. ROOT VARIABLES
========================================= */

:root {
    --navy: #12324a;
    --teal: #148477;
    --gold: #f2b544;
    --ink: #263746;
    --muted: #687985;
    --pale: #f3f8f7;
}


/* =========================================
   2. GLOBAL STYLES
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    line-height: 1.7;
    background: #fff;
}

a {
    color: var(--teal);
    text-decoration: none;
}

a:hover {
    color: var(--navy);
    text-decoration: none;
}

.container {
    width: min(1160px, 92%);
    margin: auto;
}


/* =========================================
   3. TOP LINE
========================================= */

.topline {
    background: var(--navy);
    color: #eaf2f5;
    padding: 7px 0;
    font-size: 13px;
}


/* =========================================
   4. HEADER AND NAVIGATION
========================================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 3px 16px #102c3d12;
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: var(--teal);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 18px;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navlinks a {
    font-size: 14px;
    font-weight: 700;
    color: #344b59;
}

.navlinks a.active,
.navlinks a:hover {
    color: var(--teal);
}

.menu-btn {
    display: none;
    background: var(--navy);
    color: #fff;
    border: 0;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 20px;
    cursor: pointer;
}

.support-btn {
    margin: 0 !important;
    padding: 9px 14px !important;
}


/* =========================================
   5. HERO SECTION
========================================= */

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(9, 39, 57, .88),
            rgba(9, 39, 57, .42)
        ),
        url('../images/hero_1.jpg') center/cover;

    color: white;
    padding: 105px 0 100px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
    max-width: 760px;
    margin: 0 0 20px;
}

.hero p {
    font-size: 18px;
    max-width: 690px;
    color: #edf4f5;
}


/* =========================================
   6. BUTTONS
========================================= */

.btn {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 700;
    margin: 8px 8px 0 0;
    transition: 0.3s;
}

.btn:hover {
    background: #0e6b61;
    color: #fff;
}

.btn.outline {
    background: transparent;
    border: 1px solid #fff;
}


/* =========================================
   7. SECTION STYLES
========================================= */

.section {
    padding: 68px 0;
}

.section.soft {
    background: var(--pale);
}

.section h2 {
    font-size: clamp(26px, 3vw, 36px);
    color: var(--navy);
    line-height: 1.2;
    margin: 8px 0 18px;
}

.lead {
    font-size: 18px;
    color: #526774;
    max-width: 850px;
}

.eyebrow {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
}


/* =========================================
   8. GRID LAYOUT
========================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.grid.four {
    grid-template-columns: repeat(4, 1fr);
}


/* =========================================
   9. CARDS
========================================= */

.card {
    border: 1px solid #e4eceb;
    border-radius: 8px;
    padding: 25px;
    background: #fff;
    box-shadow: 0 8px 24px #1737470a;
}

.card h3 {
    color: var(--navy);
    font-size: 19px;
    margin: 0 0 10px;
}

.number {
    font-size: 28px;
    color: var(--teal);
    font-weight: 800;
}


/* =========================================
   10. PAGE HERO
========================================= */

.page-hero {
    background:
        linear-gradient(90deg, #12324aee, #12324a99),
        url('../images/hero_.jpeg') center/cover;

    color: #fff;
    padding: 58px 0;
}

.page-hero h1 {
    font-size: 42px;
    margin: 0 0 8px;
}

.page-hero p {
    margin: 0;
    color: #e4eff2;
}


/* =========================================
   11. LISTS AND TAGS
========================================= */

ul.clean {
    padding-left: 20px;
}

ul.clean li {
    margin: 7px 0;
}

.tag {
    display: inline-block;
    background: #e6f3f1;
    color: #0b6b60;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin: 3px;
}


/* =========================================
   12. TABLE
========================================= */

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    padding: 13px;
    border: 1px solid #dce6e7;
    text-align: left;
}

th {
    background: var(--navy);
    color: #fff;
}


/* =========================================
   13. TEAM AND GALLERY
========================================= */

.team-card {
    text-align: center;
}

.team-card img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 7px;
}


/* =========================================
   14. NOTICE
========================================= */

.notice {
    background: #fff8e9;
    border-left: 4px solid var(--gold);
    padding: 15px 18px;
    border-radius: 4px;
}


/* =========================================
   15. FOOTER
========================================= */

footer {
    background: #102d41;
    color: #dbe7eb;
    padding: 48px 0 20px;
}

footer h3 {
    color: white;
    font-size: 18px;
}

footer a {
    color: #c8e7e2;
}

footer .footgrid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.copyright {
    border-top: 1px solid #ffffff22;
    margin-top: 30px;
    padding-top: 16px;
    font-size: 13px;
    color: #aebfc6;
}


/* =========================================
   16. RESPONSIVE - TABLET
========================================= */

@media (max-width: 950px) {

    .navlinks {
        gap: 11px;
    }

    .navlinks a {
        font-size: 12px;
    }

    .grid.four {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   17. RESPONSIVE - MOBILE
========================================= */

@media (max-width: 760px) {

    .navbar {
        min-height: 66px;
    }

    .menu-btn {
        display: block;
    }

    .navlinks {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: white;
        padding: 16px 5%;
        box-shadow: 0 8px 12px #0001;
        flex-direction: column;
        align-items: flex-start;
    }

    .navlinks.open {
        display: flex;
    }

    .navlinks a {
        font-size: 15px;
    }

    .hero {
        padding: 75px 0;
    }

    .grid,
    .grid.two,
    .grid.four {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    footer .footgrid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   18. RESPONSIVE - SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .brand {
        font-size: 17px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

}



/* HERO IMAGE SLIDER */

.hero-slider {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    background: #12324a;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 30, 45, 0.85),
        rgba(10, 30, 45, 0.35)
    );
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 650px;
    color: #fff;
}

.hero-overlay .eyebrow {
    color: #f2b544;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-overlay h1 {
    color: #fff;
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-overlay p {
    color: #fff;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    border: none;
    background: rgba(255,255,255,0.25);
    color: #fff;
    font-size: 25px;
    padding: 12px 17px;
    cursor: pointer;
    border-radius: 4px;
}

.hero-arrow:hover {
    background: #148477;
}

.hero-arrow.prev {
    left: 20px;
}

.hero-arrow.next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
}

.hero-dot.active {
    background: #f2b544;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    .hero-slider {
        height: 450px;
    }

    .hero-overlay {
        left: 8%;
        right: 8%;
    }

    .hero-overlay h1 {
        font-size: 30px;
    }

    .hero-overlay p {
        font-size: 15px;
    }

    .hero-arrow {
        font-size: 18px;
        padding: 8px 12px;
    }

}
