* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2868AD;
    --primary-color-d: #235A95;
    --secondary-color: #3d8b49;  /* Darker green for better contrast */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 190px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

.logo i {
    font-size: 32px;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

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

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(40, 104, 173, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.mobile-nav {
    list-style: none;
    text-align: center;
}

.mobile-nav-item {
    margin: 20px 0;
}

.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 190px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}

.hero-slide.active {
    opacity: 1;
}

/* Individual slide backgrounds */
.hero-slide:nth-child(1) {
    background-image: 
        linear-gradient(rgba(40, 104, 173, 0.7), rgba(85, 174, 99, 0.6)),
        url('../images/slides/slide-ndws.webp');
}

.hero-slide:nth-child(2) {
    background-image: 
        linear-gradient(rgba(40, 104, 173, 0.7), rgba(85, 174, 99, 0.6)),
        url('../images/slides/slide2-nsc.webp');
}

.hero-slide:nth-child(3) {
    background-image: 
        linear-gradient(rgba(40, 104, 173, 0.7), rgba(85, 174, 99, 0.6)),
        url('../images/slides/slide3-foundation.webp');
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.hero-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.hero-btn:hover {
    background: #2f6b3a;  /* Even darker on hover for better contrast */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-btn-c1 {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: 1px solid #CCCCCC;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.hero-btn-c1:hover {
    background: #2f6b3a;  /* Even darker on hover for better contrast */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

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

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

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

/* Slider Arrow Navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(10px);
}

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

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

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

/* Screen reader only text */
.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;
}

/* Sponsors Scroll */
       .sponsors-scroll {
            background: var(--bg-light);
            padding: 40px 0;
            overflow: hidden;
            position: relative;
        }

        .sponsors-container {
            display: flex;
            gap: 40px;
            animation: scroll-seamless 30s linear infinite;
            width: max-content;
        }

        .sponsors-container:hover {
            animation-play-state: paused;
        }

        .sponsor-logo {
            flex-shrink: 0;
            width: 250px;
            height: 125px;
            background: var(--white);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1rem;
            color: var(--text-light);
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            cursor: pointer;
            object-fit: cover;
        }

        .sponsor-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 12px;
        }

        .sponsor-logo:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            color: var(--primary-color);
        }

        @keyframes scroll-seamless {
            0% { 
                transform: translateX(0); 
            }
            100% { 
                transform: translateX(calc(-290px * 8)); /* -(250px + 40px) * 8 sponsors */
            }
        }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* Countdown Timer */
.countdown-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.countdown-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.countdown-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.countdown-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
}

.countdown-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Events Section */
.events-section {
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

       .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .event-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .event-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .event-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

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

        .event-content {
            padding: 25px;
        }

        .event-date {
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .event-title {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--text-dark);
        }

        .event-description {
            color: var(--text-light);
            line-height: 1.6;
        }

/* View All Events Button */
.view-all-events {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.view-all-btn:hover {
    background: #1e5085;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.view-all-btn i {
    font-size: 1rem;
}

/* Learn More Button for Facility Section */
.learn-more-facility {
    text-align: center;
    margin-top: 50px;
}

.learn-more-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.learn-more-btn:hover {
    background: #2f6b3a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.learn-more-btn i {
    font-size: 1rem;
}

/* About Section */
       /* About Section */
        .about-section {
            background: var(--bg-light);
        }

        .about-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text h2 {
            font-size: 2.5rem;
            margin-bottom: 25px;
            color: var(--primary-color);
        }

        .about-text p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-light);
            margin-bottom: 20px;
        }

        .about-image {
            height: 400px;
            border-radius: 15px;
            overflow: hidden;
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

/* Facility Section */
.facility-section {
    background: var(--white);
}

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

.facility-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.facility-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-color-d);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    max-width: none;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-about a {
    margin-bottom: 20px;
    line-height: 1.7;
    color:#FFFFFF;
}

.footer-about a:hover {
    color:#FFFFFF;
}

/* Footer Learn More Button */
.footer-learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--secondary-color);
    padding: 8px 16px;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.footer-learn-more-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateX(3px);
}

.footer-learn-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-learn-more-btn:hover i {
    transform: translateX(2px);
    color: var(--white);
}

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column p,
.footer-column a {
    color: #F2F2F2;
    text-decoration: none;
    line-height: 1.8;
}

.footer-column a:hover {
    color: #FFFFFF;
    text-decoration:underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #FFFFFF;
}

.footer-bottom p,
.footer-bottom a {
    color: #F2F2F2;
    text-decoration: none;
    line-height: 1.8;
}

.footer-bottom a:hover {
    color: #FFFFFF;
    text-decoration:underline;
}

/* Social Media Links */
.social-media {
    margin-top: 25px;
}

.social-media h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 139, 73, 0.3);
}

.social-link i {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.social-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

       /* Page Header */
        .page-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--white);
            padding: 120px 0 60px;
            margin-top: 70px;
            text-align: center;
            margin-top:125px;
        }

        .page-title {
            font-size: 3rem;
            font-weight: 800;
            font-family: 'Poppins', sans-serif;
        }

        .page-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        /* Breadcrumb */
        .breadcrumb {
            background: var(--white);
            padding: 20px 0;
            border-bottom: 1px solid #e9ecef;
        }

        .breadcrumb-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .breadcrumb-nav {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-light);
        }

        .breadcrumb-link {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .breadcrumb-link:hover {
            color: var(--secondary-color);
        }


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-arrow.prev {
        left: 15px;
    }

    .slider-arrow.next {
        right: 15px;
    }

    .countdown-timer {
        gap: 20px;
    }

    .countdown-item {
        min-width: 100px;
        padding: 20px 15px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 250px;
    }

    .section-title {
        font-size: 2rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .facility-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .countdown-timer {
        gap: 15px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .slider-nav {
        bottom: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
    
    .sponsors-track {
        animation: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}