/* Remove horizontal line for tabs */
.instagram-tabs {
    margin-top: 3%;
    border-bottom: none;
    /* Removes the default bottom border */
}

.instagram-tabs .nav-link {
    color: #888;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    width: 60px;
    /* Fixed width for circular shape */
    height: 60px;
    /* Fixed height for circular shape */
    display: flex;
    /* Flexbox for centering content */
    align-items: center;
    /* Center content vertically */
    justify-content: center;
    /* Center content horizontally */
    text-align: center;
    /* Ensure text wraps and is centered */
    padding: 10px;
    /* Padding for spacing inside the circle */
    border: none;
    background: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 50%;
    /* Perfect circular shape */
}

.instagram-tabs .nav-link.active {
    color: #000;
    background-color: #f8f9fa;
    /* Optional: Add a background color for active tabs */
    border: 2px solid #000;
    /* Optional: Add a border for active tabs */
}

.instagram-tabs .nav-link:hover {
    color: #555;
    background-color: #f8f9fa;
    border: 2px solid #555;
    /* Optional: Add a border for hover state */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .instagram-tabs .nav-link {
        width: 60px;
        /* Smaller width for mobile */
        height: 60px;
        /* Smaller height for mobile */
        font-size: 12px;
        /* Smaller font size for better fit */
        padding: 5px;
        /* Reduced padding */
    }

    .instagram-tabs .nav-link.active {
        border: 1px solid #000;
        /* Thinner border for mobile */
    }

    .instagram-tabs .nav-link:hover {
        border: 1px solid #555;
        /* Thinner border for hover state on mobile */
    }
}

@media (max-width: 480px) {
    .instagram-tabs .nav-link {
        width: 50px;
        /* Even smaller width for very small screens */
        height: 50px;
        /* Even smaller height for very small screens */
        font-size: 10px;
        /* Smaller font size for better fit */
        padding: 3px;
        /* Reduced padding */
    }
}

.nav-tabs .nav-link {
    color: #333;
    font-weight: bold;
    border: none;
   /* background-color: transparent;*/
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #dc5297;
    border-radius: 5px;
}

.nav-tabs .nav-link:hover {
    color:  #dc5297;
    background-color: #f8f9fa;
}


.player-card {
    height: 400px; /* Set a fixed height for the player card */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 0; /* Remove padding to reduce space around the image */
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Ensure the image doesn't overflow the card */
}


.player-card img {
    width: 100%; /* Ensure the image fills the width of the card */
    height: 96%; /* Ensure the image fills the height of the card */
    object-fit: cover; /* Stretch the image to cover the card without leaving gaps */
    border-radius: 10px; /* Match the card's corners */
    display: block; /* Ensure consistent rendering */
}


.player-card p {
    font-size: 12px;
    color: #666;
    margin-top: auto;
    margin-bottom: -5px;
}


.carousel-inner .row {
    margin: 0; /* Remove extra spacing between rows */
}

.carousel-caption {
    text-align: left; /* Align text to the left */
    left: 0; /* Move the caption to the left edge */
    right: 0; /* Ensure it doesn't overflow on the right */
    padding-left: 15px; /* Add some padding on the left */
    padding-right: 15px; /* Add some padding on the right */
    white-space: normal; /* Allow text to wrap properly */
}

#playerCarousel .carousel-caption {
    text-align: left; /* Align text to the left */
    left: 0; /* Move the caption to the left edge */
    right: 0; /* Ensure it doesn't overflow on the right */
    padding-left: 15px; /* Add some padding on the left */
    padding-right: 15px; /* Add some padding on the right */
    white-space: normal; /* Allow text to wrap properly */
}
