﻿body {
}

/* Slider Styles */
.slickslider {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.sliderbox {
    position: relative;
    width: 100%;
    height: 400px;
}

    .sliderbox img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.sliderheading {
    position: absolute;
    bottom: 60px;
    left: 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
}

.descriptionBox {
    display: none;
    font-size: 14px;
    text-align: justify;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
}

/* News and Events */
.news-events {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.news-box, .events-box {
    flex: 1;
    background: transparent;
    padding: 15px;
    border-radius: 5px;
    min-width: 300px;
    min-height: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.notice-board, .event-board {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.notice-container, .event-container {
    width: 100%;
}

.notice-item, .event-item {
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .notice-item:hover, .event-item:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.notice-title, .event-title {
    padding: 4px 8px;
    width: 100%;
    font-weight: bold;
    box-sizing: border-box;
    border-radius: 5px;
}

.notice-date, .event-date {
    background: white;
    padding: 2px 4px;
    width: 90px;
    box-sizing: border-box;
    border-radius: 5px;
    text-align: center;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .slickslider {
        height: 300px;
    }

    .sliderbox {
        height: 300px;
    }

    .sliderheading {
        font-size: 18px;
        bottom: 50px;
    }

    .descriptionBox {
        font-size: 12px;
    }

    .news-events {
        flex-direction: column;
    }

    .news-box, .events-box {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .slickslider {
        height: 200px;
    }

    .sliderbox {
        height: 200px;
    }

    .sliderheading {
        font-size: 16px;
        bottom: 40px;
    }

    .descriptionBox {
        font-size: 10px;
    }

    .welcome-section h2 {
        font-size: 1.2em;
    }

    .news-box h3, .events-box h3 {
        font-size: 1.1em;
    }
}
