/* Custom CSS for Don Bosco School Itanagar */

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    background-color: #fdfbf7;
    color: #333333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

/* Colors Variables */
:root {
    --db-maroon: #731717;
    --db-maroon-dark: #4a0f0f;
    --db-gold: #c59b27;
    --db-cream: #fdfbf7;
    --db-gray: #f5f5f5;
}

/* Color Utilities (Fallback for Tailwind) */
.bg-db-maroon {
    background-color: var(--db-maroon) !important;
}

.bg-db-maroon-dark {
    background-color: var(--db-maroon-dark) !important;
}

.bg-db-gold {
    background-color: var(--db-gold) !important;
}

.bg-db-cream {
    background-color: var(--db-cream) !important;
}

.text-db-maroon {
    color: var(--db-maroon) !important;
}

.text-db-gold {
    color: var(--db-gold) !important;
}

.border-db-gold {
    border-color: var(--db-gold) !important;
}

/* Utility Bar */
.utility-bar {
    background-color: var(--db-maroon-dark);
    color: white;
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.utility-bar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.utility-bar a:hover {
    color: var(--db-gold);
}

.main-header-wrapper {
    position: relative;
    z-index: 1050;
    width: 100%;
}

.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-link {
    color: var(--db-maroon) !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--db-gold) !important;
}

/* Header Icons Hover */
.main-navigation .btn-link i {
    transition: all 0.3s ease;
}

.main-navigation .btn-link:hover i {
    color: var(--db-gold) !important;
    transform: scale(1.1);
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--db-maroon);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary-custom:hover {
    background-color: var(--db-maroon-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background-color: var(--db-gold);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-secondary-custom:hover {
    background-color: #a88320;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--db-maroon);
    border: 2px solid var(--db-maroon);
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    background-color: var(--db-maroon);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--db-maroon);
    color: white;
    overflow: hidden;
    min-height: 500px;
    display: block;
}

#tsparticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

#about-particles {
    pointer-events: none;
}

/* Cards & Sections */
.section-title {
    color: var(--db-maroon);
    margin-bottom: 2rem;
    position: relative;
    /* display: inline-block; */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--db-gold);
}

.feature-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--db-gold);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Swiper Controls */
.swiper-pagination-fraction {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    bottom: 2rem;
}

/* Footer */
.main-footer {
    background-color: var(--db-maroon-dark);
    color: white;
    padding: 4rem 0 2rem 0;
}

.main-footer a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.main-footer a:hover {
    color: var(--db-gold);
}

.footer-title {
    color: var(--db-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Header Banner */
.header-banner {
    background-color: white;
}

.header-banner .smaller {
    font-size: 0.75rem;
}

/* Life at Don Bosco Tabs Modern Styling */
.life-tabs {
    border-bottom: 2px solid rgba(115, 23, 23, 0.05);
    padding-bottom: 1.5rem;
}

.life-tabs .nav-link {
    background-color: white;
    color: var(--db-maroon);
    border: 1px solid rgba(115, 23, 23, 0.1);
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.life-tabs .nav-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.life-tabs .nav-link.active {
    background-color: var(--db-maroon) !important;
    color: white !important;
    border-color: var(--db-maroon);
    box-shadow: 0 10px 25px rgba(115, 23, 23, 0.2);
    transform: translateY(-2px);
}

.life-tabs .nav-link.active i {
    color: var(--db-gold);
    transform: scale(1.1);
}

.life-tabs .nav-link:hover:not(.active) {
    background-color: var(--db-cream);
    border-color: var(--db-gold);
    color: var(--db-maroon);
    transform: translateY(-2px);
}

.life-tab-content {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.life-image-container {
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.life-image-container img {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.life-image-container:hover img {
    transform: scale(1.08);
}

/* Premium Faculty Cards */
.faculty-card {
    background: white;
    padding: 15px;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faculty-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(115, 23, 23, 0.1);
    border-color: var(--db-gold);
}

.faculty-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.faculty-overlay {
    background: linear-gradient(to top, rgba(115, 23, 23, 0.9), rgba(115, 23, 23, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.faculty-overlay a {
    width: 38px;
    height: 38px;
    background: white;
    color: var(--db-maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.faculty-card:hover .faculty-overlay a {
    transform: translateY(0);
    opacity: 1;
}

.faculty-card:hover .faculty-overlay a:nth-child(2) {
    transition-delay: 0.1s;
}

.faculty-overlay a:hover {
    background: var(--db-gold);
    color: white;
}

/* Testimonials Carousel Styling */
.testimonials-swiper {
    padding: 20px 40px 60px 40px !important;
}

.testimonials-swiper .swiper-slide {
    height: auto !important;
    display: flex;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card p {
    flex-grow: 1;
    /* Pushes the author info to the bottom */
}

.testimonial-card:hover {
    border-color: var(--db-gold);
    transform: scale(1.02);
}

.testimonials-swiper .swiper-pagination-bullet {
    background: white !important;
    opacity: 0.3;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--db-gold) !important;
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

.testimonial-next,
.testimonial-prev {
    color: var(--db-gold) !important;
    background: white;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 20;
}

.testimonial-next::after,
.testimonial-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.testimonial-next:hover,
.testimonial-prev:hover {
    background: var(--db-gold);
    color: white !important;
    transform: scale(1.1);
}

.testimonial-next {
    right: 5px !important;
}

.testimonial-prev {
    left: 5px !important;
}

@media (max-width: 768px) {
    .life-tabs .nav-link {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .testimonials-swiper {
        padding: 20px 10px 50px 10px !important;
    }

    .testimonial-next,
    .testimonial-prev {
        display: none !important;
    }
}


/* Main Navigation */
.main-navigation {
    z-index: 1020;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-image: linear-gradient(180deg, #731717 0%, #340606 100%);
    backdrop-filter: blur(10px);
}

.navbar-nav li {
    border-color: #e5e7eb;
    border-right: 1px solid #fff;
}

/* Fix Tailwind 'collapse' conflict with Bootstrap 'collapse' */
.navbar-collapse {
    visibility: visible !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse.collapse {
        display: flex !important;
    }
}

.main-navigation.sticky-top {
    top: 0;
}

.main-navigation .nav-link {
    color: var(--db-cream) !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    letter-spacing: 0.3px;
}

.main-navigation .dropdown-menu a.dropdown-item.active {
    background-image: linear-gradient(180deg, #731717 0%, #340606 100%) !important;
    color: #fff !important;
}

.main-navigation .nav-link:hover {
    color: var(--db-gold) !important;
}

.main-navigation .dropdown-menu a.dropdown-item {
    font-size: 0.95rem !important;
    background-image: linear-gradient(180deg, #ffd24a 0%, #c78110 100%);
    color: #222;
}

.main-navigation .dropdown-menu a.dropdown-item:hover {
    font-size: 0.95rem !important;
    background-image: linear-gradient(180deg, #731717 0%, #340606 100%);
    color: #fff;
}

.main-navigation .dropdown-menu a.dropdown-item:hover i {
    color: #fff !important;
}

.main-navigation .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.8rem;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background-color: var(--db-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.main-navigation .nav-link:hover::after,
.main-navigation .nav-link.active::after {
    transform: scaleX(1);
}

.main-navigation .dropdown-menu {
    border-top: 3px solid var(--db-gold);
    border-radius: 0 0 0.75rem 0.75rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 0 0;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .main-navigation .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Swiper Customizations */
.hero-swiper {
    height: calc(100vh - 180px);
    min-height: 600px;
}

.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.text-shadow {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--db-gold);
    width: 30px;
    border-radius: 6px;
}

/* Custom Swiper Counter */
.swiper-counter-wrapper {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    flex-direction: column;
    color: white;
}

.swiper-counter-wrapper .current-slide {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: serif;
    line-height: 1;
    color: var(--db-gold);
}

.swiper-counter-wrapper .total-slides {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.7;
}

.swiper-counter-wrapper .counter-separator {
    width: 40px;
    height: 2px;
    background: white;
    margin: 10px 0;
}

/* Announcement Marquee */
.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Utilities */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Media Queries */
@media (max-width: 991.98px) {
    .utility-bar {
        display: none;
    }

    .header-banner {
        display: none;
        /* Mobile brand is in the navbar */
    }

    .hero-swiper {
        height: auto;
        min-height: 400px;
    }

    .hero-swiper .display-2 {
        font-size: 2.5rem;
    }
}

/* 09-05-2026 */
.logo img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.header-banner h3,
.header-banner h6 {
    font-family: 'Inter', sans-serif;
}

.megaphone-animation {
    animation-name: megaphone;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes megaphone {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

.phone-animation {
    animation: ring 1s infinite ease-in-out;
    transform-origin: center;
}

@keyframes ring {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-10deg);
    }

    70% {
        transform: rotate(5deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Nav Link Active & Dropdown Arrow */
.main-navigation .nav-link.active {
    color: var(--db-gold) !important;
}

.main-navigation .nav-link.active::after {
    transform: scaleX(1);
}

.main-navigation .dropdown-toggle::after {
    display: none;
    /* Hide default Bootstrap arrow */
}

/* Academic Section Enhancements */
.academic-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.academic-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(197, 155, 39, 0.2);
    border-color: var(--db-gold);
}

.academic-card:hover .academic-overlay {
    opacity: 1;
    background-color: var(--db-gold);
    mix-blend-mode: overlay;
}

.academic-card:hover .academic-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background-color: white !important;
    color: var(--db-gold) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.academic-link i {
    transition: transform 0.3s ease;
}

.academic-card:hover .academic-link i {
    transform: translateX(5px);
}

/* Latest News Scroll Animation */
.news-scroll-container {
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.news-scroll-content {
    animation: news-scroll 25s linear infinite;
}

.news-scroll-container:hover .news-scroll-content {
    animation-play-state: paused;
}

@keyframes news-scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.news-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover {
    background-color: var(--db-cream) !important;
    border-color: var(--db-gold) !important;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smaller {
    font-size: 0.75rem;
}

/* Resources Section Styling */
.resources-section {
    background: linear-gradient(135deg, var(--db-maroon) 0%, #4a0f0f 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c59b27' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.resources-section .card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
}

.resources-section .card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--db-gold) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.resources-section .card-body h4 {
    color: white !important;
}

.resources-section .card-body p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.resources-section .btn-outline-custom {
    color: var(--db-gold);
    border-color: var(--db-gold);
}

.resources-section .btn-outline-custom:hover {
    background-color: var(--db-gold);
    color: white;
}

/* Global Scroll Animations (AOS) */
/* Stat Card Enhancements */
.stat-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-card:hover {
    box-shadow: 0 20px 40px rgba(115, 23, 23, 0.15) !important;
}

.stat-icon i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.stat-card:hover .stat-icon i {
    transform: scale(1.3) rotate(-5deg);
}

/* Quick Access Cards */
.quick-access-card {
    min-height: 160px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-access-card .icon-box {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.quick-access-card:hover .icon-box {
    transform: rotate(15deg) scale(1.1);
}

.quick-access-card span {
    font-size: 0.95rem;
    line-height: 1.3;
}

.group:hover .group-hover\:bg-db-gold {
    background-color: var(--db-gold) !important;
}

.group:hover .group-hover\:text-white {
    color: white !important;
}

/* .header-banner {
    background-image: url(../img/header-banner.jpg);
    background-size: cover;
    background-position: center;
} */

.uwy.userway_p1 .userway_buttons_wrapper {
    top: 93% !important;
}

/* Mobile Accordion Menu Styles */
#mobileMenu .accordion-button,
.mobile-nav-link {
    background-color: white !important;
    color: var(--db-maroon) !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#mobileMenu .accordion-button:not(.collapsed) {
    background-color: var(--db-maroon) !important;
    color: white !important;
    border-color: var(--db-maroon) !important;
}

#mobileMenu .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

#mobileMenu .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
}

#mobileMenu .accordion-body {
    background-color: white;
    border-radius: 0 0 12px 12px;
}

#mobileMenu .accordion-body a {
    transition: all 0.2s ease;
    padding-left: 10px;
    color: var(--db-maroon) !important;
    font-weight: 500;
}

#mobileMenu .accordion-body a:hover {
    color: var(--db-gold) !important;
    padding-left: 15px;
}

/* Ensure sub-menu items are clickable and look clean */
#mobileMenu .accordion-collapse {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 1.5rem !important;
    }

    .navbar-nav .dropdown-item {
        color: var(--db-maroon) !important;
        font-weight: 500;
    }
}

/* Sub-Page Global Styles */
.page-banner {
    padding: 30px 0 30px;
    background-color: var(--db-maroon);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgb(115 23 23 / 0%), rgba(115, 23, 23, 0.9)), url(../img/header-banner.jpg);
    background-size: cover;
    opacity: 0.8;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\F285";
    font-family: "bootstrap-icons";
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--db-gold);
}

.breadcrumb-item.active {
    color: var(--db-gold);
}

.sub-page-title {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Reusable Cards for Sub-pages */
.sub-page-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sub-page-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(115, 23, 23, 0.1);
}

/* UserWay Accessibility Widget Position Fix */
div#userwayAccessibilityWidget,
.uai,
#uaw-widget-area,
.userway-widget-container {
    bottom: 30px !important;
    right: 30px !important;
    left: auto !important;
    top: auto !important;
    z-index: 9999 !important;
    transition: all 0.3s ease !important;
}

.custom-search-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #7b0f0f;
    border-radius: 14px;
    padding: 6px;
    background: #fff;
    width: 150px;
    height: 40px;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    padding: 0 4px;
    font-size: 16px;
    color: #555;
    background: transparent;
}

.search-input::placeholder {
    color: #9aa0a6;
    font-weight: 500;
}

.search-btn {
    /* width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: #7b0f0f; */
    color: #7b0f0f;
    /* display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    flex-shrink: 0; */
}

.search-btn i {
    font-size: 13px;
}

/* .search-btn:hover {
    background: #5f0909;
} */

@media (max-width: 768px) {

    div#userwayAccessibilityWidget,
    .uai,
    #uaw-widget-area,
    .userway-widget-container {
        bottom: 90px !important;
        /* Adjusted for mobile to clear floating buttons or nav */
        right: 20px !important;
        transform: scale(0.9) !important;
        /* Slightly smaller on mobile */
    }
}

@media (max-width: 768px) {

    .header-banner .h1 {
        font-size: 1.5rem;
    }

    .header-banner h3 {
        font-size: 0.75rem !important;
        line-height: 20px !important;
    }

    .header-banner h6 {
        font-size: 12px !important;
    }

    .header-banner .logo img {
        width: 70px !important;
        height: 70px !important;
    }

    .header-banner .btn {
        font-size: 12px;
        padding: 6px 10px;
    }
}