* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial;
    background: linear-gradient(to right, #f8fbff, #eef4ff);
}

/* 🔹 NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    padding-right: 3px;
    background-color: #e11b22;
}

.logo-name {
    color: #fff;
    font-size: 16px;
    margin-left: 15px;
}

.academy-name h1 {
    font-size: 16px;
    margin: 0;
    color: #fff;
}

.academy-name span {
    font-size: 12px;
    color: #ccc;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
}

.nav-links a:after {
    position: absolute;
    width: 0;
    height: 2px;
    background: #fff;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* HAMBURGER */
#nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* 🔹 HERO */
.hero {
    height: 350px;
    background: url('../images/teams/img_cover.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    color: white;
}

.overlay {
    background: rgba(0,0,0,0.6);
    padding: 40px;
    text-align: center;
    color: white;
    border-radius: 8px;
}

.overlay h1 span {
    color: #22c55e;
}

/* 🔹 FORM CARD */
.form-section {
    margin-top: -80px;
    display: flex;
    justify-content: center;
}

.form-card {
    display: flex;
    width: 90%;
    max-width: 1100px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #020617;
    color: white;
    padding: 30px;
}

.sidebar li {
    margin: 20px 0;
    opacity: 0.5;
}

.sidebar li.active {
    color: #22c55e;
    opacity: 1;
}

/* Form */
.form-content {
    flex: 1;
    padding: 40px;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input, select {
    width: 95%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.success-card {
    max-width: 700px;
    margin: 50px auto;
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.success-icon {
    font-size: 60px;
    color: green;
    margin-bottom: 20px;
}

.reference-box {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    font-size: 18px;
}

.submit-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #d60000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* Buttons */
button {
    margin-top: 20px;
    padding: 12px 20px;
    background: #22c55e;
    border: none;
    color: white;
    cursor: pointer;
}

.buttons {
    display: flex;
    justify-content: space-between;
}



/* MOBILE MENU */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-links a {
        padding: 16px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    #nav-toggle:checked ~ .nav-links {
        max-height: 300px;
    }
}


/* =========================
   MOBILE RESPONSIVE DESIGN
========================= */

@media (max-width: 1024px) {

    /* Hero */
    .hero {
        height: 250px;
        text-align: center;
    }

    .overlay {
        padding: 20px;
    }

    .overlay h1 {
        font-size: 24px;
    }

    /* Form Card becomes vertical */
    .form-card {
        flex-direction: column;
        margin-top: 20px;
    }

    /* Sidebar becomes top progress bar */
    .sidebar {
        width: 100%;
        padding: 15px;
    }

    .sidebar ul {
        display: flex;
        justify-content: space-between;
    }

    .sidebar li {
        font-size: 12px;
        margin: 0;
        text-align: center;
    }

    /* Form spacing */
    .form-content {
        padding: 20px;
    }

    /* Grid becomes single column */
    .grid {
        grid-template-columns: 1fr;
    }

    /* Buttons stack nicely */
    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    button {
        width: 100%;
    }

    /* File inputs spacing */
    input[type="file"] {
        margin-bottom: 15px;
    }
}