/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #2e8b57;
    --color-primary-dark: #236b43;
    --color-secondary: #1e3a5f;
    --color-secondary-dark: #152a47;
    --color-accent: #2e8b57;
    --color-bg-light: #f0f7f4;
    --color-bg-lighter: #e8f4fc;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-300: #d1d5db;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-white: #ffffff;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-gray-700);
    background: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    vertical-align: middle;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-gray-100);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo-link {
    display: block;
}

.logo {
    height: 3.5rem;
    width: auto;
}

.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: var(--color-secondary);
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu-btn .close-icon.hidden {
    display: none;
}

.nav-links {
    display: none;
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid var(--color-gray-100);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        gap: 2rem;
        padding: 0;
        border: none;
        box-shadow: none;
    }
}

.nav-link {
    color: var(--color-gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.phone-link .icon {
    color: var(--color-primary);
}

@media (min-width: 640px) {
    .phone-link {
        display: flex;
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--color-secondary);
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    border: 2px solid var(--color-secondary);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

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

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--color-white);
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    border: 2px solid var(--color-white);
    transition: all 0.3s ease;
}

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

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 139, 87, 0.1);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
}

/* Hero Section */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 10rem;
        padding-bottom: 8rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-white) 50%, var(--color-bg-lighter) 100%);
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-decoration-1 {
    top: 5rem;
    right: 0;
    width: 600px;
    height: 600px;
    background: rgba(46, 139, 87, 0.05);
}

.hero-decoration-2 {
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: rgba(30, 58, 95, 0.05);
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-accent {
    display: block;
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.4) 0%, transparent 100%);
}

.image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.image-badge .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
}

.image-badge .font-semibold {
    font-weight: 600;
    color: var(--color-secondary);
}

.image-badge .text-sm {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

/* How We Work Section */
.how-we-work-section {
    padding: 5rem 0;
    background: var(--color-secondary);
}

@media (min-width: 1024px) {
    .how-we-work-section {
        padding: 8rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 42rem;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 2rem;
    }
}

.step-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.step-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(46, 139, 87, 0.3);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.step-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.step-arrow {
    display: none;
    width: 2rem;
    height: 2rem;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .step-arrow {
        display: block;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .about-section {
        padding: 8rem 0;
    }
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-title-left {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .section-title-left {
        font-size: 3rem;
    }
}

.text-accent {
    color: var(--color-primary);
}

.about-text {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-column-offset {
    margin-top: 2rem;
}

.stat-card {
    border-radius: 1.5rem;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-card-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.stat-card-secondary {
    background: var(--color-gray-100);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-card-primary .stat-number {
    color: var(--color-white);
}

.stat-card-secondary .stat-number {
    color: var(--color-secondary);
}

.stat-label {
    line-height: 1.4;
}

.stat-card-primary .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.stat-card-secondary .stat-label {
    color: var(--color-gray-600);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--color-gray-50) 0%, var(--color-white) 100%);
}

@media (min-width: 1024px) {
    .services-section {
        padding: 8rem 0;
    }
}

.services-section .section-title {
    color: var(--color-secondary);
}

.services-section .section-description {
    color: var(--color-gray-600);
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--color-white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(46, 139, 87, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--color-primary);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon svg {
    color: var(--color-white);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--color-gray-600);
    line-height: 1.6;
}

.section-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 8rem 0;
    }
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2260%22%20height%3D%2260%22%20viewBox%3D%220%200%2060%2060%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.05%22%3E%3Cpath%20d%3D%22M36%2034v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6%2034v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6%204V0H4v4H0v2h4v4h2V6h4V4H6z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E');
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    position: relative;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .contact-section {
        padding: 8rem 0;
    }
}

.contact-section .section-title {
    color: var(--color-secondary);
}

.contact-section .section-description {
    color: var(--color-gray-600);
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
    }
}

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

.contact-card {
    background: var(--color-white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(46, 139, 87, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--color-primary);
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.contact-link {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-primary-dark);
}

.contact-card-text {
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

.contact-form-wrapper {
    background: var(--color-white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .contact-form-wrapper {
        padding: 3rem;
    }
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-form {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 0.875rem;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--color-white);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

select.form-input {
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%234b5563%22%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M19%209l-7%207-7-7%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    grid-column: 1 / -1;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.form-message.hidden {
    display: none;
}

.form-success {
    background: rgba(46, 139, 87, 0.1);
    color: var(--color-primary);
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Footer */
.footer {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-about {
    max-width: 28rem;
}

.footer-logo {
    background: var(--color-white);
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 3rem;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-primary);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-list .icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.font-semibold {
    font-weight: 600;
}

.text-sm {
    font-size: 0.875rem;
}

.hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-title-left {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .btn-lg {
        width: 100%;
    }
}
