    body, html {
        height: 100%;
        background: #f3f4f6;
    }

    /* Main container - fully responsive */
    .edi-container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        overflow: hidden;
    }

    .main-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    /* Responsive heading */
    .page-title {
        text-align: center;
        margin: 2vh 0;
        font-size: clamp(1.5rem, 4vh, 2.5rem);
    }

    /* Scrollable row of cards */
    .card-row {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding: clamp(1vh, 2vh, 3vh) clamp(2vw, 5vw, 8vw);
        gap: clamp(10px, 2vw, 20px);
        width: 100%;
        height: 80vh;
    }

    @media (max-width: 768px) {
        .card-row {
            height: 70vh;
            padding: 1vh 3vw;
        }
    }

    @media (max-width: 480px) {
        .card-row {
            height: 60vh;
            padding: 1vh 2vw;
        }
    }

    .card-row::-webkit-scrollbar {
        display: none;
    }

    /* Responsive card item */
    .card-item {
        flex: 0 0 auto;
        width: clamp(300px, 50vh, 600px);
        height: auto;
        aspect-ratio: 0.7 / 1;
        padding: clamp(10px, 2vh, 20px);
    }

    /* Card styling with responsive typography */
    .card {
        height: 100%;
        border-radius: clamp(15px, 3vh, 30px);
        overflow: visible;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
    }

    @media (max-width: 768px) {
        .card {
            border-radius: 20px;
        }
    }

    @media (max-width: 480px) {
        .card {
            border-radius: 15px;
        }
    }

    /* Visit Section button at bottom center */
    .card-visit-btn {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.7);
        color: #ffc107;
        padding: clamp(8px, 1.5vh, 12px) clamp(12px, 2.5vw, 20px);
        border-radius: 25px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: clamp(4px, 1vw, 8px);
        font-size: clamp(0.75rem, 1.5vh, 1rem);
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        z-index: 10;
        white-space: nowrap;
        max-width: 90%;
    }

    .card-visit-btn:hover {
        background-color: rgba(0, 0, 0, 0.9);
        color: #ffc107;
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    }

    .card-visit-btn span {
        color: white;
        font-size: clamp(0.75rem, 1.5vh, 1rem);
    }

    .card-visit-btn i {
        color: #ffc107;
        font-size: clamp(0.9rem, 1.8vh, 1.2rem);
    }

    /* Navigation buttons at top and bottom */
    .nav-buttons-top,
    .nav-buttons-bottom {
        display: flex;
        justify-content: center;
        gap: clamp(15px, 3vw, 30px);
        padding: clamp(10px, 2vh, 20px) 0;
        z-index: 100;
    }

    .nav-buttons-top {
        margin-top: clamp(10px, 2vh, 20px);
    }

    .nav-buttons-bottom {
        margin-bottom: clamp(10px, 2vh, 20px);
    }

    .nav-btn {
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        border-radius: 50%;
        width: clamp(45px, 6vw, 60px);
        height: clamp(45px, 6vw, 60px);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        font-size: clamp(1rem, 2vw, 1.5rem);
    }

    .nav-btn:hover {
        background-color: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    }

    .nav-btn:active {
        transform: scale(0.95);
    }

    .nav-btn i {
        pointer-events: none;
    }

    @media (max-width: 768px) {
        .nav-btn {
            width: 45px;
            height: 45px;
            font-size: 1rem;
        }

        .nav-buttons-top,
        .nav-buttons-bottom {
            gap: 20px;
            padding: 10px 0;
        }
    }

    @media (max-width: 480px) {
        .nav-btn {
            width: 40px;
            height: 40px;
            font-size: 0.9rem;
        }

        .nav-buttons-top,
        .nav-buttons-bottom {
            gap: 15px;
            padding: 8px 0;
        }
    }

    /* Category/Card Type badges */
    .card-badge {
        position: absolute;
        top: clamp(10px, 1.5vh, 15px);
        padding: clamp(4px, 0.8vh, 5px) clamp(10px, 2vw, 15px);
        border-radius: 20px;
        font-size: clamp(0.7rem, 1.2vh, 0.8rem);
        font-weight: 500;
    }

    .category-badge {
        right: clamp(10px, 2vw, 15px);
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
    }

    @media (max-width: 480px) {
        .card-badge {
            font-size: 0.65rem;
            padding: 3px 8px;
        }
    }

    .type-badge {
        left: 15px;
        background-color: rgba(13, 110, 253, 0.8);
        color: white;
    }
