﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=Playfair+Display:400;700&display=swap');

/* Universal Styles & Base */
:root {
    --primary-color: #3498db;
    /* A fresh blue */
    --secondary-color: #2c3e50;
    /* Darker blue/grey */
    --accent-color: #e74c3c;
    /* Red for accents */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #222;
    --header-height: 100px;
    /* Button specific colors from the image */
    --btn-red: #e74c3c;
    --btn-blue: #3498db;
    --btn-green: #2ecc71;
    --btn-purple: #9b59b6;
    --btn-orange: #f39c12;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f0f2f5;
    /* Lighter, softer background */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-top: 0;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}


a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

    a:hover {
        color: var(--accent-color);
    }

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    /* Pill shape */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

    .btn-primary:hover {
        background-color: var(--accent-color);
        transform: translateY(-3px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }

/* Header */
header {
    background-color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 15px 10;
    /*display: flex;*/
    /*justify-content: center;*/
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /*height: var(--header-height);*/
    transition: all 0.3s ease;
}

    header.scrolled {
        padding: 10px 10;
        /* Smaller on scroll */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 10px;
    /*gap: 15px;*/
}

.logo img {
    height: 60px;
    width: auto;
}

.header-title {
    flex: 1;
    text-align: left;
}

.program-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 10px;
    line-height: 1.3;
    color: #1a1a1a;
}

.semester-text {
    font-size: 1rem;
    color: #666;
}


.logo::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease-out;
}

.logo:hover::after {
    width: 100%;
}


.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-left: 40px;
}

.login-btn {
    padding: 20px 30px;
    background-color: #1d4ed8; /* Tailwind blue-700 */
    color: #ffffff;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .login-btn:hover {
        background-color: #2563eb; /* Tailwind blue-600 */
    }


.nav-login-btn {
    padding: 6px 14px;
    margin-left: 20px;
    background-color: #004080;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

    .nav-login-btn:hover {
        background-color: #0059b3;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }


.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    font-size: 1.05rem;
}

    .main-nav a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        left: 0;
        bottom: -8px;
        transition: width 0.3s ease;
    }

    .main-nav a:hover::after,
    .main-nav a.active::after {
        width: 100%;
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
}

    .hamburger .bar {
        width: 25px;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease-in-out;
    }

    /* Optional animation */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

/* Responsive: Show menu by default on large screens */
@media (min-width: 768px) {

    .hamburger {
        display: none;
    }
}

/* Optional: Make sure Login button doesn’t wrap on small screens */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-actions {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 10px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .login-btn {
        align-self: flex-start;
    }
}


/* Hamburger Menu */
.hamburger {
    display: none;
    /* Hidden by default on larger screens */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1100;
    /* Above nav */
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
}

    .hamburger .bar {
        width: 100%;
        height: 3px;
        background-color: var(--secondary-color);
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }

    /* Hamburger Animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }


/* Hero Section (now based on the slider) */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 85vh;
    /* Make it tall for a hero section */
    min-height: 550px;
    /* Minimum height for larger screens */
    margin-top: var(--header-height);
    /* Push down below fixed header */
    background-color: var(--light-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    /* Text color that works with potential background images/gradients */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border-bottom-left-radius: 10px;
    /* Rounded corners for the bottom */
    border-bottom-right-radius: 10px;
    animation: fadeIn 1s ease-out forwards;
}

.slider-container {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
    width: 100%;
    position: relative;
    /* Needed for absolute positioning of slides */
}

    .slider-container .slide {
        flex-shrink: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        /*padding: 40px;*/
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
        position: absolute;
        top: 0;
        left: 0;
        /*background: linear-gradient(135deg, var(--primary-color) 0%, #6dd5ed 100%);*/
        color: white;
    }

        .slider-container .slide.active {
            opacity: 1;
            position: relative;
            /* Active slide takes up space */
            animation: slideContentIn 0.8s ease-out forwards;
        }

/* Individual slide backgrounds (optional, for visual variation) */
/*.slider-container .slide:nth-child(1) {
            background: linear-gradient(135deg, var(--primary-color) 0%, #6dd5ed 100%);
        }

        .slider-container .slide:nth-child(2) {
            background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);*/
/* Green gradient */
/*}

        .slider-container .slide:nth-child(3) {*/
/*background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);*/
/*}*/

.slide-hero-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.slide-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    filter: brightness(65%); /* Darkens the image for better text contrast */
}

.slide-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    padding: 20px;
    z-index: 2;
}

    .slide-text-overlay h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .slide-text-overlay p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

.btn-primary {
    background-color: #ffffff;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: #ddd;
    }





.slide h1 {
    /* Changed from h3 to h1 for hero title */
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 1s ease-out forwards 0.5s;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.slide p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 1s ease-out forwards 0.7s;
    font-weight: 300;
}

.slide .btn-primary {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 1s ease-out forwards 0.9s;
}


.control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 2rem;
    z-index: 10;
    border-radius: 50%;
    /* Circular buttons */
    transition: background-color 0.3s ease, transform 0.2s ease;
    user-select: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

    .control-btn:hover {
        background-color: rgba(0, 0, 0, 0.7);
        transform: translateY(-50%) scale(1.05);
    }

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

/* News & Announcement Section Container */
.news-announcement-section {
    padding: 80px 20px;
    /* Reduced top padding as it's not a hero */
    background-color: #f8f9fa;
    /* A slightly different background */
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.03);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* About content wider than announcements */
    gap: 60px;
    align-items: flex-start;
    /* Align content to the top of their grid cells */
}

/* Left Column: About Us */
.about-content {
    text-align: left;
    /* Keep text left-aligned within its column */
    padding-right: 20px;
    /* Some padding from the divider */
}

    .about-content h2 {
        margin-bottom: 30px;
        position: relative;
        display: inline-block;
    }

        .about-content h2::after {
            content: '';
            position: absolute;
            width: 70%;
            height: 4px;
            background-color: var(--primary-color);
            left: 15%;
            /* Adjust as per alignment */
            bottom: -10px;
            border-radius: 2px;
        }

    .about-content p {
        margin-bottom: 20px;
        font-size: 1.1rem;
        color: #555;
        line-height: 1.8;
    }

/* Right Column: Latest Announcements */
.announcements-column {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    /* Text within announcements left-aligned */
}

    .announcements-column h2 {
        font-size: 2rem;
        color: var(--secondary-color);
        margin-bottom: 30px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        /* Align heading and NEW tag */
        position: relative;
    }

        .announcements-column h2::after {
            content: '';
            /* No underline for this heading */
            width: 0;
            height: 0;
        }

    .announcements-column .new-tag {
        background-color: var(--accent-color);
        color: white;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 4px;
        margin-left: 15px;
        /* Space from heading */
        position: relative;
        top: -5px;
        /* Slightly raise it */
        animation: pulse 1.5s infinite alternate;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}


.announcement-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

    .announcement-item:last-child {
        border-bottom: none;
        /* No border for the last item */
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .announcement-item p {
        font-size: 1rem;
        color: #555;
        margin-bottom: 15px;
    }

    .announcement-item .announcement-date {
        color: var(--primary-color);
        font-weight: 600;
        margin-bottom: 10px;
        display: block;
        font-size: 0.95rem;
    }

/* Announcement Buttons */
.announcement-buttons {
    display: flex;
    flex-wrap: wrap;
    /* Allow buttons to wrap */
    gap: 10px;
    /* Space between buttons */
    margin-top: 15px;
}

    .announcement-buttons .btn {
        padding: 8px 15px;
        border-radius: 5px;
        /* Less rounded than main buttons */
        font-size: 0.9rem;
        font-weight: 500;
        text-transform: none;
        /* No uppercase for these */
        letter-spacing: normal;
        transition: all 0.2s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

/* Specific button colors */
.btn-red {
    background-color: var(--btn-red);
    color: white;
}

    .btn-red:hover {
        background-color: #c0392b;
        transform: translateY(-2px);
    }

.btn-blue-announcement {
    background-color: var(--btn-blue);
    color: white;
}

    .btn-blue-announcement:hover {
        background-color: #2980b9;
        transform: translateY(-2px);
    }

.btn-green {
    background-color: var(--btn-green);
    color: white;
}

    .btn-green:hover {
        background-color: #27ae60;
        transform: translateY(-2px);
    }

.btn-purple {
    background-color: var(--btn-purple);
    color: white;
}

    .btn-purple:hover {
        background-color: #8e44ad;
        transform: translateY(-2px);
    }

.btn-orange {
    background-color: var(--btn-orange);
    color: white;
}

    .btn-orange:hover {
        background-color: #d35400;
        transform: translateY(-2px);
    }


/* Services Section */
.services-section {
    padding: 20px 20px;
    background-color: var(--light-bg);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

    .services-section h2 {
        margin-bottom: 50px;
        position: relative;
        display: inline-block;
    }

        .services-section h2::after {
            content: '';
            position: absolute;
            width: 70%;
            height: 4px;
            background-color: var(--primary-color);
            left: 15%;
            bottom: -10px;
            border-radius: 2px;
        }

/*.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}*/


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* exactly 5 in a row */
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 7px;
}




.service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* overflow: hidden;*/
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background-color: var(--primary-color);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease-out;
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    }

    .service-card i {
        font-size: 3.5rem;
        color: var(--primary-color);
        margin-bottom: 20px;
        transition: color 0.3s ease;
    }

    .service-card:hover i {
        color: var(--accent-color);
    }

    .service-card h3 {
        font-size: 1.7rem;
        margin-bottom: 15px;
        color: var(--secondary-color);
    }

    .service-card p {
        font-size: 1rem;
        color: #666;
    }

/* Call to Action Section */
.cta-section {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #4a627a 100%);
    color: white;
    text-align: center;
    padding: 120px 20px;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -50px;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
        z-index: 1;
    }

    .cta-section h2 {
        font-size: 3.5rem;
        margin-bottom: 30px;
        color: white;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    }

    .cta-section p {
        font-size: 1.4rem;
        max-width: 900px;
        margin: 0 auto 50px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 300;
    }

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0 30px;
    text-align: left;
    /*opacity: 0;*/
    transform: translateY(20px);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
}

    .footer-col h3 {
        color: white;
        margin-bottom: 25px;
        font-size: 1.6rem;
        position: relative;
        padding-bottom: 10px;
    }

        .footer-col h3::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background-color: var(--primary-color);
            left: 0;
            bottom: 0;
        }


    .footer-col p,
    .footer-col ul {
        font-size: 1rem;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.8);
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
    }

        .footer-col ul li a {
            color: rgba(255, 255, 255, 0.7);
            display: block;
            padding: 8px 0;
            transition: color 0.3s ease, transform 0.2s ease;
        }

            .footer-col ul li a:hover {
                color: white;
                transform: translateX(5px);
            }

.social-links a {
    color: white;
    margin-right: 18px;
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.15);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

    .social-links a:hover {
        background-color: var(--primary-color);
        transform: translateY(-3px) scale(1.1);
    }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes moveShape {
    0% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -20px) scale(1.05);
    }

    50% {
        transform: translate(0, 20px) scale(1.1);
    }

    75% {
        transform: translate(-20px, -20px) scale(1.05);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes slideContentIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Class added by JS for sections */
.animated {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-nav li {
        margin-left: 25px;
    }

    .slide h1 {
        font-size: 3.2rem;
    }

    .slide p {
        font-size: 1.1rem;
    }

    .cta-section h2 {
        font-size: 2.8rem;
    }

    .news-announcement-section {
        grid-template-columns: 1fr;
        /* Stack columns on smaller screens */
        gap: 40px;
    }

    .about-content {
        padding-right: 0;
    }

        .about-content h2::after {
            left: 50%;
            transform: translateX(-50%);
        }

    .announcements-column h2 {
        justify-content: center;
        /* Center heading on mobile */
    }

        .announcements-column h2 .new-tag {
            position: static;
            /* Remove absolute positioning */
            margin-left: 10px;
            top: auto;
        }

    .announcement-item {
        text-align: center;
        /* Center announcement text on mobile */
    }

    .announcement-buttons {
        justify-content: center;
        /* Center buttons on mobile */
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        /* Keep logo and hamburger on one line */
        justify-content: space-between;
        align-items: center;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        /* Position below header */
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        /* Full height minus header */
        background-color: white;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        /* Hidden by default */
        transition: transform 0.4s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        /* Enable scrolling for long menus */
    }

        .main-nav.active {
            transform: translateX(0);
            /* Show menu */
        }

        .main-nav ul {
            flex-direction: column;
            text-align: center;
            width: 100%;
        }

        .main-nav li {
            margin: 20px 0;
            /* More spacing for vertical menu */
        }

        .main-nav a {
            font-size: 1.5rem;
            /* Larger links for touch */
            color: var(--secondary-color);
        }

            .main-nav a::after {
                background-color: var(--secondary-color);
                /* Match active color */
            }

    .hamburger {
        display: flex;
        /* Show hamburger on small screens */
    }

    .hero-slider {
        height: 60vh;
        min-height: 400px;
        padding: 120px 20px 80px;
    }

    .slide h1 {
        font-size: 2.8rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .control-btn {
        padding: 10px 12px;
        font-size: 1.5rem;
    }

    .prev-slide {
        left: 10px;
    }

    .next-slide {
        right: 10px;
    }

    .announcement-section {
        font-size: 0.9rem;
        padding: 15px 10px;
    }

        .announcement-section .fa-bullhorn {
            margin-right: 10px;
            font-size: 1.1rem;
        }

    .about-section,
    .services-section,
    .cta-section {
        padding: 80px 20px;
    }

        .about-section h2,
        .services-section h2 {
            font-size: 2.2rem;
        }

    .about-content {
        min-width: unset;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Stack cards on small screens */
    }

    .cta-section h2 {
        font-size: 2.4rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        min-width: unset;
        width: 100%;
        margin-bottom: 30px;
    }

        .footer-col h3::after {
            left: 50%;
            transform: translateX(-50%);
        }

        .footer-col ul {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

    .social-links {
        display: flex;
        justify-content: center;
    }
}

.admission-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
}

.admission-table thead {
    background-color: #e2e8f0;
    color: #111827;
    font-weight: bold;
}

.admission-table th, .admission-table td {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
}

.admission-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.admission-table tr:hover {
    background-color: #f1f5f9;
}

.admission-table h3, .cta-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: #1e293b;
}
