/* --- Variables & Reset --- */
:root {
    --color-black: #050505;
    --color-dark-grey: #111111;
    --color-light-grey: #888888;
    --color-white: #ffffff;
    --color-lime: #c1ff72;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-white);
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.2rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
p { color: #cccccc; font-size: 1.1rem; margin-bottom: 1rem; }

.text-lime { color: var(--color-lime); }
.center-text { text-align: center; }

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--color-dark-grey);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-lime);
    color: var(--color-black);
    border: 2px solid var(--color-lime);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-lime);
    box-shadow: 0 0 15px rgba(193, 255, 114, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* --- Navbar --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav.scrolled {
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid #222;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: "Colo-Pro";
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-links a:hover { color: var(--color-lime); }

.btn-nav {
    padding: 8px 20px;
    border: 1px solid var(--color-lime);
    color: var(--color-lime);
    font-size: 0.8rem;
}

.btn-nav:hover {
    background-color: var(--color-lime);
    color: var(--color-black);
}

.hamburger { display: none; cursor: pointer; }
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-white);
    margin: 5px 0;
    transition: var(--transition);
}

/* --- Hero Section (REFINED) --- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for fixed nav */
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at top right, #132004 0%, #000000 60%);
    z-index: -2;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px; /* Prevents text from stretching too wide */
    z-index: 2;
    text-align: left; /* Strict Left Align */
}

.hero-graphic {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-graphic img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(193, 255, 114, 0.15));
    animation: float 6s ease-in-out infinite;
    border-radius: 20px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-btns {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-start; /* Align buttons left */
}

.glow-text {
    text-shadow: 0 0 20px rgba(193, 255, 114, 0.3);
}

/* --- About --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.about-image:hover img {
    filter: grayscale(0%);
    box-shadow: 10px 10px 0 var(--color-lime);
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--color-lime);
    margin-bottom: 0;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #0a0a0a;
    padding: 40px 30px;
    border: 1px solid #222;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--color-lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #333;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- Portfolio --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: #0a0a0a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--color-lime);
}

.project-img {
    height: 250px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 10px;
    border: 1px solid var(--color-lime);
    color: var(--color-lime);
    border-radius: 50px;
    margin-top: 15px;
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #000;
    border: 1px solid #333;
    padding: 30px;
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.author h5 { color: var(--color-lime); margin-bottom: 0; }
.author small { color: #666; }

/* --- Features (Why Choose Us) --- */
.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.check-icon {
    color: var(--color-lime);
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 5px;
}

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: #111;
    padding: 50px;
    border-radius: 8px;
}

.info-item { margin-bottom: 30px; }
.info-item .label { display: block; color: #666; font-size: 0.9rem; margin-bottom: 5px; }
.info-item .value { font-size: 1.2rem; font-family: var(--font-display); color: var(--color-white); font-weight: bold; }
.info-item a.value:hover { color: var(--color-lime); }

.contact-form .form-group { margin-bottom: 20px; }

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--color-lime);
}

.full-width { width: 100%; }

/* --- Footer --- */
footer {
    padding: 50px 0 20px;
    border-top: 1px solid #222;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links ul li, .footer-social a {
    margin-bottom: 10px;
    display: block;
    color: #888;
    font-size: 0.9rem;
}

.footer-links ul li a:hover, .footer-social a:hover {
    color: var(--color-lime);
}

.copyright {
    text-align: center;
    color: #444;
    font-size: 0.8rem;
    border-top: 1px solid #111;
    padding-top: 20px;
}

/* --- Animations & Effects --- */
.reveal-text, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* --- Responsive --- */

/* Tablet & Small Laptop */
@media (max-width: 1024px) {
    .container { width: 90%; }
    h1 { font-size: 3rem; }
    .hero-container { gap: 20px; }
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger { display: block; z-index: 1001; }
    
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        height: 100vh;
        width: 70%;
        background: #000;
        flex-direction: column;
        justify-content: center;
        border-left: 1px solid #222;
        transition: 0.4s ease;
    }

    .nav-links.nav-active { right: 0; }
    .btn-secondary { display: none; }
    
    /* Hero Mobile Layout */
    .hero-container {
        flex-direction: column-reverse; /* Image on top/middle, Text below */
        text-align: center;
        justify-content: center;
        padding-top: 20px;
    }
    
    .hero-content {
        text-align: center; /* Center on mobile only */
        width: 100%;
    }
    
    .hero-btns {
        justify-content: center; /* Center buttons on mobile */
    }
    
    .hero-graphic img {
        max-width: 80%;
        margin-bottom: 20px;
    }

    /* General Sections */
    .grid-2, .features-wrapper, .contact-wrapper, .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image { order: -1; }
    .contact-wrapper { padding: 30px 20px; }
    
    .section-padding { padding: 60px 0; }
    h1 { font-size: 2.5rem; }
}
