* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

header {
    background-color: #5DADE2; /* Darker blue color */
    color: #fff;
    padding: 20px 20px 10px; /* Added padding at the top */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.logo-container {
    position: absolute;
    left: 20px;
}

.logo-container img {
    height: 70px; /* Adjusted height */
}

.school-name {
    font-size: 2em; /* Increased font size */
    font-weight: bold;
    text-align: center;
    flex-grow: 1;
}

nav {
    text-align: center;
    margin-top: 10px;
    width: 100%;
}

nav ul {
    list-style: none;
    padding: 0;
    display: inline-block;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    flex: 1;
}

#slider {
    position: relative;
    max-width: 1200px;
    height: 450px; /* Adjusted height */
    margin: 20px auto;
    overflow: hidden;
    text-align: center;
}

#slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide {
    display: none;
}

.active-slide {
    display: block;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.info-column {
    width: 32%;
    height: auto; /* Let the height adjust automatically */
    background-color: #fff;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19); /* 3D effect */
    transition: transform 0.2s; /* Smooth transition */
    margin-bottom: 20px; /* Space between columns */
}

.info-column:hover {
    transform: translateY(-5px); /* Raise effect on hover */
}

.info-column img {
    width: 30%; /* Further reduced width */
    height: auto; /* Keep height auto for aspect ratio */
    border-radius: 5px;
    margin-bottom: 10px;
}

.info-column p {
    text-align: justify; /* Justify text alignment */
}

footer {
    background-color: #ADD8E6; /* Light blue color */
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    position: relative; /* Change from absolute to relative */
    bottom: 0;
    left: 0; /* Ensure it spans the full width */
    flex-shrink: 0; /* Ensure footer does not shrink */
}

.left-align {
    text-align: left; /* Align text to the left */
    padding-left: 20px; /* Optional: Add padding if needed for alignment */
    margin-bottom: 10px; /* Optional: Add margin for spacing */
}

@media (max-width: 1200px) {
    #slider {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #slider {
        height: 300px; /* Adjusted height for tablets */
    }

    .info-row {
        flex-direction: column;
        align-items: center;
    }

    .info-column {
        width: 80%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    #slider {
        height: 250px; /* Adjusted height for mobile */
    }

    .info-column {
        width: 100%;
    }
}
