/* Modern Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors based on Logo roughly */
    --primary-color: #4A6741;
    /* Green from logo leaf */
    --primary-dark: #3a5233;
    --secondary-color: #333333;
    /* Dark text */
    --accent-color: #f4f4f4;
    /* Light BG */
    --white: #ffffff;
    --text-color: #444444;
    --text-light: #666666;

    /* Spacing */
    --section-padding: 80px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    /* Serif for headers gives a premium/construction feel */
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    /* Slightly rounded */
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.btn-text:hover {
    text-decoration: underline;
}

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust based on actual logo ratio */
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.btn-primary-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn-primary-nav:hover {
    background-color: var(--primary-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    /* Changed from height to min-height to prevent cutoff on small screens */
    min-height: 100vh;
    /* Add padding to account for fixed navbar (80px) + extra space */
    padding-top: 120px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    /* Use a gradient since we don't have a big hero image, or a subtle pattern */
    background: linear-gradient(135deg, #fdfdfd 0%, #ebedea 100%);
    overflow: hidden;
}

/* Add a pseudo-element for a "construction" feel, maybe a faded structure */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* This would serve as a placeholder for a real background image */
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=2000&auto=format&fit=crop');
    /* Free unsplash image for demo purposes */
    background-size: cover;
    background-position: center;
    filter: grayscale(20%) brightness(0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero .subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #e0e0e0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    color: #f0f0f0;
}

/* --- Intro Section --- */
.intro {
    background-color: var(--white);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: var(--white);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

.intro-item {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
}

.intro-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.intro-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Deco border */
.image-placeholder::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    right: 20px;
    bottom: -20px;
    border: 3px solid var(--primary-color);
    z-index: -1;
    border-radius: 4px;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* --- Services Section --- */
.bg-light {
    background-color: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .contact-details {
    margin-top: 30px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-form {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* --- Footer --- */
.footer {
    background-color: #222;
    color: #eee;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-brand .footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--white);
    display: block;
    margin-bottom: 10px;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #aaa;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}

/* --- Animations --- */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.fade-in {
    transform: translateY(0);
}

.visible {
    opacity: 1;
    transform: translateY(0);
    transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        height: 300px;
    }

    .image-placeholder::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        height: calc(100vh - 80px);
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-buttons .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: inline-block;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* --- Process / Workflow Section Styles --- */
.process {
    background-color: var(--white);
    position: relative;
    border-top: 1px solid #f0f0f0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    counter-reset: step-counter;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    opacity: 1;
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Utilities for Grids */
.three-col {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .three-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .three-col {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.3rem;
        /* Adjusted for mobile per user request */
        word-wrap: break-word;
        /* Ensure long words break if necessary */
    }
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    height: 250px;
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.gallery-item:hover .img-placeholder {
    transform: scale(1.1);
}

.gallery-info {
    padding: 20px;
}

.gallery-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.gallery-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* --- Partners Section --- */
.partners {
    border-top: 1px solid #f0f0f0;
    background-color: var(--white);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
    opacity: 0.7;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* In a real project, these would be <img> tags */
}

/* --- News Section --- */
.news-section {
    background-color: var(--accent-color);
    padding: 60px 0;
}

.news-card {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.news-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-label {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 20px;
}

.news-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.news-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.news-image .img-placeholder {
    height: 100%;
    width: 100%;
}

@media (max-width: 900px) {
    .news-card {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 300px;
    }
}