/* =========================================================
   DARWIN INSIGHT
   Main Stylesheet
   ========================================================= */

:root {
    --primary: #173f6d;
    --primary-dark: #102f52;
    --text: #17202a;
    --muted: #66717d;
    --light: #f5f7f9;
    --border: #e3e7eb;
}


/* =========================================================
   GLOBAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

section {
    position: relative;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.custom-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 18px 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 19px;
    letter-spacing: 0.04em;
    color: #111 !important;
}

.navbar-brand span {
    font-weight: 400;
    color: #68727d;
}

.nav-link {
    color: #4f5963 !important;
    font-size: 14px;
    font-weight: 500;
    margin-left: 20px;
}

.nav-link:hover {
    color: var(--primary) !important;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 82% 45%,
            rgba(23, 63, 109, 0.08),
            transparent 30%
        ),
        #ffffff;
    padding-top: 80px;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-section h1 {
    max-width: 720px;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-text {
    max-width: 690px;
    font-size: 19px;
    line-height: 1.75;
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}


/* =========================================================
   HERO GRAPHIC
   ========================================================= */

.hero-graphic {
    position: relative;
    width: 390px;
    height: 390px;
    margin: auto;
}
/* =========================================================
   HERO VISUAL + DARWIN QUOTE
   ========================================================= */

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.darwin-quote {
    max-width: 390px;
    margin-top: 38px;
    text-align: center;
}

.darwin-quote p {
    margin: 0;
    color: #69737d;
    font-size: 16px;
    line-height: 1.65;
    font-style: italic;
    font-weight: 400;
}

.darwin-quote span {
    display: block;
    margin-top: 12px;
    color: #9aa2aa;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}
.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(23, 63, 109, 0.20);
}

.circle1 {
    width: 390px;
    height: 390px;
    top: 0;
    left: 0;
}

.circle2 {
    width: 270px;
    height: 270px;
    top: 60px;
    left: 60px;
}

.circle3 {
    width: 140px;
    height: 140px;
    top: 125px;
    left: 125px;
    background: rgba(23, 63, 109, 0.04);
}


/* =========================================================
   SECTION SPACING
   ========================================================= */

.section-space {
    padding: 105px 0;
}

/*
   The first section should sit closer to the hero.
*/
.hero-section + .section-space {
    padding-top: 65px;
}

/*
   Major sections should have clear separation.
*/
.section-space + .section-space {
    padding-top: 110px;
}


/* =========================================================
   SECTION TITLES
   ========================================================= */

.section-title {
    max-width: 820px;
    margin: 0 auto;
}

.section-title > span {
    display: block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -0.045em;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title p {
    color: var(--muted);
    font-size: 17px;
    max-width: 760px;
    margin: 0 auto;
}


/* =========================================================
   RESEARCH / ASSESSMENT CARDS
   ========================================================= */

.research-card {
    height: 100%;
    padding: 34px 30px;
    background: #ffffff;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.research-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(20, 35, 50, 0.07);
}

.research-card i {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 28px;
}

.research-card h4 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.research-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   LIGHT SECTIONS
   ========================================================= */

.bg-light {
    background-color: #f6f8fa !important;
}


/* =========================================================
   CONTACT
   ========================================================= */

#contact.section-space {
    padding-top: 85px;
    padding-bottom: 85px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    border-top: 1px solid var(--border);
    background: #ffffff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .hero-section {
        padding-top: 100px;
    }

    .hero-section h1 {
        font-size: 52px;
    }

    .hero-graphic {
        width: 300px;
        height: 300px;
        margin-top: 60px;
    }

    .circle1 {
        width: 300px;
        height: 300px;
    }

    .circle2 {
        width: 210px;
        height: 210px;
        top: 45px;
        left: 45px;
    }

    .circle3 {
        width: 110px;
        height: 110px;
        top: 95px;
        left: 95px;
    }
    .darwin-quote {
    margin-top: 32px;
    max-width: 340px;
}
.darwin-quote {
    margin-top: 28px;
    max-width: 310px;
}

.darwin-quote p {
    font-size: 15px;
}
}


@media (max-width: 767px) {

    .custom-navbar {
        padding: 14px 0;
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .hero-section {
        padding-top: 90px;
    }

    .hero-section h1 {
        font-size: 46px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-graphic {
        width: 250px;
        height: 250px;
        margin-top: 50px;
    }

    .circle1 {
        width: 250px;
        height: 250px;
    }

    .circle2 {
        width: 175px;
        height: 175px;
        top: 37px;
        left: 37px;
    }

    .circle3 {
        width: 90px;
        height: 90px;
        top: 80px;
        left: 80px;
    }

    .section-space {
        padding: 75px 0;
    }

    .hero-section + .section-space {
        padding-top: 55px;
    }

    .section-space + .section-space {
        padding-top: 80px;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .research-card {
        padding: 28px 24px;
    }

}