/* =========================================
   ENTERPRISE-LEVEL HOMEPAGE STYLES
   World-Class UI Design for KIPS College
   ========================================= */

/* ====================
   HERO SECTION - ENTERPRISE
   ==================== */

.enterprise-hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    max-height: 800px;
    overflow: hidden;
    background: #0a0e27;
    margin-bottom: 100px;
}

/* Animated Particles Background */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: particle-float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 40%;
    left: 60%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 10%;
    animation-delay: 8s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-50px) translateX(30px) scale(1.5);
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) translateX(-30px) scale(1);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-50px) translateX(20px) scale(1.5);
        opacity: 1;
    }
}

/* Slide Background with Parallax */
.slide-bg {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    transition: transform 8s ease-out;
    will-change: transform;
}

.slide.active .slide-bg {
    transform: scale(1.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    width: 100%;
    padding: 80px 20px 100px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 25px;
    animation: fade-in-up 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 10;
}

.hero-badge i {
    font-size: 1.2rem;
    color: #fbbf24;
}

.hero-badge span {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Slide Title - Enterprise Typography */
.slide-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fade-in-up 0.8s ease-out 0.4s both;
    letter-spacing: -1px;
    position: relative;
    z-index: 10;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 2px;
}

.slide-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fade-in-up 0.8s ease-out 0.6s both;
    font-weight: 400;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Feature Pills */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    animation: fade-in-up 0.8s ease-out 0.8s both;
    position: relative;
    z-index: 10;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.feature-pill i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Hero Buttons - Enterprise Style */
.slide-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fade-in-up 0.8s ease-out 1s both;
    position: relative;
    z-index: 10;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* Slider Controls - Modern */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 40px;
}

.slider-control.next {
    right: 40px;
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    width: 0%;
    animation: progress 5s linear infinite;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Slider Dots - Enhanced */
.slider-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: white;
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 10;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Fade In Up Animation */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================
   STATISTICS SECTION - ENTERPRISE
   ==================== */

.quick-stats {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    z-index: 100;
    clear: both;
}

.quick-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: -100%;
    background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(102, 126, 234, 0.1) 180deg, transparent 360deg);
    animation: rotate-border 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::after {
    opacity: 1;
}

@keyframes rotate-border {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.stat-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: inherit;
    border-radius: 50%;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.4s ease;
}

.stat-card:hover .stat-icon::before {
    opacity: 0.6;
}

.stat-card:hover .stat-icon {
    transform: rotateY(360deg) scale(1.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slide-title {
        font-size: 3.5rem;
    }

    .slider-control {
        width: 50px;
        height: 50px;
    }

    .slider-control.prev {
        left: 20px;
    }

    .slider-control.next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .enterprise-hero {
        min-height: 600px;
        max-height: 700px;
    }

    .slide-content {
        padding: 60px 20px 80px;
    }

    .slide-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .slide-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .hero-features {
        gap: 10px;
    }

    .feature-pill {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .slider-control {
        width: 45px;
        height: 45px;
    }

    .slider-control.prev {
        left: 15px;
    }

    .slider-control.next {
        right: 15px;
    }

    .scroll-indicator {
        font-size: 0.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .enterprise-hero {
        min-height: 550px;
        max-height: 650px;
    }

    .slide-content {
        padding: 50px 15px 70px;
    }

    .slide-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .hero-features {
        margin-bottom: 25px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}
