/* ------------------ LAYOUT ------------------ */
body, html {
    margin: 0;
    padding: 0;
}

.layout {
    display: grid;
    grid-template-areas:
        "header header header"
        "main main sidebar"
        "footer footer footer";
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

/* ------------------ HEADER ------------------ */
.header {
    grid-area: header;
    background-color: #FFFFFF;
}

/* ------------------ NAVBAR ------------------ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1F9CEE;
    text-decoration: none;
}

ul {
    display: flex;
    list-style-type: none;
    gap: 20px;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.3s;
}

li a:hover {
    color: #1F9CEE;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
}

.dropdown:hover .dropdown-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border: 1px solid black;
    padding: 10px;
    top: 100%;
    left: 0;
    z-index: 5;
}
.mobile-menu {
        display: none;
    }

/* ------------------ MAIN ------------------ */
#main {
    grid-area: main;
    background-color: #FFFFFF;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* HERO SECTION */
.hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    text-align: center;
}

.hero h1 {
    font-size: 80px;
    color: #1F9CEE;
    margin: 0;
}

.hero-subtitle {
    font-size: 50px;
    color: #1A1A1A;
    margin: 20px 0 0 0;
}

/* START BUTTON */
.start-button {
    display: block;
    font-size: 18px;
    color: #fff;
    background-color: #1F9CEE;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 15px 30px;
    margin-top: 30px;
    transition: background-color 0.3s;
}

.start-button:hover {
    background-color: #1780b8;
}
.main_image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
    z-index: 9997;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}
/* ------------------ CONTACT HERO ------------------ */
.contact-hero {
    grid-column: main; /* works with your layout grid */
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.contact-hero .subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1rem;
}

.contact-hero a {
    color: #0077cc;
    text-decoration: none;
    font-weight: 500;
}

.contact-hero a:hover {
    text-decoration: underline;
}

/* ------------------ FAQ SECTION ------------------ */
.faq-section {
    grid-column: main; /* fits in main content */
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #222;
}

.faq-item {
    margin-bottom: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    color: #0077cc;
}

.faq-item p {
    font-size: 1rem;
    color: #555;
    margin-left: 1rem;
}

/* Optional: hover effect on FAQ */
.faq-item h3:hover {
    color: #005fa3;
}
.intro{
    font-size : 50px
}

/* ------------------ SIDEBAR ------------------ */
.sidebar {
    grid-area: sidebar;
    display: none;
    background-color: #FFFFFF;
    padding: 20px;
}

.sidebar img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ------------------ FOOTER ------------------ */
footer {
    grid-area: footer;
    background-color: #1A1A1A;
    padding: 20px;
    color: #f5f5f5;
    text-align: center;
}

footer a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #1F9CEE;
}

/* ------------------ TABLET ------------------ */
/* Tablet layout */
@media (min-width: 600px) and (max-width: 1024px) {
    .layout {
        grid-template-areas:
            "header header"
            "main sidebar"
            "footer footer";
        grid-template-columns: 2fr 1fr;
        grid-template-rows: auto 1fr auto;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .links {
        gap: 15px;
    }
}


/* ------------------ MOBILE ------------------ */
@media (max-width: 599px) {
    .layout {
        grid-template-areas:
            "header"
            "main"
            "sidebar"
            "footer";
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    /* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px; /* menu width */
    height: 100%;
    background: white;
    padding: 30px;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}
.links {
    display: none; /* hide normal links on mobile */
}


.mobile-menu.active {
    transform: translateX(0);
}
/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 9999;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.hamburger.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #1A1A1A;
    border-radius: 2px;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    display: flex;        /* override desktop flex? */
    flex-direction: column; /* make it vertical */
    gap: 20px;
}
.mobile-logo {
    font-size: 28px;
    font-weight: bold;
    color: #1F9CEE;
    text-decoration: none;
    margin-bottom: 25px;
}
     .intro {
        font-size: 30px;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .contact-hero h1 {
        font-size: 28px;
    }

    .contact-hero .subtitle {
        font-size: 16px;
    }

    .start-button {
        padding: 12px 20px;
        font-size: 16px;
    }
}
