@font-face {
    font-family: 'Camel';
    src: url('../font/Camel-Regular.eot');
    src: url('../font/Camel-Regular.eot?#iefix') format('embedded-opentype'),
        url('../font/Camel-Regular.woff2') format('woff2'),
        url('../font/Camel-Regular.woff') format('woff'),
        url('../font/Camel-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Camel', sans-serif;
    background: url('../images/chart.png') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    color: #b27b35;
    font-weight: 900;
    text-transform: uppercase;
}

/* Base visibility control for steps (outside media query) */
.step {
    display: none;
}

.step.active {
    display: block;
}


@media (max-width: 760px) {
    .step {
        display: none;
    }

    .step.active {
        display: block;
    }

    .step-card {
        margin-top: 15vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    p {
        font-size: 42px;
    }

    .neumorphic-card {
        width: 90%;
        background: linear-gradient(72deg, #b27b3566, #fcf5ed00);
        border-radius: 24px;
        border: 2px solid #b27b35;
        padding: 25px 40px;
        box-shadow: 8px 8px 16px #dcd2c9, -8px -8px 16px #ffffff;
        height: 40vh;
    }

    .neumorphic-card-step-3 {
        width: 90%;
        background: linear-gradient(72deg, #b27b3566, #fcf5ed00);
        border-radius: 24px;
        border: 2px solid #b27b35;
        padding: 25px 40px;
        box-shadow: 8px 8px 16px #dcd2c9, -8px -8px 16px #ffffff;
        height: 65vh;
    }

    .neumorphic-card-step-3-two {
        width: 90%;
        background: linear-gradient(72deg, #b27b3566, #fcf5ed00);
        border-radius: 24px;
        border: 2px solid #b27b35;
        padding: 25px 40px;
        box-shadow: 8px 8px 16px #dcd2c9, -8px -8px 16px #ffffff;
        height: 40vh;
    }


    .experience {
        font-size: 36px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .experience .checkbox-label {
        text-align: center;
        font-size: 40px;
    }

    .map1 {
        margin-top: 10px;
        width: 100%;
        height: 170px;
        background: #f7eade;
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.9), inset 0 -4px 8px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.04);
        border: none;
        border-radius: 14px;
        font-size: 36px;
        font-weight: 800;
        color: #9b642b;
        padding: 5px;
    }

    .img {
        width: 100%;
        height: 160px;
        border-radius: 14px;
    }

    .map2 {
        margin-top: 1rem;
        width: 100%;
        height: 160px;
        background: #f7eade;
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.9), inset 0 -4px 8px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.04);
        border: none;
        border-radius: 14px;
        font-size: 36px;
        font-weight: 800;
        color: #9b642b;
    }

    .fancy-checkbox {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
        position: relative;
    }

    .fancy-checkbox input {
        opacity: 0;
        position: absolute;
    }

    .custom-checkmark {
        width: 50px;
        height: 50px;
        background: #f7eade;
        border-radius: 14px;
        position: relative;
        margin-right: 15px;
        flex-shrink: 0;
        box-shadow: -3px 1px 2px 1px #f7eade, -1em -12px 1em 3px #ffffff;
    }

    .custom-checkmark::after {
        content: "";
        position: absolute;
        display: none;
        left: 15px;
        top: 12px;
        width: 20px;
        height: 30px;
        border: solid #5b83c1;
        border-width: 0 10px 10px 0;
        transform: rotate(45deg);
    }

    .fancy-checkbox input:checked+.custom-checkmark::after {
        display: block;
    }

    .checkbox-label {
        font-weight: 800;
        color: #855c28;
        font-size: 14px;
        line-height: 1.05;
        text-align: left;
    }

    .gender-buttons {
        display: flex;
        justify-content: space-between;
        margin-top: 3rem;
    }

    .arrived-button {
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
    }

    .locations-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 2rem;
    }

    .card-digital-loca {
        background: #f7eade;
        padding: 15px 10px;
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.9), inset 0 -4px 8px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.04);
        border: none;
        border-radius: 14px;
        font-weight: 800;
        color: #9b642b;
        font-size: 12px;
    }

    .gender-btn {
        width: auto;
        flex: 1;
        margin: 0 5px;
        background: #f7eade;
        border: none;
        border-radius: 14px;
        padding: 10px 10px;
        font-weight: 800;
        color: #9b642b;
        font-size: 20px;
        box-shadow: 0px 0px 0px 0px #f7eade, -8px -2px 12px 2px #ffffff;
        transition: transform 0.2s ease;
    }

    .arrived-btn {
        width: 100%;
        flex: 1;
        margin: 0 5px;
        background: #3d6193;
        border: none;
        white-space: nowrap;
        border-radius: 14px;
        padding: 10px 35px;
        font-weight: bold;
        color: #ffffff;
        font-size: 18px;
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.9), inset 0 -4px 8px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.04);
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .prev-btn {
        width: 100%;
        flex: 1;
        margin: 0 5px;
        background: silver;
        border: none;
        white-space: nowrap;
        border-radius: 14px;
        padding: 10px 35px;
        font-weight: bold;
        color: #000000;
        font-size: 18px;
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.9), inset 0 -4px 8px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.04);
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .gender-btn:hover {
        transform: scale(1.05);
    }

    /* Fade animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeOut {
        from {
            opacity: 1;
            transform: translateY(0);
        }

        to {
            opacity: 0;
            transform: translateY(-20px);
        }
    }

    .animate-fade-in {
        animation: fadeIn 0.4s forwards;
    }

    .animate-fade-out {
        animation: fadeOut 0.4s forwards;
    }

    .img-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        max-width: 90%;
        max-height: 80%;
        margin: auto;
        display: block;
        border-radius: 12px;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }

    .modal-close {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
    }
}