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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: #0a5c8a;
    color: white;
}

.btn-primary:hover {
    background-color: #084b70;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 92, 138, 0.3);
}

.btn-secondary {
    background-color: #28a745;
    color: white;
}

.btn-secondary:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #0a5c8a;
    border-color: #0a5c8a;
}

.btn-outline:hover {
    background-color: #0a5c8a;
    color: white;
    transform: translateY(-3px);
}

/* Header Styles */
.main-header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    flex: 1;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: #0a5c8a;
    margin-bottom: 5px;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

.conference-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    flex: 1;
    justify-content: center;
}

.conference-text h2 {
    font-size: 1.3rem;
    color: #d35400;
    margin-bottom: 5px;
    line-height: 1.2;
}

.conference-text p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

.conference-date {
    font-weight: 600;
    color: #0a5c8a;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #0a5c8a;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
    z-index: 1001;
}

/* Navigation Styles - FIXED */
.main-nav {
    background-color: #0a5c8a;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.nav-menu li {
    flex: 1;
    min-width: 0;
}

.nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 18px 5px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: #ffc107;
}

.nav-menu i {
    margin-right: 8px;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

.nav-menu span {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.hero-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffc107;
}

.hero-conference {
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-style: italic;
    opacity: 0.9;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    font-size: 1.2rem;
    flex-wrap: wrap;
}

.hero-details i {
    margin-right: 10px;
    color: #ffc107;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Section Common Styles */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #0a5c8a;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ffc107;
}

/* Highlights Section */
.highlights-section {
    padding: 80px 0;
    background-color: white;
}

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

.highlight-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #0a5c8a;
    height: 100%;
}

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

.highlight-icon {
    font-size: 2.5rem;
    color: #0a5c8a;
    margin-bottom: 20px;
}

.highlight-card h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Countdown Section */
.countdown-section {
    padding: 80px 0;
    background-color: #0a5c8a;
    color: white;
}

.countdown-section .section-title {
    color: white;
}

.countdown-section .section-title:after {
    background-color: #ffc107;
}

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

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    min-width: 120px;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Dates Section */
.dates-section {
    padding: 80px 0;
    background-color: white;
}

.dates-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.dates-timeline:before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #0a5c8a;
}

.date-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.date-circle {
    width: 20px;
    height: 20px;
    background-color: #0a5c8a;
    border-radius: 50%;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #0a5c8a;
}

.date-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    flex-grow: 1;
    border-left: 4px solid #ffc107;
}

.date-content h3 {
    color: #0a5c8a;
    margin-bottom: 5px;
}

.date-content p {
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a5c8a 0%, #084b70 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer Styles */
.main-footer {
    background-color: #222;
    color: #ddd;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ffc107;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
}

.footer-links a:hover {
    color: #ffc107;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 15px;
    color: #ffc107;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #0a5c8a;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #111;
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom a {
    color: #ffc107;
}

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

.last-update {
    color: #888;
    font-style: italic;
    margin-top: 10px;
}

/* Page Content Styles */
.content-wrapper {
    min-height: calc(100vh - 300px);
}

.page-header {
    background-color: #0a5c8a;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.page-content {
    padding: 60px 0;
    background-color: white;
}

/* Responsive Styles - IMPROVED */

@media (max-width: 1200px) {
    .nav-menu a {
        padding: 18px 8px;
        font-size: 0.9rem;
    }
    
    .nav-menu i {
        margin-right: 5px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .logo-section {
        flex: 0 0 auto;
        width: auto;
    }
    
    .conference-logo-section {
        flex: 1;
        justify-content: flex-end;
        text-align: right;
    }
    
    .hero-conference {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .nav-menu a {
        padding: 16px 5px;
        font-size: 0.85rem;
    }
    
    .countdown-item {
        min-width: 100px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
}

/* Mobile Menu Styles - FIXED */
@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }
    
    .logo {
        height: 60px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .conference-logo-section {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    /* Improved Mobile Navigation */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0a5c8a;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        max-height: 500px;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        justify-content: flex-start;
        padding: 18px 20px;
        font-size: 1rem;
        text-align: left;
        white-space: normal;
    }
    
    .nav-menu i {
        width: 25px;
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-conference {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-details {
        flex-direction: column;
        gap: 15px;
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: calc(50% - 15px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .dates-timeline:before {
        left: 20px;
    }
    
    .date-circle {
        margin-right: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .logo-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .logo-link {
        flex-direction: row;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-text p {
        font-size: 0.75rem;
    }
    
    .hero-conference {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .countdown-item {
        min-width: calc(50% - 10px);
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .nav-menu a {
        padding: 16px 15px;
    }
}

/* Small mobile devices */
@media (max-width: 400px) {
    .header-container {
        padding: 10px;
    }
    
    .logo {
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.5rem;
    }
    
    .hero-conference {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .countdown-item {
        min-width: calc(50% - 5px);
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
}