/* ================================
   AQUAlife PH - MAIN STYLESHEET
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f3fafb;
    color: #082f43;
    line-height: 1.6;
}

/* ================================
   NAVIGATION
   ================================ */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #031e2d;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

nav {
    max-width: 1200px;
    height: 70px;
    margin: auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav h2 {
    color: white;
    font-size: 25px;
    font-weight: 700;
}

nav h2::first-letter {
    color: #21d3c4;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav ul li a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 25px 0;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #21d3c4;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 15px;
    width: 0;
    height: 3px;
    background: #20d1c1;
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    padding: 80px 8%;

    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(0, 28, 43, 0.95),
            rgba(0, 46, 67, 0.65),
            rgba(0, 46, 67, 0.2)
        ),
        url("https://images.unsplash.com/photo-1544551763-46a013bb70d5")
        center/cover no-repeat;

    position: relative;
}

/* Curved bottom edge */

.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 45px;

    background: #f3fafb;

    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
    max-width: 700px;
}

.small-title,
.section-label {
    color: #21d3c4;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 25px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.hero p {
    max-width: 620px;
    font-size: 18px;
    color: #e8f5f7;
    margin-bottom: 30px;
}

.button {
    display: inline-block;

    padding: 14px 28px;

    border-radius: 30px;

    background: #20cbbd;
    color: #053344;

    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

.button:hover {
    transform: translateY(-4px);
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ================================
   GENERAL SECTIONS
   ================================ */

.section {
    max-width: 1200px;
    margin: auto;
    padding: 90px 25px;
    text-align: center;
}

.section h2,
.threat-section h2,
.protect-section h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.intro {
    max-width: 720px;
    margin: 0 auto 50px;
    color: #60777e;
}

/* ================================
   ANIMAL CARDS
   ================================ */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    text-align: center;
}

.card {
    background: white;
    padding: 28px;

    border-radius: 15px;

    box-shadow:
        0 10px 35px rgba(0, 52, 70, 0.09);

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 18px 40px rgba(0, 52, 70, 0.15);
}

/* Animal circular image/icon */

.animal-icon {
    width: 145px;
    height: 145px;

    margin: 0 auto 20px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 55px;

    background:
        linear-gradient(
            rgba(0, 130, 170, 0.15),
            rgba(0, 130, 170, 0.3)
        );

    overflow: hidden;
}

/* If you replace emoji with images */

.animal-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.status {
    display: inline-block;

    padding: 5px 12px;

    border-radius: 20px;

    background: #ffe2df;
    color: #d54832;

    font-size: 11px;
    font-weight: bold;

    margin-bottom: 15px;
}

.card p {
    color: #687b80;
    font-size: 14px;
    margin-bottom: 18px;
}

.card a {
    color: #008e88;
    font-weight: bold;
    text-decoration: none;
}

.card a:hover {
    color: #005f63;
}

/* ================================
   THREATS SECTION
   ================================ */

.threat-section {
    padding: 90px 8%;

    color: white;

    background:
        linear-gradient(
            rgba(2, 46, 65, 0.96),
            rgba(2, 55, 75, 0.96)
        ),
        url("https://images.unsplash.com/photo-1518467166778-b88f373ffec7")
        center/cover;
}

.threat-content {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.threat-section h2 {
    color: white;
}

.threats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;

    margin-top: 50px;
}

.threat {
    padding: 20px 30px;

    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.threat:last-child {
    border-right: none;
}

.icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(150, 220, 220, 0.2);

    font-size: 32px;
}

.threat h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.threat p {
    color: #c5dadd;
    font-size: 14px;
}

/* ================================
   PROTECTION SECTION
   ================================ */

.protect-section {
    padding: 90px 25px;
    background: #e5f7f6;
}

.protect-box {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin-top: 50px;
}

.steps div {
    padding: 20px 30px;

    border-right: 1px dashed #8bcac7;
}

.steps div:last-child {
    border-right: none;
}

.steps span {
    display: block;

    color: #008f8a;

    font-size: 30px;
    font-weight: bold;

    margin-bottom: 5px;
}

.steps h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.steps p {
    color: #60777b;
    font-size: 14px;
}

/* ================================
   FOOTER
   ================================ */

footer {
    padding: 45px 30px;

    background: #021d2c;

    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer h2 {
    font-size: 24px;
}

footer p {
    color: #b8cdd1;
    font-size: 14px;
}

.copyright {
    text-align: right;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 900px) {

    nav {
        height: auto;
        padding: 18px 25px;

        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        padding: 5px 0;
    }

    nav ul li a::after {
        bottom: -4px;
    }

    .hero {
        min-height: 600px;
        padding: 70px 30px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .threats {
        grid-template-columns: 1fr 1fr;
    }

    .threat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .steps div {
        border-bottom: 1px dashed #8bcac7;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .copyright {
        text-align: center;
    }
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 550px) {

    nav h2 {
        font-size: 21px;
    }

    nav ul {
        gap: 12px;
    }

    nav ul li a {
        font-size: 13px;
    }

    .hero {
        min-height: 580px;
        padding: 60px 25px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .section h2,
    .threat-section h2,
    .protect-section h2 {
        font-size: 32px;
    }

    .threats {
        grid-template-columns: 1fr;
    }

    .threat {
        border-right: none;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .steps div {
        border-right: none;
    }

    footer {
        padding: 35px 20px;
    }
}