
/* Header Styles */
header {
    background: #007BFF; /* Primary color */
    color: #fff; /* White text */
    padding: 15px 0; /* Padding for header */
    text-align: center; /* Centered text */
    position: relative; /* Positioning for sticky */
    z-index: 1000; /* Ensure it stays above other content */
}

.header-icon { width: 50px; position: relative; display: inline-block; top: 5px; margin-top: -5px; }
.header-icon .header-icon-hover { width: 50px; display: none; position: absolute; top: 0px; left: 0px; z-index: 99; }
.header-icon:hover .header-icon-hover { display: inline; }

.close-icon img { margin: 5px 5px 2.5px; border-radius: 100%; }

.header .logo { width: 550px; display: flex; flex-direction: row; margin-right: auto; color: #444; font-weight: bolder; }
.header .college-name { font-size: 26px;.padding-left: 25px; margin-top: 10px; text-align: center; }

header .logo img {
    height: auto; /* Maintain aspect ratio */
    max-height: 80px; /* Maintain height */
    width: auto; /* Maintain width */
}

nav ul {
    list-style: none; /* Remove bullet points */
    display: flex; /* Flexbox for horizontal layout */
    justify-content: center; /* Center navigation items */
    padding: 10px 0; /* Padding for nav */
}

nav ul li {
    margin: 0 15px; /* Spacing between items */
}

nav ul li a {
    color: #fff; /* White text for links */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Bold text */
    font-size: 16px; /* Medium font size */
    padding: 10px 15px; /* Add padding for larger buttons */
    transition: color 0.3s; /* Smooth transition */
}

nav ul li a:hover {
    color: #FFD700; /* Change color on hover */
}

/* Search Bar Styles */
.search-bar {
    display: flex; /* Flexbox for search bar */
    justify-content: center; /* Center the search bar */
    margin-top: 10px; /* Space above */
}

.search-bar input {
    padding: 10px; /* Padding for input */
    border-radius: 5px; /* Rounded corners */
    border: 1px solid #ccc; /* Light border */
    width: 300px; /* Fixed width */
}

.account-form {
    position: fixed;
    top: 0;
    right: -105%;
    width: 35rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    height: 100%;
    z-index: 1200;
    padding: 2rem;
    text-align: center;
}

.account-form.active {
    right: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.8);
}

.account-form #close-form {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    font-size: 4rem;
    cursor: pointer;
    color: #444;
}

.account-form #close-form:hover {
    transform: rotate(90deg);
}

.account-form form {
    border: 0.1rem solid #4e65ff;
    padding: 2rem;
    display: none;
}

.account-form form.active {
    display: block;
}

.account-form form h3 {
    font-size: 2.5rem;
    text-transform: capitalize;
    color: #444;
    padding-bottom: .5rem;
    text-transform: uppercase;
}

.account-form form .box {
    width: 100%;
    padding: 1.2rem 1.4rem;
    border: 0.1rem solid #0eb582;
    font-size: 1.6rem;
    margin: .7rem 0;
}

.account-form form .flex {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.account-form form .flex label {
    font-size: 1.5rem;
    color: #777;
    cursor: pointer;
}

.account-form form .flex a {
    font-size: 1.5rem;
    color: #777;
    margin-left: auto;
}

.account-form form .flex a:hover {
    text-decoration: underline;
    color: #0eb582;
}

.account-form form .btn {
    width: 100%;
}

.account-form .buttons .btn {
    margin: 0 .5rem;
}

.account-form .buttons .btn.active {
    background: #0eb582;
    color: #fff;
}

/* Hero Section Styles */
.hero {
    position: relative; /* Positioning for absolute elements */
    width: 100%; /* Full width */
    height: 400px; /* Set height for the hero section */
    overflow: hidden; /* Hide overflow for rotating images */
}

.hero img {
    width: 100%; /* Full width for images */
    height: 100%; /* Full height for images */
    object-fit: cover; /* Cover the area without distortion */
    animation: fade 20s infinite; /* Animation for rotating images */
}

/* Keyframes for Image Rotation */
@keyframes fade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}

/* Call to Action Button Styles */
.hero .cta-button {
    position: absolute; /* Positioning within the hero section */
    bottom: 20px; /* Position from the bottom */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for centering */
    background-color: #007BFF; /* Primary color */
    color: #fff; /* White text */
    padding: 15px 30px; /* Padding for button */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    font-size: 18px; /* Button text size */
    cursor: pointer; /* Pointer cursor */
    transition: background-color 0.3s; /* Smooth transition */
    display: flex;}

    .hero .cta-button:hover {
        background-color: #0056b3; /* Darker shade on hover */
    }
    
    /* Highlights Section Styles */
    .highlights {
        display: flex; /* Flexbox for layout */
        justify-content: space-around; /* Space between cards */
        margin: 40px 0; /* Margin above and below */
        flex-wrap: wrap; /* Wrap on smaller screens */
    }
    
    .highlight-card {
        background: #fff; /* White background for cards */
        border: 1px solid #ddd; /* Light border */
        border-radius: 5px; /* Rounded corners */
        padding: 20px; /* Inner padding */
        width: calc(25% - 40px); /* Width for cards (4 in a row) */
        margin: 20px; /* Margin around cards */
        text-align: center; /* Center text */
        transition: transform 0.3s; /* Smooth transition */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add slight shadow */
    }
    
    .highlight-card:hover {
        transform: translateY(-5px); /* Lift effect on hover */
        cursor: pointer; /* Pointer cursor for clickable */
    }
    
    .highlight-card img {
        width: 50px; /* Icon size */
        margin-bottom: 15px; /* Space below icon */
    }
    
    .highlight-card h4 {
        color: #007BFF; /* Primary color for headings */
        margin-bottom: 10px; /* Space below heading */
    }
    
    /* Responsive Styles */
    @media (max-width: 768px) {
        .highlight-card {
            width: calc(50% - 40px); /* 2 cards in a row */
        }
    
        .hero {
            height: 300px; /* Reduce height for mobile */
        }
    
        .hero .cta-button {
            padding: 10px 20px; /* Adjust padding for mobile */
            font-size: 16px; /* Adjust font size */
        }
    }
    
    @media (max-width: 480px) {
        .highlight-card {
            width: calc(100% - 40px); /* 1 card in a row */
        }
    
        .hero {
            height: 200px; /* Further reduce height for very small screens */
        }
    
        .hero .cta-button {
            padding: 8px 15px; /* Further adjust padding */
            font-size: 14px; /* Further adjust font size */
        }
    }