/* Testimonial Section Styles */
.testimonial-section {
    position: relative;
    overflow: hidden;
}

.testimonial-section .shape-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(105, 90, 205, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: -150px;
    animation: morph 8s ease-in-out infinite;
}

.testimonial-section .shape-4 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    bottom: -100px;
    right: -200px;
    animation: morph 10s ease-in-out infinite;
    animation-delay: 2s;
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-rating {
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #4a5568;
    line-height: 1.7;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -60px;
}

.carousel-control-next {
    right: -60px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: rgba(105, 90, 205, 0.9) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(82, 66, 204, 1) !important;
    transform: scale(1.1);
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #695acd;
    opacity: 1;
    transform: scale(1.2);
}

/* Animation */
@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .testimonial-section .shape-3,
    .testimonial-section .shape-4 {
        display: none;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 575.98px) {
    .testimonial-card {
        padding: 1.5rem !important;
    }
    
    .testimonial-text {
        font-size: 1rem !important;
    }
}

/* ================= HERO SECTION ================= */
.hero-section {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section .shape-1,
.hero-section .shape-2 {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.hero-section .shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
}

.hero-section .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
    border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    animation: float 8s ease-in-out infinite;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-section .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn-primary {
    background: #fff;
    color: #4f46e5;
    border: 2px solid #fff;
}

.hero-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
}

.hero-section .btn-primary:hover {
    background: transparent;
    color: white;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-section img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 5rem 0;
        text-align: center;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .hero-section img {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* AOS animation */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
/* Carousel Responsive Adjustments */
@media (max-width: 767.98px) {
    /* Force single column layout on mobile */
    .carousel-inner .carousel-item > div > div > [class*="col-"] {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Show only one item at a time on mobile */
    .carousel-inner .carousel-item > div > div > [class*="col-"]:not(:first-child) {
        display: none;
    }
    
    /* Center carousel controls */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    /* Adjust carousel control icons */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
        background-size: 20px;
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    .carousel-inner .carousel-item.active,
    .carousel-inner .carousel-item-next,
    .carousel-inner .carousel-item-prev {
        display: flex;
    }
}