* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 72px;
    background: #ffffff;
    font-family: 'Poppins', Arial, sans-serif;
    color: #333333;
}

a {
    text-decoration: none !important;
}

section {
    padding: 70px 24px;
}

/* HEADER */

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;

    background: linear-gradient(135deg, #071d3a, #0A3161 55%, #041326);
    border-bottom: 3px solid #B22234;
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.header-container {
    max-width: 1400px;
    height: 72px;
    margin: auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
}

#company-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-logo {
    height: 52px;
    width: auto;
}

.title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

/* HERO */

#hero-image {
    min-height: calc(100vh - 72px);
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("images/redcars.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
    pointer-events: none;
}

@media (max-width: 768px) {
    #hero-image {
        min-height: 72vh;
        background-image: url("images/redcars.jpg");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    #hero-image::after {
        background: rgba(0,0,0,0.12);
    }
}
.overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 24px;
    text-align: center;
}

.tag-line {
    display: inline-block;

    max-width: 900px;

    color: #ffffff;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(42px, 7vw, 86px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 2px;
    text-transform: uppercase;

    text-shadow:
        0 6px 24px rgba(0,0,0,0.75),
        0 2px 6px rgba(0,0,0,0.65);
}

.tag-line::after {
    content: "";
    display: block;

    width: 160px;
    height: 6px;
    margin: 26px auto 0;

    border-radius: 20px;

    background: linear-gradient(to right, #B22234, #ffffff, #0A3161);
}

/* ABOUT SECTION */

#use {
    background: #ffffff;
}

.section-grid {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    align-items: center;
}

.section-grid h2,
.goal-container h2 {
    text-align: center;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 26px;
    color: #0A3161;
}

.section-grid h2::after,
.goal-container h2::after {
    content: "";
    display: block;

    width: 90px;
    height: 4px;
    margin: 14px auto 0;

    border-radius: 20px;
    background: #B22234;
}

.section-grid p,
.goal-container p {
    font-size: 19px;
    line-height: 1.85;
    color: #424242;
}

.section-grid iframe {
    width: 100%;
    height: 480px;
    border: none;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.25);
}

/* GOAL SECTION */

#goal-section {
    background: #f5f7fb;
}

.goal-container {
    max-width: 1200px;
    margin: auto;
}

.goal-container p {
    text-align: left;
}

/* FOOTER */

footer {
    background: #071d3a;
    color: #ffffff;
    padding: 0 30px 24px;
}

.footer-road-line {
    width: 100%;
    height: 14px;
    margin-bottom: 28px;

    background:
        repeating-linear-gradient(
            to right,
            #ffffff 0px,
            #ffffff 64px,
            #B22234 64px,
            #B22234 120px
        );
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo {
    width: 44px;
    height: auto;
}

.footer-brand h2 {
    color: #ffffff;
    font-size: 24px;
}

.footer-follow {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-social-icons img {
    width: 36px;
    height: 36px;
    padding: 5px;
    border-radius: 10px;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.footer-social-icons img:hover {
    transform: translateY(-3px);
}

.footer-contact {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.footer-contact b {
    color: #ffffff;
}

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

/* TOP BUTTON */

#topButton {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;

    background: #B22234;
    color: #ffffff;

    border: 2px solid #ffffff;
    border-radius: 14px;

    padding: 12px 18px;

    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;

    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
    transition: 0.3s ease;
}

#topButton:hover {
    background: #8C1C2B;
    transform: translateY(-2px);
}

/* MOBILE */

@media (max-width: 768px) {

    body {
        padding-top: 64px;
    }

    section {
        padding: 52px 20px;
    }

    header {
        border-bottom-width: 2px;
    }

    .header-container {
        height: 64px;
        padding: 0 16px;
    }

    #company-logo {
        gap: 10px;
    }

    .site-logo {
        height: 40px;
    }

    .title {
        font-size: 19px;
        line-height: 1;
    }

    #hero-image {
        min-height: 78vh;

        background:
            linear-gradient(
                rgba(3, 14, 30, 0.35),
                rgba(3, 14, 30, 0.72)
            ),
            url("images/redcars.jpg");

        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .overlay {
        padding: 0 18px;
    }

    .tag-line {
        font-size: 44px;
        line-height: 1.08;
        letter-spacing: 1px;
        max-width: 360px;
    }

    .tag-line::after {
        width: 90px;
        height: 4px;
        margin-top: 18px;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-grid h2,
    .goal-container h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .section-grid p,
    .goal-container p {
        font-size: 15px;
        line-height: 1.75;
    }

    .section-grid iframe {
        height: 260px;
        border-radius: 14px;
    }

    footer {
        padding: 0 20px 22px;
    }

    .footer-brand h2 {
        font-size: 20px;
    }

    .footer-logo {
        width: 38px;
    }

    #topButton {
        padding: 10px 14px;
        font-size: 14px;
        right: 16px;
        bottom: 16px;
    }
}
/* HERO IMAGE FIX */

#hero-image {
    min-height: 70vh !important;

    background-image: url("images/redcars.jpg") !important;

    background-size: cover !important;

    /* shows lower part with red car */
    background-position: center bottom !important;

    background-repeat: no-repeat !important;
}

/* lighter overlay */

#hero-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.10) !important;

    pointer-events: none;
}

/* MOBILE FIX */

@media (max-width: 768px) {

    #hero-image {

        min-height: 72vh !important;

        background-image: url("images/redcars.jpg") !important;

        background-size: cover !important;

        /* move image lower on phones */
        background-position: 58% bottom !important;

        background-repeat: no-repeat !important;
    }

    .tag-line {
        font-size: 42px !important;
        line-height: 1.05 !important;
        max-width: 340px;
        margin: auto;
    }

    .tag-line::after {
        width: 90px;
        height: 4px;
        margin-top: 18px;
    }
}
/* VIDEO */

.video-wrapper {
    position: relative;
    width: 100%;

    border-radius: 20px;
    overflow: hidden;

    box-shadow:
        0 14px 35px rgba(0,0,0,0.25);

    background: #000000;
}

.video-wrapper iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

/* MOBILE VIDEO */

@media (max-width: 768px) {

    .video-wrapper iframe {
        height: 240px;
    }

}