/* --- Google Font & Basic Setup --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #007BFF;
    --secondary-color: #343a40;
    --background-color: #f8f9fa;
    --text-color: #212529;
    --white: #ffffff;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
}
.hidden{display:none;}
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
}

/* --- Header & Navigation Bar (Mobile First) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.hamburger {
    display: block;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: all 0.3s ease-in-out;
}

.nav-menu {
    position: fixed;
    left: -100%; /* Hidden by default */
    top: var(--header-height);
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-menu.active {
    left: 0; /* Shown when active */
}

.nav-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link .fa-chevron-down {
    font-size: 0.7em;
    margin-left: 5px;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
    color: var(--white);
}

/* Mega Menu (Mobile) - Hidden by default, can be toggled with JS if needed */
.mega-menu {
    display: none;
    padding: 1rem;
    background-color: #fdfdfd;
}

.has-megamenu.open .mega-menu {
    display: block; /* JS will handle adding the 'open' class on mobile */
}

.mega-menu-column h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.mega-menu-column ul li a {
    display: block;
    padding: 0.5rem 0;
    color: #555;
}

/* --- Main Content --- */
main {
    padding-top: var(--header-height); /* To avoid content being hidden by fixed header */
    min-height: calc(100vh - 150px); /* Full height minus header and footer */
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 40vh;
    padding: 0 2rem;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://source.unsplash.com/1600x900/?typing,keyboard') no-repeat center center/cover;
    color: var(--white);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.start-button {
    margin-top: 1.5rem;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.start-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.content-area {
    padding: 2rem;
    text-align: center;
}

/* --- Footer (Mobile First) --- */
footer {
    background-color: var(--secondary-color);
    color: var(--background-color);
    padding: 2rem 1rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column; /* Stacks columns on mobile */
    gap: 2rem;
    text-align: center;
}

.footer-column h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-icons a {
    margin: 0 0.5rem;
    font-size: 1.5rem;
    color: var(--background-color);
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #495057;
}

/* ==================== DESKTOP & TABLET STYLES ==================== */
@media (min-width: 992px) {
    .hamburger {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        width: auto;
        box-shadow: none;
        background-color: transparent;
        left: 0; /* Reset position */
    }

    .nav-item {
        padding: 0;
        margin: 0 1.5rem;
        border: none;
	float:left;
    }
    
    .cta-button {
        margin-left: 1.5rem;
    }

    /* Mega Menu (Desktop) */
    .has-megamenu {
        position: relative;
    }

    .mega-menu {
        display: none; /* Hidden by default */
        position: absolute;
        left: 0;
        transform: translateX(-50%);
        top: 150%;
        width: max-content;
        padding: 2rem;
        background-color: var(--white);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        border-radius: 8px;
        display: flex;
        gap: 1.5rem;
        opacity: 0;
        visibility: hidden;
        transition: top 0.3s ease, opacity 0.3s ease;
    }

    .has-megamenu:hover .mega-menu {
        display: flex; /* Show on hover */
        top: 100%;
        opacity: 1;
        visibility: visible;
    }
    
    .mega-menu-column {
        flex: 1;
    }
  .main_body{
    max-width:1100px;
    margin: auto;
    padding:20px;
  }

    /* Footer (Desktop) */
    .footer-container {
        flex-direction: row; /* Columns side-by-side */
        justify-content: space-between;
        text-align: left;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .footer-column {
        flex: 1;
        max-width: 300px;
    }
}



