/* BRM International School - Custom Styles */

/* ==============================================
   SLIDER IMPROVEMENTS
   ============================================== */
.slider-area .single-slide {
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

.slider-area .single-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slider-content-area {
    position: relative;
    z-index: 2;
}

.slider-area .slide-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
}

.slider-area .slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}

.slider-area .slide-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #fff;
    opacity: 0.9;
}

/* ==============================================
   NOTICE BOARD IMPROVEMENTS
   ============================================== */
.notice-area {
    background: #f8f9fa;
}

.notice-left-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.notice-left-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec1c23, #ff6b35);
}

.notice-left-wrapper h3 {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 15px;
}

.notice-left-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ec1c23;
}

.notice-scroll-container {
    height: 400px;
    overflow-y: auto;
    padding-right: 15px;
}

.notice-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.notice-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.notice-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ec1c23, #ff6b35);
    border-radius: 4px;
}

.notice-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d41a20, #e55a2b);
}

.single-notice-left {
    border-left: 3px solid transparent;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
}

.single-notice-left:hover {
    background: #f8f9fa;
    border-left-color: #ec1c23;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.single-notice-left h4 {
    font-size: 13px;
    color: #ec1c23;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-notice-left p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* ==============================================
   NOTICE RIGHT SECTION
   ============================================== */
.notice-right {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.single-notice-right {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.single-notice-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.single-notice-right:nth-child(2)::before {
    background: linear-gradient(90deg, #007bff, #6f42c1);
}

.single-notice-right:nth-child(3)::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.single-notice-right:hover {
    transform: translateY(-5px);
}

.single-notice-right h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.single-notice-right p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 992px) {
    .slider-area .single-slide {
        min-height: 500px;
    }
    
    .slider-area .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .notice-left-wrapper,
    .notice-right {
        height: auto;
        margin-bottom: 30px;
    }
    
    .notice-scroll-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .slider-area .single-slide {
        min-height: 400px;
    }
    
    .slider-area .slide-content h3 {
        font-size: 1rem;
    }
    
    .slider-area .slide-content h2 {
        font-size: 2rem;
    }
    
    .slider-area .slide-content p {
        font-size: 0.9rem;
    }
    
    .notice-left-wrapper {
        padding: 20px;
    }
    
    .notice-scroll-container {
        height: 250px;
    }
    
    .single-notice-right {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .slider-area .single-slide {
        min-height: 350px;
    }
    
    .slider-area .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slider-area .slide-content p {
        font-size: 0.8rem;
    }
    
    .slide-content-wrapper {
        padding: 15px;
    }
}

/* ==============================================
   SECTION IMPROVEMENTS
   ============================================== */
.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ec1c23, #ff6b35);
}

/* Button Improvements */
.default-btn {
    background: linear-gradient(45deg, #ec1c23, #ff6b35);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.default-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 28, 35, 0.4);
    color: #fff;
    text-decoration: none;
}