﻿/* ================= GLOBAL ================= */

body {
    margin: 0;
    font-family: 'Noto Nastaliq Urdu', serif;
    background: #f4f7fb;
}


/* ================= TOP LOGO ================= */

.top-logo-bar {
    background: linear-gradient(90deg,#06142e,#0b2f63);
    text-align: center;
    padding: 18px 0;
}

.top-logo {
    max-width: 90%;
    height: auto;
    display: block;
    margin: auto;
}


}


/* ================= MENU ================= */

.menu-bar {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.menu-link {
    font-size: 18px;
    margin: 0 15px;
    color: #06142e !important;
    transition: .3s;
}

    .menu-link:hover {
        color: #0b63d1 !important;
    }


/* ================= BODY ================= */

.body-content {
    max-width: 1150px;
    margin: 40px auto;
    padding: 35px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}


/* ================= HERO ================= */

.hero {
    text-align: center;
    padding: 90px 20px;
    background: linear-gradient(135deg,#06142e,#0b2f63);
    color: white;
    border-radius: 14px;
}

    .hero h1 {
        font-size: 42px;
    }

.hero-tagline {
    font-size: 24px;
}

.hero-sub {
    max-width: 750px;
    margin: auto;
    font-size: 18px;
    line-height: 1.8;
}


/* ================= BUTTONS ================= */

.btn-primary-custom {
    background: #0b63d1;
    color: white;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    margin: 8px;
    display: inline-block;
}

    .btn-primary-custom:hover {
        background: #094ea3;
    }

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
}


/* ================= SECTIONS ================= */

.section {
    padding: 70px 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}


/* ================= CARDS ================= */

.cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.card-custom {
    width: 300px;
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
    transition: .3s;
}

    .card-custom:hover {
        transform: translateY(-6px);
    }


/* ================= PRODUCT GRID ================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .35s;
}

    .product-card:hover {
        transform: translateY(-8px);
    }


/* 🔥 IMAGE CONTROL — NEVER FAILS */

.product-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

    .product-thumb img {
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }


/* ================= DARK SECTION ================= */

.dark {
    background: #06142e;
    color: white;
    border-radius: 14px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
    font-size: 20px;
}


/* ================= CTA ================= */

.cta {
    text-align: center;
    padding: 80px 20px;
}


/* ================= MOBILE ================= */

@media(max-width:991px) {

    .hero h1 {
        font-size: 32px;
    }

    .menu-link {
        margin: 10px 0;
        text-align: center;
    }
}
