﻿html,
body {
    overflow-x: hidden;
    overflow-y: auto;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bs-light);
    overflow-x: hidden;
}

:root {
    --foga-blue: #001437;
    --accent: #d4a017;
    --muted: #6c757d;
    --card-bg: #ffffff;
    --soft: #f7f9fb;
}

/* RESET */
body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    background: #f9f9f9;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background: #001437;
    transition: 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
    height: 16vh;
}

    .header.scrolled {
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .header .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 20px;
        flex-wrap: wrap;
        background-color: #fff;
    }

.topbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .topbar .logo img {
        height: 120px;
    }

.logo-circle-emblem {
    position: relative;
    width: 220px;
    height: 150px;
}

.circle-logo {
    position: relative;
    width: 100%;
    height: 100%;
}

    .circle-logo .logo {
        width: 130px;
        height: 130px;
        position: absolute;
        top: 15px;
        left: 0;
        border-radius: 80%;
    }

/* Curved text */
.circle-text {
    position: absolute;
    top: -30px;
    left: -60px;
    width: 210px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .circle-text text {
        fill: #fff;
        font-weight: 500;
        font-family: Arial, sans-serif;
        letter-spacing: 0.5px;
    }

/* Responsive */
@media (max-width: 480px) {
    .logo-circle-emblem {
        width: 200px;
        height: 100px;
    }

    .circle-logo .logo {
        width: 100px;
        height: 100px;
        top: 5px;
        left: 50px;
    }

    .circle-text {
        display: none;
    }

        .circle-text text {
            font-size: 10px;
        }
}

.topbar .logo span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.topbar .social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .topbar .social-icons a {
        color: var(--primary);
        font-size: 16px;
        transition: 0.3s;
    }

        .topbar .social-icons a:hover {
            color: var(--accent);
        }

/* NAVIGATION */
.navbar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 15px;
    transition: 0.3s ease;
    background-color: #011637;
}

    .navbar a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
        padding: 8px 12px;
        transition: all 0.3s ease;
    }

.dropdown-menu {
    background-color: #001437 !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #f0e5bd;
    color: #000 !important;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.navbar a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    position: absolute;
    right: 20px;
    top: 20px;
}

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: var(--primary);
        display: block;
    }
/* HERO SECTION */
.hero {
    background-color: gray;
    height: 80vh;
}

    .hero .content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .hero .cta-btns a {
        margin: 0 10px;
        padding: 12px 28px;
        font-size: 1rem;
        font-weight: 600;
        background: var(--accent);
        color: var(--primary);
        text-decoration: none;
        border-radius: 50px;
        transition: 0.3s;
    }

        .hero .cta-btns a:hover {
            background: #e6b800;
            transform: translateY(-2px);
        }

/* ABOUT / CTA SECTION */
.section {
    padding: 60px 20px;
    text-align: center;
}

    .section h2 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 20px;
    }

    .section p {
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.1rem;
        color: #555;
    }

.category-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    height: 100%;
}

    .category-card img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 10%;
        margin-bottom: 10px;
    }

    .category-card h5 {
        font-size: 1.1rem;
        font-weight: bold;
    }

    .category-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
        background-color: #f0e5bd;
    }

/* FOOTER */
footer {
    background-color: transparent;
    background-image: linear-gradient(90deg, #772583 38%, #011637 100%);
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
}

@media (max-width: 992px) {
    .header {
        height: 20vh !important;
    }

    .navbar {
        flex-direction: column;
        background-color: #011637;
        width: 100%;
        text-align: center;
    }

        .navbar.active {
            display: flex;
        }

    .menu-toggle {
        display: flex;
    }

    .topbar .logo span {
        font-size: 0.8rem;
    }
}

.topbar p {
    font-size: 0.85rem;
    color: #666;
}

.social-icons a {
    color: #004aad;
    font-size: 1.3rem;
    margin-left: 10px;
    transition: 0.3s;
}

    .social-icons a:hover {
        color: #b8860b;
    }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

    .menu-toggle span {
        background: #333;
        height: 3px;
        width: 25px;
        margin: 4px 0;
        border-radius: 2px;
    }

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: 0.3s;
}

    .navbar a:hover {
        color: #fff;
    }

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

        .navbar.active {
            display: flex;
        }

    .menu-toggle {
        display: flex;
    }

    .navbar a {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.faq-page {
    max-width: 1200px;
    margin: 10px auto;
    padding: 80px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

h1 {
    text-align: center;
    width: 100%;
    font-size: 2.4rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    position: relative;
}

    h1::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background-color: #f4b400;
        margin: 12px auto 0;
        border-radius: 3px;
    }

.section-title {
    margin-bottom: 2rem;
    font-weight: bold;
    position: relative;
    font-size: 2rem !important;
}

.copyright .color-blue {
    color: #46a4b5;
    font-size: 17px;
}

.copyright .color-orange {
    color: #f7971e;
    font-size: 17px;
}
/* ===== Sidebar Categories ===== */
.faq-sidebar {
    flex: 1 1 250px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    height: fit-content;
    padding: 20px;
}

    .faq-sidebar h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: #004b8d;
    }

.faq-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .faq-categories li {
        padding: 10px 14px;
        margin-bottom: 8px;
        border-radius: 8px;
        cursor: pointer;
        background: #fff8d6;
        font-weight: 500;
        transition: 0.3s;
    }

        .faq-categories li:hover,
        .faq-categories li.active {
            background: #f4b400;
            color: #fff;
        }

/* ===== Main Content ===== */
.faq-content {
    flex: 3 1 400px;
}

.search-box {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 10px 15px;
}

    .search-box input {
        width: 100%;
        padding: 10px;
        border: none;
        outline: none;
        font-size: 1rem;
    }

/* ===== Accordion ===== */
.faq-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    background-color: #fff;
    transition: background 0.3s ease;
}

    .faq-question:hover {
        background-color: #fff4c3;
    }

.faq-icon {
    font-size: 22px;
    color: #f4b400;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fff8d6;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 24px;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 16px 24px 24px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .faq-page {
        flex-direction: column;
    }

    .faq-sidebar {
        order: 1;
    }

    .faq-content {
        order: 2;
    }
}

.border-style-01 {
    border-radius: 12px;
    border: 2px solid #2e95d2;
}
/* Sponsors Grid */
.sponsors {
    padding: 40px 0;
    background: #fff;
    border-radius: 10px;
}

    .sponsors h3 {
        text-align: center;
        margin-bottom: 30px;
    }

.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

    .sponsor-grid img {
        max-height: 80px;
        object-fit: contain;
        filter: grayscale(0.5);
        transition: filter 0.3s;
        border: 1px solid #c1c1c2;
    }

        .sponsor-grid img:hover {
            filter: grayscale(0);
        }
/*event registration */
.container-main {
    max-width: 1100px;
    margin: 36px auto;
}

/* Progress */
.progress-steps {
    margin-bottom: 18px;
}

    .progress-steps .labels {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-top: 8px;
        font-size: 1rem;
    }

        .progress-steps .labels div {
            flex: 1;
            text-align: center;
        }

.card-form {
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 6px 22px rgba(2, 6, 23, 0.06);
    background: var(--card-bg);
}

.form-section {
    display: none;
    animation: fadeIn 0.3s ease both;
}

    .form-section.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.registrant {
    background: var(--soft);
    border: 1px solid rgba(2, 6, 23, 0.04);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 14px;
    position: relative;
}

    .registrant h5 {
        margin-bottom: 12px;
        font-weight: 600;
        color: var(--foga-blue);
    }

.remove-btn {
    position: absolute;
    right: 12px;
    top: 12px;
}

.file-preview {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e6e6e6;
    display: inline-block;
}

.small-muted {
    font-size: 0.85rem;
    color: var(--muted);
}

.btn-primary {
    background: var(--foga-blue);
    border-color: var(--foga-blue);
}

    .btn-primary:hover {
        background: #00224f;
        border-color: #00224f;
    }

/* footer spacing */
footer {
    color: var(--muted);
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .progress-steps .labels {
        font-size: 0.72rem;
    }

    .site-header img {
        height: 56px;
    }
}
