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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #F5F5F5; /* Smoky White */
    background-color: #191919; /* Graphite Black */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(25, 25, 25, 0.95); /* Graphite Black with opacity */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(150, 153, 146, 0.2); /* Signal Gray */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.logo {
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-name {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.name-main {
    font-weight: 900;
    color: #6DD708;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.name-suffix {
    font-weight: 300;
    font-size: 0.9rem;
    color: #6DD708;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .company-name {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    
    .name-main {
        font-size: 1.1rem;
    }
    
    .name-suffix {
        font-size: 0.8rem;
    }
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #6DD708;
    z-index: 1001;
}

.nav-links {
    list-style: none;
    display: flex;
    margin-right: 3rem; /* Added margin to move links away from the right edge */
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links li a {
    color: #F5F5F5; /* Smoky White */
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #6DD708; /* Green Lawn */
}

/* Hero */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism Orbs */
.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: #6DD708;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #505050;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: #6DD708;
    top: 40%;
    left: 60%;
    animation-delay: -2s;
    opacity: 0.4;
}

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

.hero-content {
    background: rgba(25, 25, 25, 0.6); /* Darker background for better readability */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(109, 215, 8, 0.3); /* Green Lawn border */
    padding: 3rem;
    border-radius: 15px;
    max-width: 700px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 2;
    position: relative;
}

.hero-mobile-wrapper {
    display: none;
    position: relative;
    z-index: 2;
}

.hero-mobile-img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #6DD708; /* Green Lawn */
    white-space: nowrap;
    font-size: clamp(0.9rem, 5.2vw, 3.5rem);
    letter-spacing: -1px;
    text-align: center;
    width: 100%;
}

.hero-suffix {
    font-variant: small-caps;
    font-size: 0.75em;
    font-weight: 500;
    margin-left: 0.2em;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #F5F5F5;
}

.cta-button {
    display: inline-block;
    background-color: #6DD708; /* Green Lawn */
    color: #191919; /* Graphite Black for contrast */
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #5bb307;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(109, 215, 8, 0.4);
}

/* Sections */
section {
    padding: 6rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #6DD708; /* Green Lawn */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(109, 215, 8, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-image img,
.about-image video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.about-image:hover img,
.about-image:hover video {
    transform: scale(1.05);
}

/* Why Choose Us */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.why-us-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-us-card:hover {
    transform: translateY(-10px);
    border-color: rgba(109, 215, 8, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.why-us-card .icon-box {
    font-size: 2rem;
    color: #6DD708;
    margin-bottom: 1.5rem;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(109, 215, 8, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.why-us-card:hover .icon-box {
    background: #6DD708;
    color: #191919;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 30px rgba(109, 215, 8, 0.4);
    border-color: #6DD708;
}

.why-us-card h3 {
    color: #F5F5F5;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.why-us-card p {
    color: #969992;
    font-size: 1rem;
}

/* Services */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(109, 215, 8, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: rgba(109, 215, 8, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(109, 215, 8, 0.2);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.service-card:hover .icon-wrapper {
    background: #6DD708;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(109, 215, 8, 0.4);
    border-color: #6DD708;
}

.service-icon {
    font-size: 2.5rem;
    color: #6DD708;
    margin: 0;
    transition: color 0.3s;
}

.service-card:hover .service-icon {
    color: #191919;
}

.service-card h3 {
    color: #F5F5F5;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    color: #969992;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6DD708;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: #fff;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Portfolio Carousel */
.portfolio-carousel {
    position: relative;
    width: min(1100px, 100%);
    margin: 40px auto 20px;
    overflow: hidden;
    border-radius: 14px;
    cursor: grab;
    touch-action: pan-y;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.drag-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #6DD708;
    background: rgba(25, 25, 25, 0.6);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(109, 215, 8, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.drag-indicator.hidden {
    opacity: 0;
}

.drag-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drag-chevron {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

.drag-chevron.left {
    animation: chevron-left 2s ease-in-out infinite;
}

.drag-chevron.right {
    animation: chevron-right 2s ease-in-out infinite;
}

.drag-indicator span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #F5F5F5;
}

@keyframes chevron-left {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(-5px); opacity: 1; }
}

@keyframes chevron-right {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(5px); opacity: 1; }
}

.portfolio-carousel.is-dragging {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: max-content;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 clamp(280px, 62vw, 760px);
    aspect-ratio: 16 / 9;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(25, 25, 25, 0.9);
    border: 1px solid rgba(150, 153, 146, 0.25);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

@media (max-width: 992px) {
    .portfolio-carousel {
        width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .carousel-slide {
        flex-basis: clamp(260px, 76vw, 620px);
    }
}

@media (max-width: 600px) {
    .portfolio-carousel {
        margin: 30px auto 12px;
        border-radius: 10px;
    }

    .carousel-track {
        gap: 12px;
    }

    .carousel-slide {
        flex-basis: clamp(230px, 88vw, 520px);
        border-radius: 10px;
        aspect-ratio: 4 / 3;
    }
}

/* Contact */
.contact-wrapper {
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-details {
    flex: 1;
}

.contact-info {
    margin-bottom: 3rem;
    text-align: left;
}

.contact-info h3, .social-links h3 {
    color: #6DD708;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    color: #6DD708;
    width: 20px;
}

.contact-info a {
    color: #F5F5F5;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #6DD708;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(150, 153, 146, 0.2);
    border-radius: 50%;
    color: #F5F5F5;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #6DD708;
    color: #191919;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(109, 215, 8, 0.3);
}

.sleek-form {
    flex: 1;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    max-width: none;
    margin: 0;
}

.sleek-form h3 {
    color: #6DD708;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0;
    border: none;
    border-bottom: 2px solid #969992;
    outline: none;
    background: transparent;
    transition: border-color 0.3s;
    border-radius: 0;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1rem;
    color: #969992;
    pointer-events: none;
    transition: 0.3s ease all;
}

.form-group input:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:focus,
.form-group textarea:not(:placeholder-shown) {
    border-bottom-color: #6DD708;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.85rem;
    color: #6DD708;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #6DD708;
    color: #191919;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: #fff;
    color: #6DD708;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(109, 215, 8, 0.3);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
    color: #FFF;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(150, 153, 146, 0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    background: #111111;
    border-top: 1px solid rgba(150, 153, 146, 0.1);
}

footer p {
    color: #969992;
}

footer a {
    color: #6DD708;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .burger-menu {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        background: rgba(25, 25, 25, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        border-bottom: 1px solid rgba(150, 153, 146, 0.2);
        padding: 0;
        margin: 0;
        margin-right: 0; /* Reset desktop margin */
    }

    .nav-links.active {
        max-height: 100vh;
        opacity: 1;
        visibility: visible;
        padding: 2rem 0 6rem 0; /* Generous bottom padding */
        overflow-y: auto; /* Allow scrolling if content is tall */
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s; /* Stagger effect */
    }

    .nav-links li:last-child {
        margin-bottom: 2rem;
    }

    #hero {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero.webp');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        min-height: 100vh;
        padding-top: 8rem;
        gap: 2rem;
    }

    .hero-content {
        padding: 1rem;
        margin: 0 1rem;
        width: 96%;
        max-width: 100%;
    }

    .sleek-form {
        padding: 2rem;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .hero-mobile-wrapper {
        display: block;
        width: 100%;
        max-width: 500px;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(109, 215, 8, 0.3);
        margin: 0 auto 2rem auto;
        position: relative;
        overflow: hidden;
    }

    .hero-mobile-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4); /* Dark overlay */
        pointer-events: none;
    }

    .hero-mobile-img {
        display: block;
        width: 100%;
        height: auto;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: clamp(0.85rem, 5vw, 1.4rem);
        letter-spacing: 0.02em;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 60px;
    }
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #191919;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.holder {
    position: relative;
    width: 100px;
    height: 100px;
}

.bar {
    background: #6DD708;
    box-shadow: 0px 0px 0 #6DD708,
                0px 0px 4px #6DD708,
                0px 0px 8px #6DD708,
                0px 0px 16px #6DD708;
    border-radius: 4px;
    position: absolute;
}

.left {
    width: 4px;
    animation: left 2s linear infinite;
}

@keyframes left {
    0% { height: 0; top: 96px; left: 0; }
    20% { height: 100px; top: 0; left: 0; }
    40% { height: 0; top: 0; left: 0; }
}

.top {
    height: 4px;
    animation: top 2s linear infinite;
}

@keyframes top {
    0% { width: 0; top: 0; left: 0; }
    20% { width: 0; top: 0; left: 0; }
    40% { width: 100px; top: 0; left: 0; }
    60% { width: 0; top: 0; left: 100px; }
}

.right {
    width: 4px;
    animation: right 2s linear infinite;
}

@keyframes right {
    0% { height: 0; top: 0; left: 96px; }
    40% { height: 0; top: 0; left: 96px; }
    60% { height: 100px; top: 0; left: 96px; }
    80% { height: 0; top: 100px; left: 96px; }
}

.bottom {
    height: 4px;
    animation: bottom 2s linear infinite;
}

@keyframes bottom {
    0% { width: 0; top: 96px; left: 96px; }
    60% { width: 0; top: 96px; left: 96px; }
    80% { width: 100px; top: 96px; left: 0px; }
    100% { width: 0px; top: 96px; left: 0px; }
}
