/* Import default.css for variables only */
@import url('./default.css');

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

body{
    font-family: var(--font-primary);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-dot {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background-color: white !important;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.slider-dot:hover {
    transform: scale(1.1);
    background-color: white !important;
}

/* As feature In css */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-container {
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    gap: 4rem;
    animation: scroll-left 20s linear infinite;
}

.logo-item {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    height: 3rem;
    /* Tailwind h-12 */
}

.logo-item:hover {
    opacity: 1;
}

/* Responsive logo widths */
.logo-item {
    min-width: 50%;
    /* default: 2 logos */
}

@media (min-width: 768px) {

    /* md: 3 logos */
    .logo-item {
        min-width: 33.3333%;
    }
}

@media (min-width: 1024px) {

    /* lg: 5 logos */
    .logo-item {
        min-width: 20%;
    }
}


.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox-content {
    position: relative;
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    height: 90%;
    margin-top: 2%;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #bbb;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f1f1f1;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background-color 0.3s;
    height: 60px;
    width: 60px;
    line-height: 27px;
    text-align: center;
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1f1f1;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox.fade-out {
    animation: fadeOut 0.3s ease-in-out;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}
/* Testimonial Slider: ensure one full slide on mobile (padding shouldn't overflow) */
.testimonial-slide {
    box-sizing: border-box;
}

