/* ==========================================================
   Positive Climb
   Main stylesheet
   Version 1.1
========================================================== */


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

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: #1D2430;
    background: #ffffff;
    line-height: 1.6;
}

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

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

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


/* ==============================
   VARIABLES
============================== */

:root {

    --blue:
    #0D2748;

    --blue-light:
    #163B68;

    --green:
    #7CB342;

    --grey:
    #F5F7FA;

    --dark:
    #1D2430;

    --white:
    #FFFFFF;

    --shadow:
    0 15px 40px rgba(13,39,72,.12);

    --radius:
    18px;

}


/* ==============================
   CONTAINER
============================== */

.container {

    width: min(1150px, 90%);

    margin-inline: auto;

}


/* ==============================
   HEADER
============================== */


.header {

    position: fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    background:
    rgba(255,255,255,.98);

    backdrop-filter:
    blur(10px);

}


.header .container {

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:70px;

}

.logo {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

}

.logo img {

    width:90px;

}

.brand-name{

    font-size:1.1rem;

    letter-spacing:.2em;

    font-weight:800;

    text-transform:uppercase;

}

.navigation ul {

    display:flex;

    gap:40px;

}


.navigation a {

    font-weight:500;

    color:var(--blue);

    transition:.3s;

}


.navigation a:hover {

    color:var(--green);

}

.menu-toggle {
    
    display:none;
    
    background:none;

    border:none;

    font-size:2rem;

    color:var(--blue);

    cursor:pointer;

}


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


.hero {

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

    background:

    linear-gradient(
    120deg,
    rgba(13,39,72,.95),
    rgba(13,39,72,.15)
    ),

    url("../img/hero.webp");

    background-size:cover;

    background-position:right;

    background-repeat: no-repeat;

    color:white;

}


.hero-content {

    position:relative;

    z-index:2;

    padding-top:50px;

    max-width:800px;

}


.hero-kicker {

    color:var(--green);

    font-weight:700;

    letter-spacing:3px;

    font-size:1.5rem;

}


.hero h1 {

    font-size:

    clamp(2.8rem,5vw,4.8rem);

    line-height:1.1;

    margin:20px 0;

}


.hero-text {

    font-size:1.15rem;

    max-width:650px;

    opacity:.9;

}



.hero-buttons {

    margin-top:40px;

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}



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


.btn {

    padding:

    15px 32px;

    border-radius:50px;

    font-weight:600;

    display:inline-block;

    transition:.3s;

}


.btn-primary {

    background:

    var(--green);

    color:white;

}


.btn-primary:hover {

    transform:translateY(-3px);

}



.btn-secondary {

    border:

    1px solid white;

    color:white;

}



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


section {

    padding:

    50px 0;

}


.section-header {

    text-align:center;

    max-width:800px;

    margin:auto;

}


.section-tag {

    color:var(--green);

    font-weight:700;

    letter-spacing:3px;

    font-size:1.25rem;

}


.section-header h2 {

    font-size:

    clamp(2rem,4vw,3rem);

    line-height:1.2;

    color:var(--blue);

}



/* ==============================
   SERVICES
============================== */


.services {

    background:

    var(--grey);

}

.services-grid {

    margin-top:60px;

    display:grid;

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

    gap:30px;

}

.service-card {

    background:white;

    padding:40px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:.3s;

}


.service-card:hover {

    transform:translateY(-8px);

}


.service-icon {

    width:70px;

    height:70px;

    margin-bottom:25px;

}


.service-card h3 {

    color:var(--blue);

    font-size:1.5rem;

}


.service-card li {

    margin-bottom:8px;

    position:relative;

    padding-left:20px;

}


.service-card li::before {

    content:"";

    position:absolute;

    left:0;

    top:10px;

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--green);

}


/* ==============================
   CONTACT
============================== */


.contact {

    text-align:center;

    background:var(--blue);

    color:white;

}


.contact h2 {

    font-size:3rem;

}


.contact-card {

    margin-top:20px;

}


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


.footer {

    background:#08192D;

    color:white;

    padding:40px 0;

}


.footer-top {

    display:flex;

    justify-content:space-between;

    align-items:center;

}


.footer-logo img {

    width:90px;

}


.footer-links {

    display:flex;

    gap:30px;

}


/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.1);
    }

    .navigation.active {
        display: block;
    }

    .navigation ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 90vh;
    }
}

@media (max-width: 600px) {

    section {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
}

/* ==========================================
   JAVASCRIPT ANIMATIONS
========================================== */

.header-scrolled {

    background: rgba(255,255,255,.98);

    box-shadow: 0 5px 20px rgba(0,0,0,.08);

}

.hidden {

    opacity: 0;

    transform: translateY(40px);

    transition: opacity .8s ease, transform .8s ease;

}

.visible {

    opacity: 1;

    transform: translateY(0);

}

/* ==============================
   LEGAL PAGE
============================== */

.legal-page {
    padding-top: 140px;
    padding-bottom: 80px;
    background: var(--grey);
    min-height: 100vh;
}

.legal-content {
    background: white;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-content h1 {
    color: var(--blue);
    margin-bottom: 40px;
}

.legal-content h2 {
    color: var(--blue);
    margin-top: 35px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
}

.legal-content a {
    color: var(--green);
    font-weight: 600;
}

@media (max-width: 600px) {

    .legal-content {
        padding: 25px;
    }

}

/* ==========================================================
   Reduced Motion
========================================================== */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .hidden {
        opacity: 1;
        transform: none;
        transition: none;
    }

}