/* (moved from the original <style> block) */

/* Use font link in index.html; do not import here to avoid duplicate requests */

* {
    font-family: 'Poppins', sans-serif;
}

.hero-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

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

.carousel-slide {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
}

@media (max-width: 768px) {
    .carousel-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .carousel-slide img {
        object-position: center center;
        min-height: 100vh;
    }
}

.carousel-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dots button.active {
    background: white;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.testimonial-card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-container {
    transition: all 0.6s ease-in-out;
}

.testimonial-slide-out {
    opacity: 0;
    transform: translateX(-50px);
}

.testimonial-slide-in {
    opacity: 1;
    transform: translateX(0);
}

/* Optional: smooth hover effect for overlay */
.hero-section .carousel-overlay:hover,
.founder-overlay:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}
