:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --secondary: #40916c;
    --accent: #d8f3dc;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f3f4f6;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.logo span {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(27, 67, 50, 0.7), rgba(27, 67, 50, 0.7)),
                url('https://images.unsplash.com/photo-1558904541-efa843a96f01?w=1600') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 140px 20px 100px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Page Header */
.page-header {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

/* Features */
.features {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

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

.feature-card {
    background-color: var(--bg);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Services */
.services-list {
    padding: 80px 20px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    border-radius: var(--radius);
    background-color: var(--bg-light);
}

.service-card.reverse {
    direction: rtl;
}

.service-card.reverse .service-info {
    direction: ltr;
}

.service-img {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.service-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-info h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.service-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-section .cta-btn {
    background-color: white;
    color: var(--primary);
}

.cta-section .cta-btn:hover {
    background-color: var(--bg-light);
}

/* Contact */
.contact-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--primary);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.form-wrapper {
    background-color: var(--bg);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.form-success h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.form-success p {
    color: var(--text-light);
}

.hidden {
    display: none !important;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 2rem;
}

.footer p {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 20px;
    }

    .logo img {
        height: 50px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .service-card {
        grid-template-columns: 1fr;
    }

    .service-card.reverse {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features {
        padding: 60px 20px;
    }

    .services-list {
        padding: 60px 20px;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .page-header {
        padding: 60px 20px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .submit-btn {
        width: 100%;
    }

    .form-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        height: 40px;
    }

    .hero {
        padding: 80px 15px 50px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .container {
        padding: 0 15px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .service-info h2 {
        font-size: 1.4rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .contact-info h2 {
        font-size: 1.25rem;
    }

    .form-wrapper {
        padding: 1rem;
    }

    .form-success h3 {
        font-size: 1.25rem;
    }
}
