/* new/assets/css/landing-v2.css */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --primary-color: #4e73df;
    --primary-dark: #2e59d9;
    --secondary-color: #2c3e50;
    --accent-color: #1cc88a;
    --light-gray: #f8f9fc;
    --dark-gray: #5a5c69;
    --light-blue: #e3e6f0;
    --box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    --transition: all 0.3s ease;
}

/* Enhanced base styles */
body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--secondary-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Improved carousel styles */
.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.carousel-caption {
    bottom: 30%;
    z-index: 1;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.carousel-caption p.lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Enhanced section styling */
#services, #how-it-works, #testimonials, #cta {
    padding: 6rem 0;
}

.section-title h2 {
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Improved feature boxes */
.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.icon-circle {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.75rem;
}

/* Enhanced testimonial cards */
.testimonial-card {
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--light-gray);
}

.rating {
    color: #ffc107;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .carousel-caption h2 {
        font-size: 2.8rem;
    }
    
    .carousel-caption p.lead {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 80vh;
        min-height: 500px;
    }
    
    .carousel-caption h2 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Animation for scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}