/* =========================================================
   GRANTCONNECT
   COMPLETE MAIN STYLESHEET
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

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

:root {
    --primary: #123b6d;
    --primary-dark: #0a294b;
    --accent: #d5a63a;

    --text: #182333;
    --muted: #687386;

    --light: #f5f8fc;
    --white: #ffffff;

    --border: #e3e9f1;

    --shadow:
        0 18px 45px rgba(18, 59, 109, 0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background: var(--white);

    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.97);

    border-bottom:
        1px solid var(--border);

    backdrop-filter:
        blur(12px);
}

.nav-container {
    width: min(1180px, 92%);
    min-height: 76px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-size: 21px;
    font-weight: 800;
}

.logo-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    color: var(--white);
    background: var(--primary);

    border-radius: 10px;

    font-weight: 800;
}

nav {
    display: flex;
    align-items: center;

    gap: 27px;
}

nav a {
    color: #526071;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

nav .nav-button {
    padding: 11px 19px;

    color: var(--white);
    background: var(--primary);

    border-radius: 8px;
}

nav .nav-button:hover {
    color: var(--white);
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    color: var(--primary);

    font-size: 28px;

    cursor: pointer;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    min-height: 48px;

    padding:
        0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border 0.25s ease;
}

.btn-primary {
    color: var(--white);
    background: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);

    transform:
        translateY(-2px);
}

.btn-outline {
    color: var(--primary);

    background: var(--white);

    border:
        1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
}

.btn-light {
    color: var(--primary);
    background: var(--white);
}

.btn-light:hover {
    transform:
        translateY(-2px);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    width: min(1180px, 92%);
    min-height: 600px;

    margin: auto;

    display: grid;
    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;
}

.hero-content {
    padding:
        60px 0;
}

.eyebrow,
.section-label {
    display: inline-block;

    color: var(--accent);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.hero h1 {
    max-width: 650px;

    margin:
        17px 0;

    color: var(--text);

    font-size:
        clamp(42px, 5vw, 66px);

    line-height: 1.06;

    letter-spacing:
        -2.5px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 570px;

    color: var(--muted);

    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: 30px;
}

.hero-image {
    height: 500px;

    overflow: hidden;

    border-radius: 22px;

    box-shadow:
        var(--shadow);
}

.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.hero-image:hover img {
    transform:
        scale(1.03);
}


/* =========================================================
   STATISTICS
   ========================================================= */

.stats-section {
    padding:
        45px 5%
        35px;

    background:
        var(--primary);
}

.stats-container {
    width: min(1050px, 100%);

    margin: auto;

    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.stat {
    text-align: center;

    color: var(--white);
}

.stat strong {
    display: block;

    font-size: 31px;
    line-height: 1.2;
}

.stat span {
    display: block;

    margin-top: 6px;

    color: #cbd9e9;

    font-size: 13px;
}

.demo-note {
    margin-top: 18px;

    color: #8795a7;

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   FEATURE SECTIONS
   ========================================================= */

.feature-section {
    width: min(1120px, 92%);

    margin:
        110px auto;

    display: grid;
    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.feature-section.reverse
.feature-image {
    order: 2;
}

.feature-section.reverse
.feature-content {
    order: 1;
}

.feature-image {
    height: 440px;

    overflow: hidden;

    border-radius: 18px;

    box-shadow:
        var(--shadow);
}

.feature-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.feature-image:hover img {
    transform:
        scale(1.04);
}

.feature-content h2 {
    margin:
        12px 0
        17px;

    font-size:
        clamp(31px, 4vw, 46px);

    line-height: 1.12;

    letter-spacing:
        -1.2px;
}

.feature-content p {
    color: var(--muted);

    font-size: 16px;
}

.check-list {
    margin:
        23px 0;

    list-style: none;
}

.check-list li {
    margin:
        10px 0;

    color: #4c596a;

    font-size: 14px;
}

.check-list li::before {
    content: "✓";

    width: 23px;
    height: 23px;

    margin-right: 9px;

    display: inline-grid;
    place-items: center;

    color: var(--primary);

    background:
        #e9f1fa;

    border-radius: 50%;

    font-size: 12px;
    font-weight: bold;
}

.text-link {
    display: inline-block;

    margin-top: 20px;

    color: var(--primary);

    font-size: 14px;
    font-weight: 800;

    transition:
        color 0.25s ease;
}

.text-link:hover {
    color: var(--accent);
}

.mini-card {
    display: flex;
    flex-direction: column;

    margin-top: 22px;

    padding: 18px;

    background:
        var(--light);

    border-left:
        4px solid var(--accent);

    border-radius: 8px;
}

.mini-card strong {
    font-size: 14px;
}

.mini-card span {
    margin-top: 4px;

    color: var(--muted);

    font-size: 13px;
}

.program-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 24px;
}

.program-tags span {
    padding:
        7px 12px;

    color: var(--primary);

    background:
        #edf3f9;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   ACTIVITY SECTION
   ========================================================= */

.activity-section {
    padding:
        95px 5%;

    background:
        var(--light);
}

.section-heading {
    max-width: 650px;

    margin:
        0 auto
        35px;

    text-align: center;
}

.section-heading h2 {
    margin:
        9px 0;

    font-size: 42px;

    letter-spacing:
        -1px;
}

.section-heading p {
    color: var(--muted);
}

.activity-list {
    width: min(760px, 100%);

    margin: auto;

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.activity-card {
    width: 100%;
    min-height: 78px;

    padding:
        14px 18px;

    display: flex;
    align-items: center;

    gap: 15px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        12px;

    box-shadow:
        0 7px 20px
        rgba(18, 59, 109, 0.06);

    animation:
        activityAppear
        0.45s ease both;
}

@keyframes activityAppear {

    from {
        opacity: 0;

        transform:
            translateY(10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}

.activity-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--white);

    background:
        #29945d;

    border-radius:
        50%;

    font-size: 14px;
    font-weight: 800;
}

.activity-info {
    flex: 1;

    display: flex;
    flex-direction: column;
}

.activity-info strong {
    color: var(--text);

    font-size: 14px;
}

.activity-info span {
    margin-top: 2px;

    color: var(--muted);

    font-size: 11px;
}

.activity-amount {
    text-align: right;
}

.activity-amount span {
    display: block;

    color: var(--muted);

    font-size: 10px;
}

.activity-amount strong {
    display: block;

    color: var(--primary);

    font-size: 17px;
}

.activity-note {
    max-width: 700px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   FAQ PREVIEW
   ========================================================= */

.faq-preview {
    width: min(1100px, 92%);

    margin:
        110px auto;

    display: grid;
    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.faq-text h2 {
    margin:
        10px 0;

    font-size: 42px;
}

.faq-text p {
    margin-bottom: 25px;

    color: var(--muted);
}

.faq-box {
    border-top:
        1px solid var(--border);
}

.faq-item {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid var(--border);

    font-size: 14px;
}

.faq-item span {
    color: var(--primary);

    font-size: 22px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    width: min(1180px, 92%);

    margin:
        0 auto
        90px;

    padding:
        60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    background:
        var(--primary);

    border-radius:
        20px;
}

.cta-section h2 {
    margin:
        8px 0;

    color: var(--white);

    font-size: 35px;
}

.cta-section p {
    color:
        #cbd9e9;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding:
        65px 5%
        25px;

    color:
        #c4cfdb;

    background:
        #0b1c31;
}

.footer-container {
    width: min(1100px, 100%);

    margin: auto;

    display: flex;
    justify-content: space-between;

    gap: 60px;
}

.footer-logo {
    color: var(--white);
}

.footer-brand p {
    max-width: 350px;

    margin-top: 16px;

    color: #8797aa;

    font-size: 13px;
}

.footer-links {
    display: flex;

    gap: 80px;
}

.footer-links h4 {
    margin-bottom: 13px;

    color: var(--white);

    font-size: 13px;
}

.footer-links a {
    display: block;

    margin: 8px 0;

    color: #8797aa;

    font-size: 13px;

    transition:
        color 0.25s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    width: min(1100px, 100%);

    margin:
        50px auto
        0;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: #6f7f91;

    font-size: 11px;
}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;

        top: 76px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        padding:
            20px 5%;

        background:
            var(--white);

        border-bottom:
            1px solid var(--border);

        box-shadow:
            0 15px 25px
            rgba(0, 0, 0, 0.06);
    }

    nav.show {
        display: flex;
    }

    nav a {
        padding:
            10px 0;
    }

    nav .nav-button {
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr;

        gap: 20px;

        padding:
            50px 0;
    }

    .hero-content {
        padding:
            20px 0;
    }

    .hero-image {
        height: 380px;
    }

    .stats-container {
        grid-template-columns:
            repeat(2, 1fr);

        row-gap: 30px;
    }

    .feature-section,
    .faq-preview {
        grid-template-columns: 1fr;

        gap: 40px;

        margin:
            80px auto;
    }

    .feature-section.reverse
    .feature-image {
        order: 1;
    }

    .feature-section.reverse
    .feature-content {
        order: 2;
    }

    .feature-image {
        height: 380px;
    }

    .cta-section {
        flex-direction: column;

        align-items: flex-start;

        padding:
            45px 35px;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        gap: 50px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 550px) {

    .nav-container {
        min-height: 68px;
    }

    nav {
        top: 68px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
    }

    .hero {
        min-height: auto;

        padding:
            35px 0
            55px;
    }

    .hero h1 {
        font-size: 42px;

        letter-spacing:
            -1.7px;
    }

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

    .hero-image {
        height: 290px;

        border-radius:
            15px;
    }

    .stats-section {
        padding:
            35px 5%;
    }

    .stats-container {
        grid-template-columns:
            1fr 1fr;
    }

    .stat strong {
        font-size: 24px;
    }

    .feature-section {
        margin:
            65px auto;
    }

    .feature-image {
        height: 290px;

        border-radius:
            14px;
    }

    .feature-content h2 {
        font-size: 34px;
    }

    .activity-section {
        padding:
            70px 5%;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .activity-card {
        padding:
            13px;

        gap: 10px;
    }

    .activity-icon {
        width: 35px;
        height: 35px;
    }

    .activity-info strong {
        font-size: 12px;
    }

    .activity-info span {
        font-size: 10px;
    }

    .activity-amount strong {
        font-size: 14px;
    }

    .faq-preview {
        margin:
            70px auto;
    }

    .faq-text h2 {
        font-size: 34px;
    }

    .cta-section {
        width: 92%;

        margin-bottom:
            60px;

        padding:
            35px 25px;
    }

    .cta-section h2 {
        font-size: 29px;
    }

    .footer {
        padding-top:
            50px;
    }

    .footer-links {
        gap: 35px;
    }

}