* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #12343b;
    background: #f5fbfc;
}


/* =========================
   NAVIGATION
========================= */

.navbar {
    height: 75px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);

    position: relative;
    z-index: 10;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #087f8c;
}

.navbar nav {
    display: flex;
    gap: 28px;
}

.navbar nav a {
    text-decoration: none;
    color: #244b52;
    font-size: 15px;
}

.navbar nav a:hover {
    color: #078c99;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.login-btn,
.register-btn {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
}

.login-btn {
    color: #087f8c;
    border: 1px solid #087f8c;
}

.register-btn {
    color: white;
    background: #087f8c;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    padding: 80px 8%;

    background:
        linear-gradient(
            rgba(3, 50, 70, 0.65),
            rgba(3, 90, 110, 0.65)
        ),
        url("../images/ocean.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 650px;
    color: white;
}

.small-title {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #72e0e8;
}

.hero-content > p:not(.small-title) {
    font-size: 18px;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn,
.secondary-btn {
    padding: 14px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.primary-btn {
    background: white;
    color: #087f8c;
}

.secondary-btn {
    border: 1px solid white;
    color: white;
}


/* =========================
   INTRO
========================= */

.intro {
    text-align: center;
    padding: 90px 20px 50px;
}

.section-label {
    color: #078c99;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 15px;
}

.intro h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.intro-text {
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
    color: #587178;
}


/* =========================
   FEATURES
========================= */

.features {
    padding: 40px 8% 90px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);

    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 35px;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: #657a80;
    line-height: 1.6;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #063b4a;
    color: white;
    text-align: center;
    padding: 45px 20px;
}

.footer-logo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
}

footer p {
    margin-top: 8px;
    color: #c8e1e5;
}


/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1000px) {

    .navbar nav {
        gap: 15px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 48px;
    }
}


@media (max-width: 700px) {

    .navbar {
        height: auto;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .navbar nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 600px;
        padding: 60px 25px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .features {
        grid-template-columns: 1fr;
        padding-left: 25px;
        padding-right: 25px;
    }

    .intro h2 {
        font-size: 32px;
    }
}