/* ==========================================================================
   Custom Styles & Enhancements for Matrugaya Siddhpur
   ========================================================================== */

/* 1. Header Navigation Contrast on Transparent Hero Banner */
.rbt-header .rbt-header-wrapper.header-transparent:not(.rbt-sticky) .mainmenu-nav .mainmenu > li > a {
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    transition: color 0.25s ease;
}

.rbt-header .rbt-header-wrapper.header-transparent:not(.rbt-sticky) .mainmenu-nav .mainmenu > li > a i {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.rbt-header .rbt-header-wrapper.header-transparent:not(.rbt-sticky) .mainmenu-nav .mainmenu > li > a:hover {
    color: #f7b731 !important;
}

.rbt-header .rbt-header-wrapper.header-transparent:not(.rbt-sticky) .mainmenu-nav .mainmenu > li > a:hover i {
    color: #f7b731 !important;
}

/* 2. Scrolled Sticky Header Navigation Colors */
.rbt-header .rbt-header-wrapper.rbt-sticky .mainmenu-nav .mainmenu > li > a {
    color: #192335 !important;
    text-shadow: none !important;
    font-weight: 500;
}

.rbt-header .rbt-header-wrapper.rbt-sticky .mainmenu-nav .mainmenu > li > a i {
    color: #192335 !important;
    text-shadow: none !important;
}

.rbt-header .rbt-header-wrapper.rbt-sticky .mainmenu-nav .mainmenu > li > a:hover {
    color: #c87a14 !important;
}

.rbt-header .rbt-header-wrapper.rbt-sticky .mainmenu-nav .mainmenu > li > a:hover i {
    color: #c87a14 !important;
}

/* 3. Mega Menu and Submenu Item Text Reset */
.rbt-header .rbt-megamenu .mega-menu-item li a,
.rbt-header .submenu li a {
    color: #273041 !important;
    text-shadow: none !important;
}

.rbt-header .rbt-megamenu .mega-menu-item li a:hover,
.rbt-header .submenu li a:hover {
    color: #c87a14 !important;
}

/* 4. Page Banner Background Fix - Matches site dark aesthetic */
.rbt-page-banner-wrapper .rbt-banner-image {
    background: #192335 !important;
}

.rbt-page-banner-wrapper .rbt-banner-image::after {
    display: none !important;
}

/* 5. Theme Gradient - Sacred Saffron Gold */
.theme-gradient {
    background: linear-gradient(90deg, #f7971e 0%, #ffd200 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* 6. Primary Button Gradient & Hover */
.rbt-btn.btn-gradient {
    background: linear-gradient(90deg, #c87a14 0%, #851421 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(200, 122, 20, 0.35) !important;
    transition: all 0.3s ease !important;
}

.rbt-btn.btn-gradient:hover {
    background: linear-gradient(90deg, #851421 0%, #c87a14 100%) !important;
    box-shadow: 0 6px 20px rgba(133, 20, 33, 0.45) !important;
    transform: translateY(-2px) !important;
}

/* 7. Card Base Styling */
.rbt-card.variation-02 {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* 8. Badge & Accent Styling */
.subtitle.bg-primary-opacity,
.subtitle.bg-secondary-opacity,
.subtitle.bg-pink-opacity {
    background: rgba(200, 122, 20, 0.12) !important;
    color: #c87a14 !important;
    font-weight: 600 !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
}

.text-primary,
.color-primary {
    color: #c87a14 !important;
}

/* 9. Trust Badge Pill */
.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 30px;
    color: #ffffff;
    font-size: 14px;
    backdrop-filter: blur(8px);
    margin-bottom: 15px;
}

/* 10. Responsive Mobile Header & Hero Adjustments */
@media (max-width: 991px) {
    .rbt-header .header-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .rbt-banner-area.rbt-banner-11 {
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }
    
    .banner-title {
        font-size: 30px !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 575px) {
    .banner-title {
        font-size: 25px !important;
    }
    
    .trust-badge-pill {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* 11. Hero Pandit Profile Card */
.hero-pandit-card {
    background: rgba(25, 35, 53, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 24px 24px 20px 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    text-align: left;
    max-width: 440px;
    margin: 0 auto;
}

.hero-pandit-card img {
    border-radius: 12px;
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 18px;
    border: 2px solid rgba(200, 122, 20, 0.35);
    display: block;
}

.hero-pandit-card .card-content {
    padding: 0 4px;
}

.hero-pandit-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.hero-pandit-card p.sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.hero-pandit-card .card-footer-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-pandit-card .badge-year {
    background: rgba(255, 210, 0, 0.12);
    color: #ffd200;
    border: 1px solid rgba(255, 210, 0, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================================================
   12. Uniform Equal-Height Service Cards & Fixed Aspect-Ratio Images
   ========================================================================== */
.rbt-rbt-blog-area .row.g-5 {
    display: flex !important;
    flex-wrap: wrap !important;
}

.rbt-rbt-blog-area .row.g-5 > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
}

.rbt-card.variation-02 {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.rbt-card.variation-02:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1) !important;
}

.rbt-card.variation-02 .rbt-card-img {
    position: relative !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    overflow: hidden !important;
    background: #f1f3f7 !important;
    display: block !important;
}

.rbt-card.variation-02 .rbt-card-img a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.rbt-card.variation-02 .rbt-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    transition: transform 0.4s ease !important;
    display: block !important;
}

.rbt-card.variation-02:hover .rbt-card-img img {
    transform: scale(1.06) !important;
}

.rbt-card.variation-02 .rbt-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 24px 22px 20px 22px !important;
}

.rbt-card.variation-02 .rbt-card-body .rbt-card-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
}

.rbt-card.variation-02 .rbt-card-body .rbt-card-title a {
    color: #192335 !important;
    transition: color 0.2s ease;
}

.rbt-card.variation-02 .rbt-card-body .rbt-card-title a:hover {
    color: #c87a14 !important;
}

.rbt-card.variation-02 .rbt-card-body p {
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #555555 !important;
    flex-grow: 1 !important;
    margin-bottom: 16px !important;
}

.rbt-card.variation-02 .rbt-card-bottom {
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.07) !important;
}

.rbt-card.variation-02 .rbt-card-bottom a {
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* ==========================================================================
   13. Logo Sizing & Clarity Enhancements
   ========================================================================== */
.rbt-header .logo img {
    max-height: 68px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease;
}

.rbt-header .logo img:hover {
    transform: scale(1.04);
}

.rbt-footer .logo img {
    max-height: 76px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}

.rbt-footer .logo img:hover {
    transform: scale(1.04);
}

.popup-mobile-menu .inner .header-top .logo img {
    max-height: 64px !important;
    width: auto !important;
    border-radius: 8px;
}

/* ==========================================================================
   14. Mobile Drawer WhatsApp Button Alignment Fix
   ========================================================================== */
.mob-drawer-whatsapp-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 48px !important;
    background: linear-gradient(90deg, #05612a 0%, #25D366 100%) !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    padding: 0 16px !important;
}

.mob-drawer-whatsapp-btn:hover {
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
}

.mob-drawer-whatsapp-btn i {
    font-size: 20px !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    color: #ffffff !important;
}

.mob-drawer-whatsapp-btn span {
    color: #ffffff !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* ==========================================================================
   15. Devotee Care & Facility Cards Custom Box Padding
   ========================================================================== */
.facility-feature-card {
    padding: 38px 32px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.facility-feature-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08) !important;
}

.usp-left-intro-card {
    padding: 36px 30px 32px 30px !important;
    border-radius: 16px !important;
    background: #fdfaf7 !important;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
}

.usp-item-card {
    padding: 28px 24px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(200, 122, 20, 0.18) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.usp-item-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(200, 122, 20, 0.12) !important;
}

/* ==========================================================================
   16. Google 5-Star Rating Card & YouTube Video Cards
   ========================================================================== */
.gmb-rating-pill-card {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px 26px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.gmb-rating-pill-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

.yt-channel-showcase-box {
    padding: 40px 34px !important;
    border-radius: 18px !important;
    background: #fff5f5 !important;
    border: 1.5px solid #ffccd0 !important;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.05) !important;
}

.yt-video-card {
    position: relative !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
}

.yt-video-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.15) !important;
}

.yt-video-thumbnail {
    position: relative !important;
    width: 100% !important;
    height: 190px !important;
    overflow: hidden !important;
    background: #111 !important;
}

.yt-video-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
    opacity: 0.92;
}

.yt-video-card:hover .yt-video-thumbnail img {
    transform: scale(1.06) !important;
    opacity: 1;
}

.yt-play-btn-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 52px !important;
    height: 52px !important;
    background: rgba(255, 0, 0, 0.9) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.25s ease, background 0.25s ease !important;
}

.yt-video-card:hover .yt-play-btn-overlay {
    transform: translate(-50%, -50%) scale(1.15) !important;
    background: #ff0000 !important;
}

.yt-video-info {
    padding: 18px 18px 16px 18px !important;
}

.yt-video-info h6 {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #192335 !important;
    margin: 0 !important;
}

/* ==========================================================================
   17. Guide & Editorial Sidebar Card Fix (Prevents Negative Margin Pull)
   ========================================================================== */
.guide-sidebar-card,
.course-sidebar-top {
    margin-top: 0 !important;
    position: relative !important;
}


