/* News & Events Section */
/* .news-events-section {
    padding: 10px 0;
    background: #f8f8f8;
} */

.news-events-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    min-height: 500px;
}

/* News Section */
.news-section {
    background: #000080;
    padding: 20px;
    /* border-radius: 8px; */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: -10px;
}

.news-section h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    flex-shrink: 0;
    padding-bottom: 15px;
    border-bottom: 5px solid rgba(255, 255, 255, 0.2);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    max-height: 400px;
    padding-right: 10px;
}

/* Scrollbar Styles for News List */
.news-list::-webkit-scrollbar {
    width: 6px;
}

.news-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb {
    background: #FFE87C;
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.news-icon {
    font-size: 24px;
}

.news-item p {
    margin: 0;
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
}

/* Events Section */
.events-section {
    background: #fff;
    padding: 20px;
    /* border-radius: 8px; */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: -10px;
}

.events-section h2 {
    color: #000080;
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    padding-bottom: 15px;
    border-bottom: 5px solid rgba(0, 0, 128, 0.2);
}

.events-slider {
    position: relative;
    display: flex;
    gap: 20px;
    flex: 1;
    min-height: 0;
    padding: 10px;
    max-height: 400px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
}

.events-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.event-slide {
    flex: 0 0 calc((100% - 40px) / 3); /* Account for gaps between 3 items */
    position: relative;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    background: #fff;
}

.event-slide.active {
    display: block;
}

.event-slide.hidden {
    opacity: 0;
    pointer-events: none;
}

.event-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.event-content {
    padding: 15px;
    background: #fff;
    color: #000;
    position: relative;
    flex: 1;
}

.event-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
}

.event-content p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    color: #000;
}

/* Controls */
.event-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    display: flex;
    gap: 10px;
    pointer-events: none;
}

.prev-btn,
.next-btn {
    background: #FFE87C;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    color: #000080;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    pointer-events: auto;
    z-index: 30;
}

.prev-btn:hover,
.next-btn:hover {
    background: #FFD700;
    transform: scale(1.05);
}

/* Remove other control styles */
.play-btn,
.stop-btn {
    display: none;
}

/* Hindi Quote Section */
.quote-section {
    color: #fff;
    padding: 0;
    /* margin-top: 20px; */
    /* margin-bottom: -20px; */
}

.quotes-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    background-color: #000080;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 100%;
    margin: 0 auto;
}

/* .quotes-wrapper {
    gap: 20px;
    padding: 0 10px !important;
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 auto;
} */


.quote {
    flex: 1;
    text-align: center;
    font-size: 22px;
    line-height: 1.4;
    color: #fff;
    padding: 0 20px;
    position: relative;
}

.quote:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 5%;
    height: 90%;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

.quote p {
    margin: 0;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-events-wrapper {
        grid-template-columns: 1fr;
    }
    
    .event-slide {
        flex: 0 0 calc((100% - 20px) / 2); /* Account for gap between 2 items */
    }
}

@media (max-width: 768px) {
    .quotes-wrapper {
        flex-direction: column;
        gap: 10px;
        width: 100% !important;
        padding: 0 4px !important;
        box-sizing: border-box;
    }
    .quote {
        font-size: 16px;
        padding: 0 4px;
        white-space: normal; /* Allow wrapping */
        overflow: visible;
        text-overflow: unset;
    }
    .event-slide {
        flex: 0 0 100%; /* Full width for single item */
    }
    .event-content {
        position: absolute;
    }
    .event-content h3 {
        font-size: 16px;
    }
    .event-content p {
        font-size: 12px;
    }
    .event-controls {
        bottom: 10px;
        right: 10px;
    }
    .slider-controls {
        width: 100%;
        justify-content: center;
    }
} 