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

h1,h2,h3,h4,h5,h6 {
    font-family: 'Playfair Display', serif;
}
.overlay {
    background: linear-gradient(180deg,
            rgba(223, 211, 211, 0.2) 0%,
            rgba(0, 0, 0, .25) 25%,
            rgba(0, 0, 0, .55) 50%,
            #000000f2 100%);
}
/*  Hero Section half section in and out */
.hero-image-wrapper {
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        /* Position the image at the bottom of the hero content on desktop */
        bottom: -25rem;
    }

.ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    user-select: none;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    will-change: transform;
    transition: transform .1s ease;
}

.ticker-img {
    width: 110px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
}

.ticker-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 1;
}

/* Container & Layout */
.accordion-wrapper {
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    height: auto !important; /* Allow variable height on mobile */
    gap: 40px;
}

/* Base Card Styling */
.accordion-card {
    flex: 1;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease;
    width: 100%;
}

.card-img-box {
    height: 250px; /* Shorter image height on mobile */
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Effects (Desktop Only) */
@media (hover: hover) {
    .accordion-card:hover img {
        transform: scale(1.05);
    }
}

/* Overlay & Action Button */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.arrow-btn {
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.accordion-card.active .arrow-btn {
    opacity: 1;
}

.arrow-btn:hover {
    background: #000 !important;
    color: #fff !important;
}

/* Expandable Description */
.card-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-bottom: 0;
}

.accordion-card.active .card-desc {
    max-height: 100px;
    opacity: 1;
}

/* Tablet & Desktop Styles (768px and up) */
@media (min-width: 768px) {
    .accordion-wrapper {
        flex-direction: row; /* Horizontal layout for desktop */
        height: 520px !important;
    }

    .accordion-card {
        flex: 1;
    }

    .accordion-card.active {
        flex: 2.5; /* Expand active card horizontally */
    }

    .card-img-box {
        height: 100%; /* Fill container height on desktop */
    }
}


/* overflow-x-auto */
.o-x-auto {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hides scrollbar in Firefox */
}
/* overflow-x-auto::-webkit-scrollbar */
.o-x-auto::-webkit-scrollbar {
  display: none; /* Hides scrollbar in Chrome/Safari/Edge */
}


/* Mobile (max-width: 767.98px) */
/*  Hero Section half section in and out */
    @media (max-width: 767.98px) {
        /* Change fixed vh-100 to auto height on mobile so content isn't cramped */
        .hero-section {
            height: auto !important;

        }

        .hero-image-wrapper {
            padding-left: 12px;
            padding-right: 12px;
            bottom: -10rem !important; /* Adjust offset for mobile height */
        }

        .hero-image-wrapper img {
            height: 22rem !important;
        }

        /* Adjust spacing div below hero for mobile */
        .hero-bottom-space {
            height: 12rem !important;
        }
    }
