/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #222;
    line-height: 1.7;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

section {
    padding: 100px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: #2E7D32;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 8%;

    backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.35);
}

.logo {
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    font-weight: 500;
    transition: .3s;
}

.nav-links a:hover {
    color: #4CAF50;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    height: 100vh;

    background:
        url("https://images.unsplash.com/photo-1506744038136-46273834b3fb") center/cover no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero-tag {
    display: inline-block;

    padding: 10px 18px;

    background: rgba(255, 255, 255, .12);

    border-radius: 30px;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: 70px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    color: #ddd;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 34px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

.primary-btn {
    background: #2E7D32;
    color: white;
}

.primary-btn:hover {
    transform: translateY(-4px);
}

.secondary-btn {
    background: white;
    color: #222;
}

.secondary-btn:hover {
    transform: translateY(-4px);
}

/* =========================
   STATS
========================= */

.stats-section {
    background: #f8f9fa;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.stat-box {
    background: white;

    padding: 40px 25px;

    border-radius: 18px;

    text-align: center;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .06);
}

.stat-box h2 {
    color: #2E7D32;
    font-size: 52px;
}

.stat-box p {
    color: #666;
}

/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;

    padding: 40px 30px;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    transition: .3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon {
    font-size: 45px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* =========================
   PROJECTS
========================= */

.projects {
    background: #f8f9fa;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    overflow: hidden;

    border-radius: 20px;

    background: white;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.project-card img {
    height: 260px;
    object-fit: cover;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    margin-bottom: 8px;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;

    padding: 35px;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.testimonial-card p {
    margin: 20px 0;
}

.testimonial-card h4 {
    color: #2E7D32;
}

/* =========================
   FAQ
========================= */

.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    background: white;

    margin-bottom: 20px;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.faq-question {
    width: 100%;
    padding: 25px;

    background: white;

    border: none;

    text-align: left;

    font-size: 18px;

    cursor: pointer;

    font-weight: 600;
}

.faq-answer {
    display: none;

    padding: 0 25px 25px;
    color: #666;
}

.faq-item.active .faq-answer {
    display: block;
}

/* =========================
   CONTACT
========================= */

.contact {
    background: #f8f9fa;
}

#quoteForm {
    max-width: 700px;
    margin: auto;
}

#quoteForm input,
#quoteForm textarea {
    width: 100%;

    padding: 18px;

    margin-bottom: 18px;

    border: none;

    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

#quoteForm textarea {
    height: 180px;
    resize: none;
}

#quoteForm button {
    width: 100%;

    border: none;

    padding: 18px;

    background: #2E7D32;

    color: white;

    font-size: 18px;

    border-radius: 12px;

    cursor: pointer;
}

/* =========================
   FLOATING BUTTON
========================= */

.floating-btn {
    position: fixed;

    right: 25px;
    bottom: 25px;

    background: #2E7D32;
    color: white;

    padding: 15px 28px;

    border-radius: 50px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);

    z-index: 999;
}

/* =========================
   TOP BUTTON
========================= */

#topBtn {
    position: fixed;

    right: 25px;
    bottom: 95px;

    width: 55px;
    height: 55px;

    border: none;

    border-radius: 50%;

    background: #111;

    color: white;

    cursor: pointer;

    display: none;

    z-index: 999;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 17px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    section {
        padding: 80px 6%;
    }
}