
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color:#e3e6e6 !important;
    font-family: Arial, sans-serif;
}

/* --- AMINA'S SECTION (Navbar & Hero Slider) --- */
.am-navbar {
    display: flex;
    align-items: center;
    background: #131921;
    color: white;
    padding: 10px;
    justify-content: space-evenly;
}

.am-item, .am-account, .am-location, .am-language {
    padding: 6px;
    border: 1px solid transparent;
    cursor: pointer;
}

.am-item:hover, .am-account:hover, .am-location:hover, .am-language:hover {
    border: 1px solid white;
}

.am-logo {
    font-size: 22px;
    font-weight: bold;
}

.am-logo strong { color: white; }

.am-location {
    display: flex;
    gap: 5px;
    align-items: center;
}

.am-location span { font-size: 12px; color: #ccc; }
.am-location b { font-size: 14px; }

.am-search {
    display: flex;
    width: 50%;
}

.am-search select {
    padding: 8px;
    border-radius: 4px 0 0 4px;
    background: #f3f3f3;
    border: none;
}

.am-search input {
    flex: 1;
    padding: 8px;
    border: none;
}

.am-search button {
    background: #febd69;
    border: none;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.am-language img { width: 20px; margin-right: 5px; }

.am-menu-bar {
    display: flex;
    background: #232f3e;
    color: white;
    padding: 8px;   
}

.am-menu {
    margin-right: 15px;
    padding: 5px 8px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 14px;
}

.am-menu:hover { border: 1px solid white; }

/* Fixed Hero Slider Height */
.am-slider-img {
    height: 500px !important;
    object-fit: cover;
}

/* --- IQRA'S SECTION (Overlay Cards) --- */
.iq-main-design {
    margin-top: -260px; /* Slider ke upar overlap */
    position: relative;
    z-index: 10;
}

.iq-card-box {
    background: white !important;
    padding: 20px;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border-radius: 4px;
}

.iq-title {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #111;
}

.iq-grid-4-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex-grow: 1;
}

.iq-grid-item img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    border-radius: 4px;
}

.iq-grid-item p {
    font-size: 12px;
    margin-top: 2px;
    color: #333;
}

.iq-main-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.iq-link {
    font-size: 13px;
    color: #007185;
    text-decoration: none;
}









/* CAROUSEL */


.carousel-section{
padding:20px;
max-width:1200px;
margin:auto;

}

.carousel-item img{
width:100%;
height:400px;
object-fit:cover;
border-radius:10px;
}

.carousel-indicators button{
background:#febd69 !important;
width:30px !important;
height:8px !important;
}


                                           /* Girl section */
/* Card Container */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Image Box: Fixes Height Issues */
.img-container {
    height: 300px; 
    overflow: hidden;
    background: #f9f9f9;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s;
}

.product-card:hover .img-container img {
    transform: scale(1.08);
}

/* Text Area */
.card-body {
    padding: 12px;
    text-align: center;
    min-height: 60px;
}

.card-text {
    font-weight: 500;
    font-size: 14px;
    margin: 0;
    text-transform: capitalize;
}
.see-more-link {
    font-size: 11px;
    color: #007185;
    text-decoration: none;
    position: relative;
    z-index: 2; /* Stretched link se upar rakhne ke liye */
}

.see-more-link:hover {
    color: #C7511F;
    text-decoration: underline;
}
/* footer */
.back-to-top {
        background-color: #37475a;
        color: white;
        text-align: center;
        padding: 15px 0;
        font-size: 13px;
        cursor: pointer;
        text-decoration: none;
        display: block;
    }
    .back-to-top:hover { background-color: #485769; color: white; }

    /* Footer Headings */
    .section_footer h5 {
        color: white;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    /* Footer Links */
    .quick-links li a {
        color: #DDD;
        font-size: 14px;
        text-decoration: none;
        line-height: 2;
    }
    .quick-links li a:hover { text-decoration: underline; color: white; }

    /* Divider line */
    .footer-divider {
        border-top: 1px solid #3a4553;
        margin: 40px 0;
    }

    /* Bottom Logo & Language Section */
    .footer-bottom-info {
        display: flex;
        justify-content: center;
        gap: 20px;
        align-items: center;
        padding-top: 20px;
    }
     /* Main Footer Background */
    .section_footer {
        background-color: #232f3e;
        color: white;
        padding-top: 40px;
        padding-bottom: 30px;
        font-family: Arial, sans-serif;
    }

    /* --- MyStoreon Slider Container --- */
#MyStoreonSlider {
    background-color: white;
    position: relative;
    
    padding: 0 45px;  /* Added side padding to separate arrows from cards */
}

/* --- Card Styling --- */
.card {
    border: none !important;
    cursor: pointer;
    text-align: left !important;
    height: 100%;
    background-color: white !important;
    padding: 5px;
}

/* --- Image Control --- */
.carousel-item img {
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    height: 140px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.card:hover img {
    transform: scale(1.05);
}

/* --- Description Clamping --- */
.product-desc {
    font-size: 13px;
    color: #007185;
    line-height: 1.4;
    height: 55px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* limits the text to maximum 3 lines for clean UI */
    -webkit-box-orient: vertical;   /* sets text flow direction vertically */
    margin-bottom: 5px;
}

/* --- Stars & Price --- */
.stars { color: #ffa41c; font-size: 13px; }
.rating-count { color: #007185; font-size: 12px; margin-left: 4px; }
.price-text { 
    color: #0f1111; 
    font-size: 18px; 
    font-weight: 500; 
    margin-top: 4px;
}

/* --- Navigation Buttons  --- */
.carousel-control-prev, 
.carousel-control-next {
    width: 35px !important; 
    height: 70px !important; 
    background-color: white !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    top: 40% !important; /* Cards ke center mein align */
    transform: translateY(-50%) !important;
    opacity: 0 !important; /* Shuru mein hide rahein  */
    transition: opacity 0.3s ease; /* Smoothly nazar aayen */
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Display navigation arrows on slider hover */
#MyStoreonSlider:hover .carousel-control-prev,
#MyStoreonSlider:hover .carousel-control-next {
    opacity: 1 !important;
}

.carousel-control-prev { left: 5px !important; } 
.carousel-control-next { right: 5px !important; }

/* Arrow icons ka size chota kiya */
.carousel-control-prev-icon, 
.carousel-control-next-icon {
    filter: invert(1);   /* Inverts the colors (e.g., black becomes white) */
    width: 18px !important;
    height: 18px !important;
}


/* 
.main {
    width: 95%;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1500px;
    justify-content: center;
} */

/* Box styling */
/* .box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
} */

.box:hover {
    transform: translateY(-3px); /* Moves the element 3 pixels upward */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Heading styling */
.box h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Images grid */
.four-img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Individual item with image and text */
.item {
    text-align: center;
}

.item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}

.item img:hover {
    opacity: 0.9;
    cursor: pointer;
}

.item p {
    margin-top: 6px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    word-break: break-word;
}

/*  RESPONSIVE BREAKPOINTS  */




.main {
    width: 95%;
    margin: 20px auto;
    display: flex;            
    flex-wrap: wrap;         
    gap: 20px;               
    max-width: 1500px;
    justify-content: center; 
}

/* --- 2. BOX STYLING --- */
.box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

/* --- 3. RESPONSIVE MEDIA QUERIES --- */


@media (min-width: 1200px) {
    .box {
        flex-basis: calc(25% - 20px); 
        flex-grow: 1;
        flex-shrink: 1;
        min-width: 260px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .box {
        flex-basis: calc(33.333% - 20px); 
        flex-grow: 1;
        flex-shrink: 1;
        min-width: 280px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .main {
        gap: 18px;
    }
    
    .box {
        flex-basis: calc(50% - 18px);
        flex-grow: 1;
        flex-shrink: 1;
        min-width: 250px;
    }

    .iq-main-design {
        margin-top: -150px; 
        padding: 0 15px;
    }
    
    .iq-card-box {
        height: auto; 
        min-height: 380px;
    }
    
    .box h3 { font-size: 16px; }
    .item img { height: 90px; }
}



@media (max-width: 575px) {
    .am-navbar {
        flex-wrap: wrap; 
        padding: 8px 15px;
        justify-content: space-between; 
    }

    .am-logo {
        font-size: 18px;
        order: 1;
    }

  
    .am-search {
        order: 3;
        width: 100% !important;
        margin-top: 8px;
    }

    .am-search select {
        display: none; 
    }

    .am-search input {
        border-radius: 4px 0 0 4px;
        height: 35px;
    }
    
    .am-search button {
        height: 35px;
        padding: 0 12px;
    }

   
    .am-account, .am-item {
        order: 2;
        font-size: 13px;
        padding: 2px;
    }

    .am-location, .am-language {
        display: none;
    }

   
    .am-menu-bar {
        display: flex;
        overflow-x: auto; /* Scrollable menu */
        white-space: nowrap;
        padding: 5px 10px;
        scrollbar-width: none; /* Firefox scrollbar hide */
    }

    .am-menu-bar::-webkit-scrollbar {
        display: none; /* Chrome scrollbar hide */
    }

    .am-menu {
        font-size: 12px;
        margin-right: 10px;
    }
}