/* Custom styles extracted from index.blade.php */
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{
   font-size: x-large !important;
}
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{
   font-size:x-large !important;
}
/* Make Swiper pagination bullets use the Bootstrap primary color */
.swiper-pagination-bullet {
   background: var(--bs-primary) !important;
   opacity: 0.3;
}
.swiper-pagination-bullet-active {
   background: var(--bs-primary) !important;
   opacity: 1;
}

/* Testimonial card styles */
.testimonial-card-pro {
   background: #fff;
   border-radius: 1.5rem;
   box-shadow: 0 4px 24px rgba(80, 120, 200, 0.08), 0 1.5px 6px rgba(80, 120, 200, 0.04);
   transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card-pro:hover {
   box-shadow: 0 8px 32px rgba(80, 120, 200, 0.16), 0 3px 12px rgba(80, 120, 200, 0.08);
   transform: translateY(-4px) scale(1.02);
}
.testimonial-author .author-img img {
   width: 56px;
   height: 56px;
   object-fit: cover;
}
.testimonial blockquote {
   font-size: 1.08rem;
   color: #495057;
   font-style: italic;
}

/* Enhanced Hero Section Styles */
.hero {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.02) 0%, rgba(var(--bs-success-rgb), 0.02) 100%);
    position: relative;
    overflow: hidden;
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Hero Title Enhancements */
.hero-title {
    line-height: 1.2;
}

.hero-underline {
    width: 100%;
    height: 12px;
    bottom: -5px;
    left: 0;
    color: var(--bs-primary);
    opacity: 0.7;
}

/* Button Enhancements */
.hero .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.3) !important;
}

.hero .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero .btn:hover::before {
    left: 100%;
}

/* Enhanced Stats */
.hero-stats {
    max-width: 400px;
}

.stats-bg {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
}

.stat-circle {
    width: 80px;
    height: 80px;
    position: relative;
}

.circle-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--bs-primary) 0deg, rgba(var(--bs-primary-rgb), 0.1) 360deg);
    position: relative;
}

.circle-progress::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: white;
}

.stat-number {
    z-index: 2;
}

/* Hero Images */
.hero-images {
    height: 600px;
}

.main-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-success));
    border-radius: 1rem;
    z-index: 1;
    opacity: 0.1;
}

.floating-card {
    bottom: 20px;
    left: -20px;
    max-width: 200px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.floating-card .card {
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.floating-card:hover .card {
    transform: rotate(0deg) scale(1.05);
}

.icon-circle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.success-badge {
    top: 20px;
    right: -30px;
    z-index: 3;
    animation: pulse 2s infinite;
}

.success-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--bs-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: particleFloat 8s infinite linear;
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 20%;
    left: 80%;
    animation-delay: 2s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 70%;
    left: 20%;
    animation-delay: 4s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 70%;
    animation-delay: 6s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 40%;
    left: 60%;
    animation-delay: 1s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-images {
        height: 400px;
        margin-top: 2rem;
    }
    
    .floating-card {
        bottom: 10px;
        left: 10px;
        max-width: 150px;
    }
    
    .success-badge {
        top: 10px;
        right: 10px;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .floating-shape {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .stat-circle {
        width: 60px;
        height: 60px;
    }
    
    .stat-number span {
        font-size: 1.2rem !important;
    }
}