.carousel-item img {
    max-height: 60vh; /* Limit image height on mobile */
    object-fit: contain; /* Ensure images don't stretch */
}
.carousel-control-prev,
.carousel-control-next {
    width: 10%; /* Wider touch area for controls */
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
}
@media (max-width: 576px) {
    .carousel-item img {
        max-height: 40vh; /* Smaller height for mobile */
    }
}

@font-face {
    font-family: 'MyFont';
    src: url('fonts/SolaimanLipi.ttf') format('truetype');
}

body {
    font-family: 'MyFont', 'SolaimanLipi', sans-serif;
}

@keyframes rotateImages {
    0% {
        transform: rotate(0deg) translateX(30vw) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(30vw) rotate(-360deg);
    }
}
@media (max-width: 576px) {
    .globe-container {
        width: 90vw !important;
        max-width: 300px !important;
        height: 90vw !important;
        max-height: 300px !important;
    }
    .globe {
        width: 70vw !important;
        max-width: 200px !important;
        height: 70vw !important;
        max-height: 200px !important;
    }
    .image-container {
        width: 25vw !important;
        max-width: 60px !important;
        height: 25vw !important;
        max-height: 60px !important;
    }
    @keyframes rotateImages {
        0% {
            transform: rotate(0deg) translateX(35vw) rotate(0deg);
        }
        100% {
            transform: rotate(360deg) translateX(35vw) rotate(-360deg);
        }
    }
}


/* #profileContainer > div {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
#profileContainer img {
    height: 200px !important;
    width: 100% !important;
    object-fit: cover;
}
#profileContainer h4 {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#profileContainer p {
    font-size: 0.85rem;
    line-height: 1.4;
} */
@media (max-width: 576px) {
 

       #profileContainer > div {
        max-width: 100%;
     }
     #profileContainer img {
        height: 150px !important;
    }
}

@media (max-width: 576px) {
    .flex-wrap.gap-12 {
        gap: 1rem !important;
        flex-direction: column;
        align-items: center;
    }
    .flex-wrap.gap-12 > div {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem;
    }
    .flex-wrap.gap-12 .text-lg {
        font-size: 1rem;
    }
    .flex-wrap.gap-12 .text-2xl {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .flex.gap-6.mt-4 {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    #divisionFilter,
    #searchInput {
        width: 100%;
        max-width: 300px;
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

body {
    font-size: 16px;
}
h2.text-3xl {
    font-size: 1.5rem;
}
.container {
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 768px) {
    h2.text-3xl {
        font-size: 2rem;
    }
}

.pagination .page-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}
@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .pagination .page-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    #pagination select {
        width: 100%;
        max-width: 200px;
    }
}