/**
 * Core Design System Stylesheet for Arya Vaidik Sabha Portal.
 * Traditional Indian Theme: Maroon (#800000), Saffron (#FF9933), Gold (#D4AF37), Cream (#FDFBF7)
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --maroon: #800000;
    --maroon-light: #9e1a1a;
    --saffron: #FF9933;
    --saffron-dark: #e67300;
    --gold: #D4AF37;
    --gold-light: #f3e5ab;
    --cream: #FDFBF7;
    --dark: #2c2520;
    --light: #ffffff;
    --grey: #f0ebe4;
    --font-primary: 'Outfit', sans-serif;
    --font-devanagari: 'Noto Sans Devanagari', sans-serif;
    --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: var(--font-primary);
    background-color: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--maroon);
}

.hindi-text {
    font-family: var(--font-devanagari);
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--maroon);
    border-color: var(--maroon);
    color: var(--light);
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background-color: var(--maroon-light);
    border-color: var(--maroon-light);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
}

.btn-secondary-custom {
    background-color: var(--saffron);
    border-color: var(--saffron);
    color: var(--light);
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-secondary-custom:hover {
    background-color: var(--saffron-dark);
    border-color: var(--saffron-dark);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.2);
}

/* Navigation & Header */
.top-bar {
    background-color: var(--maroon);
    color: var(--light);
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--gold);
}

.top-bar a {
    color: var(--gold-light);
    text-decoration: none;
}

.navbar {
    background-color: var(--light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 12px 0;
}

.navbar-brand img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    border: 2.5px solid var(--gold);
    background-color: var(--light);
    padding: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand-text {
    line-height: 1.2;
    padding-left: 10px;
}

.navbar-brand-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 0;
}

.navbar-brand-subtitle {
    font-size: 0.8rem;
    color: var(--saffron-dark);
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: var(--transition);
    border-radius: 4px;
}

.nav-link:hover, .nav-link.active {
    color: var(--maroon) !important;
    background-color: var(--grey);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 540px; /* Increased from 480px for a more grand look */
    background: var(--light); /* Match navbar background to hide sub-pixel gaps */
    overflow: hidden;
}

.carousel-item {
    height: 540px; /* Increased from 480px */
    background-size: cover;
    background-position: center center !important; /* Center the couple beautifully */
    transition: transform 1.2s ease-in-out; /* Smooth transition */
}

/* Premium Glassmorphic Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(128, 0, 0, 0.45); /* Translucent dark maroon */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 12;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--saffron); /* Saffron gold hover */
    border-color: var(--saffron);
    color: #800000 !important;
    opacity: 1;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon {
    transform: translateX(-2px);
}

.carousel-control-next:hover .carousel-control-next-icon {
    transform: translateX(2px);
}

/* Premium Carousel Indicators overrides */
.carousel-indicators {
    bottom: 25px;
    gap: 12px;
}

.carousel-indicators button {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 5px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.45) !important;
    border: none;
    border-radius: 3px;
    transition: all 0.4s ease;
}

.carousel-indicators button.active {
    width: 50px;
    background-color: var(--saffron) !important;
    box-shadow: 0 0 10px rgba(255, 153, 51, 0.8);
}

/* Premium dark-maroon glass overlay */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(80, 0, 0, 0.75) 0%, rgba(44, 37, 32, 0.5) 100%);
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--light);
    max-width: 650px;
}

.carousel-caption-custom h1 {
    color: var(--saffron);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(20px);
}

.carousel-caption-custom p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
}

.carousel-caption-custom .btn {
    opacity: 0;
    transform: translateY(20px);
}

/* Active slide caption micro-animations */
.carousel-item.active .carousel-caption-custom h1 {
    animation: slideFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.carousel-item.active .carousel-caption-custom p {
    animation: slideFadeInUp 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.carousel-item.active .carousel-caption-custom .btn {
    animation: slideFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Notice Ticker */
.notice-ticker-container {
    background-color: var(--gold-light);
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 44px;
}

.ticker-title {
    background-color: var(--maroon);
    color: var(--light);
    padding: 10px 20px;
    font-weight: bold;
    z-index: 2;
    white-space: nowrap;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
    padding-left: 20px;
}

.ticker-item {
    padding: 0 30px;
    color: var(--maroon);
    font-weight: 500;
}

@keyframes ticker {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Cards & Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--maroon);
}

.section-title::after {
    content: '❈';
    display: block;
    color: var(--saffron);
    font-size: 1.3rem;
    margin-top: 8px;
    line-height: 1;
    position: relative;
}

.section-title::before {
    content: '';
    display: block;
    width: 140px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--maroon), var(--gold), var(--maroon), transparent);
    margin: 0 auto;
}

.card-custom {
    background-color: var(--light);
    border: 1px solid var(--grey);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.02);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(128, 0, 0, 0.08);
    border-color: var(--gold);
    border-bottom-color: var(--saffron);
}

.card-custom-body {
    padding: 25px;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--saffron);
    margin-bottom: 20px;
}

/* Trust Badges */
.badge-card {
    text-align: center;
    padding: 35px 25px;
    background-color: var(--light);
    border: 1px solid var(--grey);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.02);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    height: 100%;
}

.badge-card:hover {
    border-color: var(--gold);
    border-bottom-color: var(--maroon);
    background-color: var(--light);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(128, 0, 0, 0.06);
}

.badge-icon {
    font-size: 3rem;
    color: var(--maroon);
    margin-bottom: 15px;
}

/* Pooja Samagri & Preparations Styling */
.samagri-section {
    background: linear-gradient(180deg, var(--cream) 0%, rgba(240, 235, 228, 0.5) 100%);
}
.samagri-card {
    background: var(--light);
    border: 1px solid var(--grey);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(128, 0, 0, 0.02);
    height: 100%;
    transition: var(--transition);
}
.samagri-card:hover {
    box-shadow: 0 15px 35px rgba(128, 0, 0, 0.06);
    border-color: var(--gold);
}
.samagri-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--grey);
    display: flex;
    align-items: center;
}
.samagri-card-title i {
    font-size: 1.5rem;
    color: var(--saffron);
}
.samagri-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.samagri-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}
.samagri-item:last-child {
    border-bottom: none;
}
.samagri-item i {
    color: var(--gold);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Custom Accordion Styling for FAQ */
.faq-section {
    background-color: var(--light);
}
.accordion-custom .accordion-item {
    border: 1px solid var(--grey);
    border-radius: 8px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: var(--transition);
}
.accordion-custom .accordion-item:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.04);
}
.accordion-custom .accordion-button {
    font-weight: 600;
    color: var(--maroon);
    background-color: var(--light);
    box-shadow: none;
    padding: 18px 22px;
}
.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--maroon);
    background-color: var(--grey);
    border-bottom: 1px solid var(--grey);
}
.accordion-custom .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23800000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-custom .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF9933'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-custom .accordion-body {
    padding: 22px;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* Testimonials / Review Section Styling */
.testimonials-section {
    background: linear-gradient(180deg, rgba(240, 235, 228, 0.3) 0%, var(--cream) 100%);
}
.testimonial-card {
    background: var(--light);
    border: 1px solid var(--grey);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.02);
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(128, 0, 0, 0.06);
    border-color: var(--gold);
}
.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    color: var(--grey);
    font-family: serif;
    line-height: 1;
    z-index: 1;
}
.testimonial-text {
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-rating {
    color: #FFC107;
    margin-bottom: 15px;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--maroon);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 15px;
    border: 2px solid var(--gold);
}
.testimonial-avatar-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--gold);
}
.testimonial-meta h6 {
    margin-bottom: 2px;
    color: var(--dark);
    font-size: 0.95rem;
}
.testimonial-meta span {
    font-size: 0.8rem;
    color: var(--saffron-dark);
    font-weight: 500;
}

/* Beautiful Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--cream);
}
::-webkit-scrollbar-thumb {
    background: var(--maroon);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--maroon-light);
}

/* Button Glow Effects */
.btn-primary-custom, .btn-secondary-custom {
    position: relative;
    overflow: hidden;
}
.btn-primary-custom::after, .btn-secondary-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all 0.5s ease;
}
.btn-primary-custom:hover::after, .btn-secondary-custom:hover::after {
    height: 300%;
    opacity: 1;
}

/* Multi-Step Wizard */
.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 0 20px;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 40px;
    right: 40px;
    height: 3px;
    background-color: var(--grey);
    z-index: 1;
}

.step-bar-active {
    position: absolute;
    top: 25px;
    left: 40px;
    height: 3px;
    background-color: var(--maroon);
    z-index: 1;
    transition: width 0.3s ease;
    width: 0%;
}

.step-node {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-node-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light);
    border: 3px solid var(--grey);
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.step-node.active .step-node-number {
    border-color: var(--maroon);
    color: var(--maroon);
    background-color: var(--gold-light);
    box-shadow: 0 0 10px rgba(128, 0, 0, 0.2);
}

.step-node.completed .step-node-number {
    border-color: var(--maroon);
    color: var(--light);
    background-color: var(--maroon);
}

.step-node-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

.step-node.active .step-node-label {
    color: var(--maroon);
}

.wizard-step-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wizard-step-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Photo Upload Box */
.photo-upload-container {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background-color: #fafafa;
    cursor: pointer;
    transition: var(--transition);
}

.photo-upload-container:hover {
    border-color: var(--saffron);
    background-color: #fff8f2;
}

.photo-preview {
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
    margin-top: 15px;
    border: 3px solid var(--gold);
    border-radius: 4px;
    display: none;
}

/* Footer & Action CTAs */
.footer-cta {
    background: linear-gradient(135deg, #800000, #b32d00);
    color: var(--light);
    padding: 60px 0;
}

.footer-cta h3 {
    color: var(--gold);
}

footer {
    background-color: var(--dark);
    color: #ccc;
    padding: 60px 0 20px;
    border-top: 5px solid var(--saffron);
}

footer h5 {
    color: var(--gold);
    margin-bottom: 25px;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--saffron);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Quick Action Widgets */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
}
.btn-whatsapp:hover {
    background-color: #20ba5a;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-phone {
    background-color: var(--saffron);
    color: white;
}
.btn-phone:hover {
    background-color: var(--saffron-dark);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3);
}

/* Gallery Slider Styles */
.gallery-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 3px solid var(--light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}
.gallery-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Dropdown Custom Styles */
.dropdown-menu {
    border: 1px solid var(--grey);
    border-top: 3px solid var(--maroon);
    background-color: var(--light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 6px;
    padding: 8px 0;
}
.dropdown-item {
    font-weight: 500;
    color: var(--dark);
    padding: 8px 20px;
    transition: var(--transition);
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--grey);
    color: var(--maroon);
}
.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 5px;
}

/* Media Queries for Multi-Device Responsiveness */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-brand img {
        width: 48px;
        height: 48px;
    }
    .navbar-brand-title {
        font-size: 1.1rem;
    }
    .navbar-brand-subtitle {
        font-size: 0.7rem;
    }
    .nav-link {
        padding: 8px 8px !important;
        font-size: 0.88rem;
    }
    .btn-primary-custom {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .navbar-brand-text {
        padding-left: 8px;
    }
}

@media (min-width: 1400px) {
    .navbar-brand img {
        width: 52px;
        height: 52px;
    }
    .navbar-brand-title {
        font-size: 1.2rem;
    }
    .navbar-brand-subtitle {
        font-size: 0.75rem;
    }
    .nav-link {
        padding: 8px 12px !important;
        font-size: 0.95rem;
    }
    .navbar .btn-primary-custom {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .navbar-brand-text {
        padding-left: 8px;
    }
}

@media (max-width: 1199.98px) {
    .navbar-brand-title {
        font-size: 1.1rem;
    }
    .navbar-brand-subtitle {
        font-size: 0.75rem;
    }
    .section-padding {
        padding: 40px 0;
    }
    /* Mobile/Tablet Collapsed Menu Adjustments */
    .navbar-collapse {
        background-color: var(--light);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        border: 1px solid var(--grey);
    }
    .nav-link {
        padding: 8px 12px !important;
        margin-bottom: 2px;
    }
    .dropdown-menu {
        border-top: none;
        border-left: 3px solid var(--maroon);
        box-shadow: none;
        background-color: var(--grey);
        margin: 5px 0 10px 10px;
        padding: 4px 0;
    }
    .dropdown-item {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .hero-slider, .carousel-item {
        height: 350px;
    }
    .carousel-caption-custom {
        width: 90%;
        padding: 0 10px;
    }
    .carousel-caption-custom h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    .carousel-caption-custom p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .carousel-caption-custom .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 38px;
        height: 38px;
        margin: 0 8px;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 14px;
        height: 14px;
    }
    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }
    .carousel-indicators button {
        width: 20px;
        height: 4px;
    }
    .carousel-indicators button.active {
        width: 35px;
    }
}

@media (max-width: 575px) {
    .navbar-brand-title {
        font-size: 0.95rem;
    }
    .navbar-brand-subtitle {
        font-size: 0.65rem;
    }
    .carousel-caption-custom h1 {
        font-size: 1.5rem;
    }
    .carousel-caption-custom p {
        font-size: 0.85rem;
    }
}

/* Custom Soft Badges for Modern Portal Aesthetic */
.badge {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
}
.bg-warning {
    background-color: #fff8dd !important;
    color: #b57a00 !important;
    border-color: #ffe89e !important;
}
.bg-primary {
    background-color: #e8f1ff !important;
    color: #1862dc !important;
    border-color: #bcd5ff !important;
}
.bg-success {
    background-color: #e8fff3 !important;
    color: #0b8d65 !important;
    border-color: #b8f2d6 !important;
}
.bg-danger {
    background-color: #fff5f5 !important;
    color: #e43c59 !important;
    border-color: #ffccd5 !important;
}
.bg-info {
    background-color: #e8f9ff !important;
    color: #088fa8 !important;
    border-color: #bee8f5 !important;
}
.bg-secondary {
    background-color: #f1f2f6 !important;
    color: #5e6278 !important;
    border-color: #e4e6ef !important;
}

