/* =========================
   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 { 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
   ========================= */
.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: #ffffff !important; 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; }

.nav-menu { display: flex; gap: 25px; }
.nav-link { color: var(--dark); font-weight: 600; transition: 0.3s; position: relative; padding-bottom: 5px; }
.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-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 */
.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: 0.3s; padding: 20px; box-shadow: -5px 0 20px rgba(0,0,0,0.1); }
.mobile-menu-active .mobile-menu-sidebar { right: 0; }
.mobile-menu-active .mobile-menu-overlay { display: block; }
.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: block; }
.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. CONTACT PAGE HERO (Blue Gradient)
   ========================= */
.page-header-section {
    background: linear-gradient(135deg, #0D2137, #1565C0); /* গাঢ় নীল ব্যাকগ্রাউন্ড */
    padding: 100px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}
.page-header-section h1 { font-size: 3rem; margin-bottom: 10px; color: #fff; }
.page-header-section p { font-size: 1.2rem; opacity: 0.9; color: #E3F2FD; }

/* =========================
   4. CONTACT FORM & INFO
   ========================= */
.contact-page-main { padding-bottom: 80px; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; }

/* Form Styles */
.contact-form-box {
    background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
}
.form-header h2 { font-size: 2rem; color: var(--dark); margin-bottom: 10px; }
.form-header p { color: #546E7A; margin-bottom: 30px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.input-icon { position: relative; }
.input-icon i { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: var(--primary); }
.input-icon input, .input-icon select {
    width: 100%; padding: 12px 15px 12px 45px; border: 2px solid #eee; border-radius: 10px; font-family: inherit; transition: 0.3s;
}
textarea {
    width: 100%; padding: 15px; border: 2px solid #eee; border-radius: 10px; font-family: inherit; height: 120px; resize: none; transition: 0.3s;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; }

.btn-submit {
    width: 100%; background: var(--secondary); color: #fff; padding: 15px; border: none;
    border-radius: 50px; font-weight: 700; font-size: 16px; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { background: #E65100; transform: translateY(-3px); }

/* Info Sidebar */
.contact-info-sidebar { display: flex; flex-direction: column; gap: 20px; }
.info-card {
    background: #fff; padding: 20px; border-radius: 15px; display: flex; align-items: center; gap: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s;
}
.info-card:hover { transform: translateX(5px); border-left: 5px solid var(--primary); }

/* আইকন ব্যাকগ্রাউন্ড ফিক্স */
.icon-circle {
    width: 50px; height: 50px; 
    background: #E3F2FD; 
    color: var(--primary); 
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center; 
    font-size: 20px; flex-shrink: 0;
}

.info-card h3 { font-size: 18px; margin: 0; color: var(--dark); }
.info-card p { font-size: 14px; margin: 5px 0 0; color: #546E7A; line-height: 1.5; }
.link-text { color: var(--primary); font-size: 13px; font-weight: 600; margin-top: 5px; display: inline-block; }

.emergency-box {
    background: linear-gradient(135deg, #FF5252, #D32F2F); color: #fff; padding: 30px;
    border-radius: 20px; text-align: center; margin-top: 10px;
}
.emergency-box i { font-size: 40px; margin-bottom: 15px; }
.emergency-box h3 { color: #fff; font-size: 22px; }
.emergency-box p { color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.btn-emergency {
    background: #fff; color: #D32F2F; padding: 10px 25px; border-radius: 50px; font-weight: 700;
    display: inline-block; transition: 0.3s;
}
.btn-emergency:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* Map */
.map-section iframe { border-radius: 0; display: block; }

/* =========================
   5. FOOTER (WAVE REMOVED & COLOR FIXED)
   ========================= */
.footer-pro { 
    background: var(--dark); /* গাঢ় নীল ব্যাকগ্রাউন্ড */
    color: #B0BEC5; 
    position: relative; 
    padding-top: 60px; /* ওয়েভ সরানোর পর স্পেস */
    padding-bottom: 30px; 
    border-top: 5px solid var(--secondary); /* কমলা বর্ডার (ওয়েভের বদলে) */
    margin-top: 50px;
}

/* Footer Grid */
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-logo { display: flex; gap: 10px; margin-bottom: 20px; }
.footer-logo img { width: 50px; border-radius: 50%; border: 2px solid var(--secondary); }
.footer-logo .text h3 { color: #fff; margin: 0; line-height: 1.1; font-size: 22px; }
.footer-logo .text span { font-size: 12px; color: var(--secondary); }
.footer-widget h4 { color: #fff; margin-bottom: 20px; border-bottom: 2px solid var(--secondary); display: inline-block; padding-bottom: 5px; }

/* ফুটার লিংক ও টেক্সট কালার ফিক্স */
.footer-links a { color: #B0BEC5; transition: 0.3s; display: block; margin-bottom: 10px; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact i { color: var(--primary); margin-top: 4px; } /* আইকনের কালার */

/* ফুটারের ফোন নাম্বারের কালার ফিক্স */
.phone-link { color: #ffffff !important; text-decoration: none; font-weight: 600; }
.phone-link:hover { color: var(--secondary) !important; }

.footer-hours li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 8px; margin-bottom: 10px; font-size: 14px; }
.footer-hours .off { color: #FF5252; }
.footer-bottom { padding-top: 20px; text-align: center; font-size: 14px; }
.highlight { color: var(--secondary); font-weight: 700; }
.social-icons { display: flex; gap: 10px; }
.social-btn { width: 35px; height: 35px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 50%; transition: 0.3s; }
.social-btn:hover { background: var(--primary); transform: translateY(-3px); }

/* =========================
   6. 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; } }

/* =========================
   7. ANIMATIONS
   ========================= */
.fade-in-up { animation: fadeInUp 1s ease forwards; opacity: 0; transform: translateY(30px); }
.fade-in-left { animation: fadeInLeft 1s ease forwards; opacity: 0; transform: translateX(-30px); }
.fade-in-right { animation: fadeInRight 1s ease forwards; opacity: 0; transform: translateX(30px); }
.delay-1 { animation-delay: 0.2s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { to { opacity: 1; transform: translateX(0); } }

/* =========================
   8. MOBILE RESPONSIVE
   ========================= */
@media (max-width: 992px) {
    .nav-menu, .btn-nav-appointment { display: none; }
    .mobile-menu-btn { display: block; }
    .contact-grid { grid-template-columns: 1fr; }
}

@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; }
    
    .contact-form-box { padding: 25px; }
    .btn-submit { font-size: 15px; }
    
    .footer-pro { margin-top: 60px; }
    .footer-top { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-logo, .social-icons, .footer-contact li, .footer-links a { justify-content: center; display: flex; }
    .footer-links a { width: 100%; }
    .footer-widget h4 { margin: 0 auto 20px; }
    
    .floating-container { bottom: 20px; right: 20px; }
    .call-btn { width: 60px; height: 60px; font-size: 24px; }
}