body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 100px; /* Matches header height for large screens */
    background-color: #f5f7fa;
    color: #333;
}
header {
    background-color: #1F2A44;
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 100px;
    z-index: 1000;
    box-sizing: border-box;
}
header .logo-container {
    display: flex;
    align-items: center;
}
header .logo-container img {
    height: 60px;
    margin-right: 10px;
}
header .title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    flex-grow: 1;
}
header .title-container h1 {
    margin: 0;
    font-size: 1.8em;
}
header .title-container h2 {
    margin: 0 0 0 10px;
    font-size: 1.2em;
}
nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1em;
}
nav a.active {
    background-color: #0066cc;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}
.hero {
    position: relative;
    text-align: center;
    color: white;
    padding: 0;
    width: 100%;
    overflow: hidden;
}
.hero .slideshow {
    display: flex;
    width: 400%;
    transition: transform 0.5s ease-in-out;
}
.hero .slide {
    width: 25%;
    height: 650px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero .slide:nth-child(1) { background-image: url('images/closures.jpg'); }
.hero .slide:nth-child(2) { background-image: url('images/Unn_abc_student_leaders_2025.jpg'); }
.hero .slide:nth-child(3) { background-image: url('images/project.jpg'); }
.hero .slide:nth-child(4) { background-image: url('images/news.jpg'); }

.hero .slide p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(31, 42, 68, 0.7);
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 1.2em;
    color: white;
    text-align: center;
    max-width: 80%;
    line-height: 1.5;
}
.hero .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(31, 42, 68, 0.7);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s ease;
}
.hero .nav-arrow:hover {
    background: rgba(31, 42, 68, 0.9);
}
.hero .prev-arrow {
    left: 20px;
}
.hero .next-arrow {
    right: 20px;
}
.hero .dots {
    display: none;
}
.section {
    padding: 40px 20px;
    text-align: center;
}
.section h2 {
    margin-bottom: 20px;
    font-size: 2em;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 10px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.center {
    margin: auto;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 10px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.news-item, .project-item {
    display: flex;
    border: 1px solid #ddd;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}
.news-item:hover, .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.news-thumbnail, .project-thumbnail {
    width: 30%;
    height: 120px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 8px;
}
.news-content, .project-content {
    width: 70%;
    text-align: justify;
}
.news-content h3, .project-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}
.news-content p, .project-content p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}
.btn-view {
    background-color: #1F2A44;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}
footer {
    background-color: #1F2A44;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    clear: both;
}
.footer-section {
    margin: 10px 0;
    width: 30%;
    text-align: left;
}
.footer-section h3 {
    font-size: 1em;
    margin-bottom: 10px;
}
.footer-section p, .footer-section a {
    margin: 5px 0;
    font-size: 1em;
}
.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
}
.social-icons img {
    height: 20px;
    margin: 0 5px;
}
footer .copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 1em;
}
.about-header {
    background-color: #1F2A44;
    color: white;
    text-align: center;
    padding: 40px 20px;
}
.about-header h1 {
    margin: 0;
    font-size: 2.5em;
}
.about-header p {
    margin: 10px 0 0;
    font-size: 1.2em;
}
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
}
.about-section {
    margin-bottom: 40px;
    overflow: hidden;
}
.about-section h2, .sponsors-partners h2, .about-university h2 {
    color: #1F2A44;
    font-size: 2em;
    margin-bottom: 20px;
}
.section-image {
    max-width: 550px;
    border-radius: 10px;
    float: right;
    margin-left: 20px;
    max-height: 400px;
    height: auto;
}
.section-image-left {
    max-width: 500px;
    border-radius: 10px;
    float: left;
    margin-right: 20px;
    height: auto;
    max-height: 400px;
}
.text-content {
    overflow: hidden;
    padding-bottom: 20px;
}
.mission-vision-motto {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 30%;
    text-align: center;
}
.card h3 {
    color: #1F2A44;
    margin-bottom: 10px;
}
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}
.sponsor-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
}
.sponsor-card img {
    max-width: 80px;
    margin-bottom: 10px;
}
.university-stats {
    display: none;
}
.objectives {
    clear: both;
}
.projects-banner {
    background-color: #1F2A44;
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 20px;
}
.projects-banner h1 {
    margin: 0;
    font-size: 3em;
}
.projects-banner p {
    margin: 10px 0 0;
    font-size: 1.2em;
}
.projects-tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.tab-button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    background-color: #E6ECEF;
    cursor: pointer;
    font-size: 1.1em;
    border-radius: 5px;
}
.tab-button.active {
    background-color: #1F2A44;
    color: white;
}
.tab-content {
    display: block;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.edition-header {
    text-align: center;
    margin-bottom: 20px;
}
.edition-header h2 {
    color: #1F2A44;
    font-size: 2em;
    margin-bottom: 10px;
}
.edition-header p {
    color: #666;
    font-size: 1.1em;
}
.project-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
    max-width: 1200px;
    margin: 0 auto;
}
.project-card-detail {
    display: flex;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.project-image {
    width: 40%;
    height: 500px;
    object-fit: cover;
}
.project-details {
    width: 60%;
    padding: 15px;
    text-align: justify;
}
.project-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
    color: #1F2A44;
}
.project-details h3 a {
    color: #1F2A44;
    text-decoration: none;
}
.project-details p {
    margin: 5px 0;
    font-size: 1em;
    color: #666;
}
.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    margin-top: 10px;
}
.status.completed {
    background-color: #28A745;
    color: white;
}
.status.ongoing {
    background-color: #007BFF;
    color: white;
}
.read-more-button {
    display: inline-block;
    padding: 8px 16px;
    margin-left: 10px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}
.read-more-button:hover {
    background-color: #0056b3;
}
.read-more-button.disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    pointer-events: none;
}
.team-header {
    background-color: #1F2A44;
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 20px;
}
.team-header h1 {
    margin: 0;
    font-size: 3em;
}
.team-header p {
    margin: 10px 0 0;
    font-size: 1.2em;
}
.team-sections {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}
.team-section {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
}
.team-section h2 {
    color: #1F2A44;
    font-size: 2em;
    margin-bottom: 15px;
}
.team-image {
    max-width: 800px;
    max-height: 600px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}
.current-team-members {
    padding: 40px 20px;
    background-color: #E6ECEF;
    margin-bottom: 40px;
}
.current-team-members h2 {
    color: #1F2A44;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.team-grids {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.team-card {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
.team-card:hover {
    transform: translateY(-5px);
}
.team-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 210px;
    margin-bottom: 10px;
}
.team-card h3 {
    margin: 10px 0 5px;
    font-size: 1.2em;
    color: #1F2A44;
}
.team-card p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #666;
}
.alumni-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.alumni-section h2 {
    color: #1F2A44;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}
.alumni-section p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1em;
}
.alumni-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.alumni-card {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
.alumni-card:hover {
    transform: translateY(-5px);
}
.alumni-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 210px;
    margin-bottom: 10px;
}
.alumni-card h3 {
    margin: 10px 0 5px;
    font-size: 1.2em;
    color: #1F2A44;
}
.alumni-card p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #666;
}
.contact-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-section h2 {
    color: #1F2A44;
    font-size: 2em;
    margin-bottom: 10px;
}
.contact-section p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 20px;
}
.contact-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}
.contact-form, .contact-details {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px;
    width: 88%;
}
.contact-form p {
    margin-bottom: 15px;
    color: #666;
}
.contact-form label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    color: #1F2A44;
    font-weight: bold;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}
.contact-form textarea {
    resize: vertical;
}
.contact-details h3 {
    color: #1F2A44;
    font-size: 1.5em;
    margin-bottom: 15px;
}
.contact-details p {
    margin: 10px 0;
    color: #666;
}
.contact-details a {
    color: #1F2A44;
    text-decoration: none;
}
.contact-details a:hover {
    text-decoration: underline;
}
.institutions-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
.institutions-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
}
.institution-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.institution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.card-image {
    width: 150px;
    height: 150px;
    margin-right: 20px;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
    text-align: left;
}
.card-name h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #1F2A44;
}
.card-name a {
    color: #1F2A44;
    text-decoration: none;
}
.card-name a:hover {
    text-decoration: underline;
}
.card-address {
    margin: 5px 0;
    font-size: 1em;
    color: #666;
}
.card-description {
    margin: 5px 0;
    font-size: 1em;
    color: #666;
}
.news-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.news-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.news-controls select, .news-controls input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.news-layout {
    display: flex;
    gap: 20px;
}
.news-main {
    flex: 0 0 60%;
}
.news-sidebar {
    flex: 0 0 40%;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.news-sidebar h3 {
    color: #1F2A44;
    font-size: 1.3em;
    margin-bottom: 10px;
}
.news-sidebar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.news-card {
    display: flex;
    border: 2px solid #ddd;
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.news-thumbnail {
    width: 30%;
    height: 120px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 8px;
}
.news-content {
    width: 70%;
    text-align: justify;
}
.news-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}
.news-content p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}
.news-sidebar .news-card {
    padding: 8px;
}
.news-sidebar .news-thumbnail {
    height: 80px;
    margin-right: 10px;
}
.news-sidebar .news-content h3 {
    font-size: 1em;
    margin: 0 0 5px 0;
}
.news-sidebar .news-content p {
    font-size: 0.75em;
    line-height: 1.3;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
.nav-menu {
    display: flex;
    align-items: center;
}

/* Media Queries for Responsive Design */
@media (max-width: 995px) {
    body {
        padding-top: 100px;
    }
    .section-image {
        float: none;
        max-width: 100%;
        margin: 0 0 15px;
    }
    .text-content {
        clear: both;
    }
    header {
        padding: 20px 15px;
    }
    nav a {
        margin: 10px 0;
        font-size: 0.9em;
    }
    .hero .slide {
        height: 400px;
    }
    .hero .slide p {
        font-size: 1em;
        padding: 10px 20px;
    }
    .hero .nav-arrow {
        padding: 10px;
        font-size: 1.2em;
    }
    .hero .prev-arrow {
        left: 10px;
    }
    .hero .next-arrow {
        right: 10px;
    }
    .section {
        padding: 30px 15px;
    }
    .section h2 {
        font-size: 1.8em;
    }
    .news-grid, .projects-grid, .sponsor-grid, .news-list, .news-sidebar-grid, .team-grid, .alumni-grid {
        grid-template-columns: 1fr;
    }
    .news-item, .project-item, .news-card, .sponsor-card, .team-card, .alumni-card {
        width: 100%;
    }
    .news-thumbnail, .project-thumbnail {
        width: 40%;
        height: 100px;
    }
    .news-content, .project-content {
        width: 60%;
    }
    .footer-section {
        width: 45%;
    }
    .team-header {
        padding: 40px 15px;
    }
    .team-header h1 {
        font-size: 2.5em;
    }
    .team-header p {
        font-size: 1em;
    }
    .team-sections {
        padding: 15px 0;
    }
    .team-image {
        max-width: 100%;
        max-height: 300px;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-photo {
        height: 200px;
    }
    .alumni-grid {
        grid-template-columns: 1fr;
    }
    .alumni-photo {
        height: 250px;
    }
    .about-header {
        padding: 30px 15px;
    }
    .about-header h1 {
        font-size: 2em;
    }
    .about-header p {
        font-size: 1em;
    }
    .institution-card {
        width: 100%;
    }
    .card-image {
        width: 120px;
        height: 120px;
    }
    .card-image img {
        border-radius: 4px;
    }
    .news-layout {
        flex-direction: column;
    }
    .news-main, .news-sidebar {
        flex: 0 0 100%;
    }
    .news-sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 725px) {
    body {
        padding-top: 140px;
    }
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 15px;
        min-height: 140px;
    }
    header .logo-container {
        margin-bottom: 10px;
    }
    header .title-container {
        display: flex;
        flex-direction: row;
        margin-bottom: 10px;
    }
    header .title-container h1 {
        font-size: 1.5em;
    }
    header .title-container h2 {
        font-size: 1em;
    }
    .hamburger {
        display: block;
        position: absolute;
        top: 20px;
        right: 15px;
        left: auto;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 140px;
        left: 0;
        background-color: #1F2A44;
        padding: 15px 0;
        z-index: 999;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu.active .title-container {
        display: none;
    }
    .nav-menu a {
        margin: 10px 20px;
        text-align: left;
        font-size: 1em;
        padding: 10px;
        display: block;
    }
    .nav-menu a.active {
        margin: 10px 20px;
        text-align: left;
    }
    .hero .slide {
        height: 300px;
    }
    .hero .slide p {
        font-size: 0.9em;
        padding: 8px 15px;
    }
    .hero .nav-arrow {
        padding: 8px;
        font-size: 1em;
    }
    .hero .prev-arrow {
        left: 10px;
    }
    .hero .next-arrow {
        right: 10px;
    }
    .section h2 {
        font-size: 1.6em;
    }
    .news-item, .project-item, .news-card {
        flex-direction: column;
        align-items: center;
    }
    .news-thumbnail, .project-thumbnail {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .news-content, .project-content {
        width: 100%;
        text-align: justify;
    }
    .project-card-detail {
        flex-direction: column;
        align-items: center;
    }
    .project-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        margin-bottom: 15px;
    }
    .project-details {
        width: 100%;
        text-align: justify;
    }
    .footer-section {
        width: 100%;
        text-align: center;
    }
    .sponsor-card {
        width: 100%;
    }
    .team-header {
        padding: 30px 10px;
    }
    .team-header h1 {
        font-size: 2em;
        line-height: 1.2;
    }
    .team-header p {
        font-size: 0.9em;
        line-height: 1.4;
        max-width: 90%;
        margin: 8px auto;
    }
    .team-sections {
        padding: 10px;
        gap: 30px;
    }
    .team-section {
        padding: 20px;
    }
    .team-image {
        max-height: 200px;
        width: 100%;
        object-fit: cover;
    }
    .team-section h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    .team-section p {
        font-size: 0.9em;
        line-height: 1.4;
    }
    .current-team-members {
        padding: 20px 10px;
        margin-bottom: 30px;
    }
    .current-team-members h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .team-photo {
        width: 150px;
        height: 150px;
        border-radius: 150px;
    }
    .team-card {
        padding: 10px;
    }
    .team-card h3 {
        font-size: 1.1em;
        margin: 8px 0 4px;
    }
    .team-card p {
        font-size: 0.85em;
        line-height: 1.3;
    }
    .alumni-section {
        padding: 20px 10px;
        margin-bottom: 30px;
    }
    .alumni-section h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    .alumni-section p {
        font-size: 0.9em;
        line-height: 1.4;
        max-width: 90%;
        margin: 0 auto 15px;
    }
    .alumni-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .alumni-photo {
        width: 150px;
        height: 150px;
        border-radius: 150px;
    }
    .alumni-card {
        padding: 10px;
    }
    .alumni-card h3 {
        font-size: 1.1em;
        margin: 8px 0 4px;
    }
    .alumni-card p {
        font-size: 0.85em;
        line-height: 1.3;
    }
    .about-header {
        padding: 30px 10px;
    }
    .about-header h1 {
        font-size: 1.8em;
    }
    .about-header p {
        font-size: 0.9em;
    }
    .institution-card {
        flex-direction: column;
        align-items: center;
    }
    .card-image {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .card-image img {
        border-radius: 3px;
    }
    .card-content {
        width: 100%;
        text-align: center;
    }
    .card-name h3 {
        font-size: 1.3em;
    }
    .card-address {
        font-size: 0.9em;
    }
    .card-description {
        font-size: 0.9em;
    }
    .mission-vision-motto {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .card {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 335px) {
    body {
        padding-top: 120px;
    }
    .section-image {
        max-height: 200px;
        width: 100%;
        margin: 0 0 10px;
    }
    header {
        padding: 15px 10px;
        min-height: 120px;
    }
    header .logo-container img {
        height: 40px;
    }
    header .title-container h1 {
        font-size: 1.2em;
    }
    header .title-container h2 {
        font-size: 0.9em;
    }
    .hamburger {
        top: 15px;
        right: 10px;
        left: auto;
    }
    .nav-menu {
        top: 120px;
    }
    .nav-menu a {
        font-size: 0.9em;
        margin: 8px 15px;
        padding: 8px;
    }
    .nav-menu a.active {
        margin: 8px 15px;
    }
    .hero .slide {
        height: 200px;
    }
    .hero .slide p {
        font-size: 0.8em;
        padding: 5px 10px;
    }
    .hero .nav-arrow {
        padding: 6px;
        font-size: 0.8em;
    }
    .hero .prev-arrow {
        left: 5px;
    }
    .hero .next-arrow {
        right: 5px;
    }
    .section {
        padding: 20px 10px;
    }
    .section h2 {
        font-size: 1.4em;
    }
    .news-item, .project-item, .news-card {
        flex-direction: column;
        align-items: center;
    }
    .news-thumbnail, .project-thumbnail {
        width: 100%;
        height: 120px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .news-content, .project-content {
        width: 100%;
        text-align: justify;
    }
    .project-card-detail {
        flex-direction: column;
        align-items: center;
    }
    .project-image {
        width: 100%;
        height: 150px;
        object-fit: cover;
        margin-bottom: 10px;
    }
    .project-details {
        width: 100%;
        text-align: justify;
    }
    .sponsor-card {
        width: 100%;
    }
    .team-header {
        padding: 20px 8px;
    }
    .team-header h1 {
        font-size: 1.6em;
        line-height: 1.2;
    }
    .team-header p {
        font-size: 0.85em;
        line-height: 1.3;
        max-width: 95%;
        margin: 6px auto;
    }
    .team-sections {
        padding: 8px;
        gap: 20px;
    }
    .team-section {
        padding: 15px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .team-image {
        max-height: 150px;
        width: 100%;
        object-fit: cover;
    }
    .team-section h2 {
        font-size: 1.3em;
        margin-bottom: 8px;
    }
    .team-section p {
        font-size: 0.85em;
        line-height: 1.3;
    }
    .current-team-members {
        padding: 15px 8px;
        margin-bottom: 20px;
    }
    .current-team-members h2 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }
    .team-grid {
        gap: 12px;
    }
    .team-photo {
        width: 120px;
        height: 120px;
        border-radius: 120px;
    }
    .team-card {
        padding: 8px;
    }
    .team-card h3 {
        font-size: 1em;
        margin: 6px 0 3px;
    }
    .team-card p {
        font-size: 0.8em;
        line-height: 1.2;
    }
    .alumni-section {
        padding: 15px 8px;
        margin-bottom: 20px;
    }
    .alumni-section h2 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }
    .alumni-section p {
        font-size: 0.85em;
        line-height: 1.3;
        max-width: 95%;
        margin: 0 auto 12px;
    }
    .alumni-grid {
        gap: 12px;
    }
    .alumni-photo {
        width: 120px;
        height: 120px;
        border-radius: 120px;
    }
    .alumni-card {
        padding: 8px;
    }
    .alumni-card h3 {
        font-size: 1em;
        margin: 6px 0 3px;
    }
    .alumni-card p {
        font-size: 0.8em;
        line-height: 1.2;
    }
    .about-header {
        padding: 20px 10px;
    }
    .about-header h1 {
        font-size: 1.5em;
    }
    .about-header p {
        font-size: 0.8em;
    }
    .about-section.about-blended {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .mission-vision-motto {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .card {
        width: 100%;
        margin-bottom: 15px;
        flex: 0 0 auto;
    }
    .institution-card {
        flex-direction: column;
        align-items: center;
    }
    .card-image {
        width: 100%;
        height: 120px;
        margin-bottom: 10px;
    }
    .card-image img {
        border-radius: 3px;
    }
    .card-content {
        width: 100%;
        text-align: center;
    }
    .card-name h3 {
        font-size: 1.2em;
    }
    .card-address {
        font-size: 0.8em;
    }
    .card-description {
        font-size: 0.8em;
    }
}

/* Explicitly ensure large screens have correct padding */
@media (min-width: 996px) {
    body {
        padding-top: 100px; /* Matches header min-height for large screens */
    }
}