/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0a2540; /* Dark Blue */
    --secondary-color: #007bff; /* Bright Blue */
    --accent-color: #24d293; /* Tech Green */
    --background-light: #f8f9fa;
    --text-color: #333;
    --text-light: #fff;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #666;
}

section {
    padding: 80px 0;
}

/* --- Header & Navigation --- */
header {
    background: var(--text-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}


/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.8)), url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwzNjUyOXwwfDF8c2VhcmNofDN8fHRlY2hub2xvZ3l8ZW58MHx8fHwxNjE4NzUzNDI5&ixlib=rb-1.2.1&q=80&w=1920') no-repeat center center/cover;
    color: var(--text-light);
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 2rem auto;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1rem;
}

.cta-button:hover {
    background: #0056b3;
}

.cta-button.secondary {
    background: var(--accent-color);
}
.cta-button.secondary:hover {
    background: #1da97b;
}


/* --- Services Section (REBooT Computer) --- */
.services-section {
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* --- Tutoring Section --- */
.tutoring-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
.tutoring-content h3 {
    color: var(--primary-color);
}
.tutoring-content ul {
    list-style: none;
    margin: 2rem 0;
}
.tutoring-content ul li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}
.future-vision {
    font-style: italic;
    color: #555;
    margin-bottom: 2rem;
}

/* --- About Section --- */
.about-section {
    background: var(--background-light);
}
.about-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 3rem;
}

.contact-details p {
    margin-bottom: 1rem;
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
}

.social-links {
    margin-top: 2rem;
}
.social-links a {
    margin-right: 15px;
    font-weight: 600;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
}

/* --- Footer --- */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
}

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        height: calc(100vh - 70px);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .main-nav ul li {
        margin: 20px 0;
    }

    .main-nav ul li a {
        color: var(--text-light);
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* --- REBooT Ventures Section --- */
.ventures-section {
    background: var(--background-light);
}

.ventures-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.venture-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    overflow: hidden; /* Important for border-radius on children */
    border: 1px solid #e0e0e0;
}

/* Styles for the main card with the poster */
.venture-card.active {
    border-color: var(--secondary-color);
}

.venture-card-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.venture-poster {
    flex-basis: 50%; /* Set a fixed width for the poster container */
    flex-shrink: 0;
}

.venture-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.venture-details {
    padding: 30px;
}

/* Styles for the simpler "Coming Soon" cards */
.venture-card.soon {
    opacity: 0.8;
}

.venture-details-simple {
    padding: 30px;
}

.venture-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: #e0e0e0;
    color: #555;
}

.venture-status.active {
    background-color: var(--accent-color);
    color: #fff;
}


/* --- Add responsiveness for the new section --- */
@media (max-width: 900px) {
    .venture-card-content {
        flex-direction: column;
    }
    .venture-poster {
        flex-basis: auto; /* Allow poster width to be flexible */
        width: 100%;
        max-height: 400px; /* Control poster height on mobile */
    }
    .venture-poster img {
        object-fit: contain; /* Show the whole poster without cropping */
    }
    .venture-details {
        text-align: center;
    }
}

/* ======================================= */
/* === Styles for /reboot/ page       === */
/* ======================================= */

.reboot-page-body {
    background-color: var(--background-light);
}

.reboot-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.reboot-header .container {
    height: 70px;
    display: flex;
    align-items: center;
}

.page-container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.poster-container {
    text-align: center;
    margin-bottom: 60px;
}

.poster-container img {
    max-width: 100%;
    height: auto;
    max-height: 80vh; /* Prevents poster from being too tall on large screens */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.services-offered, .contact-info-block {
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    margin-bottom: 40px;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
    text-align: left;
}

.service-item {
    background: var(--background-light);
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: 600;
    border-left: 4px solid var(--secondary-color);
}

.contact-info-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info-block a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Footer link color on this page */
.reboot-page-body footer a {
    color: #ccc;
    text-decoration: underline;
}


.why-us-block {
    text-align: center;
    padding: 40px;
}


/* ======================================= */
/* === Styles for Thank You page      === */
/* ======================================= */

.thank-you-card {
    text-align: center;
    background: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-card p {
    margin: 1rem 0 2rem 0;
    font-size: 1.1rem;
}

.hidden { display: none; }