body {
    font-family: 'DM Sans', sans-serif;
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
}

.custom-card {
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.custom-card:hover .card-footer-link {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.card-footer-link {
    background-color: #F3F3F5;
    padding: 15px 25px;
    text-decoration: none;
    display: block;
    margin-top: auto;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    border-radius: 0 0 12px 12px;
}

.card-footer-link:hover {
    background-color: #e2e2e4 !important;
}

.nav-btn:hover:not(:disabled) {
    background: #384354 !important;
    color: #fff !important;
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-dot.active {
    background: #384354;
    width: 12px;
    height: 12px;
}

.nav-dot:hover {
    background: #999;
}

@media (max-width: 768px) {
    .cards-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 0 !important;
        padding-bottom: 20px;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .cards-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    
    .custom-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .custom-card:active {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .card-footer-link {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        -webkit-tap-highlight-color: transparent;
    }
    
    .card-footer-link:active {
        background-color: #F3F3F5 !important;
    }
    
    .intro-text {
        font-size: 16px !important;
        line-height: 28px !important;
        margin-bottom: 40px !important;
    }
    
    .header-section {
        padding-top: 40px !important;
        padding-bottom: 20px !important;
    }
}

@media (min-width: 769px) {
    .mobile-nav-buttons {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1250px) {
    .cards-wrapper {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .container-fluid.pb-5 {
        padding-bottom: 2.5rem !important;
    }
    
    .header-section > div[style*="position: absolute"] {
        top: 10px !important;
        right: 10px !important;
    }
    
    .header-section > div[style*="position: absolute"] img {
        width: 28px !important;
        height: 21px !important;
    }
}

