/* Reset margins and padding to eliminate gaps */
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove gaps from header and navigation */
.header-area {
    margin: 0 !important;
    padding: 0 !important;
}

.academy-main-menu {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any gaps between sections */
section {
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero Area Styles */
.hero-area {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    z-index: 1;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    top: 0;
    left: 0;
}

.hero-slides {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 400px;
    display: block;
    visibility: visible;
}

/* Override owl-carousel styles */
.hero-slides.owl-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 400px;
    display: block;
    visibility: visible;
}

/* Loading State */
.loading-slides {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #f8f9fa;
    color: #666;
    font-size: 18px;
    min-height: 400px;
}

.loading-slides i {
    margin-right: 10px;
    color: #007bff;
    font-size: 24px;
}

/* Single Hero Slide Styles */
.single-hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: 100% 100%; /* Stretch to fill entire container */
    background-position: center;
    background-repeat: no-repeat;
}

/* Manual Slider Styles */
.manual-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
        opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: 100% 100%; /* Stretch to fill entire container */
    background-position: center;
    background-repeat: no-repeat;
}

.slider-slide.active {
        opacity: 1;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #333;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Slide Counter */
.slide-counter {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}

/* Loading State */
.loading-slides {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #f8f9fa;
    color: #666;
    font-size: 18px;
}

.loading-slides i {
    margin-right: 10px;
    font-size: 20px;
}

/* Error State */
.hero-slides-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #f8f9fa;
    color: #666;
}

.error-content {
    text-align: center;
    padding: 40px;
}

.error-content i {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 20px;
}

.error-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-retry {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn-retry:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .slider-nav {
        padding: 0 10px;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slide-counter {
        bottom: 20px;
        right: 20px;
        padding: 8px 12px;
        font-size: 12px;
    }
}