/* Theme Name: MuslimBongo

   Author: Abu Hamza

   Description: Fixed Hero Overlap, Restored Donate Button & Bottom Scrolling Menu

   Version: 4.2

*/



/* =========================

   1. GLOBAL RESET

========================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html, body {

    margin: 0;

    padding: 0;
	

}

body {

    font-family: 'Inter', 'Open Sans', sans-serif;

    line-height: 1.6;

    color: #0f172a;

    /*background: rgb(247, 247, 247);*/
	background: #f5f7fb;
	
    overflow-x: hidden;

}

.site-header {

    margin: 0;

    padding: 0;

}

.container {

    max-width: 1200px;

    margin:  auto;

    padding: 0 30px;

}



/* =========================

   2. DESKTOP STICKY GLASS HEADER

========================= */

.main-nav {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.1);

    padding: 30px;

}

.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.logo a {

    font-size: 24px;

    font-weight: 900;

    color: #fff !important;

    text-decoration: none;

    text-transform: uppercase;

}

.menu-wrapper .nav-links {

    display: flex;

    list-style: none;

    gap: 25px;

}

.nav-links li a {

    color: #fff !important;

    text-decoration: none;

    font-weight: 600;

    font-size: 20px;

}

.nav-links li a i {

    display: none;

}



/* =========================

   3. DONATE BUTTON

========================= */

.btn-donate-pulse {

    background: #ffcc00 !important;

    color: #000 !important;

    padding: 10px 20px;

    border-radius: 8px;

    font-weight: 800;

    font-size: 14px;

    display: inline-flex;

    align-items: center;

    white-space: nowrap;

    animation: pulse-yellow 2s infinite;

    text-decoration: none !important;

    position: relative;

    z-index: 10001;

}

@keyframes pulse-yellow {

    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,204,0,.7); }

    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255,204,0,0); }

    100% { transform: scale(1); }

}



/* =========================

   4. HERO SECTION

========================= */



.hero-section {

    min-height: auto; 

    height: 80vh; 

    display: flex;

    flex-direction: column;

    align-items: center;

    /* Forces the image to fill the 80vh height perfectly */

    background-size: cover !important; 

    background-position: center !important;

    background-repeat: no-repeat !important;

    margin: 0;

    padding: 0;

}



@media (max-width: 768px) {

    .hero-section {

        /* Fixes the address bar 'jump' and bottom gaps */

        height: 80svh; 

        /* Fixes blur on mobile browsers */

        background-attachment: scroll !important; 

    }

}



.hero-text-box {

    max-width: 650px;

}

.hero-text-box h1 {

    color: #ffffff;

    text-shadow: 0 2px 10px rgba(0,0,0,0.5);

    font-size: 4rem;

    font-weight: 900;

    line-height: 1.1;

    margin-bottom: 20px;

}

.hero-text-box h1 span {

    color: #4CAF50;

    display: block;

}

.hero-cta {

    display: flex;

    gap: 15px;

    margin-top: 30px;

}

.button {

    background: #4CAF50;

    color: #fff !important;

    padding: 16px 32px;

    border-radius: 12px;

    font-weight: 700;

    text-decoration: none;

}

.button-outline {

    background: transparent !important;

    border: 2px solid #fff;

}



/* =========================

   5. MOBILE BOTTOM GLASS NAV

========================= */

@media (max-width: 768px) {



    .main-nav {

        position: absolute !important;

        top: 0;

        left: 0;

        width: 100%;

        background: none !important;

        border: none;

        backdrop-filter: none;

        padding: 20px 0;



    }



    .nav-container {

        display: flex;

        justify-content: space-between;

        align-items: center;

        padding: 0 20px;



    }



    .logo a { font-size: 20px; }

    .hero-text-box h1 { font-size: 2.8rem; }

    .hero-cta { flex-direction: column; }



    .menu-wrapper {



        position: fixed !important;

        bottom: 0;

        left: 50%;

        transform: translateX(-50%);

        width: 100%;

        background: rgba(15, 23, 42, 0.5);

        backdrop-filter: blur(22px) saturate(160%);

        -webkit-backdrop-filter: blur(22px) saturate(160%);

        border-radius: 14px;

        border: 1px solid rgba(255,255,255,0.12);

        box-shadow: 0 12px 30px rgba(0,0,0,0.35),

                    inset 0 1px 0 rgba(255,255,255,0.08);

        z-index: 10000;

        padding: 10px 0;



    }





    .menu-wrapper .nav-links {



        display: flex;

        overflow-x: auto !important;

        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        scroll-snap-type: x mandatory;

        touch-action: pan-x;

        white-space: nowrap;

        padding: 0 15px;



    }

.menu-wrapper .nav-links::-webkit-scrollbar {

    display: none;

}



    .menu-wrapper .nav-links li {



        flex: 0 0 auto;

        scroll-snap-align: center;

        min-width: 60px;

        text-align: center;



    }



    .nav-links li a {



        flex-direction: column;

        color: #fff !important;

        font-size: 8px;

        font-weight: 600;



    }



    .nav-links li a i {



        display: block;

        font-size: 15px;

        margin-bottom: 2px;



    }



}





/* =========================

   6. CAROUSEL SECTIONS

========================= */

.mb-section-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 14px;

    flex-wrap: wrap;

padding: 30px 0;

}

.mb-section-title {

    font-size: 1.4rem;

    font-weight: 800;

    color: #0f172a;

}

.mb-view-all {

    display: inline-block;

    background: #22c55e;

    color: #fff !important;

    padding: 8px 16px;

    border-radius: 8px;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;

    white-space: nowrap;

}

.mb-view-all:hover {

    background: #16a34a;

    transform: translateY(-2px);

}



.mb-carousel-wrapper {

    position: relative;

}

.mb-carousel {

    display: flex;

    gap: 16px;

    overflow-x: auto;

    scroll-snap-type: x mandatory;

    padding: 10px 2px;

    -webkit-overflow-scrolling: touch;

}

.mb-carousel::-webkit-scrollbar { display: none; }

.mb-carousel { -ms-overflow-style: none; scrollbar-width: none; }



.mb-card {

    flex: 0 0 auto;
	
    border-radius: 14px;

    box-shadow: 0 8px 22px rgba(15,23,42,.08);

    scroll-snap-align: start;

    min-height: 260px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    min-width: 200px;

}

.mb-card-media { height: 140px; background-size: cover; background-position: center; }

.mb-card-body { padding: 14px; flex: 1; }

.mb-card-footer { display: flex; gap: 8px; padding: 14px; }

.mb-btn { flex: 1; padding: 8px; border-radius: 8px; font-weight: 700; text-align: center; text-decoration: none; }

.mb-btn-view { border: 1px solid #e5e7eb; color: #374151; }

.mb-btn-visit { background: #2563eb; color: #fff; }



/* =========================

   7. CAROUSEL ARROWS (ALL SECTIONS)

========================= */

.mb-carousel-wrapper .mb-nav {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 44px;

    height: 44px;

    /*background: rgba(0, 0, 0, 0.6); /* transparent */

background: #fff; 

opacity: 0.5;

    border: 1px solid #e5e7eb;     /* Light grey border */

    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Shadow to lift it off the card */

    color: #2563eb;                /* Blue arrow for contrast */

    /*box-shadow: none;*/

    /*color: #000;*/

    font-size: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 15;

    border: none;

    transition: all 0.3s ease;

}

.mb-carousel-wrapper .mb-nav:hover {

    background: rgba(255,255,255,0.35);


}

.mb-carousel-wrapper .mb-nav.left { left: -10px; }

.mb-carousel-wrapper .mb-nav.right { right: -10px; }



@media (max-width: 768px) {

    .mb-carousel-wrapper .mb-nav {

        width: 36px;

        height: 36px;

        font-size: 20px;

    }

}



/* =========================

   8. BROADCAST CARDS

========================= */

/* Use a container limit so the video isn't giant on desktop */
.mb-carousel-wrapper.broadcast {
    max-width: 1000px; /* Limits the width to a readable size */
    margin: 0 auto;    /* Centers the entire broadcast section */
}

.mb-broadcast-media {

    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 14px;
    overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Adds depth to the video */
}

.mb-broadcast-media iframe {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    border: 0;

}

.mb-live-badge {

    position: absolute;

    top: 8px;

    left: 8px;

    background: #ff0000;

    color: #fff;

    font-size: 0.7rem;

    font-weight: 700;

    padding: 2px 6px;

    border-radius: 4px;

    text-transform: uppercase;

    z-index: 10;

}

/* Force 1 item per row on ALL screens for Broadcast */
.mb-carousel-wrapper.broadcast .mb-card {
    flex: 0 0 100% !important; /* Forces the item to take 100% of the container width */
    width: 100% !important;
    min-width: 100% !important;
    max-width: 1000px; /* Optional: keeps the video from getting too wide on huge monitors */
    margin: 0 auto;    /* Centers the video if max-width is applied */
	background: transparent; /* Removes white card background */
    box-shadow: none;        /* Removes shadow for a cleaner look */
}


/* Broadcast cards: hide body/footer */

.mb-carousel-wrapper.broadcast .mb-card {

    min-height: 0;

}

.mb-carousel-wrapper.broadcast .mb-card .mb-card-body,
.mb-carousel-wrapper.broadcast .mb-card .mb-card-footer {

    display: none !important;

}



/* Desktop: 2 broadcast cards per row */

@media (min-width: 992px) {

    .mb-carousel-wrapper.broadcast .mb-card {

        width: calc((100% - 16px)/2) !important;


    } 

}

/* Tablet/Mobile: 1 broadcast card per row */

@media (max-width: 991px) {

    .mb-carousel-wrapper.broadcast .mb-card {

        width: 100% !important;

    }

}



/* =========================

   9. FOOTER

========================= */

.main-footer {

    background: rgba(15, 23, 42, 0.75);

    backdrop-filter: blur(18px) saturate(160%);

    -webkit-backdrop-filter: blur(18px) saturate(160%);

    border-top: 1px solid rgba(255,255,255,0.08);

    padding: 30px 20px;

    color: #ffffff;

    font-family: 'Open Sans', sans-serif;

}

.footer-inner {

    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

}

.footer-logo { font-size: 22px; font-weight: 900; margin-bottom: 5px; }

.footer-tagline { font-size: 14px; opacity: 0.7; }

.footer-social { display: flex; gap: 12px; }

.footer-social a {

    width: 36px; height: 36px;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    display: flex; align-items: center; justify-content: center;

    color: #fff; font-size: 14px;

    transition: all 0.25s ease;

    text-decoration: none;

}

.footer-social a:hover { background: #4CAF50; transform: translateY(-2px); }

.footer-bottom { text-align: center; font-size: 13px; opacity: 0.6; margin-top: 15px; }



@media (max-width: 768px) {

    .footer-inner { flex-direction: column; text-align: center; }

    .footer-social { margin-top: 15px; }

}



/* =========================

   10. RESPONSIVE CARDS (ALL SECTIONS)

========================= */

@media (min-width: 1200px) { .mb-card { width: calc((100% - 48px)/4); } }

@media (max-width: 1199px) and (min-width: 992px) { .mb-card { width: calc((100% - 32px)/3); } }

@media (max-width: 991px) and (min-width: 480px) { .mb-card { width: calc((100% - 16px)/2); } }

@media (max-width: 479px) { .mb-card { width: 100%; } }



/* Responsive section header for mobile */

@media (max-width: 768px) {

    .mb-section-header {

        flex-direction: row;

        justify-content: space-between;

        align-items: center;

        gap: 10px;

        margin-bottom: 12px;

        flex-wrap: nowrap;

    }

    .mb-section-title { font-size: 1rem; font-weight: 700; margin: 0; }

    .mb-view-all { font-size: 0.85rem; padding: 6px 12px; }

}



/* =========================

   11. CARD FOOTER ICONS ONLY

========================= */



/* Footer icons inside carousel cards */

.mb-carousel-wrapper .mb-card-footer .mb-btn-visit {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    width: auto;

    height: auto;

    padding: 6px 10px;

    border-radius: 6px;

    background: #f3f4f6; /* light gray background */

    color: #374151;       /* dark gray icon color */

    border: 1px solid #e5e7eb;

    transition: all 0.3s ease;

    text-decoration: none;

    margin-right: 6px;

}



.mb-carousel-wrapper .mb-card-footer .mb-btn-visit i {

    font-size: 18px;

    line-height: 1;

}



/* Hover effect */

.mb-carousel-wrapper .mb-card-footer .mb-btn-visit:hover {

    background: #e5e7eb;

    color: #111827;

    transform: translateY(-2px);

}



/* Archive - Broadcast */



.mb-archive-broadcast {

  padding: 40px 16px;

}



.mb-archive-header {

  max-width: 1600px;

  margin: 0 auto 32px;

  text-align: center;

}



.mb-broadcast-grid {

  max-width: 1600px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));

  gap: 24px;

}



.mb-broadcast-media {

  position: relative;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 12px;

}



.mb-broadcast-media iframe {

  width: 100%;

  height: 100%;

}



.mb-live-badge {

  position: absolute;

  top: 10px;

  left: 10px;

  background: red;

  color: #fff;

  font-size: 12px;

  padding: 4px 8px;

  border-radius: 6px;

}



.mb-broadcast-title {

  margin-top: 10px;

  font-size: 16px;

  font-weight: 600;

}



@media (max-width: 768px) {

  .mb-broadcast-grid {

    grid-template-columns: 1fr;

  }

}



/* =========================

   PROFESSIONAL EMPTY SECTION

========================= */

.mb-empty-broadcast {

  max-width: 640px;

  margin: 80px auto;

  text-align: center;

  padding: 40px 24px;

  border-radius: 16px;

  background: #ffffff;

  box-shadow: 0 10px 30px rgba(0,0,0,.08);

}



.mb-empty-icon {

  font-size: 48px;

  color: #94a3b8;

  margin-bottom: 16px;

}



.mb-empty-title {

  font-size: 22px;

  font-weight: 700;

  color: #0f172a;

  margin-bottom: 12px;

}



.mb-empty-text {

  font-size: 15px;

  color: #475569;

  line-height: 1.6;

  margin-bottom: 28px;

}



.mb-empty-actions {

  display: flex;

  justify-content: center;

  gap: 12px;

  flex-wrap: wrap;

}



/* Buttons */

.mb-btn-primary {

  padding: 10px 20px;

  border-radius: 8px;

  background: #16a34a;

  color: #fff;

  font-size: 14px;

  text-decoration: none;

  transition: all .2s ease;

}



.mb-btn-primary:hover {

  background: #15803d;

}



.mb-btn-outline {

  padding: 10px 20px;

  border-radius: 8px;

  border: 1px solid #cbd5f5;

  color: #0f172a;

  font-size: 14px;

  text-decoration: none;

  transition: all .2s ease;

}



.mb-btn-outline:hover {

  background: #f1f5f9;

}





/* =========================

   PROFESSIONAL PAGINATION

========================= */



.mb-pagination {

  margin: 60px 0 20px;

  display: flex;

  justify-content: center;

}



.mb-pagination-list {

  list-style: none;

  display: flex;

  gap: 8px;

  padding: 0;

  margin: 0;

}



.mb-pagination-list li {

  display: inline-flex;

}



/* Page links */

.mb-pagination a,

.mb-pagination span {

  min-width: 38px;

  height: 38px;

  padding: 0 12px;

  border-radius: 10px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-size: 14px;

  font-weight: 500;

  color: #0f172a;

  text-decoration: none;

  background: #f1f5f9;

  transition: all .2s ease;

}



/* Hover */

.mb-pagination a:hover {

  background: #e2e8f0;

}



/* Current page */

.mb-pagination .current {

  background: #0f172a;

  color: #ffffff;

  font-weight: 600;

}



/* Disabled arrows */

.mb-pagination .dots {

  background: transparent;

  color: #94a3b8;

  cursor: default;

}



/* Mobile refinement */

@media (max-width: 640px) {

  .mb-pagination-list {

    gap: 6px;

  }



  .mb-pagination a,

  .mb-pagination span {

    min-width: 34px;

    height: 34px;

    font-size: 13px;

  }

}

/* =========================
   BROADCAST HOST INFO
========================= */

.mb-broadcast-meta {
    margin-top: 14px;
    text-align: center;
}

.mb-broadcast-hosted {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mb-broadcast-name {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .mb-broadcast-name {
        font-size: 16px;
    }
}

/* ================= DONATE MODAL ================= */
.donate-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.donate-modal.show {
    display: flex;
}

.donate-modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 40px 90px rgba(0,0,0,0.35);
    position: relative;
    transform: scale(0.85);
    opacity: 0;
    animation: modalFadeIn 0.35s ease forwards;
    font-family: 'Open Sans', sans-serif;
}

@keyframes modalFadeIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.donate-close {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

/* Header text */
.donate-modal-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f1f1f;
}

.donate-modal-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

/* Payment Box */
.payment-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 15px;
    border: 2px dashed #e2136e;
    border-radius: 15px;
    margin-bottom: 20px;
}

.payment-box img {
    height: 50px;
    width: auto;
}

.payment-box span {
    font-size: 16px;
    font-weight: 600;
}

.payment-box strong {
    font-size: 20px;
    font-weight: 700;
    color: #1f1f1f;
}

/* Copy Button */
.copy-btn {
    margin-top: 10px;
    padding: 10px 22px;
    background: #e2136e;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.copy-btn:hover {
    background: #c1135a;
}

/* Feedback Button */

.feedback-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 10px; /* pill shape */
    background: linear-gradient(135deg, #6b0f9c, #e2136e); /* gradient */
    box-shadow: 0 6px 15px rgba(226, 19, 110, 0.35);
    transition: all 0.3s ease;
}

.feedback-btn:hover {
    transform: translateY(-3px) scale(1.05); /* subtle lift */
    box-shadow: 0 10px 25px rgba(226, 19, 110, 0.45);
    background: linear-gradient(135deg, #8e23b0, #ff2a8c); /* hover gradient */
}

.feedback-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 5px 12px rgba(226, 19, 110, 0.3);
}



/* Responsive adjustments */
@media (max-width: 480px) {
    .donate-modal-content {
        padding: 25px 18px;
    }

    .donate-modal-content h2 {
        font-size: 20px;
    }

    .payment-box strong {
        font-size: 18px;
    }

    .copy-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
}
/* Payment Icon Row */
.payment-icons-row {
    display: flex;
    gap: 20px;          /* space between each payment method */
    flex-wrap: wrap;    /* wrap to next line if too many */
    align-items: center;
    margin-bottom: 15px;
}

.single-method {
    text-align: center;
}

.single-method img {
    width: 80px;        /* adjust icon size */
    height: auto;
    display: block;
    margin-bottom: 5px; /* space between icon and text */
}

.single-method span {
    display: block;
    font-weight: bold;
    font-size: 14px;
}


/* Remove tap highlight on mobile for all clickable elements */
a, button, input, label {
    -webkit-tap-highlight-color: transparent; /* Safari/Chrome */
    tap-highlight-color: transparent;         /* Standard */
}

/* =========================
   NEW ACADEMY-STYLE CARDS 
========================= */

/* Ensure the card looks consistent in the carousel */
.mb-card.academy-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

/* The Square Image logic */
.academy-card .card-image {
    width: 100%;
    aspect-ratio: 1/1; /* Makes it a perfect square */
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #eee;
}

.academy-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Content Layout */
.academy-card .card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.academy-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.academy-card .card-title a {
    text-decoration: none;
    color: #0f172a;
}

.academy-card .card-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Adjusting the footer icons within the new card */
.academy-card .mb-card-footer {
    padding: 0;
    margin-top: auto;
    display: flex;
    gap: 8px;
}

/* =============================================
   CONSULTANT CARD STYLES
============================================= */
.mb-card.consultant-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    min-width: 380px; /* Wider to match image */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.consultant-main {
    display: flex;
    gap: 15px;
}

/* Left Side: Photo & Exp */
.consultant-photo-side {
    width: 120px;
    text-align: center;
}

.consultant-image {
    width: 110px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}

.consultant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultant-exp-badge strong {
    display: block;
    font-size: 16px;
    color: #0f172a;
    font-weight: 800;
}

.consultant-exp-badge span {
    font-size: 12px;
    color: #64748b;
}

/* Right Side: Info */
.consultant-info-side {
    flex: 1;
}

.consultant-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.consultant-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.consultant-rating i { color: #facc15; font-size: 14px; }
.consultant-rating strong { font-size: 14px; }
.consultant-rating span { font-size: 14px; color: #64748b; }

.consultant-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.spec-tag {
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    /* Slanted edge effect if desired */
    clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%); 
}

/* Footer Section */
.consultant-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    margin-top: auto;
}

.consultant-price {
    font-size: 20px;
    font-weight: 800;
    color: #000;
}

/* Book Now Hover Effect */
.btn-see-doctor {
    position: relative;
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex; /* Ensures it stays on one line with the arrow */
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-see-doctor .arrow {
    transition: transform 0.3s ease;
}

/* Hover State */
.btn-see-doctor:hover {
    color: #1d4ed8; /* Darker blue */
}

.btn-see-doctor:hover .arrow {
    transform: translateX(5px); /* Moves arrow slightly to the right */
}

/* Underline animation */
.btn-see-doctor::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #1d4ed8;
    transition: width 0.3s ease;
}

.btn-see-doctor:hover::after {
    width: calc(100% - 20px); /* Underlines text but stops before the arrow */
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .mb-card.consultant-card {
        min-width: 300px;
        padding: 15px;
    }
    .consultant-photo-side { width: 90px; }
    .consultant-image { width: 90px; height: 100px; }
    .consultant-name { font-size: 15px; }
}
