/* Mega Menu Specific Styling */
.header .dropdown {
    position: static !important; /* Required for the menu to span full width */
}

.mega-menu {
    width: 90vw; /* Spans most of the screen width */
    max-width: 1100px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background-color: #333333 !important; /* Dark grey like the image */
    padding: 40px !important;
    margin-top: 15px !important;
    border-radius: 4px;
}

/* Individual links inside the mega menu */
.mega-item {
    display: block;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.mega-item:hover {
    color: #c9a24d !important; /* Gold hover from your theme */
}

/* Responsive adjustment */
@media (max-width: 991px) {
    .mega-menu {
        position: relative !important;
        width: 100%;
        left: 0 !important;
        transform: none !important;
        background-color: transparent !important;
        padding: 10px !important;
    }
    .mega-item {
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

@media (min-width: 992px) {
    /* Show menu on hover */
    .header .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    /* The Bridge: Prevents the menu from closing during diagonal movement */
    .header .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -20px; /* Covers the gap between button and menu */
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
    }
    .nav-link-custom.dropdown-toggle::after {
        pointer-events: none; 
    }
}
/* Mega Menu Positioning */
.mega-dropdown-static {
    position: static !important; /* Allows the menu to span the full width of the header */
}

.mega-menu {
    width: 100vw;
    max-width: 1200px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background-color: #000000 !important; /* Dark grey like the image */
    padding: 30px !important;
    margin-top: 10px !important;
    border-radius: 4px;
}

/* Item Styling */
.mega-menu .dropdown-item {
    color: #ffffff !important;
    background: transparent !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 15px;
    white-space: normal; /* Allows text to wrap in narrow columns */
    border-radius: 0;
    transition: 0.3s ease;
}

.mega-menu .dropdown-item:hover {
    color: #c9a24d !important; /* Gold hover */
    background-color: rgba(255,255,255,0.05) !important;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .mega-menu {
        position: relative !important;
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
        background-color: #1a1a1a !important;
        padding: 10px !important;
    }
    
    .mega-menu .col-md-3 {
        width: 100%;
    }
}

.m-submenu {
    max-height: 250px; /* Shorter limit for mobile screens */
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid var(--gold);
    margin-bottom: 10px;
}

/* Optional: Make the entire sidebar scrollable if it's full of content */
.mobile-menu {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* --- Hide Scrollbar for Mobile Sidebar --- */
.mobile-menu {
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.mobile-menu::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* --- Hide Scrollbar for Mobile Submenus --- */
.m-submenu {
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: none;
}

.m-submenu::-webkit-scrollbar {
    display: none;
}
.glass-container {
    /* The semi-transparent background */
    background: rgba(255, 255, 255, 0.174); 
    
    /* The blur effect (Frosted Glass) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Support for Safari */
    
    /* Styling to define the glass edges */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    
    /* Shadow to give it depth */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Centering logic (optional based on your layout) */
    display: inline-block;
    max-width: 800px;
    padding: 4px 0 4px ;
}

/* Ensure the subtext inside remains bright enough */
.rrc-subtext {
    font-family: playfair-display, serif;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(15, 15, 15, 0.5);
}

.logo-text{
    color: #c9a24d;
    font-size: large;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 10px;
    background-color: #25d366;
    /* WhatsApp Green */
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    /* Pulsing effect */
    animation: pulse-green 2s infinite;
}

.whatsapp-float i {
    font-size: 24px;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    /* Darker WhatsApp Green */
    color: white;
    transform: translateY(-5px);
}

/* Mobile / Tablet Responsive */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    margin-bottom: 62px;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.scroll-top:active {
    transform: translateY(-3px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

                /* --- CUSTOM PAGINATION STYLING --- */
.custom-pagination .page-item {
    margin: 0 5px;
}

.custom-pagination .page-link {
    background-color: transparent;
    border: 1px solid rgba(60, 56, 25, 0.1);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 8px !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-pagination .page-link:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #000;
    transform: translateY(-2px);
}

.custom-pagination .page-item.active .page-link {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #000 !important;
    box-shadow: 0 4px 10px rgba(201, 162, 77, 0.3);
}

.custom-pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    opacity: 0.6;
}

/* Ensure icons in pagination are vertically aligned */
.custom-pagination i {
    font-size: 0.8rem;
}

/* --- BREADCRUMBS STYLING --- */
.breadcrumb-nav {
    padding-top: 90px !important; /* Adjust based on your 80px fixed header */
    padding-bottom: 15px !important;
    background-color: var(--cream) !important;
    border-bottom: 1px solid rgba(201, 162, 77, 0.2) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105" !important; /* FontAwesome chevron right */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: var(--gold) !important;
    font-size: 1rem !important;
}

.breadcrumb-item a {
    color: var(--primary) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.breadcrumb-item a:hover {
    color: var(--gold) !important;
}

.breadcrumb-item.active {
    color: var(--gold) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        padding-top: 90px !important;
    }
}

/* CTA */
.cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cta {
    opacity: 1 !important;
    visibility: visible !important;
}
  .cta.fade-up.delay-4 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
  }

  @media (max-width: 768px) {

  .hero {
    min-height: 62vh;
    text-align: center;
  }

  .overlay-x {
    background: rgba(0,0,0,0.75);
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta {
    justify-content: center;
  }
}
/* Slider Base */
.advocates-section {
    padding: 80px 0;
    background-color: #fff;
}

.advocates-slider-wrapper {
    padding: 20px 0;
}

/* Card Styling */
.advocate-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.advocate-card:hover {
    transform: translateY(-10px);
}

.advocate-card .image-box {
    position: relative;
    overflow: hidden;
}

.advocate-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.text-gold {
    color: #c9a24d !important;
    font-weight: 600;
}

/* Responsive Grid Widths */
@media (max-width: 968px) {
    .advocate-card {
        width: calc(50% - 12px) !important; /* 2 cards on tablet */
    }
}

@media (max-width: 768px) {
    .advocate-card {
        width: 100% !important; /* 1 card on mobile */
    }
}

/* Control Buttons */
.slider-controls button {
    width: 45px;
    height: 45px;
    border: 1px solid #c9a24d;
    color: #c9a24d;
    background: transparent;
    transition: 0.3s;
}

.slider-controls button:hover {
    background: #c9a24d;
    color: #fff;
}