/* General Styles */
body {
    font-family: Arial, sans-serif;
}

/* Top Bar */
.top-bar {
    background-color: black;
    color: white;
    text-align: left;
    padding: 10px;
    font-size: 14px;
}

/* Navbar */
.navbar {
    background: linear-gradient(45deg, #ff6b6b, #6b6bff, #ffb86b);
    animation: colorChange 5s infinite alternate;
}

@keyframes colorChange {
    0% { background: #ff6b6b; }
    50% { background: #6b6bff; }
    100% { background: #ffb86b; }
}

.navbar-nav .nav-item .nav-link {
    color: white;
    font-weight: bold;
}

.navbar-nav .dropdown-menu {
    background-color: #343a40;
}

.navbar-nav .dropdown-item {
    color: white;
}

.navbar-nav .dropdown-item:hover {
    background-color: #ff6b6b;
}

/* Slideshow */
.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

/* Cards */
.vision-card, .mission-card, .values-card {
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.vision-card:hover, .mission-card:hover, .values-card:hover {
    transform: scale(1.05);
}

.more-btn {
    margin-top: 10px;
    font-weight: bold;
}

/* Vice Chancellor Section */
.vc-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
}

.vc-section img {
    width: 200px;
    height: auto;
    border-radius: 10px;
}

/* About the School */
.about-school {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
}

.about-school video {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

/* Our Offerings */
.offerings {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
}

.offering-card {
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    flex: 1;
    margin: 0 10px;
}

.offering-card:hover {
    transform: scale(1.05);
}

/* Latest News */
.latest-news {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.news-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.news-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.news-card:hover img {
    transform: scale(1.1);
}

.news-card:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 20px 0;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
