.dark-title {
    color: #263238;
}

/* Referral page css  */

.referral-button {
    /* The Gradient */
    background: linear-gradient(to right, #FFCC00, #F37124);
    /* Button Styling */
    border: none;
    border-radius: 50px;
    /* Creates the pill shape */
    padding: 1rem 3rem;
    /* Text Styling */
    color: #ffff;
    /* A dark brown color for the text */
    /* font-size: 1rem; */
    /* Other */
    cursor: pointer;
}

.referral-button1 {
    /* The Gradient */
    background: linear-gradient(to right, #FFCC00, #F37124);
    /* Button Styling */
    border: none;
    border-radius: 50px;
    /* Creates the pill shape */
    padding: 1rem 3rem;
    /* Text Styling */
    color: #ffff;
    /* A dark brown color for the text */
    /* font-size: 1rem; */
    /* Other */
    cursor: pointer;
}

.referral-button:hover {
    padding: 1rem 1rem !important;
    margin-left: 2rem !important;
    transition: padding .3s, margin-left .3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* The outer div that creates the gradient "border" */

.gradient-border-box {
    width: 300px;
    padding: 1px;
    /* This padding value becomes your border's width */
    background: linear-gradient(to right, #F37124, #FFCC00);
    border-radius: 8px;
    /* Optional: for rounded corners */
}

.gradient-border-box1 {
    width: 300px;
    padding: 1px;
    /* This padding value becomes your border's width */
    background: linear-gradient(to right, #0063F7, #06C270);
    border-radius: 8px;
}

.gradient-border-box2 {
    padding: 1px;
    background: linear-gradient(to right, #F37124, #FFCC00);
    border-radius: 8px;
}

/* The inner div that holds the content */

.content-box {
    background: white;
    /* Match this to your page's background */
    padding: 30px 20px;
    border-radius: 15px;
    /* Slightly smaller than the parent's for a nice effect */
    height: 250px;
}

.content-box1 {
    background: white;
    /* Match this to your page's background */
    padding: 30px 20px;
    border-radius: 15px;
}

.gradient-border-box:hover img {
    transform: scale(1.1);
    transition: transform .5s;
}

.gradient-border-box1:hover img {
    transform: scale(1.1);
    transition: transform .5s;
}

.gradient-border-box2:hover img {
    transform: scale(1.1);
    transition: transform .5s;
}

.gradient-badge {
    background: linear-gradient(to right, rgba(243, 112, 36, 0.15), rgba(255, 204, 0, 0.15));
    display: inline-block;
    padding: 3px 15px;
    border-radius: 15px;
    text-decoration: none;
}

.gradient-badge span {
    background: linear-gradient(to right, #f37124, #FFCC00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 12px;
}

.gradient-badge1 {
    background: linear-gradient(to right, rgba(36, 150, 243, 0.15), rgba(0, 255, 149, 0.15));
    display: inline-block;
    padding: 3px 15px;
    border-radius: 15px;
    text-decoration: none;
}

.gradient-badge1 span {
    background: linear-gradient(to right, #0063F7, #06C270);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 12px;
}

/* Eu page css  */

.gradient-button {
    background: linear-gradient(to right, #F37124, #FFCC00);
    border: none;
    border-radius: 50px;
    padding: 0.9rem 2.5rem;
    color: #ffffff;
    cursor: pointer;
}

.gradient-button:hover,
.gradient-button2:hover {
    transition: padding 1s, margin-left .3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

.gradient-button2 {
    background: linear-gradient(to right, #263A7F, #2D7CF2);
    border: none;
    border-radius: 50px;
    padding: 0.9rem 3.5rem;
    color: #ffff;
    cursor: pointer;
}

.gradient-button-outline {
    border: 1px solid #263A7F;
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    color: #263A7F;
    cursor: pointer;
}

.gradient-button-outline:hover {
    background: linear-gradient(to right, #263A7F, #2D7CF2);
    border: none;
    border-radius: 50px;
    padding: 0.9rem 2.5rem;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.gradient-button-outline2 {
    border: 1.5px solid #ffffff;
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    color: #ffffff;
    cursor: pointer;
    background: transparent;
}

.gradient-button-outline2:hover {
    background: linear-gradient(to right, #263A7F, #2D7CF2);
    border-color: transparent;
    padding: 0.8rem 2.5rem;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(2, 55, 178, 0.973);
}

.gradient-button3 {
    background: transparent;
    border: 1px solid #f4803e;
    border-radius: 50px;
    color: #F37124;
    cursor: pointer;
    padding: 0.8rem 2.5rem;
    transition: all 0.4s ease;
}

/* Hover State (fill with gradient) */

.gradient-button3:hover {
    background: linear-gradient(to right, #F37124, #FFCC00);
    color: #fff;
    border: none;
}

.gradient-button4 {
    background: transparent;
    border: 2px solid #0063F7;
    border-radius: 50px;
    padding: 0.5rem 3.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

/* Hover State (fill with gradient) */

.gradient-button4:hover {
    background: linear-gradient(to right, #263A7F, #2D7CF2);
    color: #fff;
    border: none;
}

.gradient-button5 {
    background: transparent;
    border: 2px solid #F37124;
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    color: #F37124;
    cursor: pointer;
    transition: all 0.4s ease;
}

/* Hover State (fill with gradient) */

.gradient-button5:hover {
    background: linear-gradient(to right, #F37124, #FFCC00);
    color: #fff;
    border: none;
}

.gradient-button6 {
    background: transparent;
    border: 1px solid #263A7F;
    border-radius: 50px;
    padding: 0.9rem 2.5rem;
    color: #263A7F;
    cursor: pointer;
    transition: all 0.4s ease;
}

/* Hover State (fill with gradient) */

.gradient-button6:hover {
    background: linear-gradient(to right, #263A7F, #2D7CF2);
    color: #fff;
    border: none;
}

.common-hover:hover {
    transition: 0.7s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 0 !important;
    cursor: pointer;
}

.common-hover:hover img {
    transform: scale(1.2) !important;
    transition: transform .5s;
}

.common-solid-card {
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(233, 241, 250, 0.50) 0%, rgba(218, 229, 255, 0.50) 100%);
    border: 0 !important;
    font-size: 14px;
    cursor: pointer;
}

.common-solid-card:hover {
    transition: 0.7s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.common-solid-card:hover img {
    transform: scale(1.2);
    transition: transform .5s;
}

/* Custom Accordion Styles */

.custom-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.custom-accordion-content.show {
    max-height: 500px;
    /* Adjust based on content */
    transition: max-height 0.3s ease-in;
}

.custom-accordion-item {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-accordion-item.active {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

/* Ensure text content inside accordion maintains original styling and visibility */

.custom-accordion-item.active .custom-accordion-button,
.custom-accordion-item.active .custom-accordion-button *,
.custom-accordion-item.active .custom-accordion-content,
.custom-accordion-item.active .custom-accordion-content *,
.custom-accordion-item.active .custom-accordion-body,
.custom-accordion-item.active .custom-accordion-body * {
    color: inherit !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
    position: relative !important;
}

/* Preserve specific text colors and ensure visibility */

.custom-accordion-item.active .custom-accordion-button span {
    /* color: #2c3e50 !important; */
    opacity: 1 !important;
    text-shadow: none !important;
}

.custom-accordion-item.active .custom-accordion-icon {
    color: #F37124 !important;
    opacity: 1 !important;
    text-shadow: none !important;
    background: transparent !important;
}

/* Keep minus icon same color as plus icon */

.custom-accordion-item:not(.active) .custom-accordion-icon {
    color: #F37124 !important;
}

.custom-accordion-item.active .custom-accordion-body p {
    color: #2c3e50 !important;
    opacity: 1 !important;
    text-shadow: none !important;
    background: transparent !important;
}

/* Ensure content area has proper contrast and visibility */

.custom-accordion-item.active .custom-accordion-content {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(0px) !important;
    z-index: 5 !important;
    position: relative !important;
}

.custom-accordion-item.active .custom-accordion-body {
    background: transparent !important;
    z-index: 6 !important;
    position: relative !important;
}

.custom-accordion-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 25%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.3) 75%, transparent 100%);
    animation: smoothShimmer 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes smoothShimmer {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.custom-accordion-button {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.custom-accordion-button:hover {
    background-color: rgba(0, 0, 0, 0.02) !important;
}

.custom-accordion-icon {
    transition: all 0.3s ease;
    color: #F37124 !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
}

.custom-accordion-item.active .custom-accordion-icon {
    transform: rotate(0deg);
    color: #F37124 !important;
}

.custom-accordion-item:not(.active) .custom-accordion-icon {
    transform: rotate(0deg);
    color: #F37124 !important;
}

/* Add subtle animation to the content when expanded */

.custom-accordion-content.show .custom-accordion-body {
    animation: fadeInUp 0.5s ease-out;
}

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

/* Featured Destination Card Redesign */

.destination-card-new {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.read-more-btn-new {
    border: 1px solid #273B92;
    color: #273B92;
    background: transparent;
    transition: all 0.3s ease;
}

.read-more-btn-new:hover {
    background: linear-gradient(to right, #263A7F, #2D7CF2);
    color: #fff;
    border: 1px solid transparent;
}

.read-more-btn-new i {
    border: 1px solid #273B92;
    border-radius: 50%;
    padding: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    transform: rotate(-45deg);
    /* Pointing top-right */
}

.read-more-btn-new:hover i {
    border-color: #fff;
    color: #fff;
}

/* Event Card Styles */

.event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-card .btn-outline-secondary {
    border-color: #e9ecef;
    color: #6c757d;
    transition: all 0.3s ease;
}

.event-card .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    color: #273B92;
    border-color: #273B92;
}

@media (min-width: 768px) {
    #prev-reviews,
    #prev-stories,
    #prev-events,
    #prev-destinations,
    #prev-study-route {
        left: -30px !important;
    }
    #next-reviews,
    #next-stories,
    #next-events,
    #next-destinations,
    #next-study-route {
        right: -30px !important;
    }
}

@media (max-width: 768px) {
    .gradient-button,
    .gradient-button1,
    .gradient-button2,
    .gradient-button3,
    .gradient-button4,
    .gradient-button5 {
        padding: 0.7rem 1.2rem !important;
        font-size: 12px !important;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .gradient-button,
    .gradient-button-outline,
    .gradient-button-outline2,
    .gradient-button1,
    .gradient-button2,
    .gradient-button3,
    .gradient-button4,
    .gradient-button5 {
        padding: 0.6rem 0.8rem !important;
        font-size: 10px !important;
        white-space: nowrap;
        justify-content: center;
    }
    .fs-0 {
        font-size: 30px !important;
    }
}

@media (max-width: 400px) {
    .gradient-button,
    .gradient-button-outline,
    .gradient-button-outline2,
    .gradient-button1,
    .gradient-button2,
    .gradient-button3,
    .gradient-button4,
    .gradient-button5 {
        font-size: 9px !important;
        padding: 0.5rem 0.9rem !important;
    }
}

.feature-number {
    opacity: .25 !important;
}

/* Event image container height to prevent layout shift and collapse */

.event-image-container,
.event-image {
    height: 220px;
}

/* Position event arrows on mobile to center vertically on the image and fit inside viewport */

@media (max-width: 767px) {
    #prev-events {
        left: 10px !important;
        top: 134px !important;
        transform: translateY(-50%) !important;
    }
    #next-events {
        right: 10px !important;
        top: 134px !important;
        transform: translateY(-50%) !important;
    }
    #events-container>div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-right: 0 !important;
        scroll-snap-align: center;
    }
}