/* Reset & Base */
:root {
    --color-green-dark: #064e3b; /* Forest Green */
    --color-green-mid: #059669;
    --color-green-light: #d1fae5;
    --color-off-white: #f8fafc;
    --color-white: #ffffff;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1200px;
    --section-padding: 120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

/* Typography Utilities */
.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-green-mid);
    margin-bottom: 16px;
}

.text-green { color: var(--color-green-light); }
.text-white { color: var(--color-white); }
.text-gray { color: #94a3b8; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-green-dark);
    color: var(--color-white);
    border: 1px solid var(--color-green-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-green-dark);
}

.btn-text {
    background: transparent;
    color: var(--color-text);
    padding: 16px 0;
    margin-left: 24px;
}

.btn-text:hover {
    color: var(--color-green-mid);
}

.btn-nav {
    background-color: var(--color-green-dark);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 2px;
}

.btn-nav:hover {
    background-color: var(--color-green-mid);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-green-dark);
}

.logo-mark {
    width: 24px;
    height: 24px;
    background: var(--color-green-dark);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zm0 9l2.5-1.25L12 8.5l-2.5 1.25L12 11zm0 2.5l-2.5-1.25L12 13.5l2.5 1.25L12 14.5zm0 2.5l-2.5-1.25L12 16l2.5 1.25L12 17.5z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zm0 9l2.5-1.25L12 8.5l-2.5 1.25L12 11zm0 2.5l-2.5-1.25L12 13.5l2.5 1.25L12 14.5zm0 2.5l-2.5-1.25L12 16l2.5 1.25L12 17.5z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-nav) {
    font-size: 0.9rem;
    color: var(--color-text);
}

.nav-links a:not(.btn-nav):hover {
    color: var(--color-green-mid);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    position: absolute;
    transition: 0.3s;
}

.mobile-toggle span:first-child { top: 0; }
.mobile-toggle span:last-child { bottom: 0; }

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 32px 24px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.2rem;
    font-family: var(--font-display);
    color: var(--color-text);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #ecfdf5 0%, #d1fae5 40%, #a7f3d0 100%);
    z-index: -1;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: #34d399;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #059669;
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #10b981;
    top: 40%;
    left: 20%;
    animation-delay: -6s;
    opacity: 0.4;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-eyebrow {
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-light);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-green-dark), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Section Common */
.section {
    padding: var(--section-padding) 0;
}

.bg-off-white {
    background-color: var(--color-off-white);
}

.bg-dark {
    background-color: var(--color-green-dark);
    color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: inherit;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--color-white);
    padding: 48px 32px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--color-green-mid);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--color-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green-dark);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 1rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-green-mid);
    border-radius: 8px;
    z-index: -1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.check-icon {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-green-mid);
    border-radius: 50%;
    position: relative;
}

.check-icon::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid var(--color-green-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 24px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.grid-item.large {
    grid-row: span 2;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

.grid-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 48px;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.detail-item svg {
    color: var(--color-green-light);
    flex-shrink: 0;
}

.detail-item h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.detail-item p, .detail-item a {
    color: #94a3b8;
    font-size: 1rem;
}

.detail-item a:hover {
    color: var(--color-green-light);
}

/* Form */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 48px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color 0.3s ease;
    background: var(--color-off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-green-mid);
    background: var(--color-white);
}

.form-success {
    text-align: center;
    padding: 48px;
}

.form-success svg {
    color: var(--color-green-mid);
    margin-bottom: 24px;
}

.form-success h3 {
    color: var(--color-text);
    margin-bottom: 12px;
}

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

/* Footer */
.footer {
    background: #022c22;
    color: white;
    padding: 64px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
}

.footer-logo .logo-mark {
    background: white;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 200px 200px;
    }
    
    .grid-item.large {
        grid-row: auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .btn-text {
        margin-left: 0;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
