/* Home Page Spacing Fixes */

/* Reduce the large gap between hero section and student portal */
.slider-container.slider-hero-section2 {
    padding: 40px 0 20px !important;
}

/* Reduce the excessive margin between home sections */
.home-sections {
    margin-top: 40px !important;
}

.home-sections:first-child {
    margin-top: 20px !important;
}

/* Reduce spacing in the top-links-section specifically */
.top-links-section {
    margin-top: 20px !important;
}

/* Reduce spacing between collaboration section and degree programs */
.collaboration-section {
    margin-top: 30px !important;
}

/* Reduce spacing for degree programs section */
.degree-programs-section {
    margin-top: 30px !important;
}

/* Reduce spacing for stats section */
.stats-container {
    margin-top: 30px !important;
    padding: 40px 0 !important;
}

/* Improve statistics cards styling */
.stats-item {
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    min-height: 200px !important;
    padding: 30px 20px !important;
}

.stats-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.stat-icon-box {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa !important;
    border-radius: 50% !important;
}

.stat-number {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #0056d2 !important;
    margin-bottom: 10px !important;
}

.stat-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin-bottom: 10px !important;
}

.stat-desc {
    font-size: 0.9rem !important;
    color: #6c757d !important;
    line-height: 1.5 !important;
}

/* Reduce spacing for newest courses section */
.home-sections-swiper {
    margin-top: 30px !important;
}

/* Reduce spacing for business talent section */
.business-talent-section {
    margin-top: 30px !important;
    padding-bottom: 40px !important;
}

/* Ensure upskill text has proper spacing */
.up-skill-link {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
}

/* Reduce spacing for next steps section */
.next-steps-section {
    margin-top: 60px !important;
    padding-top: 40px !important;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .slider-container.slider-hero-section2 {
        padding: 30px 0 15px !important;
    }
    
    .home-sections {
        margin-top: 30px !important;
    }
    
    .home-sections:first-child {
        margin-top: 15px !important;
    }
}

@media (max-width: 767px) {
    .slider-container.slider-hero-section2 {
        padding: 20px 0 10px !important;
    }
    
    .home-sections {
        margin-top: 25px !important;
    }
    
    .home-sections:first-child {
        margin-top: 10px !important;
    }
    
    /* Mobile statistics cards */
    .stats-item {
        min-height: 180px !important;
        padding: 25px 15px !important;
        margin-bottom: 20px !important;
    }
    
    .stat-icon-box {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-title {
        font-size: 1rem !important;
    }
    
    .stat-desc {
        font-size: 0.85rem !important;
    }
}
