:root {
    --gray: #272727;
    --blue: #0c9ee7;
    --white: #ffffff;
    --light-gray: #a6a7ab;

    --background: #e9ebed;
    --border: #e3e5e7;

    --shadow: 0 8px 25px rgba(39,39,39,0.08);

    --orange: #ff6500;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    
    background-color: var(--white);
    color: var(--gray);

    font-family: Arial, sans-serif;
    line-height: 1.6;
}
    
img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--blue);
} 

.container {
    width: min(2000px, calc(100% - 60px));
    margin: 0 auto;
    padding: 0 30px;
}

.site-header {
    background: var(--white);
    border-bottom: none;
    

}

.header-inner {
    width: min(2000px, calc(100% - 60px));
    margin: 0 auto;

    min-height: 80px;
    padding: 20px 0px;

    display: flex;
    align-items: center;
}

.logo img{
    width: 180px;
    height: auto;
}

nav {
    display: flex;
    gap: 35px;
    margin-left: auto;
    align-items: center;

}

nav a {
    color: var(--gray);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;

    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--blue);
}

h1,
h2,
h3 {
    color: var(--gray);
   margin-top: 0;
}

h1 {
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
}

h2 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
}

h3 {
    font-size: 22px;
    line-height: 1.2;
}

.button {
    display: inline-block;

    padding: 11px 22px;

    background: var(--blue);
    color: var(--white);

    text-decoration: none;

    font-size: 13px;
    letter-spacing: 0.5px;
    font-weight: 600;

    cursor: pointer;

    transition: 
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    background-color: var(--gray);
    border-color: var(--gray);

    transform: translateY(-1px);
}

.section-line {
    display: block;

    width: 40px;
    height: 3px;

    background-color: var(--blue);

    margin: 12px auto 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    margin: 0px;

    color: var(--gray);

    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.section-heading .section-line {
    width: 45px;
    height: 3px;

    background-color: var(--blue);
    
    margin: 12px auto 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    
    background-color: var(--white);

    padding: 70px 50px;

    border-radius: 14px;

    box-shadow: 0 8px 25px rgba(39,39,39,0.06);
}

.about-text {
    padding: 40px 50px 40px 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-text p {
    max-width: 550px;
    color: var(--gray);
}

.about-text .button {
    margin-top: 15px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.about-image img {
    width: 100%;
    max-width: 800px;

    height: 520px;
    object-fit: cover;

    border-radius: 14px;
    
}

.card-section {
    background-color: var(--background);
    padding: 90px 0;
    border-radius: 12px;
}

.card-section .container {
    width: min(1600px, 100%);
    margin: 0 auto;
    padding: 0;
    background-color: transparent;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    max-width: 1600px;
    margin: 0 auto;
    
}

.card {
    display: flex;
    flex-direction: column;

    background-color: var(--white);

    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(39,39,39,0.12);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
   
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(39,39,39,0.18);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    text-align: center;

    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content p {
    color: #666;
}

.card-content h3 {
    margin-bottom: 10px;
}


.card .button {
    margin-top: auto;
    align-self: center;
    
}

.hero {
    position: relative;
    height: 550px;
    overflow: hidden;

    background-color: var(--gray);
    color: var(--white);

    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(39,39,39,0.15);
}

.hero img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: brightness(0.55) saturate(1.15);

    transition: transform 0.5s ease;
}

.hero-content {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: min(850px, 90%);

    text-align: center;
    color: var(--white);

    z-index: 2;
}

.hero-content h1 {
    margin: 10px 0;

    color: var(--white);
    
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1;
    
    letter-spacing: 8px;
    font-weight: 800;
    
    text-shadow: 0 4px 15px rgba(0,0,0,0.35);
}

.hero-content p:not(.eyebrow) {
    max-width: 650px;

    margin: 20px auto 0;

    color: var(--white);

    font-size: 18px;
    line-height: 1.7;

    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-span {
    display: block;

    width: min(400px, 70%);
    height: 3px;

    background: var(--blue);

    margin: 25px auto 30px;

    box-shadow: 0 0 12px rgba(12,158,231,0.5);
    
}

.eyebrow {
    margin: 0;
    
    color: var(--blue);

    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 800;

    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

main {
    background-color: var(--white);
}

footer {
    background-color: var(--gray);

    color: var(--white);

    text-align: center;

    padding: 40px 20px;

    border-top: 3px solid var(--blue)
}

footer p {
    margin: 0;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 2px;

    color: var(--white);

    text-transform: uppercase;
}

@media (max-width: 768px) {

    /* --------------------------------------
       GLOBAL
    -------------------------------------- */

    body {
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 24px);
        padding: 0;
    }


    /* --------------------------------------
       HEADER
    -------------------------------------- */

    .header-inner {
        width: calc(100% - 30px);
        min-height: auto;
        padding: 14px 0 12px;

        display: flex;
        flex-direction: column;

        align-items: center;
        gap: 12px;
    }

    .logo img {
        width: 115px;
    }

    nav {
        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;

        gap: 18px;

        margin-left: 0;
    }

    nav a {
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }


    /* --------------------------------------
       HEADINGS
    -------------------------------------- */

    h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    h2 {
        font-size: clamp(28px, 7vw, 38px);
    }

    h3 {
        font-size: 19px;
    }


    /* --------------------------------------
       BUTTON
    -------------------------------------- */

    .button {
        min-height: 44px;

        padding: 12px 20px;

        font-size: 12px;

        display: inline-flex;
        align-items: center;
        justify-content: center;
    }


    /* --------------------------------------
       SECTION SPACING
    -------------------------------------- */

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 27px;
        letter-spacing: 1.5px;
    }


    /* --------------------------------------
       ABOUT
    -------------------------------------- */

    .about-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-text {
        padding: 5px 0 15px;
    }

    .about-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-image {
        padding: 0;
    }

    .about-image img {
        height: 260px;
        border-radius: 10px;
    }


    /* --------------------------------------
       CARD SECTION
    -------------------------------------- */

    .card-section {
        padding: 50px 12px;
        border-radius: 8px;
    }

    .card-section .container {
        width: 100%;
        padding: 0;
    }

    .card-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card {
        border-radius: 10px;
    }

    .card img {
        height: 190px;
    }

    .card-content {
        padding: 20px 18px 22px;
    }

    .card-content h3 {
        font-size: 21px;
    }

    .card-content p {
        font-size: 14px;
        line-height: 1.6;
    }


    /* --------------------------------------
       MAIN HERO
    -------------------------------------- */

    .hero {
        height: 360px;
        border-radius: 10px;
    }

    .hero-content {
        width: calc(100% - 32px);
    }

    .hero-content h1 {
        font-size: clamp(36px, 11vw, 52px);
        letter-spacing: 3px;
        line-height: 1;
    }

    .hero-content p:not(.eyebrow) {
        font-size: 14px;
        line-height: 1.55;
        margin-top: 15px;
    }

    .hero-span {
        width: 180px;
        margin: 18px auto 22px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 2.5px;
    }


    /* --------------------------------------
       FOOTER
    -------------------------------------- */

    footer {
        padding: 30px 15px;
    }

    footer p {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

}

@media (max-width: 500px) {

    .header-inner {
        width: calc(100% - 20px);
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        height: 335px;
    }

    .hero-content h1 {
        font-size: 38px;
        letter-spacing: 2px;
    }

    .hero-content p:not(.eyebrow) {
        font-size: 13px;
    }

    .card-section {
        padding: 40px 10px;
    }

    .about-section {
        padding: 25px 15px;
    }

}
