/* 1. Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Accessibility: Screen Reader Only Class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Keyboard Focus Accessibility */
*:focus-visible {
    outline: 3px solid #11a35e;
    outline-offset: 3px;
}

/* 2. Fluid Dark/Green Background */
body {
    background-color: #050505;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 3. Background Glowing Orbs (FIXED: Now pinned to screen to prevent stretching) */
.bg-shape {
    position: fixed; 
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}
.shape1 {
    width: 600px;
    height: 600px;
    background: #11a35e;
    top: -150px;
    left: -150px;
    opacity: 0.35;
}
.shape2 {
    width: 700px;
    height: 700px;
    background: #0b5c46;
    bottom: -200px;
    right: -150px;
    opacity: 0.4;
}

/* 4. Glassmorphism Magic */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* 5. Header & Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
}
header h1 {
    font-size: 26px;
    letter-spacing: 2px;
}
header h1 span {
    color: #11a35e;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}
nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}
nav a:hover {
    color: #11a35e;
}

/* 6. Buttons */
.btn-small {
    background: #11a35e;
    padding: 8px 24px;
    border-radius: 30px;
    color: #fff !important;
}
.btn-primary {
    display: inline-block;
    background: #11a35e;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    margin-top: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(17, 163, 94, 0.4);
}

/* 7. Hero Section */
#home {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 5%;
}
.hero-content {
    text-align: center;
    padding: 60px 40px;
    border-radius: 24px;
    max-width: 850px;
}
.hero-content h2 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-content p {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 35px;
}

/* 8. Clients Carousel */
#clients {
    padding: 60px 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.client-category-title {
    text-align: center;
    color: #11a35e;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 40px;
}

.marquee-content {
    display: inline-block;
    animation: scroll 35s linear infinite;
    will-change: transform; 
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.marquee-content img {
    height: 50px;
    margin: 0 40px;
    vertical-align: middle;
    filter: grayscale(100%) brightness(200%);
    transition: filter 0.3s;
}
.marquee-content img:hover {
    filter: grayscale(0%) brightness(100%);
}
@keyframes scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-content {
        animation: none;
        white-space: normal;
        text-align: center;
    }
    .marquee-content img {
        margin: 10px;
    }
}

/* 9. Services Section */
#services {
    padding: 80px 5%;
}
.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 60px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    padding: 40px 30px;
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}
.service-card h3 {
    color: #11a35e;
    margin-bottom: 15px;
    font-size: 24px;
}
.service-card p {
    color: #cccccc;
    font-size: 16px;
}
.service-icon {
    font-size: 45px;
    color: #11a35e;
    margin-bottom: 20px;
    transition: transform 0.3s;
}
.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* 10. About & Contact Sections */
#about {
    padding: 80px 5%;
    display: flex;
    justify-content: center;
}
.about-content {
    max-width: 800px;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}
.about-content p {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 20px;
}
#contact {
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-form-container {
    width: 100%;
    max-width: 600px;
    padding: 50px;
    border-radius: 24px;
}
.input-group {
    margin-bottom: 20px;
}
.input-group input, .input-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}
.input-group input:focus, .input-group textarea:focus {
    border-color: #11a35e;
}

/* 11. Footer */
footer {
    text-align: center;
    padding: 30px 20px 15px 20px; 
    margin-top: 50px;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.social-links {
    margin-top: 15px;
    line-height: 1; 
}
.social-links a {
    color: #cccccc;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}
.social-links a:hover {
    color: #11a35e;
    transform: translateY(-3px);
}

/* 12. RESPONSIVE DESIGN (MOBILE FIXES) */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    nav ul {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul.active {
        display: flex; 
    }

    .hero-content h2 {
        font-size: 36px; 
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-content, .about-content, .contact-form-container {
        padding: 30px 20px; 
    }
    
    .bg-shape {
        filter: blur(80px); 
    }
    .shape1 { width: 300px; height: 300px; }
    .shape2 { width: 400px; height: 400px; }
}
/* 13. INNER SERVICE PAGES */
.service-hero {
    padding: 60px 5%;
    text-align: center;
}
.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 5% 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}
.service-text {
    flex: 1 1 500px;
}
.service-image {
    flex: 1 1 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(17, 163, 94, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.service-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.85);
    transition: filter 0.3s, transform 0.5s;
}
.service-image:hover img {
    filter: brightness(1);
    transform: scale(1.02);
}
.feature-list {
    list-style: none;
    margin-top: 30px;
    margin-bottom: 30px;
}
.feature-list li {
    margin-bottom: 15px;
    font-size: 17px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}
.feature-list i {
    color: #11a35e;
    font-size: 20px;
}

/* Service Card Link Fixes (For index.html) */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
/* --- NEW ENGAGING ANIMATED BACKGROUND --- */
body {
    background: linear-gradient(-45deg, #050505, #0a1910, #030303, #08150d);
    background-size: 400% 400%;
    animation: breathingBG 20s ease infinite;
}

@keyframes breathingBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}