/* ============================================
   WELCOME SECTION - MODERN REDESIGN
   Enhanced Visual & Interactive
   ============================================ */

/* Main Section */
.welcome-section-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

/* Animated Background */
.welcome-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.floating-shape {
    position: absolute;
    opacity: 0.15;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff, transparent);
    top: -100px;
    right: 10%;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, transparent, #fff);
    bottom: -50px;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid rgba(255,255,255,0.1);
    top: 40%;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    animation: rotate-slow 30s linear infinite;
}

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

@keyframes rotate-slow {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Content Box */
.welcome-content-box {
    position: relative;
    z-index: 2;
    color: white;
}

/* Modern Badge */
.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    animation: badge-glow 3s ease-in-out infinite;
}

.badge-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}

.badge-spark {
    font-size: 20px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.5); }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

/* Main Title */
.welcome-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.highlight-text {
    display: block;
    background: linear-gradient(to right, #ffd700, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 10px;
    animation: gradient-shift 3s ease-in-out infinite;
    background-size: 200% auto;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Description */
.welcome-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 35px;
    max-width: 600px;
}

/* Quick Stats Grid */
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.stat-item-modern {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-item-modern:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #667eea, #4c63d2);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #764ba2, #f093fb);
}

.bg-gradient-pink {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.stat-info {
    flex: 1;
}

.stat-num {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Buttons Modern */
.welcome-cta-modern {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-modern-primary {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #333;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.6);
    color: #333;
}

.btn-modern-outline {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-modern-outline:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 18px;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.btn-modern-primary:hover .btn-shine {
    left: 100%;
}

/* Features Modern */
.features-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-modern-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.feature-modern-item i {
    color: #ffd700;
    font-size: 18px;
}

/* Slider Modern */
.welcome-slider-modern {
    position: relative;
    z-index: 2;
}

.slider-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    z-index: -1;
}

.frame-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.corner-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 30px;
}

.corner-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 30px;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 30px;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 30px;
}

.welcomeSwiper {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    height: 500px;
}

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

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 30px;
    color: white;
}

.slide-caption h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.slide-caption p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

/* Swiper Navigation Modern */
.swiper-nav-modern {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.swiper-btn-prev,
.swiper-btn-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #667eea;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Swiper Pagination Modern */
.swiper-pagination-modern {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.swiper-pagination-modern .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.swiper-pagination-modern .swiper-pagination-bullet-active {
    width: 30px;
    background: white;
}

/* Slider Placeholder */
.slider-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: white;
}

.placeholder-content i {
    opacity: 0.5;
    margin-bottom: 20px;
}

.placeholder-content p {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    .welcome-section-modern {
        padding: 80px 0 60px;
    }
    
    .welcome-main-title {
        font-size: 2.5rem;
    }
    
    .quick-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-item-modern {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .stat-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-num {
        font-size: 1.5rem;
    }
    
    .welcomeSwiper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .welcome-main-title {
        font-size: 2rem;
    }
    
    .welcome-desc {
        font-size: 1rem;
    }
    
    .quick-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-item-modern {
        flex-direction: row;
        text-align: left;
    }
    
    .welcome-cta-modern {
        flex-direction: column;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    .welcomeSwiper {
        height: 300px;
    }
    
    .slider-frame {
        display: none;
    }
    
    .features-modern {
        flex-direction: column;
        gap: 12px;
    }
}
