:root {
    --orange: #FF7F00;
    --orange-light: #FFA040;
    --orange-dark: #CC6600;
    --orange-transparent: rgba(255, 127, 0, 0.7);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.bg-orange {
    background-color: var(--orange) !important;
}

.bg-orange-light {
    background-color: var(--orange-light) !important;
}

.bg-orange-dark {
    background-color: var(--orange-dark) !important;
}

.bg-orange-transparent {
    background-color: var(--orange-transparent) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.btn-orange {
    background-color: var(--orange);
    color: white;
    border: none;
}

.btn-orange:hover {
    background-color: var(--orange-dark);
    color: white;
}

/* Notice Board */
.notice-board {
    overflow: hidden;
}

.marquee {
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Carousel */
.carousel-caption {
    padding: 20px;
    border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .marquee {
        animation: marquee 10s linear infinite;
    }
    
    .carousel-caption {
        padding: 10px;
        font-size: 0.8rem;
    }
}

/* Content sections */
.content img {
    max-width: 100%;
    height: auto;
}

/* Footer */
footer a:hover {
    color: white !important;
    text-decoration: underline;
}

/* Banner Container - Fixed Height */
.banner-container {
    width: 100%;
    height: 300px; /* Fixed height - adjust this value as needed */
    overflow: hidden;
    position: relative;
}

/* Carousel Styles */
#mainCarousel {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Caption Styles */
.carousel-caption {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background-color: rgba(255, 127, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .banner-container {
        height: 200px; /* Shorter height for mobile */
    }
    
    .carousel-caption {
        width: 90%;
        padding: 5px;
    }
    
    .carousel-caption h5 {
        font-size: 1rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
}