.content {
    text-align: center;
    font-size: 2em;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f3fffe;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Add default header style */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white; /* fallback before scroll */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Adjust body to prevent content hiding behind fixed header */
body {
    flex-direction: column;
    min-height: 100vh;
}

/* Hero Section */
        .hero {
            background: #000; /* just a plain dark background */
            position: relative;
            overflow: hidden;
            background-position: center;
            background-repeat: no-repeat;
            min-height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white; 
        }

        .hero::before {
            content: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,800 1000,1000"/></svg>');
            background-size: cover;
            animation: float 6s ease-in-out infinite;
            z-index: 100    z;
        }

                
        .hero-slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }


        .hero-slide.active {
        opacity: 1;
        }


        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(1deg); }
        }

        .hero-content {
            max-width: 800px;
            padding: 2rem;
            z-index: 2;
        }

        p.hero-subtitle {
            font-size: clamp(0.75rem, 1.8vw, 1rem);
            animation: slideInUp 1s ease 0.3s forwards;
            margin: 0 auto clamp(2rem, 3vw, 6rem);
            padding-top: clamp(1rem, 2vw, 3rem);
        }

        .hero-subtitle img {
            width: clamp(20px, 4vw, 30px);
            height: auto;
            vertical-align: middle;
            margin-right: clamp(5px, 1vw, 10px);
        }


        .hero-title {
            font-size: clamp(2rem, 6vw, 3.5rem);
            font-weight: 700;
            margin-bottom: clamp(1rem, 3vw, 2rem);
            line-height: 1.2;
            opacity: 0;
            color: white;
            animation: slideInUp 1s ease 0.6s forwards;
        }

        .hero-title .word { 
        display: inline-block;
        animation: flipInWord 0.8s ease forwards;
        font-family: "PT Serif", serif;
        font-weight: 900;
        text-shadow: 2px 4px 10px rgb(190 194 131);
        }

        .hero-title .word:nth-child(1) {
            animation-delay: 0.8s;
        }

        .hero-title .word:nth-child(2) {
            animation-delay: 1.2s;
        }


        @keyframes flipInWord {
            0% {
                opacity: 0;
                transform: translateY(50px) rotateX(90deg);
            }
            50% {
                opacity: 0.5;
                transform: translateY(0) rotateX(45deg);
            }
            100% {
                opacity: 1;
                transform: translateY(0) rotateX(0deg);
            }
        }

        /* Remove search-related styles */

        /* Wave Effect */
        .wave {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
            transform: rotate(180deg);
            z-index: 100;
        }

        .wave svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 50px;
        }

        .wave .shape-fill {
            fill: #f3fffe;
        }

        /* Animations */
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #333;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-container {
                padding: 1rem;
            }

            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: white;
                flex-direction: column;
                padding: 1rem;
                box-shadow: 0 5px 15px rgba(0,0,0,0.1);
                gap: 1rem;
                transform: none;
            }

            .nav-menu .nav-links {
                flex-direction: column;
                gap: 1rem;
            }

            .nav-menu.active {
                display: flex;
                animation: slideDown 0.3s ease;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .search-container {
                border-radius: 15px;
                max-width: 90%;
            }

            .hero-content {
                padding: 1rem;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem;
            }

/*            .nav-container {
                padding: 0.5rem 1rem;
            }*/
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Remove search-related hover effects */

        /* Additional smooth transitions */
        * {
            transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
        }


.quote {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: clamp(10px, 3vw, 20px) auto;
    padding: clamp(3px, 1vw, 5px);
    max-width: 1400px;
    width: 100%;
}

.quote img {
    width: 100%;
    height: auto;
    display: block;
}

/* Announcements Section */
.announcements-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.announcements-section .container {
    max-width: 1226px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #102572, #5dc0d6);
    border-radius: 2px;
}

.announcements-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.announcements-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5dc0d6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.announcement-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.announcement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.announcement-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #102572, #5dc0d6);
}

.announcement-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.announcement-card:hover .announcement-image {
    transform: scale(1.05);
}

.announcement-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.announcement-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.announcement-text {
    font-size: 1rem;
    color: #495057;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.announcement-date i {
    color: #5dc0d6;
}

.announcements-empty {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}


/* calendar events */
        .container {
            max-width: 1226px;
            margin: 0 auto;
            padding: clamp(10px, 3vw, 20px);
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: clamp(15px, 4vw, 30px);
            margin-bottom: clamp(40px, 8vw, 80px);
            z-index: 1;
            position: relative;
        }


        .event-item {
            display: flex;
            margin-bottom: clamp(15px, 3vw, 25px);
            padding: clamp(15px, 2.5vw, 20px);
            background: #feffff;
            border-radius: 10px;
            transition: all 0.3s 
            cubic-bezier(0.44, 0.16, 0.22, 0.9);
            border-bottom: 1.7px solid rgb(226 185 50 / 30%);
            box-shadow: 0 0 0 1px rgb(227 213 113 / 14%);
            flex-wrap: wrap;
        }

        .event-item:hover {
            background: #fcffe3c4;
            transform: translateX(5px);
            transform: translateY(-10px);
            box-shadow: 0 12px 24px rgb(65 64 0 / 20%);
        }

        .event-item:last-child {
            margin-bottom: 0;
        }

      .date-box {
            background: linear-gradient(135deg, #102572, #5dc0d6);
            color: #ffffff;
            width: clamp(60px, 10vw, 80px);
            height: clamp(60px, 10vw, 80px);
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-right: clamp(10px, 2.5vw, 20px);
            font-weight: bold;
            transition: transform 0.3s ease;
            flex-shrink: 0;
      }

        .event-item:hover .date-box {
            transform: scale(1.05);
        }

        .date-number {
            font-size: clamp(18px, 3vw, 24px);
            font-weight: 700;
        }

        .date-month {
            font-size: clamp(10px, 1.5vw, 12px);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .event-details {
            flex: 1;
            min-width: 0;
            min-width: 200px;
        }

        .event-title {
            font-size: clamp(14px, 2.2vw, 18px);
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
            transition: color 0.3s ease;
        }

        .event-item:hover .event-title {
            color: #3243f9;
        }

         .event-meta {
            display: flex;
            align-items: center;
            color: #6c757d;
            font-size: 14px;
            margin-bottom: 10px;
            gap: 20px;
            flex-wrap: wrap; /* Allow wrapping on smaller screens */
        }

        .event-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .event-description {
            color: #495057;
            font-size: 14px;
            line-height: 1.5;
        }


        .calendar-header {
            text-align: center;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 15px;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
        }

        .calendar-day-header {
            text-align: center;
            font-size: 12px;
            font-weight: 600;
            color: #6c757d;
            padding: 8px 4px;
            background: #f8f9fa;
        }

        .calendar-day {
            text-align: center;
            padding: 8px 4px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 4px;
        }

        .calendar-day:hover {
            background: #e9ecef;
            transform: scale(1.1);
        }

        .calendar-day.other-month {
            color: #ced4da;
        }

        .calendar-day.today {
            background: #69a8e7;
            color: white;
            font-weight: bold;
        }

        .calendar-day.event-day {
            background: #165a99;
            color: white;
            font-weight: bold;
        }

        .featured-event {
            position: relative;
            overflow: hidden;
            flex: 1; /* Allow it to fill remaining space */
        }

        .featured-image {
            width: 100%;
            height: 150px; /* Reduced height */
            background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
            border-radius: 8px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
            transition: transform 0.3s ease;
        }

        .featured-event:hover .featured-image {
            transform: scale(1.02);
        }

        .featured-title {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
        }

        .featured-date {
            color: #3932f0;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .featured-description {
            color: #6c757d;
            font-size: 14px;
            line-height: 1.5;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
                padding: 10px;
                min-height: auto;
                max-height: none;
            }

            .events-section {
                padding: 20px;
                max-height: 60vh; /* Limit height on mobile */
            }

            .event-item {
                flex-direction: column;
                text-align: center;
            }

            .date-box {
                margin: 0 auto 15px auto;
            }

            .event-meta {
                justify-content: center;
                flex-wrap: wrap;
            }

            .featured-image {
                height: 120px;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .event-item {
            animation: fadeInUp 0.6s ease forwards;
        }

        .event-item:nth-child(1) { animation-delay: 0.1s; }
        .event-item:nth-child(2) { animation-delay: 0.2s; }
        .event-item:nth-child(3) { animation-delay: 0.3s; }
        .event-item:nth-child(4) { animation-delay: 0.4s; }