/* =========================
   1. GLOBAL RESET & VARIABLES
   ========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1565C0;
    --primary-dark: #0D47A1;
    --secondary: #FF9800;
    --dark: #0D2137;
    --text: #546E7A;
    --white: #ffffff;
    --light-bg: #F8FBFF;
}

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Baloo Da 2', cursive;
    font-weight: 700;
    color: var(--dark);
}

a { text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================
   2. NAVBAR & HEADER (Hover Animation Fixed)
   ========================= */
.top-offer-bar { background: var(--dark); color: #fff; padding: 8px 0; font-size: 13px; position: relative; z-index: 1001; }
.offer-wrapper { display: flex; justify-content: space-between; align-items: center; }
.offer-left i, .offer-right i { color: var(--secondary); margin-right: 5px; }
.top-phone { color: #fff; font-weight: 600; }
.offer-divider { margin: 0 10px; opacity: 0.5; }
.social-icon { color: #fff; }

.navbar { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); z-index: 1000; padding: 10px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img img { width: 45px; border-radius: 50%; border: 2px solid var(--secondary); }
.logo-text { line-height: 1; }
.logo-name { font-size: 22px; color: var(--primary); font-weight: 800; }
.logo-sub { font-size: 12px; color: var(--secondary); letter-spacing: 1px; }

/* Desktop Menu & Hover Animation */
.nav-menu { display: flex; gap: 25px; }

.nav-link { 
    color: var(--dark); 
    font-weight: 600; 
    transition: 0.3s; 
    position: relative; /* এনিমেশনের জন্য জরুরি */
    padding-bottom: 5px;
}

/* Hover Line Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--primary); }

.nav-right { display: flex; align-items: center; gap: 15px; }
.btn-nav-appointment { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 8px 20px; border-radius: 50px; font-weight: 600; display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* Mobile Menu Button */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; }
.mobile-menu-btn .bar { display: block; width: 25px; height: 3px; background: var(--dark); margin: 5px 0; }

/* Mobile Sidebar (Fixed) */
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1002; display: none; }
.mobile-menu-sidebar { 
    position: fixed; top: 0; right: -300px; width: 280px; height: 100vh; 
    background: #fff; z-index: 1003; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); 
    padding: 20px; box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

/* Active State for Mobile Menu */
.mobile-menu-active .mobile-menu-sidebar { right: 0 !important; }
.mobile-menu-active .mobile-menu-overlay { display: block !important; }

.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.mobile-logo { display: flex; align-items: center; gap: 10px; }
.mobile-logo img { width: 40px; }
.mobile-logo h3 { font-size: 16px; line-height: 1.2; color: var(--primary); margin: 0; }
.close-menu-btn { background: #f5f5f5; border: none; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; }

.mobile-nav-links li { margin-bottom: 15px; }
.mobile-nav-links a { color: var(--dark); font-weight: 600; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; transition: 0.3s; }
.mobile-nav-links a:hover, .mobile-nav-links a.active { background: #E3F2FD; color: var(--primary); }

.mobile-menu-footer { margin-top: 20px; text-align: center; }
.mobile-call-btn { background: var(--secondary); color: #fff; padding: 10px; border-radius: 5px; display: block; font-weight: 700; }
/* =========================
   3. ABOUT PAGE HERO
   ========================= */
.page-header-section {
    background: linear-gradient(rgba(13,33,55,0.9), rgba(13,33,55,0.8)), url('img/young-female-patient-visiting-dentist-office.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}
.page-header-section h1 { color: #fff; font-size: 3rem; margin-bottom: 10px; }
.page-header-section p { font-size: 1.2rem; opacity: 0.9; }

/* About Main */
.about-main { padding: 80px 0; }
.about-grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.sub-title { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.about-text h2 { font-size: 2.5rem; margin: 10px 0 20px; line-height: 1.2; }
.blue-text { color: var(--primary); }
.lead { font-size: 1.1rem; color: #333; margin-bottom: 20px; font-weight: 500; }
.feature-list ul li { margin-bottom: 10px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.feature-list i { color: #2E7D32; }

.about-image-box { position: relative; }
.about-image-box img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.exp-box {
    position: absolute; bottom: -30px; left: -30px; background: #fff; padding: 20px 30px;
    border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; border-bottom: 4px solid var(--primary);
}
.exp-box h3 { font-size: 2.5rem; color: var(--primary); margin: 0; line-height: 1; }
.exp-box p { margin: 0; font-weight: 600; font-size: 14px; }

/* Mission Vision */
.mission-section { padding: 80px 0; background: var(--light-bg); }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.mission-item { background: #fff; padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s; }
.mission-item:hover { transform: translateY(-10px); }
.m-icon { width: 60px; height: 60px; background: #E3F2FD; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 20px; }

/* Stats */
.stats-section { padding: 70px 0; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; margin-top: 50px; }
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-box h2 { color: #fff; font-size: 2rem !important; /* সংখ্যাগুলো একটু ছোট করা */
    }
.stat-box p { font-size: 1.1rem; opacity: 0.9; margin-top: 5px; }


/* =========================
   PROFESSIONAL FOOTER DESIGN
   ========================= */
.footer-pro {
    background-color: #0F172A; /* মডার্ন ডার্ক ব্লু */
    color: #CBD5E1; /* সফট সাদা টেক্সট */
    padding-top: 80px;
    padding-bottom: 30px;
    font-family: 'Noto Sans Bengali', sans-serif;
    position: relative;
    border-top: 5px solid #1565C0; /* টপ বর্ডার অ্যাকসেন্ট */
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Brand Widget --- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #FF9800;
}

.footer-logo .text h3 {
    color: #fff;
    margin: 0;
    font-size: 22px;
    line-height: 1;
    font-family: 'Baloo Da 2', cursive;
}

.footer-logo .text span {
    color: #FF9800;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
}

.brand-widget p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #94A3B8;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    transition: 0.3s;
    font-size: 16px;
}

.social-btn:hover {
    background: #1565C0;
    transform: translateY(-3px);
}
.fb:hover { background: #1877F2; }
.yt:hover { background: #FF0000; }
.ig:hover { background: #E1306C; }


/* --- Widget Headings --- */
.footer-widget h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #FF9800;
}


/* --- Link Lists --- */
.footer-links ul, .footer-contact ul, .footer-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 12px;
    color: #FF9800;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}


/* --- Contact List --- */
.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact .icon {
    color: #FF9800;
    margin-top: 3px;
    font-size: 16px;
}

.footer-contact a {
    color: #CBD5E1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact a:hover { color: #fff; text-decoration: underline; }


/* --- Hours List --- */
.footer-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 8px;
    font-size: 14px;
}

.footer-hours .time {
    color: #fff;
    font-weight: 600;
}

.footer-hours .tag {
    background: #FF5252;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}


/* --- Footer Bottom --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    font-size: 14px;
    color: #64748B;
}

.footer-bottom .highlight {
    color: #FF9800;
    font-weight: 600;
}


/* =========================
   SMART FLOATING BUTTONS
   ========================= */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse; /* নিচ থেকে উপরে */
    gap: 15px;
    align-items: center;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.15) translateY(-5px);
}

/* Call Button (Main) */
.call-btn {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    width: 65px; /* একটু বড় */
    height: 65px;
    font-size: 28px;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Pulse Animation */
.pulse-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    z-index: -1;
    animation: wave 2s infinite;
    opacity: 0.6;
}

@keyframes wave {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
}

/* Scroll Top Button */
.scroll-btn {
    background: #FF9800;
    width: 45px;
    height: 45px;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================
   5. FLOATING BUTTONS
   ========================= */
.floating-container { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column-reverse; gap: 15px; z-index: 9999; align-items: center; }
.float-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; box-shadow: 0 8px 25px rgba(0,0,0,0.25); transition: 0.3s; border: none; cursor: pointer; }
.float-btn:hover { transform: scale(1.1); }
.call-btn { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); width: 65px; height: 65px; font-size: 28px; position: relative; }
.whatsapp-btn { background: #25D366; }
.scroll-btn { background: var(--secondary); width: 45px; height: 45px; font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(20px); }
.scroll-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.pulse-wave { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--primary); animation: wave 2s infinite; }
@keyframes wave { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

/* =========================
   6. MOBILE RESPONSIVE FIX
   ========================= */
@media (max-width: 992px) {
    .nav-menu, .btn-nav-appointment { display: none; }
    .mobile-menu-btn { display: block; }
}
@media (max-width: 576px) {
    .top-offer-bar { display: none; }
    .navbar { top: 0; }
    .page-header-section { padding: 80px 0 50px; }
    .page-header-section h1 { font-size: 2.2rem; }
    .about-grid-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-text h2 { font-size: 2rem; }
    .exp-box { left: 20px; bottom: -20px; }
    .mission-grid { grid-template-columns: 1fr; }
   @media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr 1fr !important; /* ২ কলামে সুন্দর দেখাবে */
        gap: 20px !important;
        padding: 0 10px !important;
    }
    
    /* Footer Mobile Fix */
    .footer-pro { margin-top: 60px; }
    .footer-wave svg { height: 60px; }
    .footer-top { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-logo, .social-icons, .footer-contact li { justify-content: center; }
    .footer-widget h4 { margin: 0 auto 20px; }
    
    .floating-container { bottom: 20px; right: 20px; }
    .call-btn { width: 60px; height: 60px; font-size: 24px; }
}
/* কন্টাক্ট সেকশন রেসপন্সিভ ফিক্স */
@media (max-width: 768px) {
    .contact-item {
        display: flex !important;
        flex-direction: column !important; /* আইকন উপরে এবং টেক্সট নিচে */
        align-items: center !important;
        text-align: center !important;
        padding: 20px 15px !important;
        width: 100% !important;
        min-height: auto !important;
    }

    .contact-item i {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
        font-size: 24px !important;
    }

    .contact-item div {
        width: 100% !important;
    }

    .contact-item h3 {
        font-size: 18px !important;
        margin-bottom: 5px !important;
    }

    .contact-item p, 
    .contact-item a {
        font-size: 14px !important;
        line-height: 1.6 !important;
        word-wrap: break-word !important; /* লম্বা ঠিকানা ভেঙে যাবে */
        white-space: normal !important; /* লেখা এক লাইনে থাকার চেষ্টা করবে না */
    }
}