:root {
    --navy: #0b4f6c;
    --navy-dark: #07384d;
    --teal: #138A8A;
    --teal-light: #20b2b2;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --text-main: #1f2937;
    --text-muted: #64748b;
    --border: #e2e8f0;

    --font-sans: 'Inter', sans-serif;
    --font-display: 'Lexend', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-teal {
    background-color: var(--teal);
}

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

.text-navy {
    color: var(--navy);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-qr {
    padding: 10px 16px;
    background: var(--navy);
    color: var(--white);
}

.btn-qr:hover {
    background: var(--navy-dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo-img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--navy);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
}

.text-white {
    color: white !important;
}

.grid-overlay {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(11, 79, 108, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 79, 108, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: url('Agenda.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 79, 108, 0.9) 0%, rgb(19 138 138) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
}

.event-date-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 400;
    font-family: var(--font-sans);
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.location-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.location-box i {
    font-size: 24px;
    color: var(--teal);
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: var(--radius-lg);
    min-width: 100px;
}

.countdown-item span {
    font-size: 3rem;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.countdown-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    opacity: 0.8;
}

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

/* Stats */
.stats-section {
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Section Title */
.section-title {
    margin-bottom: 50px;
}

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

.section-title .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Purpose */
.purpose-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.purpose-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.purpose-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal);
}

.purpose-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    color: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.purpose-card:hover .purpose-icon {
    background: var(--teal);
    color: var(--white);
}

.purpose-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* The Big Three */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.big-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 380px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.big-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-bg {
    position: absolute;
    inset: 0;
    background: var(--navy);
    transition: var(--transition);
    z-index: 1;
}

.valoma-card .card-bg {
    background: linear-gradient(to bottom, rgba(11, 79, 108, 0.8), var(--navy));
}

.dlp-card .card-bg {
    background: linear-gradient(to bottom, rgba(19, 138, 138, 0.8), var(--teal));
}

.gala-card .card-bg {
    background: linear-gradient(to bottom, rgba(217, 4, 41, 0.8), #b00320);
}

/* Gala gets a distinct festive tone */
.card-content {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.card-content h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card-content h4 {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.card-content p {
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
}

.card-link {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.card-link:hover {
    gap: 12px;
}

/* Agenda */
.agenda-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--navy);
    background: transparent;
    color: var(--navy);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--navy);
    color: var(--white);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
    max-width: 800px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

.tab-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--teal);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--teal);
}

.highlight-item::before {
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(19, 138, 138, 0.2);
}

.timeline-item .time {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--teal);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.timeline-item .content {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.timeline-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.timeline-item .location {
    color: var(--navy);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 10px;
}

.gala-timeline::before {
    border-color: #d90429;
}

.gala-timeline.highlight-item::before {
    background: #d90429;
    box-shadow: 0 0 0 4px rgba(217, 4, 41, 0.2);
}

.gala-timeline .time {
    color: #d90429;
}

/* Map */
.map-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.map-interactive {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.map-image {
    width: 100%;
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.hotspot-pulse {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--navy);
    border: 3px solid var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hotspot-pulse::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

.func-area .hotspot-pulse {
    background: var(--navy);
}

.booth-area .hotspot-pulse {
    background: var(--teal);
}

.youth-area .hotspot-pulse {
    background: #f59e0b;
}

.hotspot-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #1f2937;
    color: var(--white);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    text-align: center;
    z-index: 11;
}

.hotspot-tooltip h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.hotspot-tooltip p {
    font-size: 0.8rem;
    margin: 0;
    color: #cbd5e1;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-15px);
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.color-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.box-func {
    background: var(--navy);
}

.box-booth {
    background: var(--teal);
}

.box-youth {
    background: #f59e0b;
}

/* Exhibitors */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.exhibitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.exhibitor-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.exhibitor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}

.ex-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.ex-cat {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--light-bg);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Sponsors */
.sponsor-category {
    margin-bottom: 50px;
    text-align: center;
}

.sponsor-category h3 {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-sponsors {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-width: 150px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 10px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sponsor-item img {
    max-height: 50px;
}

.text-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--navy);
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    gap: 30px;
    padding: 10px 15px;
}

/* Footer */
.footer {
    background: var(--navy-dark);
    color: #cbd5e1;
    padding: 80px 0 20px;
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.footer h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--teal);
    margin-top: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--teal-light);
    transform: translateX(5px);
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-muted);
}

.qr-image {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    display: block;
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 8px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    70% {
        transform: scale(2.5);
        opacity: 0;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
    }

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

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

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

    .countdown-container {
        flex-wrap: wrap;
    }

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

    .agenda-tabs {
        flex-direction: column;
    }

    .hero-cta {
        flex-direction: column;
    }

    .location-box {
        flex-direction: column;
        text-align: center;
    }
}