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

html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    background-color: #0a0e0d;
    color: #ffffff;
    scroll-behavior: smooth;
    position: relative;
}

/* Header - Modern glassmorphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 13, 0.6);
    backdrop-filter: blur(3px) saturate(180%);
    -webkit-backdrop-filter: blur(3px) saturate(180%);
    border-bottom: 1px solid rgba(74, 158, 61, 0.1);
    z-index: 100;
    padding: 0.75rem 4rem;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.nav-link:hover {
    color: #4a9e3d;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4a9e3d, #6fd957);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.social-icon {
    font-size: 1.2rem;
    padding: 0.7rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    border: 1px solid rgba(74, 158, 61, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(74, 158, 61, 0.05);
}

.social-icon:hover {
    background: linear-gradient(135deg, #4a9e3d, #6fd957);
    border-color: #6fd957;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 158, 61, 0.4);
}

.social-icon::after {
    display: none;
}

/* Hero Section - Top left positioned with dark overlay */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 5%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 14, 13, 0.4) 0%, rgba(45, 122, 31, 0.2) 50%, rgba(10, 14, 13, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top left;
    z-index: 0;
    filter: brightness(0.7) contrast(1.1);
}

.hero-text {
    position: relative;
    width: auto;
    max-width: 90%;
    z-index: 2;
    padding: 2rem;
}

.inverted-text {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    color: #ffffff;
    text-align: right;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    text-shadow: 0 0 80px rgba(74, 158, 61, 0.5),
                 0 10px 40px rgba(0, 0, 0, 0.8);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #a8e6a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.inverted-text:last-child {
    background: linear-gradient(180deg, #6fd957 0%, #4a9e3d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Content - Dark theme */
.main-content {
    background-color: #0a0e0d;
    width: 100%;
    overflow-x: hidden;
}

.section {
    padding: 3rem 4rem;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.section-content {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4a9e3d, #6fd957);
    border-radius: 2px;
}

/* Services Section - Card grid with neon accents */
.services {
    background: linear-gradient(180deg, #0a0e0d 0%, #0f1612 50%, #0a0e0d 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.5rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(20, 30, 25, 0.8) 0%, rgba(15, 22, 18, 0.9) 100%);
    padding: 1.5rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(74, 158, 61, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 61, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 8px 16px rgba(74, 158, 61, 0.15);
    border-color: #6fd957;
    background: linear-gradient(135deg, rgba(30, 45, 35, 0.9) 0%, rgba(20, 30, 25, 0.95) 100%);
}

.service-icon {
    font-size: 2.5rem;
    color: #6fd957;
    margin-bottom: 1rem;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 20px rgba(111, 217, 87, 0.5));
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 0 40px rgba(111, 217, 87, 0.8));
}

.service-card h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

/* Gallery Section - Modern masonry-style */
.gallery {
    background: #0a0e0d;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
}

.gallery-image {
    height: 220px;
    width: auto;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(74, 158, 61, 0.2);
    filter: grayscale(0.3) brightness(0.9);
    flex-grow: 1;
}

.gallery-image:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 16px rgba(74, 158, 61, 0.15);
    border-color: #6fd957;
    filter: grayscale(0) brightness(1.1);
}

/* Gallery Overlay */
.gallery-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.gallery-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-overlay-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 4px;
}

.gallery-close {
    position: absolute;
    top: 40px;
    right: 60px;
    color: white;
    font-size: 48px;
    font-weight: 200;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 14, 13, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 61, 0.4);
    line-height: 1;
    padding: 0;
    margin: 0;
}

.gallery-close:hover {
    background: rgba(20, 30, 25, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-color: #6fd957;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 35px;
    font-weight: 300;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 14, 13, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 61, 0.4);
    line-height: 1;
    padding: 0;
    padding-bottom: 3px;
}

.gallery-prev {
    left: 60px;
}

.gallery-next {
    right: 60px;
}

.gallery-nav:hover {
    background: rgba(20, 30, 25, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-color: #6fd957;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Contact Section - Futuristic cards */
.contact {
    background: linear-gradient(180deg, #0a0e0d 0%, #0f1612 50%, #0a0e0d 100%);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(20, 30, 25, 0.6) 0%, rgba(15, 22, 18, 0.8) 100%);
    padding: 2rem;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(74, 158, 61, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(111, 217, 87, 0.3), transparent);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(74, 158, 61, 0.15);
    border-color: #6fd957;
    background: linear-gradient(135deg, rgba(30, 45, 35, 0.8) 0%, rgba(20, 30, 25, 0.9) 100%);
}

.contact-icon {
    font-size: 2rem;
    color: #6fd957;
    min-width: 40px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 15px rgba(111, 217, 87, 0.5));
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 0 30px rgba(111, 217, 87, 0.8));
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1rem;
}

.contact-item p {
    color: #b8e6b1;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.contact-item a {
    color: #6fd957;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #a8e6a1;
    text-shadow: 0 0 10px rgba(111, 217, 87, 0.5);
}

/* Footer - Minimal and sleek */
.footer {
    background: #0a0e0d;
    color: #ffffff;
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(74, 158, 61, 0.15);
}

.footer p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.6;
    letter-spacing: 0.3px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header {
        padding: 0.75rem 2rem;
    }

    .nav {
        gap: 2rem;
    }

    .section {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.6rem 1.5rem;
    }

    .nav {
        gap: 1rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .nav-link:not(.social-icon) {
        margin-right: auto;
    }

    .social-icon {
        margin-left: 0;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .section {
        padding: 2.5rem 1.5rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
        justify-content: center;
        padding: 0 1rem;
    }

    .hero-text {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        text-align: center;
    }

    .inverted-text {
        text-align: center;
        font-size: clamp(2.5rem, 12vw, 5rem);
        margin-bottom: 1.5rem;
    }

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

    .service-card {
        padding-top: 0.1rem 0.1rem;
        min-height: 80px;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .service-card h3 {
        font-size: 0.75rem;
    }

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

    .contact-item {
        padding: 1rem;
    }

    .gallery-grid {
        gap: 0.5rem;
    }

    .gallery-image {
        height: 160px;
    }

    .gallery-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
        width: 50px;
        height: 50px;
    }

    .gallery-nav {
        font-size: 30px;
        width: 50px;
        height: 50px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-overlay-image {
        max-width: 95%;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.7rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .service-card {
        padding: 1rem 1rem;
    }

    .contact-item {
        padding: 1rem;
        gap: 1.5rem;
    }
}
