/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: linear-gradient(135deg, #f8fff7 0%, #eef8ed 100%);
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

/* Header and Navigation */
header {
    position: sticky;
    top: 0;
    background: rgba(5, 61, 31, 0.96);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 54, 24, 0.16);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem clamp(16px, 4vw, 24px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    width: clamp(92px, 11vw, 118px);
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 8px 24px rgba(0, 63, 27, 0.18);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem 1.35rem;
    list-style: none;
}

nav ul li {
    margin-left: 0;
}

nav ul li a {
    color: #f3fff1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #0b7b2d, #64bd3d);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #9fe477;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #04361d 0%, #086b2e 48%, #43a636 100%);
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 12vw, 120px) 0;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='2'%3E%3Cpath d='M100 150h200M100 250h200M500 75v150M600 75v150M260 400h280M260 520h280M150 650h120M530 650h120'/%3E%3Cpath d='M200 150v50M300 150v50M520 75h-50M520 225h-50M260 400v70M540 400v70M150 650v50M650 650v50'/%3E%3Ccircle cx='220' cy='190' r='10'/%3E%3Ccircle cx='280' cy='190' r='10'/%3E%3Ccircle cx='520' cy='100' r='10'/%3E%3Ccircle cx='520' cy='220' r='10'/%3E%3Ccircle cx='260' cy='450' r='10'/%3E%3Ccircle cx='540' cy='450' r='10'/%3E%3Ccircle cx='150' cy='690' r='10'/%3E%3Ccircle cx='650' cy='690' r='10'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
    opacity: 0.18;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 25%), radial-gradient(circle at bottom right, rgba(159, 228, 119, 0.2), transparent 20%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.15rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #e9ffe5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: clamp(1rem, 2.8vw, 1.3rem);
    font-weight: 400;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e9ffe5;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #0b7b2d, #64bd3d);
    color: white;
    padding: 14px clamp(24px, 7vw, 40px);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(11, 123, 45, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(11, 123, 45, 0.4);
}

/* Sections */
section {
    padding: clamp(56px, 9vw, 100px) 0;
    position: relative;
}

h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: clamp(2.5rem, 7vw, 4rem);
    color: #075f2b;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #0b7b2d, #64bd3d);
    border-radius: 2px;
}

/* Services and Products */
.service-cards, .product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.25rem, 4vw, 3rem);
}

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #0b7b2d, #64bd3d);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.8);
}

.card .icon {
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.card:hover .icon {
    transform: scale(1.1);
}

.card h3 {
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #075f2b;
}

.card p {
    color: #4a5568;
    font-weight: 400;
    line-height: 1.7;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.25rem, 4vw, 3rem);
    margin-top: 3rem;
}

.about-content div {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
    min-width: 0;
}

.about-content div:hover {
    transform: translateY(-5px);
}

.about-content h3 {
    color: #075f2b;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Why Choose Us */
.strengths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(1.25rem, 4vw, 3rem);
}

.strength {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    min-width: 0;
}

.strength:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.strength h3 {
    color: #075f2b;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: start;
}

.contact-info, .contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 0;
}

.contact-info p {
    overflow-wrap: anywhere;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 1.5rem;
    padding: 16px;
    border: 2px solid #d9ead7;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.human-check {
    background: #f8fff7;
    border: 2px solid #d9ead7;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

#turnstileWidget {
    min-height: 65px;
    overflow: hidden;
}

.verification-message {
    display: block;
    margin-top: 0.65rem;
    color: #4a5568;
    font-size: 0.92rem;
}

.verification-message.visible {
    display: block;
}

.verification-message.verified {
    color: #0b7b2d;
    font-weight: 600;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0b7b2d;
    box-shadow: 0 0 0 3px rgba(11, 123, 45, 0.1);
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}

.contact-form button {
    align-self: flex-start;
    background: linear-gradient(45deg, #0b7b2d, #64bd3d);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(11, 123, 45, 0.3);
}

.contact-form button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: none;
}

.contact-form button:not(:disabled):hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(11, 123, 45, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #04361d 0%, #075f2b 100%);
    color: #f3fff1;
    padding: 60px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #0b7b2d, #64bd3d);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-content .logo {
    width: clamp(92px, 11vw, 118px);
    height: auto;
}

.footer-content ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}

.footer-content ul li {
    margin-left: 0;
}

.footer-content ul li a {
    color: #f3fff1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-content ul li a:hover {
    color: #9fe477;
}

.social a {
    color: #f3fff1;
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}

.social a {
    margin-left: 0;
}

.social a:hover {
    color: #9fe477;
    transform: translateY(-2px);
}

footer p {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    color: #a0aec0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 0.85rem 1rem;
        gap: 0.85rem;
    }

    nav ul {
        margin-top: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.55rem 1rem;
    }

    .logo,
    .footer-content .logo {
        width: 108px;
        height: auto;
    }

    nav ul li {
        margin-left: 0;
        margin-right: 0;
    }

    nav ul li a {
        font-size: 0.95rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 9vw, 2.5rem);
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content ul {
        margin: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-content ul li {
        margin: 0.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    nav ul {
        gap: 0.45rem 0.8rem;
    }

    nav ul li a {
        font-size: 0.88rem;
    }

    .logo,
    .footer-content .logo {
        width: 96px;
    }

    .hero {
        padding: 64px 0;
    }

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

    .cta-button,
    .contact-form button {
        width: 100%;
        text-align: center;
    }

    .card,
    .strength,
    .about-content div,
    .contact-info,
    .contact-form {
        border-radius: 14px;
    }
}
