/* Modern Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0070BA;
    --secondary-color: #F5A623;
    --text-color: #333333;
    --heading-color: #003366;
    --light-text: #FFFFFF;
    --background: #FFFFFF;
    --accent-bg: #B3D9FF;
    --transition: all 0.3s ease;
    --focus-outline: 3px solid #0070BA;
    --focus-outline-offset: 2px;
    --header-height: 70px;
    --mobile-padding: 1rem;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Modern Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add decorative layer below navbar */
header::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    z-index: 1001;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2%;
    max-width: 1400px;
    margin: 0 auto;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 2rem;
}

.logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.logo h1 {
    font-size: 1.2rem;
    color: var(--light-text);
    font-weight: 600;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    will-change: transform;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    transition: var(--transition);
}

.hamburger:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Enhanced Hero Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    overflow: hidden;
    margin-top: 80px;
}

.slider-container {
    height: 100%;
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-text);
    z-index: 1;
    width: 90%;
    max-width: 800px;
    opacity: 0;
    transition: all 0.8s ease-in-out 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--light-text);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    will-change: transform;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--light-text);
    transform: scale(1.2);
}
 
.notice-marquee {
    background-color: #003366;
    color: var(--light-text);
    padding: 0.6rem 0;
    font-size: 0.9rem;
}

.notice-marquee .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.marquee-icon i {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.marquee-track {
    flex: 1;
    overflow: hidden;
}

.marquee-content {
    display: inline-flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-content span {
    display: inline-block;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text, .about-image {
        flex: none;
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .logo img {
        height: 40px;
        width: 40px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        height: 50vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 0 20px;
        padding: 2rem 0;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateX(50px);
        transition: 0.5s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }

    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        color: #333;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: #0070BA;
        color: white;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
        padding: 1rem;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        margin: 5px 0;
        transition: 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, -6px);
    }

    /* Overlay when menu is active */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hero Section Mobile */
    .hero-slider {
        height: 50vh;
        margin-top: var(--header-height);
    }

    .slide-content h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .slide-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .notice-marquee {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }

    .marquee-inner {
        gap: 0.5rem;
    }

    .marquee-content {
        gap: 1.5rem;
    }

    /* Programs Section Mobile */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 var(--mobile-padding);
    }

    .program-card {
        padding: 1.5rem;
    }

    /* Features Section Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 var(--mobile-padding);
    }

    .feature {
        padding: 1.5rem;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 var(--mobile-padding);
    }

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

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }

    .logo img {
        height: 40px;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }

    .hero-slider {
        height: 40vh;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .program-card i,
    .feature i {
        font-size: 2rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f9fafc, #e4f1ff);
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--heading-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.about-text .motto {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Programs Overview Section */
.programs-overview {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #fff4e5);
    text-align: center;
}

.programs-overview .container {
    max-width: 1200px;
    margin: 0 auto;
}

.programs-overview h2 {
    color: var(--heading-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.programs-overview h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.program-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.category-card h3 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.category-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.category-card li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.category-card li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.2;
}

.learn-more {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-top: auto;
    align-self: flex-start;
}

.learn-more:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Facebook Feed Section */
.facebook-feed {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #e6f2ff, #f8f9fa);
    text-align: center;
}

.facebook-feed .container {
    max-width: 1200px;
    margin: 0 auto;
}

.facebook-feed h2 {
    color: var(--heading-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.facebook-feed h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.facebook-container {
    max-width: 340px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Our Partners Section */
.our-partners {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ffffff, #e5f7f6);
    text-align: center;
}

.our-partners h2 {
    color: var(--heading-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.our-partners h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-logos img {
    max-height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.partners-logos img:hover {
    transform: scale(1.1);
}

/* Gallery Preview Section */
.gallery-preview {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #fffdf5, #ffe9d6);
    text-align: center;
}

.gallery-preview .container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-preview h2 {
    color: var(--heading-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.gallery-preview h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

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

/* Featured Programs */
.featured-programs {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f5fbff, #e0f7ff);
}

.featured-programs h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--accent-bg);
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 5rem 1rem;
    background-color: var(--accent-bg);
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Quick Highlights Strip */
.quick-highlights {
    background-color: #ffffff;
    padding: 2.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(90deg, #f0f7ff, #ffffff);
}

.highlights-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.highlight-item h3 {
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 0.25rem;
}

.highlight-item p {
    font-size: 0.95rem;
    color: #555;
}

/* Announcements & Updates Section */
.announcements {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #ffffff, #f3f4ff);
}

.announcements-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.announcements-list h2 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.announcements-list ul {
    list-style: none;
}

.announcements-list li {
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.announcement-text h3 {
    font-size: 1.05rem;
    color: var(--heading-color);
    margin-bottom: 0.35rem;
}

.announcement-text p {
    font-size: 0.95rem;
    color: #555;
}

.announcements-highlight {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #005a94);
    color: var(--light-text);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.announcements-highlight h3 {
    margin-bottom: 0.5rem;
}

.announcements-highlight .intake-month {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.announcements-highlight p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.announcements-highlight .cta-button {
    border-color: var(--light-text);
    background-color: var(--light-text);
    color: var(--primary-color);
}

.announcements-highlight .cta-button:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text);
}

.announcements-highlight .mini-links {
    list-style: none;
    margin-top: 1.5rem;
}

.announcements-highlight .mini-links li {
    margin-bottom: 0.35rem;
}

.announcements-highlight .mini-links a {
    color: var(--light-text);
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Student Experience Section */
.student-experience {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e8fff6);
    text-align: center;
}

.student-experience h2 {
    color: var(--heading-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.experience-grid {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.experience-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.experience-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.experience-card h3 {
    color: var(--heading-color);
    margin-bottom: 0.75rem;
}

.experience-card p {
    color: #555;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #ffffff, #f3f0ff);
}

.testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials h2 {
    text-align: center;
    color: var(--heading-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem 1.8rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-style: italic;
    color: #444;
    margin-bottom: 1.5rem;
}

.testimonial-meta h3 {
    font-size: 1rem;
    color: var(--heading-color);
}

.testimonial-meta p {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
footer {
    background-color: var(--heading-color);
    color: var(--light-text);
    padding: 3rem 1rem 1rem;
    position: relative;
}

/* Add decorative layer above footer */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-text);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* About Page Styles */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/about.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.about-hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.about-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.our-story {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff, #f5f9ff);
}

.our-story h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.mission-vision {
    background: linear-gradient(135deg, #f9f9f9, #fff4e5);
    padding: 5rem 0;
}

.mission, .vision {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.mission h2, .vision h2 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.core-values {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f8ff, #e9f9ff);
}

.core-values h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
    }

    .about-hero-content h1 {
        font-size: 2rem;
    }

    .mission, .vision {
        padding: 1rem;
    }
}

/* Programs Page Styles */
.programs-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/gallery/rotary-automotive-launch.jpeg5_.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.programs-hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.programs-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.programs-overview {
    padding: 5rem 0;
}

.programs-overview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.program-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.category-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.category-card ul li {
    margin-bottom: 0.5rem;
    color: #666;
}

.learn-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.learn-more:hover {
    background-color: var(--secondary-color);
}

.program-features {
    background: linear-gradient(135deg, #f9f9f9, #e5fff7);
    padding: 5rem 0;
}

.program-features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.program-duration {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff, #f5f9ff);
}

.program-duration h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.duration-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.duration-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.duration-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.duration-card p {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.duration-card ul {
    list-style: none;
    text-align: left;
}

.duration-card ul li {
    margin-bottom: 0.5rem;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
}

.duration-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
}

.cta-section .cta-button {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.cta-section .cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

/* Responsive Design for Programs Page */
@media (max-width: 768px) {
    .programs-hero-content h1 {
        font-size: 2rem;
    }

    .category-card, .duration-card {
        padding: 1.5rem;
    }
}

/* Admissions Page Styles */
.admissions-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/admissions.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.admissions-hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.admissions-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.application-process {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
}

.application-process h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.requirements {
    background: linear-gradient(135deg, #f9f9f9, #ffe9d6);
    padding: 5rem 0;
}

.requirements h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.requirement-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.requirement-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.requirement-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.requirement-card ul {
    list-style: none;
}

.requirement-card ul li {
    margin-bottom: 0.5rem;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
}

.requirement-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.application-form {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff, #f0f7ff);
}

.application-form h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
    border-color: var(--primary-color);
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

.important-dates {
    background: linear-gradient(135deg, #f9f9f9, #e5f7f6);
    padding: 5rem 0;
}

.important-dates h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.date-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.date-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.date-card p {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive Design for Admissions Page */
@media (max-width: 768px) {
    .admissions-hero-content h1 {
        font-size: 2rem;
    }

    .form {
        padding: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/gallery/IMG_20220602_094956.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.contact-hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.contact-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff, #f0f7ff);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: linear-gradient(135deg, #f9f9f9, #ffe9d6);
    padding: 5rem 0;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.map-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff, #f5f9ff);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-section {
    background: linear-gradient(135deg, #f9f9f9, #f3f0ff);
    padding: 5rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .map-container {
        height: 300px;
    }
}

/* Accessibility Features */
:root {
    --primary-color: #0070BA;
    --secondary-color: #F5A623;
    --text-color: #333333;
    --heading-color: #003366;
    --light-text: #FFFFFF;
    --background: #FFFFFF;
    --accent-bg: #B3D9FF;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Enhanced Navigation Accessibility */
.nav-links a:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Optimize animations */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation: fadeIn 0.5s ease-in;
        will-change: opacity;
    }

    .slide-up {
        animation: slideUp 0.5s ease-out;
        will-change: transform, opacity;
    }
}

/* Optimize images */
img {
    content-visibility: auto;
}

/* Optimize layout shifts */
.logo img {
    aspect-ratio: 1;
    width: 50px;
    height: 50px;
}

/* Optimize paint operations */
.nav-links a::after {
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    will-change: transform;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Optimize scrolling */
.slider-container {
    will-change: transform;
    backface-visibility: hidden;
}

/* Optimize repaints */
.cta-button:hover {
    transform: translateY(-3px);
    will-change: transform;
}

/* Optimize animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .nav-links a {
        text-decoration: underline;
    }
    
    .nav-links a:focus-visible {
        outline: 3px solid var(--light-text);
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider {
        height: 80vh;
    }

    .nav-links {
        padding: 1rem 0;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .nav-links a:hover::after {
        width: 0;
    }

    .nav-links a:active::after {
        width: 80%;
    }

    .cta-button:hover {
        transform: none;
    }

    .cta-button:active {
        transform: translateY(-3px);
    }
}

/* Print Styles */
@media print {
    .nav-links,
    .hamburger,
    .slider-nav,
    .cta-button,
    .social-links {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: none;
        color: #000;
    }

    .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }
}

/* Gallery Page Styles */
.gallery-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/gallery/IMG_20230816_175033.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.gallery-hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.gallery-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1rem;
    color: var(--light-text);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.video-item {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* News & Events Page Styles */
.news-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/gallery/IMG_20220602_094956.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.news-hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.news-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.news-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.events-calendar {
    background: linear-gradient(135deg, #f9f9f9, #e6f2ff);
    padding: 4rem 0;
}

#calendar {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.event-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.event-item:hover {
    transform: translateY(-5px);
}

.event-date {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 1rem;
    text-align: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.event-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Responsive Design for Gallery and News Pages */
@media (max-width: 768px) {
    .gallery-hero-content h1,
    .news-hero-content h1 {
        font-size: 2rem;
    }

    .gallery-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .gallery-grid,
    .video-grid,
    .news-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    #calendar {
        padding: 1rem;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown > a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-color);
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    display: block;
    color: var(--light-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

/* Mobile Dropdown Styles */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
        height: auto;
    }

    .logo {
        margin-right: 0;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem 2rem;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
        opacity: 0;
        transform: translateX(50px);
        transition: 0.5s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a {
        display: block;
        width: 100%;
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
        color: #333;
        border-radius: 5px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--primary-color);
        color: white;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
        padding: 0.5rem;
        background: transparent;
        border: none;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--light-text);
        margin: 5px 0;
        transition: 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, -6px);
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        background: rgba(0, 0, 0, 0.05);
        box-shadow: none;
        padding: 0;
        margin: 0.5rem 0 0.5rem 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.6rem 1rem;
        color: #333;
        font-size: 1rem;
    }

    .dropdown-menu a:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    /* Overlay when menu is active */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media screen and (max-width: 480px) {
    .logo h1 {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        width: 85%;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.7rem 1rem;
    }
}

/* Message from Centre Manager Section */
.manager-message {
    padding: 80px 0;
    background: radial-gradient(circle at top left, #e3f2ff, #ffffff);
}

.manager-message h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.message-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.manager-image {
    flex: 0 0 300px;
}

.manager-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.message-text {
    flex: 1;
}

.message-text h3 {
    color: #0070BA;
    margin-bottom: 20px;
    font-size: 24px;
}

.message-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.manager-signature {
    margin-top: 30px;
    text-align: right;
}

.manager-signature .name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.manager-signature .title {
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .message-content {
        flex-direction: column;
        gap: 30px;
    }

    .manager-image {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }

    .message-text {
        text-align: center;
    }

    .manager-signature {
        text-align: center;
    }
}

/* Tenders Page Styles */
.tenders-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/gallery/IMG_20230816_175033.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.tenders-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tenders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tender-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.tender-card:hover {
    transform: translateY(-5px);
}

.tender-header {
    background: #0070BA;
    color: white;
    padding: 20px;
}

.tender-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.tender-number {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.tender-details {
    padding: 20px;
}

.tender-details p {
    margin: 10px 0;
}

.download-btn {
    display: inline-block;
    background: #0070BA;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #005a94;
}

/* Careers Page Styles */
.careers-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/gallery/IMG_20220602_094956.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.careers-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.job-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-header {
    background: #0070BA;
    color: white;
    padding: 20px;
}

.job-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.job-type {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.job-details {
    padding: 20px;
}

.job-details p {
    margin: 10px 0;
}

.job-details ul {
    margin: 10px 0;
    padding-left: 20px;
}

.apply-btn {
    display: inline-block;
    background: #0070BA;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.apply-btn:hover {
    background: #005a94;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #0070BA;
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin: 15px 0;
    color: #333;
}

.benefit-card p {
    color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .tenders-grid,
    .jobs-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .tenders-hero-content h1,
    .careers-hero-content h1 {
        font-size: 2rem;
    }
} 