/* =========================
   GENERAL
   ========================= */
 html, body {
  touch-action: manipulation;
}

body {
    font-size: 16px;          /* web standard */
    line-height: 1.6;         /* readability */
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    -webkit-text-size-adjust: 100%;
}

img {
    pointer-events: none;
    user-select: none;
}

/* =========================
   HEADER
   ========================= */
.header {
    background: linear-gradient(
        90deg,
        #e91e63 0%,
        #fce4ec 50%,
        #e91e63 100%
    );
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    color: white;
}

#header-idx {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: top 0.3s, bottom 0.3s;
}

/* keep rounded bottom as-is */
.header {
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
}

.top-row,
.bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hidden {
    display: none;
}

/* =========================
   SEARCH BAR (OVAL)
   ========================= */
.search-bar {
    flex-grow: 1;
    border-radius: 999px;
}

.icons {
    display: flex;
    gap: 15px;
}

/* =========================
   SIDEBAR
   ========================= */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background: linear-gradient(
        180deg,
        #fff5fa 0%,
        #fde7f0 40%,
        #ffffff 70%,
        #fde7f0 100%
    );
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav .brand-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.nav-link {
    padding: 15px 25px;
    color: #ff1493 !important;
    display: flex;
    align-items: center;
    border-radius: 8px;
    margin: 8px 0;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.4);
}

.nav-link i {
    font-size: 1.2rem;
    width: 30px;
    margin-left: 15px;
}
.nav-header {
    position: relative;
    padding: 10px 16px 20px;
}

.closebtn {
    position: absolute;
    top: 8px;
    right: 12px;   /* ⬅️ ডানদিকে */
    font-size: 32px;
    color: #c2185b;
    text-decoration: none;
}

/* =========================
   SERVICE MESSAGE
   ========================= */
#service-message {
    padding: 12px;
    margin: 15px 0;
    border-radius: 8px;
    background: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1050;
}

.fixed-top-message {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    margin: 0 !important;
    background-color: skyblue !important;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* =========================
   SERVICE CARD (MERGED)
   ========================= */
.service-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 14px;
    margin: 10px 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    font-family: system-ui, -apple-system, sans-serif;
}

.service-card .left {
    display: flex;
    gap: 10px;
}

.service-card .icon {
    font-size: 18px;
    margin-top: 2px;
}

.service-card .text strong {
    font-size: 14px;
    color: #222;
}

.service-card small {
    font-size: 11.5px;
    display: block;
}

.service-card.success small,
.service-card.success .icon { color: #2e7d32; }

.service-card.error small,
.service-card.error .icon { color: #c62828; }

.service-card.warning small,
.service-card.warning .icon { color: #ef6c00; }

.change-btn {
    border: none;
    background: #f2f2f2;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
}

/* =========================
   CAROUSEL
   ========================= */
#offerCarousel {
    margin: 0 8px;
}

.carousel-inner img {
    border-radius: 20px;
}

.carousel-indicators {
    position: static;
    margin-top: 10px;
    justify-content: center;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #555;
    margin: 0 5px;
    opacity: 0.5;
}

.carousel-indicators .active {
    background-color: #000;
    opacity: 1;
}

/* =========================
   LOGO (UNCHANGED)
   ========================= */
.logo {
    display: inline-flex;
    align-items: center;
    color: black;
}

.double-hassi {
    font-size: 5px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-right: -60px;
    margin-bottom: 15px;
}

.anand {
    font-size: 30px;
    font-weight: bold;
    margin-right: 3px;
}

.fa-face-smile {
    font-size: 25px;
    color: black;
}

/* =========================
   SECTION TITLE
   ========================= */
.categories h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}
.double-hassi {
    position: relative;
    top: -4px;
}

.search-bar {
    border-radius: 999px !important;
}

/* social link */
.social-section {
    margin-top: 25px;
    text-align: center;
}

.social-title {
    font-size: 0.85rem;
    color: #6a1b9a;
    margin-bottom: 10px;
    display: block;
}

.social-icons {
    display: flex;
    justify-content: center;   /* ⬅️ মাঝ বরাবর */
    gap: 18px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;           /* ⬅️ বড় আইকন */
    color: #fff;
    transition: transform 0.3s ease;
}

/* 🌐 Individual brand colors */
.social-icon.facebook { background: #1877f2; }
.social-icon.instagram { background: #e1306c; }
.social-icon.youtube { background: #ff0000; }

.social-icon:hover {
    transform: scale(1.12);
}

/* =========================
   RESPONSIVE FIXES
   ========================= */

body{
    font-size: 15px;
}

@media (max-width: 480px){
    .header{
        padding: 10px 12px;
    }
}

@media (max-width: 480px){
    .double-hassi{
        margin-right: -40px;
    }
}

@media (max-width: 480px){
    .categories h2{
        font-size: 1.5rem;
    }
}

@media (max-width: 480px){
    .search-bar{
        min-width: 0;
    }
}
