/* Updated variable --bs-primary-rgb and --bs-primary */
:root {
    --bs-primary-rgb: 23, 162, 184; /* Updated to match --bs-primary */
    --bs-primary: #17A2B8; /* Ensure consistency */
    --bs-light: #f8f9fa;
    --bs-whire: #ffffff;
    --bs-dark: #343a40;
    --bs-success: #28a745;
    --bs-info: #17a2b8;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-secondary: #6c757d;
    --bs-hero-bg: linear-gradient(138.18deg, #eae8fd 0%, var(--bs-primary) 94.44%);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* horizontal-offset vertical-offset blur-radius color */
}

div.silde-item {
    height: 550px;
    /* object-fit: cover; */
}
div.bottom-silde-item-position {
    position: absolute;
    bottom: 20px;
    left: 47%;
    transform: translateX(-50%);
    width: 90%;
}

.carousel-caption.custom {
    left: 10%;
    bottom: 10%;
    /* width: 100%; */
    padding-bottom: 0;
    text-align: left;
}

.custom > [class^="carousel-control"], [class^="swiper-button"] {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bs-primary);
    color: var(--bs-dark);
    border-radius: 10px;
}

.top-25 {
    top: 25% !important;
}
.start-25 {
    left: 20% !important;
}

.scroll-x {
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE & Edge */
    scrollbar-width: none !important;     /* Firefox */
}
.scroll-x::-webkit-scrollbar {
    display: none !important;             /* Chrome, Safari */
}

.zoom-card {
    transition: transform 300ms ease, box-shadow 300ms ease;
}
.zoom-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* Accessibility: disable animation for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .zoom-card {
        transition: none;
    }
}

div#home,.landing-hero {
    --bs-hero-bg: linear-gradient(138.18deg, #eae8fd 0%, var(--bs-primary) 94.44%) !important;
}

.card-primary {
    background: var(--bs-light);
}
html[data-bs-theme^="dark"] .card-primary {
    background: var(--bs-secondary);
    color: var(--bs-light);
    border: var(--bs-dark);
}

@media screen and (max-width: 768px) {
    .swiper-slide {
        width: 100% !important;
    }
    .carousel-caption.custom {
        left: 5%;
        right: 5%;
        bottom: 5%;
        text-align: center;
    }
    .custom > [class^="carousel-control"], [class^="swiper-button"] {
        width: 30px;
        height: 30px;
    }

    div.silde-item {
        height: auto;
    }
    div.bottom-silde-item-position {
        position: static !important;
        transform: none !important;
        bottom: auto !important;
    }
    div.head-font-silde-item > span, p{
        font-size: 1.5rem !important;
    }

    div.container-slide-icon {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        margin-right: auto;
        margin-left: auto;
    }
}
