/* IT-Bros Website Stylesheet - Mobile-Friendly Version */

:root {
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --accent-color: #27ae60;
    --accent-color-hover: #229954;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --card-bg: #2c2c2c;
    --border-color: #3d3d3d;
    --footer-bg: #111111;
    --header-bg: #ffffff;
    --header-text: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    padding-top: 80px; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: var(--header-bg);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.site-header .logo {
    height: 50px;
    width: auto;
    z-index: 1001; /* Ensure logo is above nav on mobile */
}

.site-header nav a {
    color: var(--header-text);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Poppins', sans-serif;
}

.site-header nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    background-color: var(--dark-bg);
}

.hero-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-bg);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: var(--text-light);
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-bg) !important;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-3px);
}

/* General Section Styling */
.content-section {
    padding: 6rem 0;
}

.content-section h2.section-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 4rem;
}

.bg-light {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

/* Services Section (Already responsive) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-collapse: collapse;
    text-align: center;
}

.pricing-table th, .pricing-table td {
    padding: 1.25rem;
    font-size: 1.1rem;
}

.pricing-table th {
    background-color: var(--accent-color);
    color: var(--light-bg);
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
}

.pricing-table tr {
    background-color: #f9f9f9;
}

.pricing-table tr:nth-child(even) {
    background-color: #f1f1f1;
}

.pricing-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-table td:last-child {
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--accent-color);
    font-size: 1.4rem;
}

/* Footer, Back-to-Top, and Contact Form Styles remain the same */
.site-footer { background-color: var(--footer-bg); color: var(--text-light); padding: 4rem 0 2rem 0; text-align: center; }
.footer-content p { margin-bottom: 1rem; }
.footer-content a { color: var(--accent-color); text-decoration: none; }
.footer-content a:hover { text-decoration: underline; }
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; background-color: var(--accent-color); color: white; width: 50px; height: 50px; border-radius: 50%; text-align: center; line-height: 50px; font-size: 1.5rem; text-decoration: none; display: none; z-index: 999; transition: background-color 0.3s, opacity 0.3s, visibility 0.3s; }
.back-to-top:hover { background-color: var(--accent-color-hover); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 2fr; } }
.contact-info { line-height: 1.7; }
.contact-info h3 { font-size: 1.8rem; font-family: 'Poppins', sans-serif; color: var(--accent-color); margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 1rem; }
.contact-info a { color: var(--text-dark); text-decoration: none; font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-family: 'Poppins', sans-serif; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.8rem; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; font-family: 'Roboto', sans-serif; background-color: #fff; color: var(--text-dark); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 5px rgba(39, 174, 96, 0.5); }


/*
========================================
--- MOBILE RESPONSIVENESS ---
========================================
*/

/* Hide hamburger button on desktop */
.nav-toggle {
    display: none;
}

/* Rules for tablets and phones */
@media (max-width: 768px) {
    /* --- NAVIGATION --- */
    .nav-toggle {
        display: block;
        position: absolute;
        top: 25px;
        right: 2rem;
        width: 30px;
        height: 30px;
        background: transparent;
        border: 0;
        cursor: pointer;
        z-index: 1001; /* Above the mobile nav background */
    }

    .hamburger {
        display: block;
        position: relative;
        background: var(--header-text);
        width: 30px;
        height: 3px;
        transition: transform 0.3s ease-in-out;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        background: var(--header-text);
        width: 30px;
        height: 3px;
        transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, bottom 0.3s ease-in-out;
    }
    .hamburger::before { top: -10px; }
    .hamburger::after { bottom: -10px; }
    
    /* Active 'X' state for hamburger */
    .nav-toggle.is-active .hamburger { background: transparent; }
    .nav-toggle.is-active .hamburger::before { transform: rotate(45deg); top: 0; }
    .nav-toggle.is-active .hamburger::after { transform: rotate(-45deg); bottom: 0; }

    .site-header nav {
        display: none; /* Hide nav by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .site-header nav.is-visible {
        display: flex; /* Show nav when active */
    }

    .site-header nav a {
        font-size: 1.5rem;
        margin: 1.5rem 0;
    }

    /* --- TYPOGRAPHY & SPACING --- */
    .hero-content h2 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }

    .content-section { padding: 4rem 0; }
    .content-section h2.section-title { font-size: 2.2rem; margin-bottom: 2.5rem; }
}
