/*
Theme Name: CM Laptop Box Fix
Theme URI: https://punjab.gov.pk/
Description: Fixed Box Design on White Background
Version: 4.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --bg-white: #ffffff;
    --box-green: #d4f7dc; /* باکس کا ہلکا سبز رنگ */
    --main-green: #008744; /* گہرا سبز رنگ */
}

body {
    background-color: var(--bg-white); /* 🔴 باڈی سفید */
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 20px; /* سائیڈوں پر تھوڑی جگہ */
}

/* --- مین سبز باکس --- */
.green-box-container {
    background-color: var(--box-green); /* 🔴 باکس کا رنگ */
    max-width: 1350px;
    margin: 0 auto;
    border-radius: 30px; /* گول کونے */
    padding: 0;
    overflow: hidden; /* مواد باہر نہ نکلے */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* سایہ */
    min-height: 90vh;
}

/* --- ہیڈر --- */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo-area { display: flex; align-items: center; gap: 15px; text-decoration: none; color: #333; }
.logo-img { height: 55px; }
.logo-text h2 { font-size: 18px; margin: 0; font-weight: 800; color: #2c3e50; }
.logo-text span { font-size: 12px; letter-spacing: 1px; }

.main-nav ul { list-style: none; display: flex; gap: 20px; padding: 0; }
.main-nav a { text-decoration: none; color: #444; font-weight: 600; }
.main-nav a:hover { color: var(--main-green); }

.header-buttons { display: flex; gap: 10px; }
.btn-login { padding: 8px 20px; background: #fff; border-radius: 50px; text-decoration: none; color: #333; font-weight: 600; }
.btn-signup { padding: 8px 20px; background: var(--main-green); border-radius: 50px; text-decoration: none; color: #fff; font-weight: 600; }

/* --- ہیرو سیکشن --- */
.hero-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* نیچے کی طرف برابر */
    padding: 20px 50px 0; /* نیچے کا پیڈنگ 0 تاکہ تصویر چپک جائے */
}

.hero-left { flex: 1; padding-bottom: 50px; }
.hero-left h1 { font-size: 40px; color: var(--main-green); margin-bottom: 10px; line-height: 1.2; }
.hero-left h3 { font-size: 22px; color: var(--main-green); margin-bottom: 30px; }

.apply-btn { padding: 15px 35px; background: var(--main-green); color: #fff; text-decoration: none; border-radius: 8px; font-weight: 700; font-size: 18px; display: inline-block; margin-bottom: 20px; }

.laptop-img { width: 90%; max-width: 450px; display: block; margin-top: 30px; }

.hero-right { flex: 1; display: flex; justify-content: flex-end; }
.person-img { max-height: 600px; margin-bottom: -5px; /* باکس کے نچلے حصے سے ملانے کے لیے */ }

.site-footer { text-align: center; padding: 10px; font-size: 12px; color: #666; }

/* موبائل ریسپونسیو */
@media (max-width: 900px) {
    .header-inner { flex-direction: column; gap: 15px; }
    .main-nav { display: none; }
    .hero-area { flex-direction: column; text-align: center; padding: 20px; }
    .hero-right { justify-content: center; width: 100%; }
    .person-img { max-height: 350px; }
    body { padding: 10px; }
}
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #008744;
    border-radius: 2px;
}

/* Mobile Styling */
@media (max-width: 900px) {
    .mobile-menu-toggle { display: flex; }

    .nav-menu {
        display: none; /* Default pe chupa hua */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-menu.active { display: block; }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-menu ul li { width: 100%; border-bottom: 1px solid #eee; padding-bottom: 10px; }
}