/**
 * Home Page Styles
 * Page-specific styles for the home page
 */

/* Hero Section Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

/* Hero Section Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-section .animate-bounce {
    animation: float 3s ease-in-out infinite;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Course Card Hover Effects */
.course-card-home {
    transition: all 0.3s ease;
}

.course-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Badge Featured */
.badge-featured {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

/* Stats Section */
.stats-card {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Service Card Hover */
.service-card:hover {
    border-color: #2563eb;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon {
    transition: transform 0.3s ease;
}

/* Testimonial Card */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

/* About Section Stats */
.about-stat-card {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.about-stat-card:nth-child(2),
.about-stat-card:nth-child(4) {
    transform: translateY(2rem);
}

/* Contact Section */
.contact-info-card {
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e1b4b 0%, #1e3a8a 100%);
}

/* Swiper Customizations */
.instructor-slider .swiper {
    width: 100%;
    position: relative;
}

.instructor-slider .swiper-wrapper {
    display: flex;
    flex-direction: row;
}

.instructor-slider .swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

.instructor-slider .swiper-button-next,
.instructor-slider .swiper-button-prev {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.instructor-slider .swiper-button-next {
    right: -20px;
}

.instructor-slider .swiper-button-prev {
    left: -20px;
}

.instructor-slider .swiper-button-next:hover,
.instructor-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #fbbf24;
    transform: translateY(-50%) scale(1.1);
}

.instructor-slider .swiper-button-next i,
.instructor-slider .swiper-button-prev i {
    font-size: 18px;
}

/* Mobile: move arrows inside */
@media (max-width: 640px) {
    .instructor-slider .swiper-button-next {
        right: 10px;
    }
    .instructor-slider .swiper-button-prev {
        left: 10px;
    }
}

.instructor-slider .swiper-pagination {
    position: relative !important;
    margin-top: 20px !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center;
}

.instructor-slider .swiper-pagination-bullet {
    background: white;
    opacity: 0.4;
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.instructor-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fbbf24;
    width: 12px;
    height: 12px;
}

/* Section Spacing */
.section-py {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    .section-py {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* Testimonials Slider Customizations */
.testimonials-slider .swiper {
    width: 100%;
    position: relative;
}

.testimonials-slider .swiper-wrapper {
    display: flex;
    flex-direction: row;
}

.testimonials-slider .swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

.testimonials-slider .swiper-button-next,
.testimonials-slider .swiper-button-prev {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    color: #334155;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonials-slider .swiper-button-next {
    right: -20px;
}

.testimonials-slider .swiper-button-prev {
    left: -20px;
}

.testimonials-slider .swiper-button-next:hover,
.testimonials-slider .swiper-button-prev:hover {
    background: #f8fafc;
    transform: translateY(-50%) scale(1.1);
}

.testimonials-slider .swiper-button-next i,
.testimonials-slider .swiper-button-prev i {
    font-size: 18px;
}

/* Mobile: move arrows inside */
@media (max-width: 640px) {
    .testimonials-slider .swiper-button-next {
        right: 10px;
    }
    .testimonials-slider .swiper-button-prev {
        left: 10px;
    }
}

.testimonials-slider .swiper-pagination {
    position: relative !important;
    margin-top: 20px !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center;
}

.testimonials-slider .swiper-pagination-bullet {
    background: #cbd5e1;
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.testimonials-slider .swiper-pagination-bullet-active {
    background: #2563eb;
    width: 12px;
    height: 12px;
}
