/* ===========================
   MBX Premium v2 - Part 1
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 70px;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(10px);
    z-index: 999;
}

.logo {
    font-size: 32px;
    color: #fff;
    font-weight: 700;
}

.logo span {
    color: #59d66d;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: white;
    font-weight: 600;
    transition: .3s;
}

nav a:hover {
    color: #59d66d;
}

.hero {
    height: 100vh;
    background: url("images/forest.jpg") center center/cover no-repeat;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: white;
    width: 900px;
    max-width: 90%;
}

    .hero-content h1 {
        font-size: 68px;
        margin-bottom: 25px;
        font-weight: 800;
        line-height: 1.15;
        text-shadow: 0 8px 30px rgba(0, 0, 0, .45);
    }



    .hero-content p {
            font-size: 22px;
            margin-bottom: 45px;
            color: #f5f5f5;
            text-shadow: 0 5px 15px rgba(0, 0, 0, .4);
        }



        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .btn {
            display: inline-block;
            padding: 18px 42px;
            border-radius: 10px;
            font-weight: 700;
            transition: .3s;
        }

        .green {
            background: #2e8b57;
            color: white;
        }

        .green:hover {
            background: #3fb96c;
            transform: translateY(-4px);
        }

        .white {
            border: 2px solid white;
            color: white;
        }

        .white:hover {
            background: white;
            color: #222;
        }

        .stats {
            background: #2e8b57;
            color: white;

            display: grid;
            grid-template-columns: repeat(4, 1fr);

            text-align: center;
            padding: 70px 40px;
        }

        .stat h2 {
            font-size: 54px;
        }

        .stat p {
            margin-top: 10px;
            font-size: 18px;
        }

        /* ===========================
   Services
=========================== */

        .services {
            padding: 100px 8%;
            background: #f7f7f7;
        }

        .services h2 {
            text-align: center;
            font-size: 48px;
            color: #1c4b2b;
            margin-bottom: 60px;
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 35px;
        }

        .card {
            background: white;
            padding: 45px 35px;
            border-radius: 18px;
            text-align: center;
            box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
            transition: .35s;
        }

        .card:hover {
            transform: translateY(-12px);
            box-shadow: 0 22px 45px rgba(0, 0, 0, .18);
        }

        .icon {
            font-size: 58px;
            margin-bottom: 20px;
        }

        .card h3 {
            font-size: 28px;
            color: #1c4b2b;
            margin-bottom: 18px;
        }

        .card p {
            color: #666;
            font-size: 18px;
            line-height: 1.8;
        }

        /* ===========================
   About
=========================== */

        .about {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 70px;
            align-items: center;
            padding: 110px 8%;
            background: white;
        }

        .about-text h2 {
            font-size: 48px;
            color: #1c4b2b;
            margin-bottom: 30px;
        }

        .about-text p {
            color: #555;
            margin-bottom: 25px;
            font-size: 18px;
            line-height: 1.9;
        }

        .about-image img {
            border-radius: 18px;
            box-shadow: 0 18px 40px rgba(0, 0, 0, .20);
        }

        /* ===========================
   Gallery
=========================== */

        .gallery {
            padding: 100px 8%;
            background: #f7f7f7;
        }

        .gallery h2 {
            text-align: center;
            font-size: 48px;
            color: #1c4b2b;
            margin-bottom: 60px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }

        .gallery-grid img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 18px;
            transition: .35s;
            cursor: pointer;
        }

        .gallery-grid img:hover {
            transform: scale(1.04);
        }

        /* ===========================
   Contact
=========================== */

        .contact {
            background: #1c3f2d;
            color: white;
            padding: 100px 8%;
            text-align: center;
        }

        .contact h2 {
            font-size: 48px;
            margin-bottom: 20px;
        }

        .contact>p {
            font-size: 20px;
            margin-bottom: 60px;
            color: #ddd;
        }

        .contact-box {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 50px;
        }

        .contact-box div {
            background: rgba(255, 255, 255, .08);
            padding: 35px;
            border-radius: 18px;
        }

        .contact-box h3 {
            margin-bottom: 15px;
            font-size: 24px;
        }

        .contact-box p {
            color: #ddd;
        }

        /* ===========================
   Footer
=========================== */

        footer {
            background: #101010;
            color: white;
            text-align: center;
            padding: 50px 20px;
        }

        footer h2 {
            font-size: 34px;
            margin-bottom: 15px;
        }

        footer p {
            color: #999;
            margin: 8px 0;
        }

        /* ===========================
   Mobile
=========================== */

        @media(max-width:900px) {

            header {
                padding: 18px 25px;
            }

            nav {
                gap: 18px;
            }

            .hero-content h1 {
                font-size: 42px;
            }

            .hero-content p {
                font-size: 18px;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .stats {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }

            .about {
                grid-template-columns: 1fr;
            }

            .gallery-grid {
                grid-template-columns: 1fr;
            }

            .contact-box {
                grid-template-columns: 1fr;
            }

            .cards {
                grid-template-columns: 1fr;
            }

        }

        @media(max-width:600px) {

            .logo {
                font-size: 22px;
            }

            nav {
                display: none;
            }

            .hero-content h1 {
                font-size: 34px;
            }

            .hero-content p {
                font-size: 17px;
            }

            .stat h2 {
                font-size: 38px;
            }

            .services h2,
            .about h2,
            .gallery h2,
            .contact h2 {
                font-size: 34px;
            }

        }

        /* Scroll animation */

        .services,
        .about,
        .gallery,
        .contact,
        .stats {
            opacity: 0;
            transform: translateY(70px);
            transition: 1s;
        }

        .show {
            opacity: 1;
            transform: translateY(0);
        }