:root {
    --primary: #1e3a8a;
    --secondary: #0891b2;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3.5px, -3.5px);
}

nav>.container>ul>li>a {
    text-decoration: none;
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    display: block;
    padding: 12px 0px;
    border-radius: 8px;
}

nav>.container>ul>li>a:hover {
    color: var(--primary);
    background: var(--light);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
nav li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    margin-top: 15px;
    border: 1px solid var(--border);
}

nav li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    font-size: 0.9rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: var(--light);
    border-left-color: var(--secondary);
    color: var(--primary);
}

.has-dropdown>a::after {
    content: ' ▾';
    font-size: 0.8rem;
    margin-left: 4px;
}

/* Hero */
.hero {
    margin-top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgb(14, 43, 111) 0%, rgb(34, 56, 87) 50%, rgb(14, 43, 111) 100%);
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 20px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    font-weight: 300;
}

.hero .meta {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

.hero .meta span {
    display: inline-block;
    margin: 0 15px;
}

.hero .cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Section Styles */
section {
    padding: 30px 30px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    display: none;
    padding: 6px 18px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About */
.about-content {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.about-content p {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 25px;
    text-align: justify;
    line-height: 1.9;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.partner-card {
    background: white;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100%;
}

.partner-card img {
    width: 100%;
    max-width: 210px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 20px;
}

.partner-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.partner-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.topic-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid var(--border);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.topic-card:hover::before {
    transform: scaleX(1);
}

.topic-card ul {
    list-style: none;
}

.topic-card li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.topic-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 600;
}

/* Dates */
.dates-container {
    background: white;
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.date-item:last-child {
    border-bottom: none;
}

.date-item span {
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 500;
}

.date-item strong {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Submission */
.submission-box {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    border-radius: 20px;
    padding: 60px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.submission-box::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.submission-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.submission-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Committee */
/* Committee */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.committee-card {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid var(--border);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.committee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.committee-card:hover::before {
    transform: scaleX(1);
}

.committee-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.committee-card ul {
    list-style: none;
}

.committee-card li {
    padding: 10px 0;
    border-bottom: 1px solid #f8fafc;
}

.committee-card li:last-child {
    border-bottom: none;
}

.committee-member .name {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 3px;
}

.committee-member .affiliation {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Footer */
footer {
    background: var(--dark);
    color: #94a3b8;
    text-align: center;
    padding: 20px 30px;
}

footer .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
}

footer p {
    margin: 0px 0;
    font-size: 0.95rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

/* Location Map */
.map-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.map-info {
    padding: 50px 40px;
}

.map-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.venue-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.venue-address {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.venue-details p {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.venue-details ul {
    list-style: none;
    padding: 0;
}

.venue-details li {
    padding: 10px 0;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.map-wrapper {
    min-height: 450px;
    position: relative;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* Responsive */
@media (max-width: 768px) {
    .section {
        scroll-margin-top: 80px;
    }

    .map-container {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    nav>.container>ul {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav>.container>ul.active {
        max-height: 600px;
        overflow-y: auto;
    }

    nav li {
        border-bottom: 1px solid var(--border);
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav>.container>ul>li>a {
        padding: 15px 30px;
        display: block;
    }

    nav>.container>ul>li>a::after {
        display: none;
    }

    nav li.has-dropdown>a::after {
        content: ' ▾';
        float: right;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        background: var(--light);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav li.has-dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu a {
        padding: 12px 30px 12px 50px !important;
        font-size: 0.85rem;
        border-left: none !important;
        border-left: 3px solid transparent !important;
    }

    
    .dropdown-menu a {
        display: block;
        padding: 12px 20px;
        color: var(--dark);
        font-size: 0.9rem;
        transition: all 0.2s;
    }
  
    .dropdown-menu a:hover {
        background: var(--light) !important;
        border-left-color: var(--secondary) !important;
        color: var(--primary) !important
    }

    .hero {
        margin: 80px 20px 20px;
        padding: 40px 20px 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .hero .meta span {
        display: block;
        margin: 5px 0;
    }

    .countdown {
        gap: 15px;
        margin-top: 40px;
    }

    .countdown-item {
        min-width: 70px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
        margin-top: -10px;
    }

    h2 {
        font-size: 2rem;
    }

    .about-content,
    .dates-container,
    .submission-box {
        padding: 40px 30px;
    }

    .committee-grid,
    .partners-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }

    .date-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

}
