/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
#navbar {
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(6, 78, 59, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #34d399;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
#menu.open {
    opacity: 1;
    pointer-events: auto;
}

#menu.open .nav-link {
    opacity: 1;
    transform: translateY(0);
}

.menu-line {
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    width: 6px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero-gradient {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 25%, #047857 50%, #059669 75%, #10b981 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.12;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #34d399;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: #6ee7b7;
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: #a7f3d0;
    top: 30%;
    right: 10%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: spin 20s linear infinite;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: #d1fae5;
    top: 20%;
    left: 15%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: spin 15s linear infinite reverse;
}

.shape-5 {
    width: 200px;
    height: 200px;
    border: 3px solid #6ee7b7;
    border-radius: 50%;
    bottom: 20%;
    right: 20%;
    animation: float 10s ease-in-out infinite;
}

.shape-6 {
    width: 80px;
    height: 80px;
    background: #34d399;
    top: 60%;
    left: 25%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 7s ease-in-out infinite reverse;
}

/* Hero Animations */
.hero-subtitle {
    animation: slideUp 0.8s ease forwards 0.2s;
}

.hero-headline {
    animation: slideUp 0.8s ease forwards 0.4s;
}

.hero-desc {
    animation: slideUp 0.8s ease forwards 0.6s;
}

.hero-cta {
    animation: slideUp 0.8s ease forwards 0.8s;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #34d399;
    color: #064e3b;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(52, 211, 153, 0.3);
}

.btn-primary:hover {
    background: #6ee7b7;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(52, 211, 153, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 60px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    perspective: 1000px;
}

/* About Section */
.about-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.about-shape {
    position: absolute;
    opacity: 0.08;
}

.about-shape-1 {
    width: 300px;
    height: 300px;
    background: #34d399;
    border-radius: 50%;
    top: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.about-shape-2 {
    width: 200px;
    height: 200px;
    background: #6ee7b7;
    bottom: 10%;
    left: 5%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: spin 25s linear infinite;
}

.about-shape-3 {
    width: 120px;
    height: 120px;
    background: #a7f3d0;
    top: 40%;
    right: 15%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: spin 18s linear infinite reverse;
}

/* Gallery */
.gallery-item {
    cursor: pointer;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 10;
}

/* Testimonials */
.testimonial-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

/* CTA Section */
.cta-gradient {
    background: linear-gradient(135deg, #047857 0%, #059669 30%, #065f46 60%, #064e3b 100%);
}

.cta-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    opacity: 0.1;
}

.cta-shape-1 {
    width: 500px;
    height: 500px;
    background: #34d399;
    border-radius: 50%;
    top: -200px;
    left: -200px;
    animation: float 10s ease-in-out infinite;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    background: #6ee7b7;
    border-radius: 50%;
    bottom: -100px;
    right: -50px;
    animation: float 7s ease-in-out infinite reverse;
}

.cta-shape-3 {
    width: 150px;
    height: 150px;
    background: #a7f3d0;
    top: 50%;
    left: 60%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: spin 12s linear infinite;
}

/* Forms */
.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    border-color: #34d399;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.form-input select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-input select option {
    background: #064e3b;
    color: white;
}

.form-input-light {
    width: 100%;
    padding: 14px 18px;
    background: #fefdf8;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    color: #064e3b;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input-light::placeholder {
    color: #9ca3af;
}

.form-input-light:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.btn-submit {
    padding: 16px 32px;
    background: #34d399;
    color: #064e3b;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.btn-submit:hover {
    background: #6ee7b7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.3);
}

.btn-submit-light {
    padding: 16px 32px;
    background: #059669;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.btn-submit-light:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

/* Social Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #34d399;
    color: #064e3b;
    transform: translateY(-3px);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.75rem;
    }
    
    .hero-desc {
        font-size: 1.1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}
