* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #B4A166;
    --deep-green: #2E523A;
    --black: #000000;
    --charcoal: #1C1C1C;
    --white: #F5F5F2;
    --soft-gray: #D1D1C7;
    --text-dark: #333333;
    --text-light: #666666;
    --sage-green: #8FA388;
    --success-green: #5A8F6A;
    --error-red: #A64B4B;
    --bg-videos: #F5F5F2;
    --border-light: #D1D1C7;
    --success-bg: #e8f0ea;
    --success-text: #2E523A;
    --success-border: #5A8F6A;
    --error-bg: #f0e0e0;
    --error-text: #A64B4B;
    --error-border: #c98a8a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 25px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle .material-icons {
    color: var(--text-dark);
    font-size: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a.cta-button {
    background: var(--primary-green);
    color: #3E3213;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-links a.cta-button:hover {
    background: var(--deep-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* CTA Buttons */
.cta-button {
    background: var(--primary-green);
    color: #3E3213;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background: var(--deep-green);
    color: var(--white);
    transform: translateY(-2px);
}

.cta-button-large {
    background: var(--primary-green);
    color: #3E3213;
    padding: 18px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button-large:hover {
    background: var(--deep-green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--deep-green), var(--black));
    padding: 140px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

.hero-title {
    color: var(--white);
    font-size: 54px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* About Hero */
.about-hero {
    position: relative;
    background: linear-gradient(135deg, var(--deep-green), var(--black));
    padding: 140px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('about-hero-bg.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.about-hero-title {
    color: var(--white);
    font-size: 54px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.about-hero-subtitle {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Contact Hero */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, var(--deep-green), var(--black));
    padding: 140px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('contact-hero-bg.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.contact-hero-title {
    color: var(--white);
    font-size: 54px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.contact-hero-subtitle {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Projects Hero */
.projects-hero {
    position: relative;
    background: linear-gradient(135deg, var(--deep-green), var(--black));
    padding: 140px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.projects-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('projects-hero-bg.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.projects-hero-title {
    color: var(--white);
    font-size: 54px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.projects-hero-subtitle {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.about-main {
    padding: 100px 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: sticky;
    top: 120px;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-content {
    padding: 20px 0;
}

.about-content h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-values {
    background: var(--soft-gray);
    padding: 35px;
    border-radius: 10px;
    margin: 40px 0;
}

.about-values h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.about-values ul {
    list-style: none;
}

.about-values ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

.about-values ul li:last-child {
    margin-bottom: 0;
}

.about-values .material-icons {
    color: var(--primary-green);
    font-size: 24px;
    flex-shrink: 0;
}

.about-content .cta-button-large {
    margin-top: 20px;
}

/* Why Work With Us Section */
.why-work-with-us {
    padding: 100px 0;
    background: var(--soft-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card .material-icons {
    font-size: 48px;
    color: var(--primary-green);
}

.benefit-card h3 {
    font-size: 20px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.contact-main {
    padding: 100px 0;
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
}

.contact-item .material-icons {
    font-size: 40px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--deep-green);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 5px;
}

.contact-item a:hover {
    color: var(--primary-green);
}

.contact-item p {
    color: var(--text-light);
    font-size: 15px;
}

/* Contact Form */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-form {
    background: var(--soft-gray);
    padding: 40px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(20px);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-light);
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(180, 161, 102, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .cta-button-large {
    width: 100%;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

/* Form Message Styles */
.form-message {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-weight: 700;
    animation: slideDown 0.3s ease-out;
}

.form-message-success {
    background-color: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.form-message-error {
    background-color: var(--error-bg);
    color: var(--error-text);
    border: 1px solid var(--error-border);
}

.form-message ul {
    margin: 0;
    padding-left: 20px;
}

.form-message li {
    margin-bottom: 5px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for submit button */
.contact-form button[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Form field focus states with better validation styling */
.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: var(--error-red);
    box-shadow: 0 0 0 3px rgba(166, 75, 75, 0.1);
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: var(--success-green);
    box-shadow: 0 0 0 3px rgba(90, 143, 106, 0.1);
}

.projects-listing {
    padding: 100px 0;
    background: var(--white);
}

.projects-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.project-card {
    position: relative;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--white);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.project-overlay p {
    font-size: 14px;
    color: var(--primary-green);
}

/* Project Statistics Section */
.project-stats {
    padding: 100px 0;
    background: var(--soft-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.stat-card p {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 700;
}

.cta-banner {
    padding: 80px 0;
    background: var(--deep-green);
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-banner .cta-button-large {
    background: var(--primary-green);
    color: #3E3213;
}

.cta-banner .cta-button-large:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-icon {
    height: 70px;
    width: auto;
    margin-bottom: 12px;
    display: block;
}

.footer-logo h2 {
    color: var(--white);
    font-size: 23px;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary-green);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-contact a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

@media (max-width: 968px) {
    .navbar {
        padding: 20px 0;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: left 0.3s ease;
        gap: 20px;
    }

    .logo img {
        height: 36px;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hero sections */
    .hero-title,
    .about-hero-title,
    .projects-hero-title {
        font-size: 42px;
    }

    .contact-hero-title {
        font-size: 42px;
    }

    .hero-subtitle,
    .about-hero-subtitle,
    .contact-hero-subtitle,
    .projects-hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    /* About page */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        position: relative;
        top: 0;
    }

    .about-image img {
        height: 400px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Contact page */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Projects page */
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .project-card {
        height: 300px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-icon {
        height: 45px;
    }
}

/* Mobile breakpoint */
@media (max-width: 640px) {
    .navbar {
        padding: 15px 0;
    }

    .logo img {
        height: 32px;
    }

    /* Hero sections */
    .about-hero,
    .contact-hero,
    .projects-hero {
        padding: 90px 0;
    }

    .hero-title,
    .about-hero-title,
    .contact-hero-title,
    .projects-hero-title {
        font-size: 32px;
    }

    .hero-subtitle,
    .about-hero-subtitle,
    .contact-hero-subtitle,
    .projects-hero-subtitle {
        font-size: 16px;
    }

    /* Main sections */
    .about-main,
    .contact-main,
    .projects-listing {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    /* About page */
    .about-image img {
        height: 300px;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .about-content p {
        font-size: 16px;
    }

    .about-values {
        padding: 25px;
    }

    .about-values h3 {
        font-size: 20px;
    }

    .about-values ul li {
        font-size: 15px;
    }

    .why-work-with-us {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    /* Contact page */
    .contact-item {
        gap: 15px;
    }

    .contact-item .material-icons {
        font-size: 36px;
    }

    .contact-item h3 {
        font-size: 18px;
    }

    .contact-item p {
        font-size: 14px;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-form h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }

    .contact-form .cta-button-large {
        padding: 15px;
        font-size: 16px;
    }

    /* Projects page */
    .projects-intro {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-card {
        height: 280px;
    }

    .project-overlay {
        padding: 20px;
    }

    .project-overlay h3 {
        font-size: 20px;
    }

    .project-stats {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 40px 20px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-card p {
        font-size: 16px;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 60px 0;
    }

    .cta-banner h2 {
        font-size: 28px;
    }

    .cta-banner p {
        font-size: 16px;
    }

    .cta-button-large {
        padding: 15px 30px;
        font-size: 16px;
    }
}