/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #1A3C34;
    /* Deep Forest Green */
    --primary-light: #2C5F52;
    --secondary-color: #8FA895;
    /* Sage */
    --accent-color: #D4A373;
    /* Earthy Gold */
    --text-dark: #2C3333;
    --text-gray: #6B7280;
    --text-light: #F9FAFB;
    --bg-light: #F3F6F4;
    --bg-white: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);

    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-light) !important;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* =========================================
   3. BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* =========================================
   4. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 62px;       
    width: auto;
    display: block;
}

.logo .dot {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--accent-color);
}

.btn-featured {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 4px;
}

.btn-featured:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

/* Placeholder BG - Replace with real image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/greenhero2.jpg') no-repeat center center/cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(26, 60, 52, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--text-light);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* =========================================
   6. SECTIONS GENERAL
   ========================================= */
.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-color);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-color);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.exp-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-list {
    margin-top: 1.5rem;
}

.about-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-list i {
    color: var(--accent-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-details {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    padding-left: 1rem;
}

.service-details li {
    list-style-type: disc;
    margin-bottom: 0.4rem;
}

/* Vision Mission */
.vision-mission {
    padding: 8rem 0;
    background: url('https://images.unsplash.com/photo-1518173946687-a4c8892bbd9f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') fixed center/cover;
    position: relative;
    color: white;
}

.vision-mission .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 60, 52, 0.85);
}

.vision-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.vision-box,
.mission-box {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.vision-box i,
.mission-box i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.vision-box h3,
.mission-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.mission-box ul {
    text-align: left;
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.mission-box li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

/* Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Core Values */
.values-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.value-pill {
    padding: 10px 30px;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    font-size: 1.1rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.value-pill:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Contact CTA */
.cta-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.cta-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: #112721;
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* =========================================
   7. ANIMATIONS
   ========================================= */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1.0s;
}

/* Scroll Animation Classes (Applied by JS) */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 1s ease;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.active.reveal-up {
    opacity: 1;
    transform: translateY(0);
}

.active.reveal-left {
    opacity: 1;
    transform: translateX(0);
}

.active.reveal-right {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   NEW ADDS: SERVICE IMAGES & GALLERY
   ========================================= */

/* Updated Service Card */
.service-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
    position: relative;
    flex-grow: 1;
}

.service-icon-floating {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1rem;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--accent-color);
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (min-width: 992px) {

    /* Masonry-ish Layout for gallery */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 200px);
    }

    .item-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
        height: 100% !important;
    }

    .item-2 {
        grid-column: 3 / 5;
        grid-row: 1 / 2;
        height: 100% !important;
    }

    .item-3 {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
        height: 100% !important;
    }

    .item-4 {
        grid-column: 4 / 5;
        grid-row: 2 / 3;
        height: 100% !important;
    }
}

@media (max-width: 991px) {
    .gallery-item {
        height: 250px;
    }
}

/* =========================================
   8. MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .about-grid,
    .vision-wrapper,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 2rem;
    }

    .cta-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: var(--shadow-md);
        clip-path: circle(0% at 90% 10%);
        transition: all 0.5s ease-in-out;
    }

    .nav-menu.active {
        clip-path: circle(150% at 90% 10%);
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-content {
        padding: 2rem;
    }
}