/* Base styles and resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #990B0B;
    --secondary-color: #d4b485;
    --light-beige: #f5f0e5;
    --dark-beige: #e5d9c3;
    --text-color: #333;
    --light-text: #777;
    --white: #fff;
    --section-padding: 4rem 0;
    --border-radius: 8px;
}
/* Responsive styles for mobile devices */
@media (max-width: 768px) {
    html, body {
        font-size: 15px;
    }

    .container {
        padding: 0 0.5rem;
        min-height: 300px;
    }

    nav {
        height: 70px;
        padding: 0 0.5rem;
    }

    .rtl-layout {
        padding: 0 0.5rem;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 90%;
    }

    ul {
        padding-left: 0;
        padding-right: 0;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    html, body {
        font-size: 13px;
    }

    nav {
        height: 55px;
    }

    .container {
        padding: 0 0.25rem;
    }
}

html, body {
    direction: rtl;
    font-family: 'Tajawal', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: 450px;
}

.rtl-layout {
    text-align: right;
}

/* Header Styles */
nav {
    height: 110px;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

nav.sticky {
    position: fixed;
    background-image: url('../images/header-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: #000;
    transition: color 0.3s;
    position: relative;
    display: inline-block; /* ensures underline fits text */
    padding-bottom: 4px; /* space for underline */
}

nav.sticky .nav-link::after,
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* works with RTL */
    width: 0%;
    height: 2px;
    background-color: #990B0B; /* Bootstrap primary or your custom color */
    transition: width 0.3s ease;
}

.nav.sticky .nav-link:hover,
.nav.sticky .nav-link:focus,
.nav.sticky .nav-link.active,
.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: #990B0B !important; /* same as underline color or something matching */
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #990B0B !important;
}

.nav.sticky .nav-link:hover::after,
.nav.sticky .nav-link:focus::after,
.nav.sticky .nav-link.active::after,
.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
    width: 100% !important;
}

nav.sticky .nav-link {
    color: #333;
}

.main-slider {
    background-image: url('../images/main-slider-bg.svg');
    background-repeat: no-repeat;
    background-size: cover;
}


.card-content {
    padding-top: 5rem !important;
}

.card-icon {
    position: absolute;
    top: -50px;
    right: 0px;
    width: 120px;
}

/* Optional: for responsiveness */
@media (max-width: 768px) {
    .card-icon {
        font-size: 3rem;
        top: -20px;
        right: -15px;
    }
}

.navbar-collapse {
    padding: 0px 16%;
}

.navbar-collapse.show {
    background-color: rgb(240 227 211 / 79%);
    width: 27px;
    padding: 10px !important
}

.main-quote {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    justify-items: center;
}

.navbar-toggler {
    position: absolute;
    float: left;
    left: 35px;
}

.main-text {
    color: #555;
    font-size: 1.2em;
    line-height: 1.5;
}

.main-text-colored {
    color: #990B0B;
    font-size: 1.5em;
    line-height: 1;
    font-weight: bold;
}

.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    width: 80px;
}

.logo {
    width: 100%;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.gold-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.gold-button:hover {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    padding: var(--section-padding);
    background-color: var(--light-beige);
    background-image: url('/public/assets/bg-pattern.png');
    background-size: cover;
    background-position: center;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.hero-layout {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-text {
    flex: 2;
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sheikh-image {
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-paragraph {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.signature-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.signature img {
    max-width: 150px;
    margin-bottom: 0.5rem;
}

.signature p {
    font-weight: bold;
}

.author-note {
    color: var(--primary-color);
    font-style: italic;
}

.cta-button-container {
    text-align: center;
    margin: 2rem 0;
}

/* Featured Section */
.featured-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

.primary-color {
    color: var(--primary-color);
}

.section-description {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: normal;
    font-size: 0.9rem;
}

.featured-cards {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.featured-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-number {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem 0;
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card-title {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.card-text {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.card-button {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid var(--primary-color);
    transition: color 0.3s;
}

.card-button:hover {
    color: var(--secondary-color);
}

/* Publications Section */
.publications-section {
    padding: var(--section-padding);
    background-color: var(--light-beige);
}

.publication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.publication-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-bottom: 3rem;
}

.publication-image {
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.publication-date {
    padding: 0.5rem 1rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

.publication-title {
    padding: 0 1rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.arrow-link {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.arrow-link:hover {
    transform: translateX(-5px);
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--white);
    text-align: center;
}

.testimonials-decoration {
    margin: 2rem auto;
    max-width: 300px;
}

.decoration-image {
    width: 100%;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial-item {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-statement {
    margin: 2rem auto;
    max-width: 700px;
    line-height: 2;
}

/* Footer */
.site-footer {
    background-color: var(--dark-beige);
    padding: 4rem 0 1rem;
    color: var(--text-color);
}

.footer-upper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    flex: 2;
}

.footer-nav-column {
    flex: 1;
    min-width: 200px;
}

.footer-nav-column h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-nav-column ul li {
    margin-bottom: 0.5rem;
}

.footer-nav-column ul li a {
    transition: color 0.3s;
}

.footer-nav-column ul li a:hover {
    color: var(--primary-color);
}

.footer-partners {
    flex: 1;
    min-width: 300px;
}

.partner-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.partner-logo {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    filter: grayscale(1);
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-layout {
        flex-direction: column-reverse;
    }

    .hero-image {
        margin-bottom: 2rem;
    }

    .featured-cards {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .publication-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .testimonial-item {
        width: 120px;
        height: 120px;
    }

    .footer-upper {
        flex-direction: column;
    }

    .footer-nav-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .publication-grid {
        grid-template-columns: 1fr;
    }
}

body {
    font-family: 'Tajawal', 'Noto Sans Arabic', 'Segoe UI', sans-serif;
    background-color: #f3f3f3;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 0;
    overflow: hidden;
    height: 100%;

}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('../images/home-bg.svg');
    opacity: 1;
    z-index: -1;
}


.content {
    height: 2000px;
    padding-top: 100px;
}

.text-warning {
    color: #282727 !important;
}

.primary-btn {
    background: #A9A9A9;
    color: #fff !important;
    font-weight: bold;
    border-radius: 1.5em;
    border: none;
    transition: background .2s;
}

.primary-btn:hover {
    background: #282727;
}

.feature-icon {
    background: #fdf6e6;
    border: 1px solid #edd4a6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    margin-bottom: 1em;
}

.carousel-card {
    background: #fff;
    border: 1px solid #A9A9A9;
    border-radius: 1.3em;
    padding: 1.2em;
    text-align: right;
    min-width: 300px;
    max-width: 250px;
    margin: 0 10px;
}

.visitor-img {
    border-radius: 50%;
    border: 2px solid #e2cfa2;
    box-shadow: 0px 2px 10px #e4d8c1;
    width: 78px;
    height: 78px;
    object-fit: cover;
    margin-bottom: .5em;
}

.footer {
    background-image: url('../images/footer-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    align-content: center;
    width: 100%;
    height: auto;
    padding-top: 4rem;
    padding-bottom: 7rem
}

.rtl-carousel .carousel-inner {
    direction: ltr;
}

.rtl-carousel .carousel-item {
    direction: rtl;
}

/* Fix Bootstrap's default LTR indicators and arrows */
.carousel-control-prev {
    right: -3rem;
    left: auto;
}

.carousel-control-next {
    left: -3rem;
    right: auto;
}

@media (max-width: 768px) {
    .carousel-card {
        max-width: none;
    }

    .carousel-control-prev, .carousel-control-next {
        display: none;
    }
}

.card-animation {
    transition: background-color 0.3s ease;
    border-radius: 0.5rem;


}

.card-img {
    max-height: 150px;
}

.card-animation:hover {
    background-color: #A9A9A9; /* subtle highlight */
    text-decoration: none;
}

.card-animation .transition-effect {
    transition: all 0.3s ease;
}

.card-animation:hover .card-img {
    transform: scale(1.03);
}

.card-animation:hover .fw-bold,
.card-animation:hover .text-secondary,
.card-animation:hover .text-muted {
    transform: translateX(4px);
    opacity: 1;
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #C53030;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    color: #4A5568;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    margin-bottom: 32px;
}

.influencer-carousel {
    padding: 20px 0 40px 0;
}

.influencer-carousel .swiper-slide {
    transition: all 0.3s ease;
    opacity: 0.7;
    transform: scale(0.85);
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 64px 0;
}

.influencer-carousel .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.influencer-carousel .swiper-slide-active::before,
.swiper-slide-active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 80px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 0;
}

.influencer-carousel .swiper-slide-active::before {
    top: -73px;
    background-image: url('../images/top.svg');
}

.influencer-carousel .swiper-slide-active::after {
    bottom: -76px;
    background-image: url('../images/bottom.svg');
}


.influencer-carousel .swiper-slide-next,
.influencer-carousel .swiper-slide-prev {
    opacity: 0.8;
    transform: scale(0.9);
}

.swiper-slide-active .slide-image {
    height: 320px !important;
    margin-top: 0 !important;
}

.slide-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 50px;
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 48px !important;
    height: 48px !important;
    margin-top: 0 !important;
    background: white !important;
    border: 2px solid #CBD5E1;
    border-radius: 50% !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    color: #C53030 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    border-color: #C53030;
    transform: scale(1.05);
    background: #F1F5F9 !important;
}

/* RTL adjustments */
[dir="rtl"] .swiper-button-next {
    left: 10px;
    right: auto;
}

[dir="rtl"] .swiper-button-prev {
    right: 10px;
    left: auto;
}

/* Pagination */
.swiper-pagination-bullet {
    background: #C53030;
    opacity: 0.3;
    transition: all 0.2s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Content Section */
.content-section {
    padding: 32px;
    max-width: 768px;
    margin: 0 auto;
    text-align: center;
}

.content-emblem::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-radius: 50%;
}

.influencer-name {
    font-size: 2rem;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.influencer-description {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    text-align: center;
}

.influencer-quote {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
    text-align: center;
}

.content-transition {
    transition: all 0.3s ease;
}

.content-transition.fade-out {
    opacity: 0;
    transform: translateY(8px);
}


/* Responsive Design */
@media (max-width: 1215px) {
    .media-section {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .media-section .container {
        padding-right: 0 !important;
        padding-left: 0 !important;
        max-width: 100% !important;
    }

    section .container .title {
        margin: 0 70px;
    }
}

@media (max-width: 7060px) {
    .media-section .container {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 1.5rem;
    }

    .influencer-name {
        font-size: 1.5rem;
    }

    .influencer-description {
        font-size: 1.125rem;
    }

    .content-section {
        padding: 24px;
    }

    .slide-image {
        height: 280px;
    }
}

.search-input {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 300px;
}

.card-topic {
    border: none;
    border-radius: 12px;
    background-color: #dadadaba;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

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

.card-topic.active {
    border: 2px solid #d33f49;
}

.card-topic img {
    max-height: 160px;
    object-fit: contain;
    margin-bottom: 2rem
}

.card-topic label {
    display: block;
    font-weight: 600;
    color: #333;
    padding-right: 10px;
}

.main-title {
    color: #990B0B;
    font-weight: bold;
}

.side-menu {
    background: #dadadaba;
    padding: 1rem;
    border-radius: 10px;
    border-top-left-radius: 80px;
}

.side-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #000;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.side-menu a:hover,
.side-menu a.active {
    background: #990B0B;
    color: #fff;
    border-radius: 5px;
}

.quote-container {
    width: 95% !important;

}

.quote-text {
    padding: 1.5rem 2rem;
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
    flex: 1;
    margin-left: 20px;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 4rem;

}

.quote-text span {
    font-size: 0.8rem;
}

.quotation-mark {
    position: absolute;
    width: 10vw;
    height: auto;
    max-width: 60px;
    z-index: 0;
}

.quotation-top-right {
    top: -25px;
    right: 30px;
}

.quotation-bottom-left {
    bottom: -25px;
    left: 30px;
    transform: scaleY(-1) scaleX(-1);
}

.quote-image {
    width: 200px;
    height: 180px;
    border-radius: 50%;
    object-fit: contain;
}

.quote-image-bg {
    background-size: cover;

}

.achievement-image:hover img {
    transition: transform 0.3s ease;
}

.achievement-image:hover img {
    transform: scale(1.1); /* 1.1 = 10% bigger */
}


/* Basic Timeline Styles */
.timeline {
    position: relative;
    padding-top: 100px; /* Space for top elements */
    padding-bottom: 100px; /* Space for bottom elements */
}

.timeline-horizontal-line {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 0;
    right: 0;
    height: 2px;
    background-color: #dee2e6; /* Light grey */
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2; /* Ensure items are above the line */
}

.timeline-node {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.node-primary {
    background-color: var(--primary-color);
}


.timeline-connector-line {
    position: absolute;
    width: 2px;
    background-color: #dee2e6;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Vertical line for top elements */
.timeline-content-top + .timeline-node + .timeline-connector-line {
    height: calc(50% - 15px); /* Adjust height based on node size */
    top: 0;
}

/* Vertical line for bottom elements */
.timeline-connector-line:not(.timeline-content-top + .timeline-node + .timeline-connector-line) {
    height: calc(50% - 15px); /* Adjust height based on node size */
    bottom: 0;
}

.timeline-content-top {
    position: absolute;
    bottom: calc(50% + 20px); /* Adjust spacing from line */
    width: 100%;
    left: 0;
}

.timeline-content-bottom {
    position: absolute;
    top: calc(50% + 20px); /* Adjust spacing from line */
    width: 100%;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .timeline {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    /* Potentially stack vertically on small screens if desired */
    .timeline-item {
        margin-bottom: 30px;
    }
}

.reference-table {
    background: #dadadaba;
    padding: 1rem;
    border-radius: 10px;
}

.reference-table th, .reference-table td {
    text-align: center;
    background-color: transparent !important;
}

.card-story {
    border: none;
    border-radius: 12px;
    background-color: #dadadaba;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.card-story:hover {
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-story.active {
    border: 2px solid #d33f49;
}

.card-story img {
    max-height: 160px;
    object-fit: contain;
}

.card-story label {
    display: block;
    font-weight: 600;
    color: #333;
    padding-right: 10px;
}


.story-body {
    border-radius: 50px;
    background-color: white;
    position: relative;
}

.story-image {
    width: 250px;
    height: 300px;
    object-fit: fill;
    float: left;
    margin: -20px 25px 20px -20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .story-image {
        width: 180px;
        height: 180px;
        margin: -15px 20px 15px -15px;
    }
}

@media (max-width: 480px) {
    .story-image {
        width: 140px;
        height: 140px;
        margin: -10px 15px 10px -10px;
    }
}

.story-content {
    overflow: hidden;
}

.story-content::after {
    content: "";
    display: table;
    clear: both;
}

.search-box {
    position: relative;
    text-align: center;
}

.search-box input {
    width: 70%;
    padding: 0 30px;
    border-radius: 50px;
    border: none;
    font-weight: 60;
    font-size: 16px;
    text-transform: capitalize;
    position: relative;
    color: #333;
    height: 45px;
}

.search-box i {
    position: relative;
    left: 35px;
    width: 100px;
}

@media (max-width: 620px) {
    .search-box input {
        width: 85%;
        padding: 0 15px;
    }

}

/* Logo responsiveness */
.navbar-logo {
    width: 100%;
    height: auto;
    max-width: 350px;
    display: block;
}

@media (max-width: 768px) {
    .navbar-logo {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        max-width: 180px;
    }
}

/* Footer mobile adjustments */
@media (max-width: 768px) {
    .footer-logo-mobile {
        display: block !important;
        margin: 0 auto 1rem auto !important;
        width: 180px !important;
        max-width: 90vw !important;
    }
    .sponsor-mobile {
        width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
        padding: 0 !important;
        justify-content: center !important;
    }
    .sponsor-mobile h6 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    .sponsor-logo-mobile {
        height: 36px !important;
        max-width: 70px !important;
        margin: 0.25rem auto !important;
        display: block;
    }
}

@media (max-width: 768px) {
    .side-menu {
        width: 100% !important;
        border-top-left-radius: 20px !important;
        padding: 0.5rem !important;
        margin-top: 1rem !important;
    }
    .side-menu .section-title {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .side-menu a {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 768px) {
    .quote-image-bg {
        margin-bottom: 1rem;
    }
}


.accordion-button:not(.collapsed) {
    background-color: #c1c1c1 !important;
    color: #0a0a0a !important;
    box-shadow: none !important;
}
