/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, #f4f7fc, #e3e9f3); /* Soft gradient background */
    color: #333;
    line-height: 1.6;
    transition: all 0.3s ease-in-out;
}

/* Header */
.header {
    background: #1e3a8a; /* Deep blue */
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header .logo img {
    width: 50px;
    vertical-align: middle;
}

.header h1 {
    display: inline-block;
    margin-left: 20px;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

/* Navigation Menu Styling */
#nav {
    margin-top: 20px;
    background-color: #1e3a8a; /* Deep blue */
}

#nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center; /* Center the menu items */
    padding: 0;
    margin: 0;
}

#nav ul li {
    margin: 0 20px;
}

#nav ul li a {
    color: #fff; /* White text for better visibility */
    text-decoration: none;
    font-size: 18px;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#nav ul li a:hover {
    background-color: #ffba00; /* Bright yellow hover effect */
    color: #1e3a8a; /* Dark blue text on hover for better contrast */
}

/* Main Content */
.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px;
    gap: 30px; /* Added more gap between the blocks */
}

.column {
    flex: 1;
    min-width: 280px;
}

.announcement, .helpline, .access-info {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px; /* Added margin to create space between blocks */
}

.announcement:hover, .helpline:hover, .access-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #1e3a8a;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Sign-In Form Styling */
.sign-in-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 400px; /* Restrict width */
    margin: 30px auto; /* Center the form */
    border: 2px solid #ffba00; /* Add bright yellow border for prominence */
    background-color: #f7f9fc;
}

.sign-in-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.sign-in-form .form-group {
    margin-bottom: 20px;
}

.sign-in-form .textbox {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 10px;
    transition: border-color 0.3s ease;
}

.sign-in-form .textbox:focus {
    border-color: #1e3a8a;
}

.sign-in-form .button {
    background-color: #1e3a8a; /* Primary deep blue */
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.sign-in-form .button:hover {
    background-color: #ffba00; /* Bright yellow on hover */
    color: #333;
}

.payment-info, .payment-help {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

/* Footer */
#footer {
    background-color: #1e3a8a; /* Deep blue */
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    font-size: 16px;
}

#footer .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px; /* Increased gap between columns */
    margin-bottom: 30px; /* Increased margin for space below footer columns */
}

.footer-column {
    width: 45%;
}

.footer-column h3 {
    font-size: 18px;
    color: #ffba00;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-column p {
    font-size: 14px;
    color: #ddd;
    line-height: 1.6;
}

.footer-bottom {
    font-size: 14px;
}

/* Vary the color of footer links */
.footer-bottom a {
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-bottom a.secondary-link {
    color: #ffba00; /* Yellow for secondary links */
}

/* Hover effect for all links */
.footer-bottom a:hover {
    color: #ffffff; /* White on hover for all links */
    text-decoration: none; /* Remove underline on hover for clean effect */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack footer columns on small screens */
        align-items: center; /* Center the content */
    }

    .footer-column {
        width: 100%; /* Full width for each column on small screens */
        margin-bottom: 20px;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* Style the header */
.header {
    background: #1e3a8a; /* Deep blue background */
    color: #fff; /* White text */
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Increased shadow for more depth */
}

/* Style the logo image with rounded corners and a bevel effect */
.logo-img {
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4); /* Enhanced bevel-like shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
    display: inline-block; /* Ensure it's centered within the logo container */
    max-width: 250px; /* Increase max-width for a larger logo */
    width: 100%; /* Ensure it is responsive and scales with the container */
    height: auto; /* Maintain aspect ratio */
}

.logo-img:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

/* Style the header text (School Name) with a stylish font */
h1 {
    font-family: 'Montserrat', sans-serif; /* Modern font */
    font-size: 2.5rem; /* Larger font size */
    font-weight: 700; /* Bold */
    color: #ffffff; /* White color for the text to contrast with the blue background */
    margin-top: 15px; /* Space between the logo image and the text */
    text-transform: uppercase; /* Capitalize all letters */
    letter-spacing: 2px; /* Slight letter spacing for better readability */
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25); /* Stronger text shadow for more depth */
}

/* Ensure the logo and text are aligned and centered */
.logo {
    display: inline-flex;
    flex-direction: column; /* Stack the image and text vertically */
    align-items: center;
    justify-content: center;
}

/* Make the header responsive */
@media (max-width: 768px) {
    .logo-img {
        width: 200px; /* Resize logo image on smaller screens */
        height: auto;
    }

    h1 {
        font-size: 1.8rem; /* Smaller font size on mobile */
    }
}
