/* ======== GLOBAL STYLES ======== */
:root {
    --bg-dark: #111317;       /* Very dark blue/grey from your draft */
    --card-bg: #1a1c20;      /* Slightly lighter for cards */
    --text-light: #f0f4f8;   /* Off-white */
    --text-muted: #a0a4a8;   /* Grey for subtitles */
    --accent-green: #00dd99; /* A vibrant, modern green */

    /* This is our new gradient color - a very dark, desaturated version of the green */
    --glow-color: rgba(0, 221, 153, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Makes anchor links scroll smoothly */
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;

    /* THIS IS THE NEW GRADIENT BACKGROUND (THE "AURORA" EFFECT)
      It creates two large, very soft glows: one in the top right, one in the bottom left.
    */
    background-image: 
        radial-gradient(at 80% 20%, var(--glow-color) 0px, transparent 50%),
        radial-gradient(at 20% 90%, var(--glow-color) 0px, transparent 50%);
    background-attachment: fixed; /* Keeps the glow from scrolling with the page */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* This padding is what creates the space between sections */
section {
    padding: 6rem 0;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-light); 
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.25rem; color: var(--accent-green); }
p { margin-bottom: 1rem; color: var(--text-muted); }
a { color: var(--accent-green); text-decoration: none; }
a:hover { text-decoration: underline; }


.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    text-align: center;
    color: var(--text-muted);
}
section h2, section .section-subtitle {
    text-align: center;
}

/* ======== BUTTONS ======== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--accent-green);
    color: var(--bg-dark);
}
.btn-primary:hover {
    background-color: #00c488;
    transform: translateY(-2px);
    text-decoration: none;
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}
.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ======== HEADER & NAV ======== */
header {
    background-color: var(--bg-dark);
    padding: 1rem 0;
    border-bottom: 1px solid var(--card-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}
nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-link:hover {
    text-decoration: none;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    transition: color 0.3s ease;
}
.logo-link:hover .logo-text {
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin: 0 1rem;
}
.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--accent-green);
    text-decoration: none;
}

/* ======== HERO SECTION ======== */
#hero {
    padding: 2rem 0; /* Hero section has less padding */
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    gap: 2rem;
}
.hero-content {
    flex: 1;
}
.hero-title {
    font-size: 3.5rem;
    color: var(--text-light);
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 1.5rem 0;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
}
.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 0 30px rgba(0, 221, 153, 0.2));
}

/* ======== SERVICES SECTION ======== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #2a2c30;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ======== ABOUT SECTION ======== */
#about {
    background-color: transparent; 
}
.about-box {
    background-color: var(--card-bg);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid #2a2c30;
    max-width: 900px; 
    margin: 0 auto; 
}
.about-box .section-subtitle {
    margin-bottom: 2rem;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ======== CONTACT SECTION ======== */
.contact-layout {
    display: flex;
    gap: 3rem;
    max-width: 900px;
    margin: 2rem auto 0 auto;
}
.contact-info {
    flex-basis: 40%;
}
.contact-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.contact-info p strong {
    color: var(--accent-green);
}
.contact-info a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-form {
    flex-basis: 60%;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid var(--text-muted);
    background-color: var(--card-bg);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 221, 153, 0.3);
}

/* ======== FOOTER ======== */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--card-bg);
    background-color: #0c0e10;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; 
    gap: 2rem; 
}
.footer-col {
    flex: 1; 
    min-width: 220px; 
}
.footer-col p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-col p strong {
    color: var(--text-light);
}
.footer-col a {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-col a:hover {
    color: var(--accent-green);
}
.footer-nav {
    text-align: right;
}
.footer-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    justify-content: flex-end; 
    margin-bottom: 1rem; 
}
.copyright {
    font-size: 0.9rem;
}


/* ======== RESPONSIVE (MOBILE) ======== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-links { display: none; }
    .nav-btn { font-size: 0.8rem; padding: 0.5rem 1rem; }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        min-height: auto;
        padding: 4rem 0;
    }
    .hero-buttons { justify-content: center; }
    .hero-image { max-height: 250px; }

    .contact-layout {
        flex-direction: column;
    }
    .contact-info {
        text-align: center;
    }
    
    .about-box {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-nav {
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
}


/* ======== NEW: SCROLL ANIMATION ======== */
.hidden-anim {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}