body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

.navbar {
    background-color: #0b0b0d !important;
    padding: 1rem 1.5rem;
}

.navbar-toggler {
    border: none !important;
    padding: 10px !important;
    z-index: 1050;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-brand {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #ffffff !important;
    font-weight: 400;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: #a0a0a0 !important;
    margin: 0 0.4rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #f5c518 !important;
    /* Yellow accent */
}

.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #f5c518;
    border-radius: 50%;
}

.btn-pray {
    background-color: #f5c518 !important;
    color: #0b0b0d !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 0.5rem 1.8rem;
    border-radius: 30px;
    /* Rounded pill shape */
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-pray:hover {
    background-color: #d4a717 !important;
    transform: translateY(-2px);
}

.search-icon {
    color: #a0a0a0;
    font-size: 1.1rem;
    cursor: pointer;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.search-icon:hover {
    color: #ffffff;
}

/* Align items center in navbar */
.navbar-nav {
    align-items: center;
}

.d-flex.align-items-center {
    align-items: center;
}

/* Footer Styles */
.footer {
    background-color: #0b0b0d;
    color: #a0a0a0;
}

.footer-logo {
    font-family: 'Newsreader', serif;
    font-size: 1.8rem;
    color: #ffffff;
}

.footer-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 400px;
}

.footer-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #f5c518;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-icons a {
    color: #a0a0a0;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #f5c518;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #707070;
}

.border-dark-subtle {
    border-color: #2c2c2c !important;
}

/* Combined Hero & About Section */
.hero-about-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
}

.hero-content {
    padding-top: 150px;
    margin-bottom: 13rem;
}


.hero-title {
    font-family: 'Newsreader', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
}

.section-title {
    font-family: 'Newsreader', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
}

.navbar-brand {
    font-family: 'Newsreader', serif;
    /* Use Newsreader for logo too if wanted, or keep default */
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
    font-style: italic;
}

.hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #cccccc;
    margin-bottom: 2rem;
}

.about-img-wrapper {
    border-radius: 12px;
    max-width: 350px;
    margin: 0 auto;
    border: 1px solid #2c2c2c;
    padding: 10px;
    background-color: #0b0b0d;
}

.about-img {
    filter: grayscale(100%);
    width: 100%;
    height: auto;
}

.about-text p:first-of-type {
    font-style: italic;
    font-size: 1.2rem;
    color: #dcdcdc;
    margin-bottom: 1.5rem;
}

.about-text p:last-of-type {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mission & Vision Section */
.mission-vision-section {
    background-color: #1B1B1D;
}

.custom-card {
    background-color: #222224;
    border-radius: 16px;
    border: 1px solid #2c2c2c;
    transition: transform 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
}

.custom-card p {
    font-family: 'Inter', sans-serif;
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Why Study Section */
.why-study-section {
    background-color: #1B1B1D;
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Recent Posts Section */
.recent-posts-section {
    background-color: #1B1B1D;
}

.recent-posts-slider .swiper-slide {
    display: flex;
    height: unset; /* Let Swiper handle the height */
}

.blog-card {
    background-color: #222224;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content p {
    font-family: 'Inter', sans-serif;
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #ffc107;
    opacity: 1;
}

/* Fix pagination position */
.recent-posts-slider {
    padding-bottom: 50px !important;
}

.recent-posts-slider .swiper-pagination {
    bottom: 10px !important;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #1B1B1D;
}

.testimonials-slider {
    padding-top: 15px !important;
    margin-top: -15px !important;
}

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

.testimonial-card {
    background-color: #222224;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.testimonial-card--active {
    border-color: rgba(255, 255, 255, 0.06);
}

.testimonial-card--active:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.testimonial-card p {
    font-family: 'Inter', sans-serif;
    color: #c0c0c0;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Testimonial Navigation Buttons */
.testimonial-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2a2a2c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-size: 0.85rem;
}

.testimonial-nav-btn:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

/* Stay Connected Section */

.moments-heading {
    background-color: #1B1B1D !important;
}

.moments-heading h2 {
    font-family: 'Newsreader', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0;
}

.stay-connected-section {
    width: 100%;
    min-height: 715px;
    background-color: #222224;
    background-image: url('../images/stay_connected_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-overlay {
    width: 100%;
    height: 100%;
    min-height: inherit;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem 2rem 5rem 2rem;
}

.sc-glass {
    background: #ffffff00;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 3rem 3.5rem;
    text-align: center;
    max-width: 620px;
    width: 100%;
}

.sc-glass p {
    font-family: 'Inter', sans-serif;
    color: #c0c0c0;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.sc-form-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.sc-email-input {
    flex: 1;
    padding: 0.75rem 1.4rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.sc-email-input::placeholder {
    color: #888;
}

.sc-email-input:focus {
    border-color: rgba(255, 193, 7, 0.6);
}

@media (max-width: 768px) {
    .sc-glass {
        padding: 2rem 1.5rem;
    }

    .sc-form-row {
        flex-direction: column;
    }

    .sc-email-input {
        width: 100%;
    }
}

.sanctified-daily {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    font-family: 'Space Grotesk', sans-serif;
    color: #f5c518;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-left: 65px;
}

.sanctified-daily::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 1.5px;
    background: linear-gradient(to right, rgba(245, 197, 24, 0), rgba(245, 197, 24, 1));
}

.living-header {
    background-color: #151518;
}

.living-title {
    font-family: 'Newsreader', serif;
    font-size: 3.8rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.living-header p {
    font-family: 'Inter', sans-serif;
    color: #9a9a9a;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 550px;
}

/* Blog Grid Section */
.blog-grid-section {
    background-color: #0b0b0d;
}

.quote-card {
    background-color: #1a1a1c !important;
    border: 1px solid rgba(245, 197, 24, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 197, 24, 0.15);
}

.quote-card span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quote-card p {
    font-family: 'Newsreader', serif;
    font-style: italic !important;
    font-size: 1.5rem !important;
    color: #ffffff;
    line-height: 1.3;
    margin-top: 1rem;
    margin-bottom: 1rem;
    max-width: 60%;
}

.quote-card small {
    font-size: 0.85rem;
    color: #888;
    font-family: 'Inter', sans-serif;
}

.quote-card .btn-outline-warning {
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-color: #f5c518;
    color: #f5c518;
    transition: all 0.3s ease;
}

.quote-card .btn-outline-warning:hover {
    background-color: #f5c518 !important;
    color: #0b0b0d !important;
    box-shadow: 0 0 15px rgba(245, 197, 24, 0.4);
    transform: translateY(-2px);
}

.quote-card .sparkles {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.2;
    color: #fff;
    pointer-events: none;
}

.quote-card .sparkles .sparkle-1 {
    font-size: 2.5rem;
    position: absolute;
    right: 0;
    top: -20px;
}

.quote-card .sparkles .sparkle-2 {
    font-size: 1.2rem;
    position: absolute;
    right: 30px;
    top: 10px;
}

.quote-card .sparkles .sparkle-3 {
    font-size: 1rem;
    position: absolute;
    right: -10px;
    top: 20px;
}


.newsletter-card {
    background-color: #222224 !important;
}

.newsletter-card p {
    color: #a0a0a0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.trending-card {
    background-color: #1a1a1c !important;
}

/* Living Blog Card Styles */
.living-blog-card .blog-img-wrapper {
    position: relative;
    aspect-ratio: 3/2;
}

.living-blog-card .badge {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(5px);
    color: #fff !important;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.living-blog-card small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.living-blog-card .card-title {
    font-family: 'Newsreader', serif;
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.living-blog-card a.text-warning {
    font-size: 0.9rem;
    font-weight: 600;
}

.living-blog-card i.fa-arrow-right {
    font-size: 0.8rem;
    transform: rotate(-45deg);
    display: inline-block;
    /* Needed for transform to work on some elements */
}

/* Sidebar Styles */
.quote-card span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-family: 'Space Grotesk', sans-serif;
}

.trending-card span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-family: 'Space Grotesk', sans-serif;
    color: #888;
}

.newsletter-card {
    background-color: #1a1a1c !important;
}

.newsletter-card h4 {
    font-family: 'Newsreader', serif;
    font-size: 1.5rem;
    color: #B9C7E4;
    margin-bottom: 0.5rem;
}

.newsletter-card p {
    color: #C5C6CD;
    max-width: 70%;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.newsletter-card .form-control {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 !important;
    color: #fff !important;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1.5rem;
}

/* Header Auth Links */
.auth-link {
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.auth-link:hover {
    color: #eedb62 !important;
}

.text-white-25 {
    color: rgba(255, 255, 255, 0.25);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.newsletter-card .form-control::placeholder {
    color: #8F9097;
}

.newsletter-card .btn-pray {
    background-color: #E9C400 !important;
    color: #0b0b0d !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600;
    padding: 12px;
}

.newsletter-card .btn-pray:hover {
    background-color: #d4b200 !important;
}

/* Trending Card Custom Styles */
.trending-card {
    background-color: #1a1a1c !important;
}

.trending-card .card-header-custom {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trending-card .card-header-custom span {
    color: #B9C7E4;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-family: 'Space Grotesk', sans-serif;
}

.trending-card .card-body-custom {
    padding: 1.5rem;
}

.trending-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.trending-item .item-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
}

.trending-item .item-cat.yellow {
    color: #E9C400;
}

.trending-item .item-cat.gray {
    color: #B9C7E4;
}

.trending-item .item-cat.purple {
    color: #DDB7FF;
}

.trending-item h4 {
    font-family: 'Newsreader', serif;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.2;
}

.trending-item .reads {
    font-size: 0.75rem;
    color: #8F9097;
    white-space: nowrap;
    margin-left: 1rem;
}

.trending-card .card-footer-custom {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trending-card .card-footer-custom a {
    color: #ffffff;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.trending-card .card-footer-custom a:hover {
    color: #f5c518;
}

/* Blog Image Wrapper */
.blog-img-wrapper {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

/* Image Action Buttons (Video/Audio) */
.image-action-btn {
    width: 36px;
    height: 36px;
    background-color: #E9C400;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #0b0b0d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.image-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(5px);
    color: #fff !important;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Youth Hero Section */
.youth-hero-section {
    min-height: 350px;
    background-image: url('../images/youth-hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.youth-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(19, 19, 21, 0.2) 0%, rgba(19, 19, 21, 0.6) 50%, #131315 100%);
    z-index: 1;
}

.youth-hero-section .container {
    position: relative;
    z-index: 2;
}

.youth-hero-section .subtitle {
    color: #DDB7FF;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
    display: block;
}

.youth-hero-section .hero-title {
    font-family: 'Newsreader', serif;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.youth-hero-section .hero-title em {
    font-style: italic;
    color: #B9C7E4;
}

.youth-hero-section .hero-desc {
    color: #C5C6CD;
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.youth-hero-section .btn-yellow {
    background-color: #E9C400;
    color: #0b0b0d;
    border-radius: 30px;
    font-weight: 600;
    padding: 12px 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.youth-hero-section .btn-yellow:hover {
    background-color: #d4b200;
}

.youth-hero-section .btn-outline {
    border: 1px solid rgba(221, 183, 255, 0.3);
    color: #DDB7FF;
    border-radius: 30px;
    font-weight: 600;
    padding: 12px 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    background-color: transparent;
    text-decoration: none;
    display: inline-block;
}

.youth-hero-section .btn-outline:hover {
    background-color: rgba(221, 183, 255, 0.1);
    color: #fff;
    border-color: #DDB7FF;
}

/* Events Slider Section */
.events-slider-section {
    background-color: #131315 !important;
    color: #fff;
    padding: 80px 0;
}

.event-card {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.event-card .blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.event-card .card-title {
    font-family: 'Newsreader', serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 15px;
}

.event-card p {
    color: #8F9097;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.event-card i {
    color: #B9C7E4 !important;
}

.event-card .badge {
    background-color: #B9C7E4;
    color: #0b0b0d !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    border-radius: 6px;
}

.events-slider-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.eventsSwiper .swiper-slide {
    display: flex;
    height: auto;
}

.eventsSwiper {
    padding-top: 20px;
    padding-bottom: 50px;
}

.eventsSwiper .swiper-pagination {
    bottom: 10px !important;
}

/* Section Separator */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 60px 0;
    width: 100%;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

/* Family Resources Section */
.family-resources-section {
    background-color: #131315 !important;
}

.featured-resource-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 450px;
}

.featured-resource-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(180deg, rgba(19, 19, 21, 0.2) 0%, rgba(19, 19, 21, 0.8) 100%); */
    background: #1B1B1D90;
    z-index: 1;
}

.featured-resource-card .card-content {
    position: relative;
    z-index: 2;
}

.featured-resource-card .resource-title {
    font-family: 'Newsreader', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.btn-download {
    background-color: #B9C7E4;
    color: #0b0b0d;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

.btn-download:hover {
    background-color: #DDB7FF;
    color: #0b0b0d;
    transform: translateY(-2px);
}

.resource-small-card {
    background-color: #1c1c1e;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.resource-small-card:hover {
    transform: translateY(-5px);
}

.resource-small-card .icon-wrapper.purple-bg {
    background-color: #622599;
    width: 50px;
    height: 65px;
    border-radius: 25px;
    flex-shrink: 0;
}

.resource-small-card .resource-title-small {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.resource-small-card .resource-text-small {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Youth Leadership Section */
.leadership-section {
    background-color: #131315 !important;
}

.leader-avatar-wrapper {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.leader-card:hover .leader-avatar-wrapper {
    transform: scale(1.05);
    border-color: rgba(221, 183, 255, 0.3);
}

.leader-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.leader-card:hover .leader-avatar {
    filter: grayscale(0%);
}


.leader-name {
    font-family: 'Newsreader', serif;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.leader-role {
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .featured-resource-card {
        min-height: 350px;
    }

    .navbar-collapse {
        background-color: rgba(11, 11, 13, 0.98) !important;
        backdrop-filter: blur(10px);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 2.5rem 2rem;
        z-index: 1000;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-nav {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

    .nav-link:hover {
        color: #E9C400 !important;
    }

    .nav-link.active::after {
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        background-color: #E9C400;
        border-radius: 50%;
        margin: 5px auto 0;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .featured-resource-card .resource-title {
        font-size: 1.8rem !important;
    }

    .leader-avatar-wrapper {
        max-width: 180px;
    }
}

@media (max-width: 576px) {
    .leader-avatar-wrapper {
        max-width: 140px;
    }

    .events-slider-section .section-title {
        font-size: 1.8rem !important;
    }

    .living-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem !important;
    }
}

.yellow-text i {
    color: #E9C400;
}

.blue-text i {
    color: #B9C7E4;
}

/* Helper Classes for removing inline styles */
.card-subtitle-accent {
    color: #DDB7FF;
    font-size: 0.7rem;
    font-weight: 600;
}

.featured-card-bg {
    background-image: url('../images/youth-download-bg.png');
}

.badge-purple {
    background-color: #DDB7FF !important;
    color: #0b0b0d !important;
}

.council-subtitle {
    color: #E9C400;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 2px;
}

.color-blue-gray {
    color: #B9C7E4 !important;
}

.color-lavender {
    color: #DDB7FF !important;
}

.color-yellow {
    color: #E9C400 !important;
}

.custom-modal-content {
    background-color: #1a1a1c !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.custom-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Generic Helper Classes */
.font-serif {
    font-family: 'Newsreader', serif !important;
}

.font-sans {
    font-family: 'Space Grotesk', sans-serif !important;
}

.text-gray {
    color: #a0a0a0 !important;
}

.text-muted-dark {
    color: #666 !important;
}

.circle-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-purple-20 {
    background-color: rgba(111, 66, 193, 0.2) !important;
}

.bg-yellow-20 {
    background-color: rgba(255, 193, 7, 0.2) !important;
}

.bg-red-20 {
    background-color: rgba(220, 53, 69, 0.2) !important;
}

.text-purple {
    color: #6f42c1 !important;
}

.text-red {
    color: #dc3545 !important;
}

.btn-pill {
    border-radius: 30px !important;
    font-weight: 600 !important;
}

.subtitle-caps {
    font-size: 0.8rem !important;
    letter-spacing: 0.1em !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

.card-title-serif {
    font-family: 'Newsreader', serif !important;
    font-size: 1.5rem !important;
    color: #ffffff !important;
}

.badge-purple-solid {
    background-color: #a855f7 !important;
}

.testimony-name {
    color: #fff !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 0.9rem !important;
}

.testimony-location {
    color: #b3b2b2 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

.search-btn-nav {
    background: none !important;
    border: none !important;
    color: #ffffff !important;
}

/* Gallery Section Styles */
.gallery-hero-section {
    background-color: #0b0b0d !important;
    color: #ffffff;
}

.gallery-title {
    font-family: 'Newsreader', serif;
    font-size: 3.5rem;
    color: #B9C7E4;
    font-weight: 700;
}

.gallery-subtitle {
    font-family: 'Inter', sans-serif;
    color: #a0a0a0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-filter {
    background: none;
    border-radius: 30px;
    font-size: 0.68rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
    padding: 0.35rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #a0a0a0 !important;
}

.filter-architecture {
    border: 1px solid #C5C6CD !important;
    color: #C5C6CD !important;
}

.filter-worship {
    border: 1px solid #E9C400 !important;
    color: #E9C400 !important;
}

.filter-gatherings {
    border: 1px solid #DDB7FF !important;
    color: #DDB7FF !important;
}

.btn-filter.active {
    background-color: #ffffff !important;
    color: #0b0b0d !important;
    border-color: #ffffff !important;
}

.filter-architecture.active {
    background-color: #C5C6CD !important;
    color: #0b0b0d !important;
}

.filter-worship.active {
    background-color: #E9C400 !important;
    color: #0b0b0d !important;
}

.filter-gatherings.active {
    background-color: #DDB7FF !important;
    color: #0b0b0d !important;
}

.btn-filter:hover {
    opacity: 0.8;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-grid-section {
    background-color: #0b0b0d !important;
}

.immersive-viewing-section {
    background-color: #0B0B0D !important;
    color: white;
}


.card-subtitle-accent {
    transition: color 0.3s ease;
}


/* Hero Background Slider */
.heroBgSwiper {
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}



/* Card Icon Backgrounds */
.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-purple-20 {
    background-color: rgba(139, 92, 246, 0.2) !important;
}

.bg-yellow-20 {
    background-color: rgba(245, 158, 11, 0.2) !important;
}

.bg-red-20 {
    background-color: rgba(239, 68, 68, 0.2) !important;
}

.text-purple {
    color: #8b5cf6 !important;
}

.text-red {
    color: #ef4444 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)) !important;
    z-index: 1;
}

.icon-large {
    width: 85px;
    height: 85px;
    object-fit: contain;
}


/* new  css */

.search-btn-nav {
    background: none !important;
    border: none !important;
    color: #ffffff !important;
}

/* Gallery Section Styles */
.gallery-hero-section {
    background-color: #0b0b0d !important;
    color: #ffffff;
}

.gallery-title {
    font-family: 'Newsreader', serif;
    font-size: 3.5rem;
    color: #B9C7E4;
    font-weight: 700;
}

.gallery-subtitle {
    font-family: 'Inter', sans-serif;
    color: #a0a0a0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-filter {
    background: none;
    border-radius: 30px;
    font-size: 0.68rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
    padding: 0.35rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #a0a0a0 !important;
}

.filter-architecture {
    border: 1px solid #C5C6CD !important;
    color: #C5C6CD !important;
}

.filter-worship {
    border: 1px solid #E9C400 !important;
    color: #E9C400 !important;
}

.filter-gatherings {
    border: 1px solid #DDB7FF !important;
    color: #DDB7FF !important;
}

.btn-filter.active {
    background-color: #ffffff !important;
    color: #0b0b0d !important;
    border-color: #ffffff !important;
}

.filter-architecture.active {
    background-color: #C5C6CD !important;
    color: #0b0b0d !important;
}

.filter-worship.active {
    background-color: #E9C400 !important;
    color: #0b0b0d !important;
}

.filter-gatherings.active {
    background-color: #DDB7FF !important;
    color: #0b0b0d !important;
}

.btn-filter:hover {
    opacity: 0.8;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-grid-section {
    background-color: #0b0b0d !important;
}

.immersive-viewing-section {
    background-color: #0B0B0D !important;
    color: white;
}


.card-subtitle-accent {
    transition: color 0.3s ease;
}


/* Hero Background Slider */
.heroBgSwiper {
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}



/* Card Icon Backgrounds */
.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-purple-20 {
    background-color: rgba(139, 92, 246, 0.2) !important;
}

.bg-yellow-20 {
    background-color: rgba(245, 158, 11, 0.2) !important;
}

.bg-red-20 {
    background-color: rgba(239, 68, 68, 0.2) !important;
}

.text-purple {
    color: #8b5cf6 !important;
}

.text-red {
    color: #ef4444 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)) !important;
    z-index: 1;
}

.icon-large {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

/* Contact Page Custom Styles */
.contact-section {
    background-color: #131315;
    color: #fff;
}

.contact-header-desc {
    max-width: 600px;
    color: #C5C6CD;
}

.prayer-form-card {
    background-color: #1A1A1C;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.sparkle-icon {
    width: 50px;
    height: 50px;
}

.prayer-title {
    color: #fff;
    font-size: 2.5rem;
}

.prayer-subtitle {
    color: #8F9097;
    font-size: 1rem;
}

.form-label-custom {
    letter-spacing: 1px;
    color: #8F9097;
    font-size: 0.8rem;
}

.form-control-custom {
    background-color: #121214 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
}

.form-control-custom:focus {
    background-color: #121214 !important;
    color: #fff !important;
    border-color: #E9C400 !important;
    box-shadow: 0 0 0 0.25rem rgba(233, 196, 0, 0.25) !important;
}

.form-control-custom::placeholder {
    color: #8F9097 !important;
}

.form-check-input-custom {
    background-color: #121214 !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    width: 20px;
    height: 20px;
    margin-top: 0;
    cursor: pointer;
}

.form-check-input-custom:checked {
    background-color: #E9C400 !important;
    border-color: #E9C400 !important;
}

.form-check-input-custom:focus {
    box-shadow: 0 0 0 0.25rem rgba(233, 196, 0, 0.25) !important;
}

.form-check-label-custom {
    letter-spacing: 1px;
    color: #8F9097;
    font-size: 0.8rem;
}

.btn-send-light {
    background-color: #E9C400;
    color: #0b0b0d;
    font-weight: 700;
    border-radius: 12px;
    padding: 15px 35px;
    font-size: 0.9rem;
    border: none;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.btn-send-light:hover {
    background-color: #d4b200 !important;
}

.text-gray-light {
    color: #8F9097 !important;
}

.link-caps {
    font-weight: 600;
    letter-spacing: 1px;
}

.img-vr-campus {
    height: 180px;
    object-fit: cover;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    pointer-events: none;
}

.img-world-map {
    height: 150px;
    object-fit: cover;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #131315 0%, rgba(19, 19, 21, 0) 50%, rgba(19, 19, 21, 0) 100%);
    pointer-events: none;
}

.text-gray-medium {
    color: #C5C6CD !important;
}

.label-small {
    letter-spacing: 1px;
    color: #8F9097;
    font-size: 0.75rem;
}

.social-btn {
    background-color: #1a1a1c;
    border: 1px solid rgba(255,255,255,0.05);
    height: 50px;
    border-radius: 12px;
}

.font-space-grotesk {
    font-family: 'Space Grotesk', sans-serif !important;
}

@media (max-width: 768px) {
    .prayer-title {
        font-size: 1.8rem !important;
    }
    .sparkle-icon {
        display: none !important;
    }
}


/* sermons css */

        /* Sermons Page Styling */
html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;

    background:
        radial-gradient(circle at top left,
            #2C0050 0%,
            #1b0830 35%,
            #131315 100%);
}

body {
    color: #ffffff;
}

.sermons-page {
    min-height: 100vh;
    padding-bottom: 4rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;

    background:
        radial-gradient(circle at top left,
            #2C0050 0%,
            #1b0830 35%,
            #131315 100%);
}

/* Typography Overrides */
.hero-title,
.card-content h3,
.join-study-card h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
}

/* Container Override */
.container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0 2rem;
    margin-bottom: 2rem;
    background-color: transparent;
    text-align: left;
}

.hero-card {
    position: relative;
    width: 100%;
    /* max-width: 1120px; */
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 5, 28, 0.95);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    pointer-events: none;
}

/* .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 5, 28, 0.7) 0%, rgba(17, 5, 28, 0.2) 50%, transparent 100%);
    pointer-events: none;
} */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 3rem;
    text-align: left;
}

.hero-label-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-label {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border: 2px solid rgba(221, 183, 255, 0.3);
    border-radius: 50px;
    color: #DDB7FF;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
    font-family: 'Newsreader', serif;
}

.hero-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1.6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 20px;
}

.btn-primary {
    background-color: #f5c518;
    color: #0b0b0d;
}

.btn-primary:hover {
    background-color: #d4a717;
    transform: translateY(-2px);
    color: #0b0b0d;

}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Filters Section */
.filters-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    margin: 1.75rem 0;
}

.filter-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 19.2px;
}

.filter-tag:hover,
.filter-tag.active {
    border-color: #f5c518;
    color: #f5c518;
}

.filter-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 0.3rem 0;
    outline: none;
    width: 120px;
}



.date-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.icon-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.icon-btn:hover {
    color: #ffffff;
}

/* Divider Section */
.divider-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    opacity: 0.6;
}

.divider-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(238, 219, 98, 0.3), transparent);
}

.divider-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
   
}

/* Sermon Grid */
.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Sermon Card */
.sermon-card-link {
    height: 100%;
}

.sermon-card {
    background: #21162c;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sermon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(238, 219, 98, 0.2);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-duration {
    display: none;
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f5c518;
    margin-bottom: 0.8rem;
    font-family: space grotesk, sans-serif;
}

.card-content h3 {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: auto;
}

.card-meta .author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0A192F;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eedb62;
}

.author-icon svg {
    width: 12px;
    height: 12px;
    color: #ffffff;
}

.card-meta .date {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

/* Join Study Card */
.join-study-card {
    background: #21162c;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.join-study-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(238, 219, 98, 0.3);
}

.join-study-content {
    padding: 2rem;
}

.study-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
}

.join-study-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.join-study-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.explore-link {
    display: inline-block;
    color: #f5c518;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.explore-link:hover {
    opacity: 0.8;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto;
}

.page-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.page-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.page-btn.active {
    background: rgba(238, 219, 98, 0.12);
    color: #eedb62;
    border: 1px solid rgba(224, 203, 67, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* RESPONSIVE  SECTION */
@media (max-width: 768px) {

    .hero-section {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }

    .hero-card {
        border-radius: 24px;
        min-height: auto;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .hero-label-wrapper {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-label {
        font-size: 0.55rem;
        padding: 0.35rem 0.7rem;
    }

    .hero-time {
        font-size: 0.55rem;
    }

    .hero-title {
        font-size: 2.3rem !important;
        line-height: 1.1;
        margin-bottom: 1rem;
        word-break: break-word;
    }

    .hero-content p {
        font-size: 0.85rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1rem;
        font-size: 0.8rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-bg {
        background-position: center;
        background-size: cover;
    }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 480px) {

    .hero-content {
        padding: 1.5rem 1.2rem;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-content p {
        font-size: 0.8rem;
    }
    .btn {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

/* Custom Pagination Styling */
.pagination-wrapper {
    margin-top: 3rem;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
.page-btn {
    text-decoration: none !important;
}
.page-btn.disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

/* Order Select Styling */
.order-select {
    background-color: rgba(17, 5, 28, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 6px 13px;
    border-radius: 5px;
    font-size: 0.8rem;
    color: #ffffff;
    transition: all 0.3s ease;
}
.order-select:hover {
    border-color: #f5c518 !important;
}
.order-select option {
    background-color: #1b0830;
    color: #ffffff;
}

/* No Blogs Message */
.no-blogs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Category Filter Active State Fix for Links */
a.filter-tag {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* Breadcrumbs Styling */
.breadcrumb-wrapper {
    padding: 0.8rem 0 0.8rem;
    background: #1A052D;
}

.breadcrumb-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 0.4rem 2.25rem;
    display: inline-flex;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-left: -1.25rem;
}

.breadcrumb-custom {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.breadcrumb-custom li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.breadcrumb-custom li a, 
.breadcrumb-custom li span {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.breadcrumb-custom li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-custom li a:hover {
    color: #eedb62;
    transform: translateY(-1px);
}

.breadcrumb-custom li i {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-custom li.active,
.breadcrumb-custom li span.active {
    color: #eedb62;
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumb-wrapper {
        padding: 0.75rem 0;
    }
    
    .breadcrumb-container {
        display: inline-flex; /* Keep it as a pill even on mobile */
        margin-left: 0;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50px;
        padding: 0.3rem 1rem;
    }

    .breadcrumb-custom li a, 
    .breadcrumb-custom li span {
        max-width: 80px; /* Shorter truncation on mobile */
    }

    .breadcrumb-custom {
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .breadcrumb-custom li {
        gap: 0.5rem;
    }
}

/* Professional Blog Detail Styling */
.blog-detail-hero {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(17, 5, 28, 0.5) 0%, transparent 100%);
}

.blog-main-img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-meta-large {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-title-large {
    font-family: 'Newsreader', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.blog-content-area {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.blog-sidebar-widget {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.blog-sidebar-widget .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.blog-sidebar-widget .form-control:focus {
    border-color: #eedb62;
    box-shadow: none;
}

.widget-title {
    font-family: 'Newsreader', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #eedb62;
}

.category-list-custom {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list-custom li {
    margin-bottom: 0.75rem;
}

.category-list-custom li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s ease;
}
/* Global Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 5, 28, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active {
    display: block;
    opacity: 1;
}

.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-overlay-close:hover {
    transform: rotate(90deg);
    color: #eedb62;
}

.search-input-overlay {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 2.5rem;
    color: white;
    padding: 10px 60px 10px 0;
    font-family: 'Space Grotesk', sans-serif;
    outline: none !important;
    transition: border-color 0.3s ease;
}

.search-input-overlay::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.search-input-overlay:focus {
    border-color: #eedb62;
}

.search-submit-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-submit-btn:hover {
    color: #eedb62;
}

@media (max-width: 768px) {
    .search-input-overlay {
        font-size: 1.5rem;
    }
    
    .search-overlay-close {
        top: 20px;
        right: 20px;
    }
}

.category-list-custom li a:hover {
    color: #eedb62;
}

.trending-item {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.trending-content {
    flex-grow: 1;
    min-width: 0; /* Important for ellipsis in flexbox */
    text-align: left !important;
}

.trending-item:hover {
    transform: translateX(5px);
}

.trending-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.trending-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

.trending-content span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}



.audio-playlist {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    margin: 2rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Auth Dropdown Styling */
.auth-dropdown .dropdown-menu {
    background-color: #0b0b0d !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    overflow: hidden;
    min-width: 180px;
    margin-top: 10px !important;
}

.auth-dropdown .dropdown-item {
    color: #ffffff !important;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.auth-dropdown .dropdown-item:hover {
    background-color: #f5c518 !important;
    color: #000000 !important;
}

.auth-dropdown .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ================================================
   Registration Form – Professional Styling
   ================================================ */

/* Label */
.reg-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
}

/* Base input */
.reg-input {
    display: block;
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    color: #fff;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    font-family: inherit;
}
.reg-input::placeholder { color: rgba(255,255,255,0.3); }
.reg-input:focus {
    border-color: #f5c518;
    box-shadow: 0 0 0 3px rgba(245,197,24,0.18);
    background: rgba(255,255,255,0.07);
}

/* Valid state */
.reg-input.is-valid-custom {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.18) !important;
}

/* Invalid state */
.reg-input.is-invalid-custom,
.is-invalid-custom {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220,53,69,0.18) !important;
}

/* Error text */
.reg-error {
    display: block;
    min-height: 18px;
    margin-top: 5px;
    font-size: 12.5px;
    font-weight: 500;
    color: #dc3545;
}

/* Input + eye wrapper */
.reg-input-wrap {
    position: relative;
}
.reg-input-wrap .reg-input {
    padding-right: 48px;
}
.reg-eye-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255,255,255,0.4);
    font-size: 15px;
    transition: color .2s;
    user-select: none;
}
.reg-eye-toggle:hover { color: #f5c518; }

/* Password strength checklist */
.pw-checklist {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 12px 16px;
}
.pw-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    padding: 3px 0;
    transition: color .25s;
}
.pw-rule .pw-dot { font-size: 8px; flex-shrink: 0; }

/* neutral */
.pw-rule--neutral,
.pw-rule { color: rgba(255,255,255,0.45); }
.pw-rule--neutral .pw-dot { color: rgba(255,255,255,0.35); }

/* fail */
.pw-rule--fail { color: #dc3545; font-weight: 600; }
.pw-rule--fail .pw-dot { color: #dc3545; }

/* pass */
.pw-rule--pass { color: #28a745; font-weight: 600; }
.pw-rule--pass .pw-dot { color: #28a745; }

/* Register button */
.btn-register {
    display: block;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000 !important;
    background: #f5c518;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    font-family: inherit;
}
.btn-register:hover {
    background: #e0b315;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(245,197,24,0.35);
}
.btn-register:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}
