/* Custom CSS for Elegant Ticker Style */

/* Define Colors based on your site's theme */
.bg-deep-blue { background-color: #004d99 !important; color: white; }
.text-highlight { color: #1abc9c !important; font-weight: 600; } /* Teal Accent Color */

.ticker-notice-wrap {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Soft shadow for lift */
}

.ticker-tag {
    padding: 10px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.ticker-tag i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.ticker-content-box {
    line-height: 1;
    overflow: hidden;
    height: 100%; /* Important for centering in row */
    padding: 10px 0;
}

.ticker-item {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.ticker-item:hover {
    color: #007bff; /* Light Blue/Primary Action Color */
}

.dot-separator {
    color: #007bff; /* Dot color matching primary action */
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 20px;
    display: inline-block;
}

/* Responsive adjustment for small screens */
@media (max-width: 767.98px) {
    .ticker-notice-wrap {
        padding: 5px 0 !important;
    }
    .ticker-tag {
        display: none; /* Hide tag to save space on mobile */
    }
    .col-auto:first-child {
        padding: 0;
    }
    .ticker-content-box {
        padding: 5px 15px;
    }
}

.ticker-notice-wrap .btn.style1 {
    font-size: 0.8rem; /* ফন্ট সাইজ আরও ছোট করা হলো */
    padding: 6px 12px; /* প্যাডিং কমানো হলো */
    line-height: 1.2; /* হাইট কমানো হলো */
    min-height: auto; /* যদি কোনো থিম থেকে মিনিমাম হাইট সেট করা থাকে, তা বাতিল করা হলো */
}




/* Custom CSS for Full-Width Image Slider (No Content) */

/* --- Optimized and Consolidated Responsive CSS for Hero Slider --- */

/* 1. Base Container Setup */
.hero-wrap.style1 {
    width: 100%;
    overflow: hidden; 
    position: relative;
    padding: 0 !important; /* নিশ্চিতভাবে অতিরিক্ত প্যাডিং সরানো হলো */
}

/* Slide Item & Image Container ensure full width */
.hero-slider-one.owl-carousel,
.hero-slide-item,
.full-width-image-container {
    width: 100%;
    position: relative;
}

/* 2. Image Height & Fit (Core Fix) */
.hero-full-width-img {
    width: 100%;
    /* ছবির উচ্চতা কন্টেইনারের পুরোটা ব্যবহার করবে */
    height: 100%; 
    display: block; 
    
    /* key fix: 'object-fit: cover' ব্যবহার করা হলো গ্যাপ দূর করতে।
       মোবাইলে যেন ছবি বেশি না কাটে, তার জন্য কন্টেইনারের উচ্চতা কম রাখা হবে। */
    object-fit: cover; 
    object-position: center; 
}


/* 3. Responsive Container Height (Crucial for Mobile/Tablet View) 
   কন্টেইনারের উচ্চতা পরিবর্তন করে ছবির ক্রপিং নিয়ন্ত্রণ করা হচ্ছে। */

/* Default Height (Desktop/Large Screens) */
.full-width-image-container {
    height: 500px; /* একটি অপটিমাল ডেস্কটপ হাইট */
}

/* Tablet / Smaller Desktop (992px to 769px) */
@media (max-width: 991.98px) {
    .full-width-image-container {
        height: 400px; 
    }
}

/* Tablet Portrait / Medium devices (768px to 577px) */
@media (max-width: 768px) {
    .full-width-image-container {
        height: 300px; /* ট্যাবলেটে উচ্চতা কমানো হলো */
    }
}

/* Mobile Devices (576px and below) */
@media (max-width: 576px) {
    .full-width-image-container {
        height: 220px; /* মোবাইলে ছবির উচ্চতা আরো কমানো হলো যাতে বেশি ক্রপ না হয় */
    }
}

/* 4. Overriding Conflicting Styles */
/* এই দুটি ক্লাস আপনার আগের কোডে ছিল, সেগুলোকে একক মান দিয়ে ওভাররাইড করা হলো */
.hero-wrap.style1 .hero-slide-item {
    padding: 0 !important; 
}
/* অতিরিক্ত padding বা margin রিমুভ করতে */
.owl-carousel .owl-stage-outer {
    padding: 0 !important; 
}


/* Hide any old hero shapes/boxes that might cause layout issues */
.hero-shape-one,
.hero-shape-two,
.promo-box-wrap {
    display: none !important;
}


.header-wrap.style1 {
    margin-bottom: 0 !important; /* Header এর নিচের মার্জিন নিশ্চিতভাবে সরান */
    padding-bottom: 0 !important; /* Header এর নিচের প্যাডিং নিশ্চিতভাবে সরান */
}

/* 2. Target the hero section (Based on your previous code) */


.header-wrap.style1 .header-bottom {
    background-color: #f7f7f7;
}

/* Ekhane amra main navigation link-gulor color change korbo. */

/* Default Menu Link Color (Visible on White Background) */
.header-bottom .navbar-nav .nav-link {
    /* Menu links-er default text color, jate white background-e dekha jay */
    color: #333333 !important; 
    font-weight: 500; /* Optional: adjust font-weight for better contrast */
    transition: color 0.3s ease; /* Smooth transition */
}

/* Menu Link Hover and Active/Current Page Color */
.header-bottom .navbar-nav .nav-link:hover,
.header-bottom .navbar-nav .nav-link.active {
    /* Hover/Active/Current page-er color, ekta primary accent color use kora holo */
    color: #007bff !important; 
}

/* Dropdown Menu Links Color */
.header-bottom .navbar-nav .dropdown-menu .nav-link {
    /* Dropdown item text color (white dropdown background-er jonno) */
    color: #555555 !important;
}

.header-bottom .navbar-nav .dropdown-menu .nav-link:hover {
    /* Dropdown item hover color */
    color: #007bff !important;
    background-color: #f8f9fa; /* Optional: lightly highlight the background on hover */
}

/* Mobile Menu Close Icon Color (ri-close-line) */
.main-menu-wrap .menu-close a i {
    color: #dc3545; /* Red color for the close icon */
    font-size: 24px;
}



/* ============================================== */
/* 1. Global Box and Icon Styles (Unaltered for consistency) */
/* ============================================== */
/* ============================================== */
/* 1. OVERLAPPING WRAPPER & STRUCTURE */
/* ============================================== */

/* এটি আগের মতোই থাকবে, শুধু উপর থেকে ওভারল্যাপ করার জন্য */
.overlapping-feature-wrap {
    margin-top: -80px; 
    position: relative;
    z-index: 10; 
}

/* মেইন রো কন্টেইনারে কোনো পটভূমি (Background) থাকবে না, যাতে পেছনের ছবি দেখা যায় */
.feature-boxes-row {
    background-color: transparent; 
    padding: 15px 5px; 
    border-radius: 20px;
    box-shadow: none; 
    margin: 0;
}

/* কলামগুলোতে সামান্য প্যাডিং (Padding) যা বক্সগুলোকে আলাদা রাখবে */
.col-lg-3, .col-md-6, .col-sm-6 {
    padding-left: 5px;
    padding-right: 5px;
}

/* ---------------------------------------------- */
/* 2. CORE FEATURE BOX - GLASSMORPHISM EFFECT */
/* ---------------------------------------------- */

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 10px; 
    text-align: center;
    text-decoration: none;
    height: 100%;
    position: relative;
    cursor: pointer;
    
    /* গ্লাসমরফিজম এফেক্ট: হালকা সাদা ব্যাকগ্রাউন্ড এবং ব্লার */
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
    
    border-radius: 15px; /* রাউন্ডেড কর্নার */
    border: 1px solid rgba(255, 255, 255, 0.3); /* গ্লাসের মতো হালকা বর্ডার */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    
    color: #343A40; 
    transition: all 0.3s ease-in-out; 
}

/* ---------------------------------------------- */
/* 3. ICON & TEXT STYLING */
/* ---------------------------------------------- */

.feature-box i {
    font-size: 50px; 
    margin-bottom: 10px;
    color: #343A40; /* ডিফল্ট কালার সেট করা হলো */
    transition: color 0.3s ease;
}

.modern-appointment img {
    width: 50px;
    margin-bottom: 10px;
    transition: filter 0.3s ease;
}

.feature-box p {
    font-size: 16px; 
    font-weight: 600; 
    margin: 0;
    line-height: 1.2;
    color: #343A40; /* ডিপ গ্রে টেক্সট */
    transition: color 0.3s ease;
}

/* ---------------------------------------------- */
/* 4. GRADIENT BACKGROUNDS (প্রতিটি বক্সের নিজস্ব হালকা কালার টিন্ট) */
/* ---------------------------------------------- */

/* 1. Online Appointment (Green/Cyan tint) */
.modern-appointment {
    background: linear-gradient(135deg, rgba(230, 255, 250, 0.3), rgba(160, 255, 230, 0.3)); 
}

/* 2. Ambulance (Red/Pink tint) */
.modern-ambulance {
    background: linear-gradient(135deg, rgba(255, 240, 240, 0.3), rgba(255, 190, 190, 0.3)); 
}

/* 3. 24/7 Emergency (Yellow tint) */
.modern-emergency {
    background: linear-gradient(135deg, rgba(255, 255, 230, 0.3), rgba(255, 255, 180, 0.3));
}

/* 4. Online Diagnostic Report (Blue/Cyan tint) */
.modern-report {
    background: linear-gradient(135deg, rgba(230, 250, 255, 0.3), rgba(180, 230, 255, 0.3)); 
}

/* ---------------------------------------------- */
/* 5. SPECIFIC ICON COLORS (বক্সের কালারের সাথে মিলিয়ে) */
/* ---------------------------------------------- */

.modern-appointment i, .modern-appointment img { 
    color: #00A86B; /* Healing Green */
} 
.modern-ambulance i { 
    color: #DC3545; /* Alert Red */
} 
.modern-emergency i { 
    color: #FFC107; /* Attention Yellow */
} 
.modern-report i { 
    color: #007BFF; /* Trust Blue */
} 

/* ---------------------------------------------- */
/* 6. HOVER EFFECT (Subtle Lift & Color Accent) */
/* ---------------------------------------------- */

.feature-box:hover {
    transform: translateY(-3px); /* সামান্য উপরে উঠবে */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); 
    /* হোভারের সময় গ্লাস ইফেক্ট একটু উজ্জ্বল হবে */
    background: rgba(255, 255, 255, 0.3); 
    border-color: rgba(255, 255, 255, 0.5);
}

.feature-box:hover i,
.feature-box:hover p {
    color: #007BFF; /* হোভারে নীল অ্যাকসেন্ট */
}
/* ইমেজের হোভার ইফেক্ট (যদি আইকন ইমেজ হয়) */
.feature-box:hover img {
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.6));
}

/* ---------------------------------------------- */
/* 7. RESPONSIVE ADJUSTMENTS */
/* ---------------------------------------------- */

@media (min-width: 992px) {
    /* ডেস্কটপে কোনো ভার্টিকাল সেপারেটর (Vertical Separator) থাকবে না */
    .feature-boxes-row .col-lg-3:not(:last-child) .feature-box::after {
        content: none; 
    }
}

@media (max-width: 991.98px) {
    /* ছোট স্ক্রিনে বক্সগুলোর মধ্যে সামান্য ফাঁকা জায়গা */
    .col-md-6, .col-sm-6 {
        padding-left: 5px; 
        padding-right: 5px;
    }
    
    .col-sm-6 {
        margin-bottom: 10px; /* স্ট্যাক করার সময় নিচে মার্জিন */
    }
    
    .feature-box {
        /* মোবাইলে গ্লাস বর্ডার একটু দৃশ্যমান রাখা হলো */
        border-radius: 10px; 
        transform: none !important;
        box-shadow: none !important;
    }

    /* শেষ বক্সের নিচে কোনো মার্জিন লাগবে না */
    .feature-boxes-row .col-sm-6:last-child {
        margin-bottom: 0;
    }
}
/* ============================================== */
/* 1. Overlapping Wrapper & Structure */
/* ============================================== */

.overlapping-feature-wrap {
    margin-top: -100px; /* More overlap */
    position: relative;
    z-index: 10;
}

.feature-boxes-row {
    background: rgba(255, 255, 255, 0.15); /* Light glassmorphism effect */
    backdrop-filter: blur(8px); /* Frosted glass */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 10px; /* Slightly more padding */
    border-radius: 15px; /* More rounded overall container */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2); /* Deeper shadow for glass effect */
    margin: 0;
    position: relative;
    overflow: hidden; /* To contain shapes */
}

/* ---------------------------------------------- */
/* 2. UNIQUE BOX DESIGN (Complex Layered Shapes) */
/* ---------------------------------------------- */

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 15px; /* More internal padding */
    text-align: center;
    text-decoration: none;
    color: #e0e0e0; /* Lighter text for darker background */
    height: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden; /* Hide overflow of pseudo-elements */
    z-index: 1; /* Ensure content is above pseudo-elements */
    
    background: rgba(255, 255, 255, 0.08); /* Even lighter glass effect for box */
    border-radius: 12px; /* More rounded box corners */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); /* Smoother, bouncier transition */
    transform-style: preserve-3d;
}

/* --- THE UNIQUE SHAPE: Irregular Blob + Inner Layer --- */
.feature-box::before,
.feature-box::after {
    content: '';
    position: absolute;
    z-index: -1; /* Behind the content */
    opacity: 0.3;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Main irregular blob shape */
.feature-box::before {
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
    /* More organic, irregular blob shape */
    clip-path: polygon(
        25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%
    );
    transform: rotate(0deg) scale(0.8);
    filter: blur(30px); /* Soft blur for glass effect */
}

/* Smaller, slightly offset blob for layered effect */
.feature-box::after {
    bottom: -15%;
    right: -15%;
    width: 80%;
    height: 80%;
    background: linear-gradient(45deg, var(--secondary-color), var(--main-color));
    clip-path: polygon(
        20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%
    );
    transform: rotate(180deg) scale(0.7);
    filter: blur(20px); /* Soft blur */
}


/* ---------------------------------------------- */
/* 3. MODERN TEXT AND ICON STYLING */
/* ---------------------------------------------- */

.feature-box i, .feature-box img {
    font-size: 65px; /* Even bigger icon */
    margin-bottom: 15px;
    transition: all 0.4s ease;
    text-shadow: 0 0 15px rgba(255,255,255,0.2); /* Soft glow for icons */
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.1)); /* For better visual on glass */
}

.feature-box p {
    font-size: 20px; /* Larger, more impactful text */
    font-weight: 800; /* Extra bold */
    margin: 0;
    line-height: 1.4;
    letter-spacing: 1px; /* More letter spacing */
    color: #ffffff; /* Pure white text for strong contrast */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Deeper text shadow */
}

/* ---------------------------------------------- */
/* 4. UNIQUE HOVER ANIMATION (Deep Lift & Rotate) */
/* ---------------------------------------------- */

.feature-box:hover {
    color: #ffffff;
    /* Deep lift, slight Z-rotation, and slight perspective for an immersive feel */
    transform: perspective(1200px) translateY(-20px) rotateX(5deg) rotateY(0deg) rotateZ(-2deg);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 255, 255, 0.1); /* Deeper shadow + subtle white glow */
    border-color: rgba(255, 255, 255, 0.3); /* More visible border on hover */
}

.feature-box:hover::before {
    transform: rotate(15deg) scale(0.9); /* Animate blob on hover */
    opacity: 0.5;
}

.feature-box:hover::after {
    transform: rotate(195deg) scale(0.8); /* Animate other blob on hover */
    opacity: 0.5;
}

.feature-box:hover i,
.feature-box:hover p {
    color: #ffffff; /* Keep white, but ensure shadow pops */
    text-shadow: 0 0 20px rgba(255,255,255,0.5), 0 0 30px var(--main-color); /* More pronounced glow */
}
.feature-box:hover img {
     /* Assuming the img also benefits from text-shadow like effect for glow */
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.8)) drop-shadow(0 0 20px var(--main-color));
}

/* ---------------------------------------------- */
/* 5. Specific Icon Colors (with CSS Variables for gradients) */
/* ---------------------------------------------- */

/* Define custom properties for gradient colors for each box */
.modern-appointment { --main-color: #1a9c59; --secondary-color: #38b46e; } /* Green */
.modern-ambulance { --main-color: #ff4d4d; --secondary-color: #ff7070; } /* Red */
.modern-emergency { --main-color: #ffd700; --secondary-color: #ffeb3b; } /* Gold/Yellow */
.modern-report { --main-color: #00bcd4; --secondary-color: #26c6da; } /* Cyan */


/* Apply gradients to icons */
.modern-appointment i, .modern-appointment img {
    background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for non-webkit */
}
.modern-ambulance i {
    background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.modern-emergency i {
    background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.modern-report i {
    background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Adjust pseudo-element colors based on the box's defined colors */
.modern-appointment::before, .modern-appointment::after {
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
}
.modern-ambulance::before, .modern-ambulance::after {
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
}
.modern-emergency::before, .modern-emergency::after {
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
}
.modern-report::before, .modern-report::after {
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
}


/* ---------------------------------------------- */
/* 6. Responsive Adjustments for Mobile */
/* ---------------------------------------------- */
@media (max-width: 767.98px) {
    .feature-boxes-row {
        padding: 10px;
        border-radius: 10px;
        backdrop-filter: none; /* Remove blur on mobile for performance */
        /* --- NEW CHANGE: Light, slightly transparent background for mobile --- */
        background: rgba(255, 255, 255, 0.95); 
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Lighter shadow */
    }
    
    .feature-box {
        clip-path: none; 
        border: 1px solid #f1f1f1; /* Very light border */
        padding: 20px 15px; /* Slightly adjusted padding */
        transform: none !important;
        box-shadow: none; /* Remove individual box shadow on mobile for flat look */
        /* --- NEW CHANGE: White background for individual boxes --- */
        background: #ffffff; 
    }
    
    .feature-box::before, .feature-box::after {
        display: none; /* Hide complex pseudo-elements on mobile */
    }
    
    /* --- NEW CHANGE: Text and Icon Colors for Light Background --- */
    .feature-box p {
        color: #000000; /* Black text for contrast */
        text-shadow: none;
        font-size: 17px;
    }
    
    /* Reset icon gradient/glow to solid color on mobile for simplicity/contrast */
    .feature-box i, .feature-box img {
        font-size: 50px; 
        text-shadow: none;
        filter: none;
        /* Reapply solid specific colors for mobile (important for contrast) */
        background: none;
        -webkit-text-fill-color: initial; 
        color: var(--main-color); /* Use the main color variable as solid color */
    }
    
    /* Ensure the img tag also respects the color reset logic */
    .modern-appointment img {
         width: 50px;
         filter: none;
    }
    
    .feature-box:hover {
        transform: translateY(-5px) !important; /* Simple lift */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-color: #e0e0e0;
    }
    
    .feature-box:hover i, .feature-box:hover p {
        color: var(--main-color); /* Highlight text with main color on hover */
        text-shadow: none;
    }
    
    /* Added separators for stacked mobile view - now using very light grey */
    .feature-boxes-row .col-md-6:nth-child(1) .feature-box,
    .feature-boxes-row .col-md-6:nth-child(2) .feature-box {
        border-bottom: 1px solid #eeeeee;
    }
    .feature-boxes-row .col-md-6:nth-child(odd) .feature-box {
        border-right: 1px solid #eeeeee;
    }
}


/* ============================================== */
/* Custom Medical Button Style (style1) */
/* ============================================== */

.btn.style1 {
    /* Base appearance */
    display: inline-flex; /* Use flex to align icon and text */
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;

    /* Medical Look: Deep Blue Color */
    color: #ffffff; /* White text */
    background-color: #007bff; /* Primary Medical Blue */
    border: 2px solid #007bff; /* Matching border */
    border-radius: 6px; /* Clean, slightly rounded corners */
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3); /* Subtle blue glow/shadow */

    /* Animation */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

/* Icon Styling */
.btn.style1 i {
    font-size: 18px;
    margin-right: 8px; /* Space between icon and text */
    color: #ffffff;
    /* Optional: Small rotation for a dynamic feel */
    transform: rotate(-5deg); 
    transition: transform 0.3s ease;
}

/* Professional Hover Effect */
.btn.style1:hover {
    color: #ffffff;
    background-color: #0056b3; /* Darker blue on hover */
    border-color: #0056b3;
    /* Slight lift */
    transform: translateY(-2px); 
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4); /* Enhanced shadow/glow */
}

.btn.style1:hover i {
    transform: rotate(0deg); /* Icon straightens out on hover */
}

/* Active/Clicked State */
.btn.style1:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
}




/* ১. মূল Element-টিকে Relative করুন */
.about-wrap { 
    position: relative;
    /* নিশ্চিত করুন যে কনটেন্ট উপরে থাকে */
    z-index: 1; 
}

/* ২. ::before pseudo-element তৈরি করে ইমেজ দিন */
.about-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* মূল কনটেন্টের নিচে রাখুন */
    
    /* ব্যাকগ্রাউন্ড ইমেজ সেট করুন */
    background-image: url(https://img.freepik.com/free-vector/vector-network-background-abstract-polygon-triangle_2065-76.jpg);
    background-size: cover;
    background-position: center;
    
    /* ৩. অপাসিটি কমানো (০.১ মানে খুবই হালকা) */
    opacity: 0.15; 
    
    /* অথবা, একটি আধা-স্বচ্ছ সাদা/কালো overlay ব্যবহার করুন */
    /* background-color: rgba(255, 255, 255, 0.5); */ 
}


/* ============================================== */
/* 1. UNIQUE WRAPPER & STRUCTURE */
/* ============================================== */

/* ওভারল্যাপিং এফেক্ট */
.my-feature-overlap-wrap {
    margin-top: -80px; 
    position: relative;
    z-index: 10; 
}

/* মেইন কন্টেইনার: ক্লিন সাদা পটভূমি */
.my-feature-card-row {
    background-color: #FFFFFF; 
    padding: 20px 10px; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
    margin: 0;
}

/* কলামের ফাঁকা জায়গা */
.my-feature-card-row .col-lg-3, 
.my-feature-card-row .col-md-6, 
.my-feature-card-row .col-sm-6 {
    padding-left: 10px; 
    padding-right: 10px;
}

/* ---------------------------------------------- */
/* 2. CORE FEATURE CARD - ICON CIRCLE STYLE */
/* ---------------------------------------------- */

.my-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 10px;
    text-align: center;
    text-decoration: none;
    height: 100%;
    position: relative;
    cursor: pointer;
    
    /* কার্ড স্টাইল */
    background-color: #F8F9FA; 
    border-radius: 10px; 
    border: 1px solid #E9ECEF; 
    transition: all 0.3s ease; 
    color: #212529; 
}

/* আইকন সার্কেল */
.my-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px; /* সার্কেলের সাইজ */
    height: 70px;
    margin-bottom: 15px;
    border-radius: 50%;
    background-color: #FFFFFF; /* আইকন সার্কেলের পটভূমি */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.my-icon-circle i {
    font-size: 30px; 
    line-height: 1;
    transition: color 0.3s ease;
}
.my-icon-circle img {
    width: 30px; 
    height: 30px;
}

.my-card-title {
    font-size: 16px; 
    font-weight: 700; 
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

/* ---------------------------------------------- */
/* 3. ICON & COLOR SCHEME */
/* ---------------------------------------------- */

/* Appointment (Green) */
.my-card-appointment .my-icon-circle i,
.my-card-appointment .my-icon-circle img {
    filter: sepia(100%) saturate(300%) hue-rotate(80deg) brightness(0.7); /* ইমেজকে সবুজ টিন্ট দেওয়ার চেষ্টা */
    color: #28A745; 
} 

/* Ambulance (Red) */
.my-card-ambulance .my-icon-circle i { 
    color: #DC3545; 
} 

/* Emergency (Yellow/Orange) */
.my-card-emergency .my-icon-circle i { 
    color: #FFC107; 
} 

/* Report (Blue) */
.my-card-report .my-icon-circle i { 
    color: #007BFF; 
} 

/* ---------------------------------------------- */
/* 4. HOVER EFFECT */
/* ---------------------------------------------- */

.my-feature-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); 
    background-color: #FFFFFF; 
    border-color: #007BFF; 
}

.my-feature-card:hover .my-icon-circle {
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.my-feature-card:hover .my-card-title {
    color: #007BFF; 
}

/* ---------------------------------------------- */
/* 5. RESPONSIVE ADJUSTMENTS */
/* ---------------------------------------------- */

@media (max-width: 991.98px) {
    /* মোবাইলে কলামের ফাঁকা জায়গা */
    .my-feature-card-row .col-md-6, .my-feature-card-row .col-sm-6 {
        padding-left: 5px; 
        padding-right: 5px;
    }
    .my-feature-card-row .col-sm-6 {
        margin-bottom: 10px; 
    }
    
    .my-feature-card {
        padding: 20px 10px;
    }
    
    .my-feature-card-row .col-sm-6:last-child {
        margin-bottom: 0;
    }
}

/* ============================================== */
/* 1. GLOBAL & SECTION STYLING (UNCHANGED) */
/* ============================================== */

/* সেকশনের মূল র্যাপার */
.dr-main-section-wrap {
    padding-top: 80px; 
    padding-bottom: 80px; 
    background-color: #F8F8F8; 
}

/* সেকশন টাইটেল */
.dr-section-heading span {
    color: #007BFF; 
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.dr-main-title {
    color: #212529;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}


/* ---------------------------------------------- */
/* 2. SEARCH CONTROLS STYLING (UNCHANGED) */
/* ---------------------------------------------- */

.dr-search-controls {
    margin-bottom: 40px;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.dr-form-select {
    width: 100%;
    padding: 10px 15px;
    height: 45px;
    border: 1px solid #CED4DA;
    border-radius: 5px;
    font-size: 15px;
    color: #495057;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%20197.394L146.2%2056.6a12%2012%200%2000-17%200L5.4%20197.394c-7.2%207.2-7.2%2018.8%200%2026.1s18.8%207.2%2026.1%200L146.2%2082.9l114.7%20114.6c7.2%207.2%2018.8%207.2%2026.1%200s7.2-18.8%200-26.1z%22%2F%3E%3C%2Fsvg%3E'); 
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    cursor: pointer;
}
.dr-form-control {
    flex-grow: 1;
    padding: 10px 15px;
    height: 45px;
    border: 1px solid #CED4DA;
    border-right: none; 
    border-radius: 5px 0 0 5px;
    font-size: 15px;
}
.dr-search-btn {
    padding: 10px 20px;
    height: 45px;
    background-color: #007BFF;
    color: #FFFFFF;
    border: 1px solid #007BFF;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
    cursor: pointer;
}
.dr-arrow-btn {
    width: 45px;
    height: 45px;
    background-color: #E9ECEF;
    color: #495057;
    border: 1px solid #E9ECEF;
    border-radius: 50%;
    cursor: pointer;
}
.dr-arrow-btn:hover {
    background-color: #007BFF;
    color: #FFFFFF;
    border-color: #007BFF;
}

/* ---------------------------------------------- */
/* 3. DOCTOR CARD GRID STYLING (IMPROVED UNIQUE LOOK) */
/* ---------------------------------------------- */

.dr-profile-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    /* কার্ডের নিচে একটি স্ট্রাইপ (Stripe) এর মতো শ্যাডো */
    box-shadow: 0 8px 0 -4px #007BFF, 0 5px 15px rgba(0, 0, 0, 0.08); 
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #FFFFFF; /* হোভারের জন্য প্রস্তুত */
}

/* ** স্থির হোভার এফেক্ট (Hover Effect without Movement) ** */
.dr-profile-card:hover {
    box-shadow: 0 0 0 3px #007BFF; /* নীল রঙের বর্ডার হাইলাইট */
    /* কোনো transform: translateY নেই */
    transform: none; 
}

/* ডক্টর ফটো এরিয়া - বোল্ড লুকের জন্য */
.dr-photo-area {
    position: relative;
    overflow: hidden;
    height: 200px; 
    display: flex;
    align-items: flex-end;
    justify-content: center;

}
.dr-profile-card:hover .dr-photo-area {
    background-color: #add4ff; /* হোভারে গাঢ় নীল */
}

.dr-card-img {
    /* আগের মতোই ইমেজ অ্যালাইনমেন্ট */
    width: 120%; 
    max-width: 108%;
    height: auto;
    object-fit: contain; 
    object-position: top center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(10%); 
    z-index: 1;
    transition: transform 0.4s ease;
}

/* কন্টেন্ট এরিয়া */
.dr-card-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dr-card-name {
    font-size: 19px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 5px;
}

.dr-profile-card:hover .dr-card-name {
    color: #007BFF; /* হোভারে নামের রং পরিবর্তন */
}

.dr-card-specialization, .dr-card-department {
    font-size: 14px;
    color: #555555;
    margin-bottom: 3px;
    line-height: 1.3;
}
.dr-card-department {
    margin-bottom: 15px;
}

/* বাটন গ্রুপ */
.dr-card-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto; 
    padding-top: 15px;
    border-top: 1px solid #EEEEEE;
}

.dr-btn-appointment, .dr-btn-profile {
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Appointment Button (Primary) */
.dr-btn-appointment {
    background-color: #007BFF;
    color: #FFFFFF;
    border: 1px solid #007BFF;
}
.dr-btn-appointment:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Profile Button (Secondary - NEW LOOK) */
.dr-btn-profile {
    background-color: transparent; /* ট্রান্সপারেন্ট ব্যাকগ্রাউন্ড */
    color: #495057;
    border: 1px solid #CED4DA;
}
.dr-btn-profile:hover {
    background-color: #CED4DA;
    color: #212529;
    border-color: #CED4DA;
}

/* ---------------------------------------------- */
/* 4. RESPONSIVE ADJUSTMENTS (UNCHANGED) */
/* ---------------------------------------------- */

@media (max-width: 991.98px) {
    /* ... (rest of the media query for 991.98px) ... */
}

@media (max-width: 767.98px) {
    /* ... (rest of the media query for 767.98px) ... */
    .dr-card-actions {
        flex-direction: column;
        gap: 8px;
    }
}



/* ============================================== */
/* 1. SECTION WRAPPER & TYPOGRAPHY */
/* ============================================== */

.dep-section-wrap {
    padding-top: 80px; 
    padding-bottom: 80px; 
    /* আপনার style="background:#e7e7e7" এর পরিবর্তে */
    background-color: #EFEFEF; 
}

.dep-section-title {
    margin-bottom: 40px;
    text-align: center;
}

.dep-main-heading {
    color: #212529;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

/* বুটস্ট্র্যাপের গটার (Gutter) ক্লাসটিকে আরও সুন্দর করতে */
.dep-card-grid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}


/* ---------------------------------------------- */
/* 2. CORE SERVICE CARD STYLE (UNIQUE LOOK) */
/* ---------------------------------------------- */

.dep-service-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    /* কার্ডের ডান দিকে একটি নীল স্ট্রাইপ */
    border-right: 5px solid #007BFF; 
    border-left: 1px solid #E9ECEF;
    border-top: 1px solid #E9ECEF;
    border-bottom: 1px solid #E9ECEF;
}

/* **হোভার এফেক্ট (স্থির)** */
.dep-service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    /* কোনো transform: translateY() ব্যবহার করা হয়নি */
    transform: none; 
    border-color: #007BFF; /* হোভারে পুরো বর্ডার নীল হবে */
    border-right: 5px solid #0056b3; /* স্ট্রাইপটি গাঢ় হবে */
}

/* ---------------------------------------------- */
/* 3. ICON & CONTENT STYLING */
/* ---------------------------------------------- */

.dep-card-icon {
    font-size: 45px;
    color: #007BFF; 
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.dep-service-card:hover .dep-card-icon {
    color: #0056b3; 
}

.dep-card-info {
    text-align: left;
}

.dep-card-title a {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}
.dep-card-title a:hover {
    color: #007BFF;
}

.dep-card-desc {
    font-size: 15px;
    color: #555555;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Explore More Link */
.dep-link-explore {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dep-link-explore i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dep-link-explore:hover {
    color: #0056b3;
}
.dep-link-explore:hover i {
    transform: translateX(3px); /* হোভারে তীরটি একটু সরবে */
}

/* ---------------------------------------------- */
/* 4. RESPONSIVE ADJUSTMENTS */
/* ---------------------------------------------- */

@media (max-width: 991.98px) {
    .dep-section-wrap {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .dep-main-heading {
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {
    .dep-service-card {
        padding: 25px;
        border-right: none; /* ছোট স্ক্রিনে স্ট্রাইপটি সরিয়ে দেওয়া যেতে পারে */
        border-bottom: 5px solid #007BFF; /* বা নিচে স্ট্রাইপ দেওয়া যেতে পারে */
    }
    .dep-card-grid {
        --bs-gutter-y: 1rem; /* মোবাইলে কার্ডগুলোর মধ্যে কম ফাঁকা */
    }
}


/* ============================================== */
/* 1. PRELOADER WRAPPER STYLING (UNCHANGED) */
/* ============================================== */

/* সাদা পটভূমি এবং স্থির */
.site-preloader-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-preloader-wrap.loaded {
    opacity: 0;
    visibility: hidden;
}

.absCenter.heart-preloader-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-text {
    font-size: 18px;
    font-weight: 600;
    color: #007BFF;
    margin-top: 15px;
    letter-spacing: 2px;
}

/* ============================================== */
/* 2. HEARTBEAT (ECG) ANIMATION STYLING (FINAL) */
/* ============================================== */

.heart-ecg-line {
    width: 350px; 
    height: 120px; /* অ্যানিমেশন এরিয়ার উচ্চতা */
    position: relative;
    overflow: hidden;
    border: none; 
    background-color: transparent; 
}

/* প্রকৃত হার্টবিট রেখা: বড় পিক (R-wave) এবং ছোট পিক */
.heart-ecg-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 600%; 
    height: 4px; /* রেখার পুরুত্ব */
    
    /* চূড়ান্ত SVG পাথ: L20 2 (খুব বড় পিক), L25 18 (খুব নিচের পিক) এবং বাকিগুলি ছোট */
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0 10 L10 10 L15 9 L20 2 L25 18 L30 11 L40 10 L50 10 L55 9.5 L60 10.5 L70 10 L100 10' stroke='%23FF4081' fill='none' stroke-width='2.5'/%3e%3c/svg%3e") repeat-x;
    background-size: 100px 20px;
    
    transform: translateY(-50%);
    animation: ecg-beat 1.5s linear infinite; 
    filter: none; 
}

/* হার্টবিট মুভমেন্ট অ্যানিমেশন */
@keyframes ecg-beat {
    0% {
        transform: translate3d(0, -50%, 0);
    }
    100% {
        transform: translate3d(-150px, -50%, 0); 
    }
}

/* ছোট স্ক্রিনের জন্য সামঞ্জস্য */
@media (max-width: 576px) {
    .heart-ecg-line {
        width: 250px; 
        height: 100px;
    }
}


/* ============================================== */
/* 1. SECTION WRAPPER & TYPOGRAPHY */
/* ============================================== */

.hp-section-wrap {
    padding-top: 80px; 
    padding-bottom: 80px; 
    background-color: #F7F9FC; /* হালকা ধূসর পটভূমি */
}

.hp-section-header {
    margin-bottom: 50px;
}

.hp-main-title {
    font-size: 34px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.hp-subtitle {
    font-size: 16px;
    color: #555555;
    margin: 0;
}

/* ---------------------------------------------- */
/* 2. CORE PACKAGE CARD STYLING */
/* ---------------------------------------------- */

.hp-package-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #EEEEEE;
}

/* কার্ডের হাইলাইট (মাঝের কার্ড) */
.hp-highlight {
    border-color: #007BFF;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
    transform: scale(1.03); /* সামান্য স্কেল আপ */
}

.hp-package-card:hover:not(.hp-highlight) {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px); /* হালকা সরণ */
}

/* ব্যাজ স্টাইল */
.hp-card-badge {
    display: inline-block;
    background-color: #E9ECEF;
    color: #495057;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.hp-highlight .hp-card-badge {
    background-color: #007BFF;
    color: #FFFFFF;
}

/* প্যাকেজ নাম */
.hp-package-name {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
}

/* মূল্য এলাকা */
.hp-price-area {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #DDDDDD;
    line-height: 1;
}
.hp-highlight .hp-price-area {
    border-bottom: 1px dashed #007BFF;
}

.hp-price-currency {
    font-size: 28px;
    font-weight: 500;
    color: #007BFF;
    margin-right: 5px;
}

.hp-price-amount {
    font-size: 48px;
    font-weight: 800;
    color: #212529;
}
.hp-highlight .hp-price-amount {
    color: #007BFF;
}

/* ---------------------------------------------- */
/* 3. FEATURE LIST STYLING */
/* ---------------------------------------------- */

.hp-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex-grow: 1; /* বাটনকে নিচে ঠেলে দেবে */
    text-align: center;
}

.hp-feature-item {
    font-size: 16px;
    color: #495057;
    margin-bottom: 12px;
    line-height: 1.4;
    text-align: center;
    font-weight: 500;
}

.hp-feature-item i {
    color: #28A745; /* সবুজ চেক মার্ক */
    margin-right: 8px;
    font-size: 14px;
}

/* ---------------------------------------------- */
/* 4. BUTTON STYLING */
/* ---------------------------------------------- */

.hp-btn-select-package {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: auto; /* নিশ্চিত করে যে বাটন নিচে থাকে */
}

/* ডিফল্ট বাটন */
.hp-package-card:not(.hp-highlight) .hp-btn-select-package {
    background-color: #007BFF;
    color: #FFFFFF;
}
.hp-package-card:not(.hp-highlight) .hp-btn-select-package:hover {
    background-color: #0056b3;
    color: #FFFFFF;
}

/* হাইলাইট করা বাটন */
.hp-highlight .hp-btn-select-package {
    background-color: #007BFF;
    color: #FFFFFF;
    border: 2px solid #007BFF;
}
.hp-highlight .hp-btn-select-package:hover {
    background-color: #FFFFFF;
    color: #007BFF;
}


/* ---------------------------------------------- */
/* 5. RESPONSIVE ADJUSTMENTS */
/* ---------------------------------------------- */

@media (max-width: 991.98px) {
    .hp-section-wrap {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .hp-main-title {
        font-size: 28px;
    }
    .hp-highlight {
        transform: scale(1.02); /* ছোট স্ক্রিনে কম স্কেল */
    }
    .hp-package-card {
        margin-bottom: 25px; 
    }
    .hp-package-grid .col-md-6:nth-child(2) {
        order: -1; /* মোবাইলে Best Value কার্ডটি উপরে দেখাবে */
    }
}

@media (max-width: 767.98px) {
    .hp-package-card {
        padding: 25px;
    }
    .hp-highlight {
        transform: none; /* মোবাইলে স্কেলিং বন্ধ */
    }
    .hp-price-amount {
        font-size: 40px;
    }
    .hp-package-grid .col-md-6:nth-child(2) {
        order: -1; /* মোবাইলে Best Value কার্ডটি উপরে দেখাবে */
    }
}


/* ============================================== */
/* 1. SECTION WRAPPER & TYPOGRAPHY */
/* ============================================== */

.hos-section-wrap {
    padding-top: 80px; 
    padding-bottom: 80px; 
    background-color: #F7F9FC; 
}

.hos-section-title {
    margin-bottom: 50px;
}

.hos-subtitle-text {
    font-size: 15px;
    font-weight: 600;
    color: #007BFF;
    display: block;
    margin-bottom: 5px;
}

.hos-main-heading {
    font-size: 34px;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
    margin: 0;
}

/* ---------------------------------------------- */
/* 2. CORE SERVICE CARD STYLING (UNIQUE LOOK) */
/* ---------------------------------------------- */

.hos-service-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hos-service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* কোনো মুভমেন্ট নেই */
    transform: none;
}

/* কার্ডের উপরের ছবি ও আইকন সেকশন */
.hos-card-top {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.hos-card-img-wrap {
    height: 100%;
    overflow: hidden;
}

.hos-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hos-service-card:hover .hos-card-image {
    transform: scale(1.05);
}

/* আইকন */
.hos-card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    line-height: 65px;
    text-align: center;
    background-color: #FFFFFF;
    color: #007BFF;
    border-radius: 50%;
    font-size: 30px;
    z-index: 10;
    box-shadow: 0 0 0 5px rgba(0, 123, 255, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hos-service-card:hover .hos-card-icon {
    background-color: #007BFF;
    color: #FFFFFF;
    box-shadow: 0 0 0 5px rgba(0, 123, 255, 0.4);
}

/* ---------------------------------------------- */
/* 3. CARD CONTENT STYLING */
/* ---------------------------------------------- */

.hos-card-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hos-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 10px;
    display: block;
}

.hos-card-title:hover {
    color: #007BFF;
}

.hos-card-desc {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1; /* বাটনকে নিচে ঠেলে দেবে */
}

/* এক্সপ্লোর বাটন */
.hos-link-more {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #007BFF;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto; /* বাটনকে নিচে অ্যালাইন করবে */
}

.hos-link-more i {
    margin-left: 5px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.hos-link-more:hover {
    color: #0056b3;
}
.hos-link-more:hover i {
    transform: translateX(3px);
}

/* ---------------------------------------------- */
/* 4. RESPONSIVE ADJUSTMENTS */
/* ---------------------------------------------- */

@media (max-width: 991.98px) {
    .hos-section-wrap {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .hos-main-heading {
        font-size: 28px;
    }
    /* 992px এর নিচে ২ কলাম গ্রিড */
    .hos-service-grid .col-lg-3 {
        width: 50%;
        margin-bottom: 20px;
    }
    .hos-service-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    /* 768px এর নিচে ১ কলাম গ্রিড */
    .hos-service-grid .col-lg-3,
    .hos-service-grid .col-md-6 {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* ============================================== */
/* 1. SECTION WRAPPER & TYPOGRAPHY */
/* ============================================== */

.adv-section-wrap {
    padding-top: 80px; 
    padding-bottom: 80px; 
    background-color: #f0f4fd; /* হালকা ধূসর পটভূমি */
}

.adv-section-header {
    margin-bottom: 50px;
    padding-bottom: 20px; /* নিচের অ্যাকসেন্ট লাইনের জন্য অতিরিক্ত প্যাডিং */
    position: relative;
}

.adv-main-title {
    /* ফন্ট স্টাইল: ফন্ট সাইজ এবং ওয়েট অপরিবর্তিত রেখে লেটার স্পেসিং দিয়ে ইউনিক করা হলো */
    font-size: 36px;
    font-weight: 800; /* আরও গাঢ় ফন্ট ওয়েট */
    color: #212529;
    margin-bottom: 10px;
    
    /* মূল ডিজাইন চেঞ্জ: অক্ষরের মধ্যে ব্যবধান বাড়িয়ে আধুনিক লুক দেওয়া হলো */
    letter-spacing: 2px; 
    text-transform: uppercase; /* সব অক্ষর বড় হাতের */
    display: inline-block;
    padding: 0 5px;
}

.adv-subtitle {
    font-size: 17px;
    color: #555555;
    margin: 15px auto 0 auto; /* উপরে স্পেস বাড়ানো হলো */
    max-width: 700px; /* টেক্সটকে মাঝখানে কেন্দ্রীভূত করে পড়া সহজ করা হলো */
    line-height: 1.6;
    font-style: italic; /* সামান্য ইটালিক ফন্ট */
}
/* ---------------------------------------------- */
/* 4. UNIQUE ACCENT LINE (আন্ডারলাইন এফেক্ট) */
/* ---------------------------------------------- */

.adv-section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; /* মাঝখানে শুরু */
    transform: translateX(-50%); /* মাঝখানে রাখুন */
    
    /* অ্যাকসেন্ট লাইনের মাপ */
    width: 80px; 
    height: 4px;
    
    /* রঙ এবং স্টাইল */
    background: linear-gradient(to right, #007BFF, #00C6FF); /* নীল থেকে হালকা নীল গ্রাডিয়েন্ট */
    border-radius: 2px;
}

/* ---------------------------------------------- */
/* 2. CORE MACHINE CARD STYLING (ANIMATED & UNIQUE) */
/* ---------------------------------------------- */

.adv-machine-card.adv-simple-style {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    /* ডিফল্ট সিম্পল বর্ডার স্টাইল */
    border: 1px solid #EEEEEE;
    border-bottom: 5px solid #E9ECEF; /* হালকা ধূসর স্ট্রাইপ */
    
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* হালকা শ্যাডো */
    /* মসৃণ ট্রানজিশন: সব প্রপার্টির জন্য */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ** হোভার অ্যানিমেশন এফেক্ট ** */
.adv-machine-card.adv-simple-style:hover {
    /* 1. 3D Lift and Scale */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
    transform: translateY(-8px) scale(1.01); /* কার্ড উপরে তোলা */
    
    /* 2. বর্ডার অ্যাকসেন্ট */
    border-color: #DDEEFF; 
    border-bottom: 5px solid #007BFF; /* নীল স্ট্রাইপ উজ্জ্বল হবে */
}

/* ---------------------------------------------- */
/* 3. IMAGE CONTAINER & GLOSSY EFFECT */
/* ---------------------------------------------- */

.adv-img-container {
    position: relative;
    height: 220px; 
    overflow: hidden;
}

.adv-machine-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.adv-machine-card.adv-simple-style:hover .adv-machine-img {
    transform: scale(1.1); /* হোভারে ছবি জুম হবে */
}

/* ছবির ওভারলে (Shine Effect এর জন্য) */
.adv-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; 
    pointer-events: none;
}

/* ** Glossy/Shine Effect অ্যানিমেশন কল করা হলো ** */
.adv-machine-card.adv-simple-style:hover .adv-img-overlay {
    animation: shine-sweep 1s ease-in-out;
}

/* Shine অ্যানিমেশনের কীফ্রেম */
@keyframes shine-sweep {
    0% {
        /* শুরু: বাম দিকে লুকানো, হালকা আলো */
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transform: translateX(-100%);
    }
    50% {
        /* মাঝখানে: সর্বোচ্চ উজ্জ্বল আলো */
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
        transform: translateX(0%);
    }
    100% {
        /* শেষ: ডান দিকে লুকানো */
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transform: translateX(100%);
    }
}


/* ---------------------------------------------- */
/* 4. CONTENT STYLING */
/* ---------------------------------------------- */

.adv-card-info {
    padding: 25px;
    padding-top: 20px;
    text-align: center;
    position: relative;
    flex-grow: 1;
}

.adv-machine-name {
    font-size: 20px; 
    font-weight: 700;
    color: #212529; 
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.adv-machine-card.adv-simple-style:hover .adv-machine-name {
    color: #007BFF; /* হোভারে নাম নীল হবে */
}

.adv-machine-desc {
    font-size: 15px;
    color: #555555;
    margin-bottom: 0; 
    line-height: 1.5;
}

/* ---------------------------------------------- */
/* 5. RESPONSIVE ADJUSTMENTS */
/* ---------------------------------------------- */

@media (max-width: 991.98px) {
    .adv-section-wrap {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .adv-main-title {
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {
    .adv-img-container {
        height: 180px;
    }
    .adv-machine-card.adv-simple-style {
        margin-bottom: 20px;
        /* মোবাইলে 3D লিফট বন্ধ করে শুধু বর্ডার রাখা হলো */
        transform: none !important; 
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    }
}

@media (max-width: 767px) {
    .adv-main-title {
        font-size: 28px;
        letter-spacing: 1.5px;
    }
    .adv-subtitle {
        font-size: 15px;
        max-width: 90%;
    }
    .adv-section-header {
        margin-bottom: 30px;
    }
}


/* ============================================== */
/* Custom Styles for About Us Page (new_style.css) */
/* ============================================== */

/* --- Common Section Header Style (from previous step) --- */
.adv-section-header {
    margin-bottom: 50px;
    padding-bottom: 20px;
    position: relative;
}

.adv-main-title {
    font-size: 36px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    padding: 0 5px;
}

.adv-subtitle {
    font-size: 17px;
    color: #555555;
    margin: 15px auto 0 auto;
    max-width: 700px;
    line-height: 1.6;
    font-style: italic;
}

.adv-section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007BFF, #00C6FF);
    border-radius: 2px;
}

/* --- 1. Breadcrumb/Page Title Styling --- */
.adv-breadcrumb-style {
    background-color: #f8f9fa; /* Light background for clean look */
    border-bottom: 1px solid #eee;
}

/* --- 2. Hospital Overview Section --- */
.about-overview-content .sub-title {
    color: #007BFF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.about-main-h2 {
    font-size: 40px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
}

.about-key-features {
    padding-left: 0;
    margin-top: 20px;
    list-style: none;
}

.about-key-features li {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-key-features li i {
    color: #28a745; /* Success color for checks */
    font-size: 18px;
    margin-right: 10px;
    font-weight: 900;
}

.about-image-wrap {
    position: relative;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.about-img-main {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

/* --- 3. Vision & Mission Section --- */
.adv-vm-grid {
    display: flex;
    gap: 30px;
}

.vm-section-wrap {
    background-color: #e9f5ff; /* A clean light blue background */
}

.vm-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%; /* ensures equal height in the grid */
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.vm-icon {
    font-size: 40px;
    color: #007BFF;
    margin-bottom: 15px;
    display: block;
}

.vm-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #007BFF;
}

.vm-text {
    color: #444;
}


/* --- 4. Why Choose Us Section (Features Grid) --- */
.adv-choose-grid {
    padding-top: 20px;
}

.adv-feature-box {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
    background-color: #fff;
    height: 100%;
}

.adv-feature-box:hover {
    border-color: #007BFF;
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.1);
    background-color: #f7faff;
}

.adv-feature-icon {
    font-size: 50px;
    color: #007BFF;
    margin-bottom: 15px;
    display: block;
}

.adv-feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .about-overview-wrap .col-lg-6:last-child {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .adv-main-title {
        font-size: 28px;
        letter-spacing: 1.5px;
    }
    .about-main-h2 {
        font-size: 30px;
    }
    .adv-subtitle {
        font-size: 15px;
        max-width: 90%;
    }
    .adv-section-header {
        margin-bottom: 30px;
    }
}



/* ================================================= */
/* 1. PAGE HEADER SECTION (hc-page-header)          */
/* ================================================= */

.hc-section-page-header {
    /* **OVERLAP FIX** - Menu-r niche chole asha thikanor jonno */
    padding-top: 150px; 
    padding-bottom: 100px;
    
    /* Modern Background Effect */
    background: linear-gradient(135deg, #004a80 0%, #4177c6 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-center{
    padding-top: 36px;
}
/* Optional: Ektu Style add korar jonno */
.hc-section-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     background: linear-gradient(to right, #007BFF, #00C6FF); 
    opacity: 0.1;
}

.hc-page-title-main {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color:white;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);*/
}

.hc-page-subtitle-main {
    font-size: 22px;
    font-style: italic;
    /*opacity: 0.95;*/
    color:white;
}

/* ================================================= */
/* 2. ABOUT US CONTENT SECTION (hc-about-content)   */
/* ================================================= */

.hc-section-about-content {
    background-color: #ffffff;
}

.hc-about-main-heading {
    font-size: 16px;
    color: #0d6efd; 
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.hc-about-sub-heading {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #212529;
    margin-bottom: 25px;
}

.hc-about-text-body {
    font-size: 17px;
    color: #6c757d;
    margin-bottom: 30px;
}

/* ================================================= */
/* 3. MISSION & VISION SECTION (hc-mission-vision)  */
/* ================================================= */

.hc-section-mission-vision {
    background-color: #f1f3f5 !important; 
}

.hc-mission-card, .hc-vision-card {
    border: none;
    transition: transform 0.3s ease;
    border-left: 5px solid #0d6efd; /* Highlight border */
}

.hc-mission-card:hover, .hc-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* ================================================= */
/* 4. WHY CHOOSE US SECTION (hc-why-choose-us)      */
/* ================================================= */

.hc-section-heading {
    font-weight: 700;
    text-transform: uppercase;
}

.hc-section-sub-heading {
    font-size: 36px;
    font-weight: 800;
    color: #212529;
}

.hc-choice-item {
    transition: all 0.3s ease;
    border-color: #e9ecef !important;
}

.hc-choice-item:hover {
    background-color: #e7f1ff;
    border-color: #0d6efd !important;
}

/* ================================================= */
/* 5. RESPONSIVE ADJUSTMENTS (Media Queries)        */
/* ================================================= */

@media (max-width: 992px) {
    
    .hc-section-page-header {
        padding-top: 120px; 
        padding-bottom: 70px;
    }

    .hc-page-title-main {
        font-size: 40px;
    }
    
    .hc-about-sub-heading {
        font-size: 34px;
    }
    
    .about-center {
    padding-top: 119px;
}
}

@media (max-width: 576px) {
    
    .hc-section-page-header {
        padding-top: 100px; 
        padding-bottom: 50px;
    }
    
    .hc-page-title-main {
        font-size: 30px;
    }
    
    .hc-about-sub-heading {
        font-size: 28px;
    }
    
    .about-center {
    padding-top: 182px;
}
}


/* ================================================= */
/* 1. DOCTOR PROFILE & CONTACT INFO (hc-doctor-profile) */
/* ================================================= */

.hc-section-doctor-profile {
    /* Top margin fix for padding added in the page header section */
    padding-top: 30px; 
}

.hc-doctor-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease; /* Hover animation */
}

.hc-doctor-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.hc-profile-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 3px solid #0d6efd; /* Highlight border */
}

.hc-bio-title {
    font-size: 36px;
    font-weight: 800;
    color: #212529;
}

.hc-bio-designation {
    font-size: 18px;
    color: #004a80 !important;
}

.hc-section-sub-title {
    font-size: 24px;
    font-weight: 700;
    color: #343a40;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 5px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.hc-specialty-badge {
    margin-right: 8px;
    margin-bottom: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background-color: #e3f2fd !important; /* Light blue background */
    color: #004a80 !important;
    border-radius: 5px;
}

.hc-contact-list li {
    padding: 5px 0;
    font-size: 15px;
    color: #495057;
}

.hc-appointment-btn {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    font-weight: 600;
    transition: background-color 0.3s;
}

.hc-appointment-btn:hover {
    background-color: #218838 !important;
}

/* ================================================= */
/* 2. EDUCATION & PUBLICATIONS (hc-details-tabs)    */
/* ================================================= */

.hc-custom-tabs {
    border-bottom: 2px solid #0d6efd;
}

.hc-tab-link {
    font-weight: 600;
    color: #495057;
    border: none;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s;
}

.hc-tab-link.active {
    color: #0d6efd !important;
    border-bottom: 3px solid #0d6efd !important;
    background-color: transparent !important;
}

.hc-education-list .hc-education-item {
    font-size: 16px;
    padding: 12px 15px;
    border-left: 5px solid transparent;
    transition: border-left 0.3s;
}

.hc-education-list .hc-education-item:hover {
    background-color: #eaf5ff;
    border-left: 5px solid #0d6efd; /* Hover animation */
}

.hc-schedule-table th {
    background-color: #004a80;
    color: #ffffff;
}

/* ================================================= */
/* 3. RESPONSIVE ADJUSTMENTS (Media Queries)        */
/* ================================================= */

@media (max-width: 768px) {
    .hc-section-doctor-profile {
        padding-top: 20px;
    }
    
    .hc-bio-title {
        font-size: 30px;
    }

    .hc-doctor-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hc-profile-img {
        max-height: 300px;
    }
    .hc-tab-link {
        font-size: 14px; /* Smaller tabs for mobile */
        padding: 8px 10px;
    }
}

.status-unavailable {
    color: #dc3545; /* Unavailable hole Red text */
    font-weight: 600;
    background-color: #ffe6e6; /* Halka red background */
    border-radius: 4px;
    padding: 3px 6px;
    display: inline-block;
}

.status-available {
    color: #198754; /* Available hole Green text */
    font-weight: 600;
    background-color: #e6ffed; /* Halka green background */
    border-radius: 4px;
    padding: 3px 6px;
    display: inline-block;
}



/* ================================================= */
/* 1. SERVICES INTRO SECTION (hc-services-intro)    */
/* ================================================= */
.hc-section-services-intro {
    background-color: #f8f9fa; /* Light background */
}

.hc-intro-heading {
    font-size: 34px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.hc-intro-subtext {
    font-size: 18px;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

/* ================================================= */
/* 2. SERVICES GRID SECTION (hc-services-grid)      */
/* ================================================= */

.hc-service-card-link {
    text-decoration: none; /* Link er niche line hariye dewa */
    display: block; /* Jate puro card link hoy */
    height: 100%; /* Jate shob card-er height shoman thake */
}

.hc-service-card {
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease; /* Hover animation shuru */
    height: 100%;
}

/* --- Hover Effect --- */
.hc-service-card-link:hover .hc-service-card {
    transform: translateY(-8px); /* Card-ta ektu upore uthe jabe */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important; /* Beshi shadow add hobe */
    border-color: #0d6efd; /* Border color change */
}
/* -------------------- */


.hc-service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Gol icon container */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Optional: Different light colors for icon backgrounds */
.bg-primary-light { background-color: #eaf1ff; } /* Light blue */
.bg-success-light { background-color: #e6ffe6; } /* Light green */
.bg-info-light { background-color: #e3f2fd; } /* Light cyan/info blue */


.hc-service-title {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
    transition: color 0.3s;
}

/* Title color change on hover */
.hc-service-card-link:hover .hc-service-title {
    color: #0d6efd; 
}


.hc-service-text {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 15px;
}

.hc-readmore-btn {
    font-weight: 600;
    color: #0d6efd;
    transition: padding-left 0.3s;
}

/* Read More button animation on hover */
.hc-service-card-link:hover .hc-readmore-btn {
    padding-left: 5px; /* Ektu dan dike shoriye jabe */
}

/* ================================================= */
/* 3. RESPONSIVE ADJUSTMENTS (Media Queries)        */
/* ================================================= */

.services_top_header{
        padding-top: 35px;

}

@media (max-width: 768px) {
    .hc-intro-heading {
        font-size: 28px;
    }
    .hc-service-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .hc-intro-heading {
        font-size: 24px;
    }
    .hc-service-card {
        padding: 20px;
    }
    .hc-service-icon {
        width: 60px;
        height: 60px;
    }
}



/* ================================================= */
/* 1. SERVICE DETAILS MAIN CONTENT (hc-service-detail) */
/* ================================================= */

.hc-section-service-detail {
    background-color: #ffffff;
}

.hc-service-banner-img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    border: 5px solid #e9ecef; /* Subtle frame around the image */
}

.hc-detail-heading-main {
    font-size: 38px;
    font-weight: 800;
    color: #004a80;
    margin-bottom: 20px;
}

.hc-detail-heading-sub {
    font-size: 24px;
    font-weight: 700;
    color: #0d6efd;
    border-left: 5px solid #0d6efd; /* Unique highlight */
    padding-left: 10px;
    margin-bottom: 20px;
}

.hc-detail-text-body {
    font-size: 17px;
    color: #495057;
    margin-bottom: 15px;
}

/* --- Feature/Checklist Styling --- */
.hc-feature-list li {
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px dashed #e9ecef;
    color: #343a40;
}

.hc-feature-list li:last-child {
    border-bottom: none;
}

/* --- Call to Action (CTA) Styling --- */
.hc-team-cta {
    background-color: #eaf1ff !important;
    border-left: 8px solid #0d6efd !important;
    border-radius: 5px;
}

.hc-cta-heading {
    color: #004a80;
    font-weight: 700;
}

.hc-cta-btn {
    font-weight: 600;
}

/* ================================================= */
/* 2. SIDEBAR STYLING (hc-sidebar-card)             */
/* ================================================= */

.hc-sidebar-card {
    border: none;
    transition: transform 0.3s ease;
}

.hc-sidebar-card:hover {
    transform: translateY(-3px); /* Hover effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
}

.hc-card-header {
    background-color: #1d64aa !important;
    padding: 15px;
    border-radius: 5px 5px 0 0 !important;
}

.hc-hours-list li {
    font-size: 16px;
    padding: 12px 15px;
}

.hc-quick-contact {
    padding: 30px !important;
}

.hc-contact-title {
    font-weight: 700;
    color: #004a80;
}

.service_details_page_header_color{
    color:white;
}

/* ================================================= */
/* 3. RESPONSIVE ADJUSTMENTS (Media Queries)        */
/* ================================================= */

@media (max-width: 992px) {
    /* Tablet */
    .hc-sidebar-card {
        /* Sidebar element-er jonno ektu kom margin */
        margin-bottom: 30px !important; 
    }
}

@media (max-width: 576px) {
    /* Mobile */
    .hc-detail-heading-main {
        font-size: 30px;
    }
    .hc-detail-heading-sub {
        font-size: 20px;
    }
    .hc-feature-list li {
        font-size: 15px;
    }
}



/* ================================================= */
/* 1. BLOG POSTS GRID (hc-blog-grid)                */
/* ================================================= */

.hc-section-blog-grid {
    background-color: #f8f9fa; /* Halko background */
}

.hc-blog-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.hc-blog-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    overflow: hidden; /* Jate chobi rounded corner er baire na jay */
    transition: all 0.3s ease; /* Hover animation shuru */
    height: 100%;
}

/* --- Hover Effect --- */
.hc-blog-card-link:hover .hc-blog-card {
    transform: translateY(-8px); /* Card-ta ektu upore uthe jabe */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important; 
    border-color: #0d6efd;
}

.hc-blog-card-link:hover .hc-blog-image {
    transform: scale(1.05); /* Image zoom hobe */
}
/* -------------------- */


.hc-blog-image-wrap {
    overflow: hidden;
    height: 200px; /* Fixed height for consistent look */
}

.hc-blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* --- Content & Meta Styling --- */
.hc-blog-meta {
    font-size: 13px;
    text-transform: uppercase;
}

.hc-meta-category {
    letter-spacing: 0.5px;
}

.hc-meta-date {
    color: #6c757d;
}

.hc-blog-title {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s;
}

/* Title color change on hover */
.hc-blog-card-link:hover .hc-blog-title {
    color: #0d6efd; 
}

.hc-blog-excerpt {
    font-size: 15px;
    color: #495057;
    margin-bottom: 15px;
}

.hc-blog-readmore {
    font-weight: 600;
    color: #0d6efd;
    display: inline-block;
    transition: padding-left 0.3s;
}

/* Read More button animation on hover */
.hc-blog-card-link:hover .hc-blog-readmore {
    padding-left: 5px;
}

/* --- Pagination Styling (Optional) --- */
.hc-pagination .page-link {
    color: #0d6efd;
    border-radius: 5px;
    margin: 0 3px;
    border-color: #e9ecef;
}

.hc-pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

/* ================================================= */
/* 2. RESPONSIVE ADJUSTMENTS (Media Queries)        */
/* ================================================= */

@media (max-width: 768px) {
    .hc-blog-image-wrap {
        height: 180px; /* Choto screen e height adjust kora holo */
    }
}

@media (max-width: 576px) {
    .hc-blog-image-wrap {
        height: 250px; /* Mobile e full width-er jonyo height ektu bariye dewa holo */
    }
    .hc-blog-title {
        font-size: 20px;
    }
}



/* ================================================= */
/* 1. BLOG DETAILS MAIN CONTENT (hc-blog-details)   */
/* ================================================= */

.hc-section-blog-details {
    background-color: #ffffff;
}

.hc-post-featured-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border: 1px solid #e9ecef;
}

.hc-post-meta {
    font-size: 14px;
    color: #6c757d;
}

.hc-post-subtitle-1 {
    font-size: 32px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 20px;
}

.hc-post-subtitle-2 {
    font-size: 24px;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 15px;
}

.hc-post-text-body {
    font-size: 17px;
    line-height: 1.7;
    color: #343a40;
}

.hc-post-quote {
    background-color: #eaf1ff !important;
    color: #343a40;
    border-radius: 0 5px 5px 0 !important;
}

/* --- Footer & Sharing --- */
.hc-post-tag {
    font-size: 13px;
    background-color: #f1f1f1 !important;
    color: #495057 !important;
    padding: 5px 10px;
}

.hc-footer-label {
    font-weight: 600;
    color: #212529;
}

.hc-social-share .hc-share-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: #f8f9fa;
    color: #0d6efd;
    border-radius: 50%;
    margin-left: 8px;
    transition: background-color 0.3s, color 0.3s;
}

/* --- Social Icon Hover Effect --- */
.hc-social-share .hc-share-icon:hover {
    background-color: #0d6efd;
    color: #ffffff;
}

/* ================================================= */
/* 2. SIDEBAR STYLING (hc-sidebar-card)             */
/* ================================================= */

.hc-sidebar-card {
    border: none;
}

.hc-sidebar-title {
    font-weight: 700;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* --- Recent Posts --- */
.hc-recent-posts {
    padding-left: 0;
}

.hc-recent-item {
    border-bottom: 1px dashed #e9ecef;
    padding: 10px 0;
    transition: background-color 0.3s;
}

.hc-recent-item:hover {
    background-color: #f8f9fa; /* Subtle hover effect */
}

.hc-recent-link {
    display: block;
    font-weight: 600;
    color: #343a40;
    text-decoration: none;
}

.hc-recent-date {
    font-size: 13px;
    color: #6c757d;
}

/* --- Categories List --- */
.hc-category-list li a {
    display: block;
    padding: 5px 0;
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.hc-category-list li a:hover {
    color: #004a80;
    padding-left: 5px; /* Slide effect on hover */
}

/* ================================================= */
/* 3. RESPONSIVE ADJUSTMENTS (Media Queries)        */
/* ================================================= */

@media (max-width: 992px) {
    /* Tablet */
    .hc-post-featured-img {
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    /* Mobile */
    .hc-post-subtitle-1 {
        font-size: 26px;
    }
    .hc-post-subtitle-2 {
        font-size: 20px;
    }
    .hc-post-footer {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .hc-social-share {
        margin-top: 15px;
    }
}


/* ================================================= */
/* 1. CONTACT INFO CARDS (hc-contact-info)          */
/* ================================================= */

.hc-section-contact-info {
    background-color: #ffffff;
}

.hc-info-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%; /* Shob card er height shoman rakhar jonno */
}

/* --- Card Hover Effect --- */
.hc-info-card:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: #0d6efd;
}
.hc-info-card:hover .hc-info-icon i {
    color: #004a80 !important;
}
/* -------------------- */

.hc-info-icon {
    margin-bottom: 15px;
}

.hc-info-title {
    font-size: 20px;
    color: #212529;
}

.hc-info-text {
    font-size: 15px;
    color: #6c757d;
}

/* ================================================= */
/* 2. CONTACT FORM & MAP (hc-contact-form-map)      */
/* ================================================= */

.hc-section-contact-form-map {
    background-color: #f8f9fa;
}

.hc-form-wrap {
    border: 1px solid #dee2e6;
}

.hc-form-heading {
    font-size: 32px;
    color: #0d6efd;
}

.hc-form-input {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hc-form-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.hc-form-submit-btn {
    padding: 12px;
    font-weight: 600;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    transition: background-color 0.3s;
}

.hc-form-submit-btn:hover {
    background-color: #004a80 !important; /* Darker blue on hover */
    border-color: #004a80 !important;
}

.hc-map-wrap {
    /* Height map iframe er modhye dewa, sudhu border/shadow */
    border: 5px solid #ffffff;
}

/* ================================================= */
/* 3. RESPONSIVE ADJUSTMENTS (Media Queries)        */
/* ================================================= */

@media (max-width: 992px) {
    /* Tablet */
    .hc-form-wrap {
        padding: 30px !important;
    }
}

@media (max-width: 768px) {
    /* Mobile */
    .hc-form-heading {
        font-size: 28px;
    }
    .hc-map-wrap {
        /* Mobile e map ektu choto hobe */
        height: 350px; 
    }
}


/* ================================================= */
/* 1. APPOINTMENT FORM & SIDEBAR (hc-appointment-section) */
/* ================================================= */

.hc-section-appointment-form {
    background-color: #f4f7f9; /* Halko background */
}

.hc-appointment-form-wrap {
    border: none;
    background-color: #ffffff;
}

.hc-form-main-heading {
    font-size: 32px;
    color: #0d6efd;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

/* --- Step Styling --- */
.hc-form-step {
    border-color: #ced4da !important;
    background-color: #fcfdff;
}

.hc-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #343a40;
}

.hc-form-label {
    font-weight: 600;
    color: #212529;
}

/* --- Input/Select Styling --- */
.hc-form-input, .hc-form-select {
    border-radius: 6px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hc-form-input:focus, .hc-form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* --- Time Slot Buttons (Unique UI) --- */
.hc-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hc-slot-btn {
    font-weight: 600;
    border-radius: 50px; /* Pill shape */
    transition: background-color 0.3s, transform 0.2s;
}

/* Hover/Selection Effect */
.hc-slot-btn:hover {
    background-color: #198754 !important;
    color: #ffffff !important;
    border-color: #198754 !important;
}
/* Note: Selection status must be handled by JavaScript */


/* --- Submit Button --- */
.hc-form-submit-btn {
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.hc-form-submit-btn:hover {
    background-color: #004a80 !important; 
    border-color: #004a80 !important;
}


/* ================================================= */
/* 2. SIDEBAR STYLING (hc-sidebar-card)             */
/* ================================================= */

.hc-sidebar-card {
    border-left: 5px solid #0d6efd !important; /* Unique blue highlight */
    background-color: #ffffff;
    transition: box-shadow 0.3s;
}

.hc-sidebar-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.hc-contact-title {
    font-size: 24px;
    color: #004a80;
}

.hc-contact-btn {
    font-weight: 600;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}


/* ================================================= */
/* 3. RESPONSIVE ADJUSTMENTS (Media Queries)        */
/* ================================================= */

@media (max-width: 992px) {
    .hc-form-main-heading {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hc-form-main-heading {
        font-size: 24px;
    }
    .hc-form-step {
        padding: 20px !important;
    }
    .hc-step-title {
        font-size: 18px;
    }
    .hc-time-slots {
        justify-content: center; /* Mobile e center kora holo */
    }
}

/* ================================================= */
/* 1. APPOINTMENT FORM & SIDEBAR (hc-appointment-section) */
/* ================================================= */

.hc-section-appointment-form {
    background-color: #f1f3f5; /* Aro soft gray background */
}

.hc-appointment-form-wrap {
    /* Form container ke aro unique kora holo */
    border: none;
    background-color: #ffffff;
    border-radius: 15px; /* Beshi round corners */
    /* Darker, more prominent shadow */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); 
}

.hc-form-main-heading {
    font-size: 36px;
    color: #0d6efd;
    border-bottom: 3px solid #0d6efd; /* Highlighted border */
    padding-bottom: 15px;
    margin-bottom: 30px !important;
}

/* --- Step Styling (Aro prominent kora holo) --- */
.hc-form-step {
    border: 1px solid #cce5ff !important; /* Lighter blue border */
    background-color: #f0f7ff; /* Very light blue background */
    border-radius: 12px;
    padding: 25px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.hc-step-title {
    font-size: 22px;
    font-weight: 700;
    color: #004a80; /* Darker blue title */
}

/* --- Input/Select Styling --- */
.hc-form-input, .hc-form-select {
    border-radius: 8px; /* Ektu beshi round corners */
    padding: 12px 15px;
    border: 1px solid #ced4da;
}

.hc-form-input:focus, .hc-form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.4); /* Stronger focus shadow */
}

/* --- Time Slot Buttons (Unique UI: Blue-to-Green) --- */
.hc-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hc-slot-btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 15px;
    background-color: #e9ecef; /* Default gray/off-white */
    color: #495057;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
}

/* Hover Effect (Visual suggestion for selection) */
.hc-slot-btn:hover {
    background-color: #0d6efd; /* Hover korle blue hobe */
    color: #ffffff;
    border-color: #0d6efd;
    transform: translateY(-2px);
}

/* Selected/Active Slot (Must be applied via JS/Backend if dynamic, static CSS below) */
.hc-slot-btn.hc-slot-active {
    background-color: #28a745; /* Selected hole Green */
    color: #ffffff;
    border-color: #28a745;
}

/* --- Submit Button --- */
.hc-form-submit-btn {
    padding: 16px; /* Aro boro button */
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.hc-form-submit-btn:hover {
    background-color: #004a80 !important;
    border-color: #004a80 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(13, 110, 253, 0.3);
}


/* ================================================= */
/* 2. SIDEBAR STYLING (hc-sidebar-card)             */
/* ================================================= */

.hc-sidebar-card {
    border-radius: 15px !important;
    background-color: #ffffff;
    /* Clean shadow */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    border: none;
    border-left: 8px solid #0d6efd !important; /* Stronger unique highlight */
    transition: transform 0.3s ease;
}

.hc-sidebar-card:hover {
    transform: none; /* Sidebar ke lift korar dorkar nei */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

.hc-contact-title {
    font-size: 26px;
    color: #004a80;
}

.hc-contact-btn {
    font-weight: 700;
    padding: 12px;
    border-radius: 8px;
}

/* ================================================= */
/* 3. RESPONSIVE ADJUSTMENTS (Media Queries)        */
/* ================================================= */

@media (max-width: 576px) {
    .hc-appointment-form-wrap {
        padding: 30px !important;
        border-radius: 10px;
    }
    .hc-form-main-heading {
        font-size: 24px;
    }
    .hc-form-step {
        padding: 15px !important;
    }
    .hc-step-title {
        font-size: 18px;
    }
}




/* ================================================= */
/* 1. PACKAGE DETAILS HEADER (hp-detail-header)     */
/* ================================================= */

.hp-section-detail-header {
    background-color: #eaf1ff; /* Light blue wash */
    border-bottom: 5px solid #0d6efd;
}

.hp-detail-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hp-premium-badge {
    background-color: #ffd700; /* Gold-like color */
    color: #4a4a4a;
}

.hp-detail-title {
    font-size: 48px;
    font-weight: 900;
    color: #004a80;
    line-height: 1.2;
}

.hp-detail-subtitle {
    font-size: 20px;
    color: #495057;
    margin-top: 10px;
}

/* --- Price Box Styling --- */
.hp-detail-price-box {
    background-color: #ffffff;
    border: 3px solid #0d6efd;
    transition: transform 0.3s ease;
}

.hp-detail-price-box:hover {
    transform: scale(1.05); /* Unique hover effect */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.hp-price-currency {
    font-size: 24px;
    font-weight: 700;
    color: #28a745; /* Green for price */
}

.hp-price-amount {
    font-size: 55px;
    font-weight: 800;
    color: #28a745;
    line-height: 1;
}

/* ================================================= */
/* 2. MAIN DETAILS AND FAQ SECTION (hp-detail-main) */
/* ================================================= */

.hp-detail-tests-wrap {
    /* Main Content container */
    border: 1px solid #e9ecef;
}

.hp-detail-heading-main {
    font-size: 32px;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 15px;
}

.hp-detail-text-lead {
    font-size: 18px;
    color: #495057;
    border-bottom: 1px dashed #e9ecef;
    padding-bottom: 15px;
}

.hp-detail-heading-sub {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
}

/* --- Test Category Cards --- */
.hp-test-category {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #0d6efd;
}

.hp-category-title {
    font-size: 20px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 15px;
}

.hp-test-list li {
    font-size: 16px;
    padding: 5px 0;
    color: #495057;
}

.hp-advanced-list li {
    font-weight: 600; /* Highlight advanced features */
}

/* --- Preparation Guide --- */
.hp-prep-guide {
    background-color: #fff3cd !important;
    border-left: 8px solid #ffc107 !important;
    color: #664d03;
    font-size: 15px;
    padding: 20px;
}

/* ================================================= */
/* 3. SIDEBAR CTA & BENEFITS                         */
/* ================================================= */

.hp-booking-cta {
    /* Booking Box Shadow and color */
    background-color: #fcfdff;
    border: 1px solid #cce5ff;
}

.hp-booking-cta:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25) !important;
}

.hp-book-btn {
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s;
}

.hp-book-btn:hover {
    background-color: #157347 !important; /* Darker green on hover */
    transform: translateY(-2px);
}

/* --- Benefits Card --- */
.hp-benefit-card {
    border-radius: 8px;
    overflow: hidden;
}

.hp-benefit-header {
    font-size: 18px;
    font-weight: 700;
    padding: 15px;
    background-color: #17a2b8 !important; /* Info blue */
}

.hp-benefit-list li {
    font-size: 15px;
    padding: 10px 15px;
    transition: background-color 0.2s;
}

.hp-benefit-list li:hover {
    background-color: #f8f9fa; /* Subtle hover on benefits */
}


/* ================================================= */
/* 4. RESPONSIVE ADJUSTMENTS (Media Queries)        */
/* ================================================= */

@media (max-width: 992px) {
    .hp-detail-title {
        font-size: 40px;
    }
    .hp-detail-price-box {
        text-align: center;
        width: 80%;
        margin: 20px auto 0;
    }
}

@media (max-width: 576px) {
    .hp-detail-title {
        font-size: 32px;
    }
    .hp-detail-subtitle {
        font-size: 16px;
    }
    .hp-price-amount {
        font-size: 45px;
    }
    .hp-detail-tests-wrap {
        padding: 20px !important;
    }
    .hp-detail-heading-main {
        font-size: 28px;
    }
}