:root {
    --primary: #0f172a; /* Deep Navy */
    --accent: #f97316; /* Basketball Orange */
    --accent-hover: #ea580c;
    --bg-light: #f8fafc;
    --text-dark: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* Navigation */
nav {
    background-color: var(--primary);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

    .logo span {
        color: var(--accent);
    }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

    .nav-links a {
        color: var(--white);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: var(--accent);
        }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

    .mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background-color: var(--white);
        transition: 0.3s;
        border-radius: 2px;
    }

/* Sections General */
section {
    padding: 6rem 5% 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1, h2, h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background-color: var(--accent);
        margin: 10px auto 0;
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

    .btn-primary:hover {
        background-color: var(--accent-hover);
        transform: translateY(-2px);
    }

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

    .btn-outline:hover {
        background-color: var(--accent);
        color: var(--white);
        transform: translateY(-2px);
    }

/* Hero Section */
#home {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('/img/background.png') center/cover;
    color: var(--white);
    text-align: center;
    align-items: center;
}

    #home h1 {
        color: var(--white);
        font-size: 3.5rem;
        max-width: 800px;
        margin-bottom: 1.5rem;
    }

    #home p {
        font-size: 1.2rem;
        max-width: 600px;
        margin-bottom: 2rem;
        color: #cbd5e1;
    }

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
#services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.service-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-card ul {
        margin-top: 1rem;
        margin-left: 1.5rem;
        margin-bottom: 1.5rem;
        flex-grow: 1; /* Pushes the button to the bottom */
    }

    .service-card li {
        margin-bottom: 0.5rem;
    }

/* Team Section */
#team {
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

    .team-member .avatar {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background-color: #cbd5e1;
        margin: 0 auto 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid var(--accent);
        overflow: hidden;
    }

        .team-member .avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .team-member h3 {
        margin-bottom: 0;
    }

.linkedin-icon {
    color: #0a66c2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: transform 0.2s, color 0.2s;
}

    .linkedin-icon:hover {
        color: #004182;
        transform: scale(1.1);
    }

    .linkedin-icon svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

.role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.team-stats {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-align: left;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 5px;
}

    .team-stats strong {
        color: var(--primary);
    }

/* Contact Section */
#contact {
    background-color: var(--white);
    align-items: center;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1000px;
    width: 100%;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

    .contact-form form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .contact-form input, .contact-form select, .contact-form textarea {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #cbd5e1;
        border-radius: 5px;
        font-family: inherit;
    }

    .contact-form textarea {
        resize: vertical;
        min-height: 150px;
    }

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

/* ==========================================================================
           Responsive Media Queries
           ========================================================================== */
@media (max-width: 768px) {
    /* General Padding Adjustments */
    section {
        padding: 6rem 1.5rem 3rem; /* Adjusted for smaller screens */
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Navigation & Mobile Menu */
    .mobile-menu-btn {
        display: flex; /* Show hamburger icon */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%; /* Hidden off-screen by default */
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

        .nav-links.active {
            left: 0; /* Slide in menu */
        }

    /* Hero Section Adjustments */
    #home h1 {
        font-size: 2.2rem;
    }

    #home p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }

    /* Grid Adjustments */
    .services-grid, .team-grid {
        grid-template-columns: 1fr; /* Force 1 column on mobile */
        gap: 1.5rem;
    }

    .contact-container {
        gap: 2rem;
    }
}
