        /* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* horizontal scroll hata diya */
}

/* HEADER */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(90deg,#0a3d62,#27ae60);
    color: #fff;
    position: relative;
}
.site-header .logo { font-size: 24px; font-weight: bold; }
.site-header .menu a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}
.site-header .menu a:hover { text-decoration: underline; }
.menu-toggle { display: none; font-size: 28px; cursor: pointer; color: #fff; }

/* CATEGORY SECTION */
.category-section {
    padding: 40px 10px;
    background: #f4f6f8;
}
.category-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

/* GRID */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

/* CARDS */
.category-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 120px;
    border-radius: 12px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding: 10px;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* CATEGORY GRADIENTS */
.category-card:nth-child(1){background: linear-gradient(135deg,#ff7e5f,#feb47b);}
.category-card:nth-child(2){background: linear-gradient(135deg,#6a11cb,#2575fc);}
.category-card:nth-child(3){background: linear-gradient(135deg,#43cea2,#185a9d);}
.category-card:nth-child(4){background: linear-gradient(135deg,#ff512f,#dd2476);}
.category-card:nth-child(5){background: linear-gradient(135deg,#1f4037,#99f2c8);}
.category-card:nth-child(6){background: linear-gradient(135deg,#f7971e,#ffd200);}
.category-card:nth-child(7){background: linear-gradient(135deg,#c6ffdd,#fbd786);}
.category-card:nth-child(8){background: linear-gradient(135deg,#f953c6,#b91d73);}
.category-card:nth-child(9){background: linear-gradient(135deg,#3a1c71,#d76d77);}
.category-card:nth-child(10){background: linear-gradient(135deg,#11998e,#38ef7d);}
.category-card:nth-child(11){background: linear-gradient(135deg,#396afc,#2948ff);}
.category-card:nth-child(12){background: linear-gradient(135deg,#56ccf2,#2f80ed);}
.category-card:nth-child(13){background: linear-gradient(135deg,#ff8008,#ffc837);}
.category-card:nth-child(14){background: linear-gradient(135deg,#ff8008,#ffc837);}

/* ADS */
.ad-box {
    max-width: 800px;
    margin: 40px auto 20px auto;
    text-align: center;
}

/* FOOTER */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

/* MOBILE */
@media(max-width:768px){
    .menu-toggle { display: block; }
    .menu{
        display: none;
        flex-direction: column;
        background: linear-gradient(90deg,#0a3d62,#27ae60);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%; /* full mobile width */
        padding: 10px 0; /* sides me padding 0 */
        border-radius: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    .menu.active{ display: flex; }
    .menu a{ margin: 10px 20px; }

    /* Category grid fully fit mobile width */
    .category-grid { 
        gap: 10px; 
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
        width: 100%; 
    }
    .category-card { font-size: 14px; height: 100px; }
}    