.hero-slider {
    position: relative;
}

.hero-slider .carousel-item {
    height: 90vh;
    min-height: 500px;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Soft gradient overlay */
.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.662), rgba(0, 0, 0, 0.136));
    z-index: 1;
}

.hero-slider .carousel-caption {
    bottom: 25%;
    left: 8%;
    right: auto;
    z-index: 2;
    text-align: left;
}

.hero-slider .carousel-caption h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    max-width: 700px;
    line-height: 1.2;
}

.hero-slider .carousel-caption p {
    font-size: 1.4rem;
    color: #ddd;
}

/* Mini Swiper in corner */
.mini-swiper {
    bottom: 7%;
    right: 5%;
    width: 720px;
    /* wider for 3 cards */
    z-index: 3;
}

/* Card style for each marble image */
.marble-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.407);
    transition: transform 0.3s ease;
}

.marble-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.marble-card:hover {
    transform: scale(1.05);
}



/* Responsive text sizes */
@media (max-width: 992px) {
    .mini-swiper {
        width: 360px;
    }

    .marble-card img {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .hero-slider .carousel-caption h1 {
        font-size: 2rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 1rem;
    }

    .mini-swiper {
        width: 300px;
    }

    .marble-card img {
        height: 100px;
    }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item {
        height: 75vh;
        /* Reduced height for small screens */
        min-height: 400px;
    }

    .hero-slider .carousel-caption {
        text-align: center;
    }

    .hero-slider .carousel-caption h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-slider .carousel-caption p {
        font-size: 0.9rem;
    }

    .mini-swiper {
        display: none;
        /* already exists — keep hidden on small screens */
    }

}



/*---------------------------------------------------- Sections ----------------------------------------------------------------*/
.section-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-light);
    margin-bottom: 1rem;
    background-color: var(--primary-color);

}

.why-us, .about-us, .collections, .clients, .ksa-vision {
    padding: 5rem 0;
}

/* Collection Cards */
.collection-card {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-sm:hover {
    color: rgb(0, 0, 0);
}

.collection-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.collection-img img {
    transition: transform 0.5s ease;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.collection-card:hover .collection-img img {
    transform: scale(1.05);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-overlay {
    transform: translateY(0);
}

/* KSA Vision */
.ksa-vision {
    position: relative;
    background: var(--primary-color);
    /* fallback color */
    overflow: hidden;
}

.ksa-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/santiago/vission 2030 bg.jpg') center/cover no-repeat;
    z-index: 0;
}

.ksa-vision::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.738);
    /* dark overlay */
    z-index: 0;
}

.ksa-vision .container {
    position: relative;
    z-index: 1;
}

.vision-logo {
    max-width: 300px;
    /* Smaller logo size */
}

/* Clients */
/* Clients Animation */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-logo {
    background: rgb(223, 223, 223);
    border-radius: 10px;
    height: 120px;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: slideUp 0.8s forwards;
}

.client-logo:nth-child(1) {
    animation-delay: 0.2s;
}

.client-logo:nth-child(2) {
    animation-delay: 0.4s;
}

.client-logo:nth-child(3) {
    animation-delay: 0.6s;
}

.client-logo:nth-child(4) {
    animation-delay: 0.8s;
}

.client-logo:hover {
    transform: scale(1.05);
}


/* Responsive Adjustments */


@media (max-width: 768px) {

    .why-us, .about-us, .collections, .clients, .ksa-vision {
        padding: 3rem 0;
    }

    .collection-img {
        height: 200px;
    }
}

@media (max-width: 576px) {

    .display-4 {
        font-size: 2.5rem;
    }
}