.custom-card {
    border-radius: 30px !important;
    background-color: #f9f9f9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    flex: 0 0 100%;
    height: 100% !important; /* Ensures that only one card is visible */
    scroll-snap-align: start;
}

.avatar-xxl {
    width: 100px;
    height: 100px;
}

.card-body {
    font-family: 'Arial', sans-serif;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
}

.shadow-lg {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}


.text-muted {
    color: #6c757d !important;
}

.btn-list button i {
    font-size: 20px;
}

.profile-cards-container {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    height: 85vh; /* Adjust height as needed */
    width: 60%;
    scroll-snap-type: y mandatory;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 15px;
}

@media (max-width: 768px) {
    .card-body .row {
        flex-direction: column;
    }

    .position-absolute {
        position: static;
    }

    .nav-tabs .nav-link {
        padding: 0.5rem;
        font-size: 14px;
    }

    /* Reduce padding inside the card if necessary */
    .custom-card {
        padding: 1rem;
    }

    .profile-cards-container {
        width: 100%;
        height: calc(100vh - 180px); /* Reduce height to leave space for footer */
        margin-bottom: 10px; /* Add small margin */
    }
    
    /* Ensure footer is always visible without scrolling */
    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: white;
        border-top: 1px solid #dee2e6;
    }
    
    /* Add padding to main content to prevent footer overlap */
    .main-content {
        padding-bottom: 10px; /* Adjust based on footer height */
    }
}

.btn-facebook {
    background-color: #3b5998;
    color: white;
}

.btn-twitter {
    background-color: #1da1f2;
    color: white;
}

.btn-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: white;
}

.btn-linkedin {
    background-color: #0077b5;
    color: white;
}

.btn-dribbble {
    background-color: #ea4c89;
    color: white;
}

.btn-behance {
    background-color: #053eff;
    color: white;
}

.btn-icon i {
    font-size: 18px;
}

.btn-wave {
    /* Add wave effect styles if applicable */
}

/* Ensure the tabs remain in a single row on smaller screens */
.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

/* Prevent tabs from breaking to the next line */
.nav-tabs .nav-item {
    flex: 1;
    text-align: center;
}

.nav-link.active {
    background: black !important;
    color: white !important;
}

/* Styling for mobile screen for better fit */
@media (max-width: 768px) {
    .card-body .row {
        flex-direction: column;
    }

    .position-absolute {
        position: static;
    }

    .nav-tabs .nav-link {
        padding: 0.5rem;
        font-size: 14px;
    }

    /* Reduce padding inside the card if necessary */
    .custom-card {
        padding: 1rem;
    }

    .profile-cards-container {
        width: 100%;
    }
}