* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

html {
    scroll-behavior: smooth;
}

/* Header Styles */
.top-strip {
    background-color: #800000;
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-weight: bold;
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-area {
    text-align: center;
    margin-bottom: 20px;
}

.logo-area img {
    width: 180px;
    height: auto;
}

.logo-area h3 {
    font-size: 24px;
    color: #800000;
    margin-top: 10px;
}

/* Navigation with Dropdown */
.main-nav {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover {
    background-color: #800000;
    color: white;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.3s, padding-left 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background-color: #f8f8f8;
    padding-left: 25px;
    color: #800000;
}

/* Image Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 5px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider {
    display: flex;
    width: 400%;
    height: 0;
    padding-bottom: 56.25%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px 20px 20px;
}

.slide-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: white;
}

.slide-content p {
    font-size: 18px;
    max-width: 800px;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: white;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: rgba(0,0,0,0.7);
}


/* Main Content Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: #1a365d;
}

h3 {
    font-size: 18px;
    margin: 20px 0 10px;
}

h4 {
    font-size: 16px;
    margin: 15px 0 8px;
}

p {
    margin-bottom: 20px;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

/* Classic Timeline for Important Dates */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #0b4fa8, #800000);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 50px;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid #0b4fa8;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(11, 79, 168, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    background: #0b4fa8;
    box-shadow: 0 0 0 10px rgba(11, 79, 168, 0.2);
    transform: translateX(-50%) scale(1.2);
}

.timeline-content {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, #0b4fa8, #1a5bb8);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.timeline-content h3 {
    color: #1a365d;
    font-size: 20px;
    margin: 10px 0;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.section-title {
    color: #1a365d;
    font-size: 28px;
    font-weight: 700;
    text-align: left;
    padding-bottom: 15px;
    border-bottom: 3px solid #0b4fa8;
    position: relative;
}



.government-sponsors {
    display: flex;
    width: 100%;
    margin-top: 30px;
    gap: 20px;               /* gap between images */
}

.sponsor-logo {
    flex: 1;                 /* 50% width each */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.sponsor-logo img {
    width: 100%;             /* full width of container */
    height: auto;
    object-fit: cover;       /* cover to fill the space */
    transition: transform 0.3s ease;
}

.sponsor-logo:hover img {
    transform: scale(1.05);
}


.subsection {
    margin-bottom: 50px;
}

.subsection h3 {
    color: #34495e;
    font-size: 1.8em;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
}

.partners-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.partners-list li {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
}

.partners-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.partners-list a {
    color: white;
    text-decoration: none;
    display: block;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 20px 20px;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #bdc3c7;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 50px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
.bell-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.1s ease;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

.subscribe-btn:hover .bell-icon {
    animation: ring 0.5s ease-in-out;
}

.acee-history p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.acee-history strong {
    color: #1a365d;
    font-size: 16px;
}

.picture_8thacee {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.picture_8thacee img {
    width: 100%;
    max-width: 48%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}


@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70% { transform: rotate(-15deg); }
    20%, 40%, 60%, 80% { transform: rotate(15deg); }
}
/* Responsive Design */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 22px;
    }

    .subsection h3 {
        font-size: 1.4em;
    }

    .partners-list {
        grid-template-columns: 1fr;
    }

    .government-sponsors {
        gap: 20px;
    }

    .logo-area h3 {
        font-size: 20px;
    }
    
    .main-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        text-align: center;
        width: 100%;
    }
    
    .dropdown {
        position: static;
        transform: none;
        margin-top: 0;
        box-shadow: none;
        border-left: 3px solid #800000;
        display: none;
    }
    
    .nav-item:hover .dropdown {
        display: block;
    }
    
    .slide-content h2 {
        font-size: 22px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 20px;
        text-align: left;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-item:hover .timeline-marker {
        transform: translateX(-50%) scale(1.2);
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: 20px 15px 15px;
    }
    
    .slide-content h2 {
        font-size: 20px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h3 {
        font-size: 18px;
    }
}