/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #020617;
    color: white;
    overflow-x: hidden;
}

/* NAVIGATION - BASE DESKTOP STYLES */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.logo { 
    display: flex; 
    align-items: center; 
    cursor: pointer; 
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: #22c55e;
    letter-spacing: -1px;
}

.logo span { 
    color: white; 
    margin-left: 5px; 
    font-weight: 300; 
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
    position: relative;
}

.nav-links li a:hover, 
.nav-links li a.active { 
    color: #22c55e; 
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #22c55e;
}

/* Hamburger Icon - Hidden on Desktop */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #22c55e;
    background: none;
    border: none;
    z-index: 2001;
    transition: transform 0.3s ease;
    line-height: 1;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(120deg, #020617, #0f172a, #020617);
    background-size: 300% 300%;
    animation: gradientMove 10s ease infinite;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 0;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Watermark Logo */
.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('../assets/logo.jpeg'); 
    width: 60%; 
    height: 60%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
}

.hero h1 { 
    font-size: 60px; 
    max-width: 900px; 
    margin-bottom: 20px; 
    line-height: 1.1; 
    font-weight: 800; 
    letter-spacing: -2px; 
}

.hero p { 
    font-size: 20px; 
    color: #94a3b8; 
    max-width: 700px; 
    margin-bottom: 30px; 
}

.cta-group { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
}

/* BUTTONS & FORMS */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #22c55e;
    border: none;
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
}

.btn:hover { 
    background: #16a34a; 
    transform: translateY(-3px); 
}

.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 1px solid #22c55e;
    color: #22c55e;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-secondary:hover { 
    background: rgba(34, 197, 94, 0.1); 
    transform: translateY(-3px); 
}

/* TRUST STRIP */
.trust-strip {
    display: flex;
    justify-content: space-around;
    padding: 40px 60px;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 20px;
}

.trust-strip span {
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* GRID LAYOUTS */
.section { 
    padding: 100px 10%; 
    text-align: center; 
}

.services, .projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.card:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 10px 40px -10px rgba(34, 197, 94, 0.2);
    transform: translateY(-8px);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%; 
    left: -50%;
    width: 200%; 
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}

.card:hover::after { 
    opacity: 1; 
}

.card h3 { 
    margin: 15px 0; 
    color: white; 
    font-size: 1.4rem; 
}

.card p { 
    color: #94a3b8; 
    font-size: 0.95rem; 
    line-height: 1.6; 
}

.icon { 
    font-size: 2.5rem; 
    display: block; 
    margin-bottom: 10px; 
}

/* TECHNICAL GRID & LIGHTING */
.tech-grid {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: -2;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

body::after {
    content: '';
    position: fixed;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* WHY CHOOSE US */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.05);
    transition: 0.4s ease;
}

.benefit-item:hover .benefit-icon {
    background: #22c55e;
    color: #020617;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.4);
}

.benefit-item p {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.4;
}

.benefit-item:hover p { 
    color: white; 
}

/* FOOTER & SCROLL */
footer { 
    padding: 60px 40px; 
    text-align: center; 
    color: #64748b; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
}

#scrollToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    border: none;
    background-color: #22c55e;
    color: white;
    padding: 15px 20px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    cursor: pointer;
    transition: 0.3s;
}

#scrollToTop:hover { 
    transform: translateY(-5px); 
    background-color: #16a34a; 
}

/* MISSION SECTION */
.mission-container {
    max-width: 800px;
    margin: 0 auto;
}

.mission-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* CTA SECTION */
.cta-section {
    background: #22c55e;
    color: #020617;
}

.cta-title {
    color: #020617;
    margin-bottom: 1rem;
}

.cta-text {
    color: #020617;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-button {
    background: #020617;
    color: #22c55e;
    border: none;
    margin-top: 20px;
    display: inline-block;
}

.cta-button:hover {
    background: #1a2a3a;
    transform: translateY(-3px);
}

.footer-email {
    color: #22c55e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #16a34a;
    text-decoration: underline;
}

.footer-social {
    margin-top: 10px;
}

.social-link {
    color: #64748b;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #22c55e;
}

/* ============================================ */
/* MOBILE RESPONSIVE STYLES */
/* ============================================ */

@media (max-width: 768px) {
    /* Navigation Mobile Styles */
    .navbar {
        padding: 15px 20px;
    }

    /* Show hamburger menu on mobile */
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2001;
    }

    /* Hide desktop navigation by default on mobile */
    .nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        margin: 0;
        padding: 2rem;
        transition: right 0.3s ease-in-out;
        z-index: 2000;
        border-left: 1px solid rgba(34, 197, 94, 0.2);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    /* Active state for mobile menu */
    .nav-links.active {
        right: 0;
    }

    /* Mobile menu links */
    .nav-links li a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        display: block;
        text-align: center;
    }

    /* Body overlay when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1999;
    }

    /* Hero Section Mobile */
    .hero {
        margin-top: 70px;
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .hero h1 { 
        font-size: 32px; 
        letter-spacing: -1px;
    }
    
    .hero p { 
        font-size: 16px; 
    }

    /* Trust Strip Mobile */
    .trust-strip {
        padding: 30px 20px;
        gap: 15px;
    }

    .trust-strip span {
        font-size: 0.7rem;
    }

    /* Section Padding Mobile */
    .section { 
        padding: 60px 5%; 
    }

    /* Grid Layouts Mobile */
    .services, .projects { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    /* CTA Group Mobile */
    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn, .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Benefits Grid Mobile */
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 25px;
        padding: 0 10px;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .benefit-item p {
        font-size: 0.85rem;
    }

    /* Mission Quote Mobile */
    .mission-quote {
        font-size: 1rem;
    }

    /* Footer Mobile */
    footer {
        padding: 40px 20px;
    }

    footer p {
        font-size: 0.85rem;
    }

    /* Scroll to Top Button Mobile */
    #scrollToTop {
        padding: 12px 16px;
        bottom: 20px;
        right: 20px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        padding: 15px 40px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section {
        padding: 80px 8%;
    }
}