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

:root {
    --primary-green: #1a7d4d;
    --light-green: #2d9d6f;
    --dark-green: #0f5238;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-gray: #555555;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    text-decoration: none;
    display: block;
    padding: 10px 0;
}

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

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 20px 16px;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-green);
    padding-left: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 125, 77, 0.3);
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Sections */
section {
    padding: 60px 20px;
}

section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-green);
    text-align: center;
}

.about-preview {
    background-color: var(--light-gray);
}

.about-preview p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: justify;
}

.about-preview .btn {
    margin-top: 20px;
}

/* Services Grid */
.services-preview {
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(26, 125, 77, 0.15);
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 12px;
    font-size: 20px;
}

.service-card h3 a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card h3 a:hover {
    color: var(--dark-green);
}

.service-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.cta h2 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Page Content */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

.page-content {
    background-color: var(--white);
    padding: 60px 20px;
}

.page-content h2 {
    color: var(--primary-green);
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content h2:first-of-type {
    margin-top: 0;
}

.page-content h3 {
    color: var(--dark-gray);
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.page-content ul {
    color: var(--text-gray);
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
}

.team-member h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.team-member p {
    color: var(--text-gray);
    text-align: center;
    line-height: 1.6;
}

/* Detailed Team Member Profiles */
.team-members-detailed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.team-member-profile {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-green);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-member-profile:hover {
    box-shadow: 0 8px 20px rgba(26, 125, 77, 0.15);
    transform: translateY(-3px);
}

.member-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.member-header h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 24px;
}

.member-header .position {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
}

.member-header .email {
    margin: 0;
}

.member-header .email a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-header .email a:hover {
    color: var(--white);
    text-decoration: underline;
}

.member-content {
    padding: 30px;
}

.member-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
}

.member-content p:last-child {
    margin-bottom: 0;
}

/* Contact Form */
.contact-section {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(26, 125, 77, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-info-item h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.contact-info-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-info-item a {
    color: var(--primary-green);
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 60px 20px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--light-green);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--light-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        padding: 15px 20px;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: none;
        transform: none;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-menu a {
        padding-left: 40px;
    }

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

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

    section h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 28px;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        width: 100%;
    }

    .hero {
        padding: 60px 20px;
    }

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

    .cta h2 {
        font-size: 28px;
    }

    section {
        padding: 40px 20px;
    }
}