/* categories.css */
/* Categories Section - Responsive */
.categories-section {
    width: 100%;
    max-width: 1238px;
    height: auto;
    min-height: 864px;
    direction: ltr;
    margin: 0 auto;
    padding: 20px 15px;
}

.categories-section .content {
    height: auto;
    min-height: 248px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
}

.categories-section .content:hover {
    transform: translateY(-5px);
}

.categories-section .content .div-circle {
    background-color: #71BDFF;
    width: 175px;
    height: 175px;
    border-radius: 50%;
    /* padding: 15px; */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 0 auto;
    border: 0px;
}

.categories-section .content:hover .div-circle {
    border-color: #4fa3ff;
    box-shadow: 0 8px 20px rgba(113, 189, 255, 0.3);
}

.categories-section .content .div-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.categories-section .content h4 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    padding: 15px 0 10px 0;
    color: #182433;
    margin: 0;
}

/* Responsive Design for Bootstrap 4 Grid */
/* Extra small devices (phones, 428px and down) */
@media (max-width: 428px) {
    .categories-section .content .div-circle {
        width: 100px;
        height: 100px;
        padding: 10px;
    }

    .categories-section .content {
        min-height: 160px;
    }

    .categories-section .content h4 {
        font-size: 16px;
        padding: 10px 0 5px 0;
    }
}

/* Small devices (phones, 429px to 575px) */
@media (min-width: 429px) and (max-width: 575px) {
    .categories-section .content .div-circle {
        width: 110px;
        height: 110px;
        padding: 12px;
    }

    .categories-section .content {
        min-height: 170px;
    }

    .categories-section .content h4 {
        font-size: 17px;
    }
}

/* Medium devices (tablets, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .categories-section .content .div-circle {
        width: 130px;
        height: 130px;
    }

    .categories-section .content {
        min-height: 190px;
    }

    .categories-section .content h4 {
        font-size: 18px;
    }
}

/* Large devices (desktops, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .categories-section .content .div-circle {
        width: 140px;
        height: 140px;
    }

    .categories-section .content {
        min-height: 200px;
    }

    .categories-section .content h4 {
        font-size: 20px;
    }
}

/* Extra large devices (large desktops, 992px and up) */
@media (min-width: 992px) {
    .categories-section .content .div-circle {
        width: 160px;
        height: 160px;
    }

    .categories-section .content {
        min-height: 220px;
    }

    .categories-section .content h4 {
        font-size: 22px;
    }
}

/* YouTube Section Responsive */
.youtub-section {
    width: 100%;
    max-width: 1065px;
    height: auto;
    margin: 30px auto;
    background-color: transparent;
    padding: 0 15px;
}

.youtub-section video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Category Content Responsive */
.categories-section .category-content {
    height: auto;
    min-height: 367px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 30px;
}

.categories-section .category-content .categroy-vedio {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius : 30px
}

.categories-section .category-content .categroy-vedio img {
    width: 100%;
    height: 100%;
    /* border-radius: 8px; */
    /* object-fit: cover; */
    transform:scale(1.15);
}

.categories-section .category-content h4 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    padding: 10px 0;
    height: auto;
    min-height: 41px;
    color: #182433;
}

@media (min-width: 768px) {
    .categories-section .category-content .categroy-vedio {
        height: 250px;
    }

    .categories-section .category-content h4 {
        font-size: 20px;
    }
}

@media (min-width: 992px) {
    .categories-section .category-content .categroy-vedio {
        height: 269px;
    }

    .categories-section .category-content h4 {
        font-size: 22px;
    }
}

/* Category Title Responsive */
.categories-section .category-title {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    margin-bottom: 40px;
    color: #182433;
}

@media (max-width: 768px) {
    .categories-section .category-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .categories-section .category-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}
