/* ملف تنسيقات index.css */

body,
h1,
h2,
h3,
h4,
h5,
h6,
b,
li,
button,
input,
a {
    font-family: 'Tajawal', sans-serif !important;
}

.play-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 120px;
    background-color: #f4623a;
    border-radius: 50%;
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.play-btn i {
    font-size: 2.7rem;
    color: #fff;
    display: inline-block;
    transition: transform 0.5s ease, color 0.5s ease;
}

.card {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    max-height: 200px;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    margin-bottom: 1rem;
}

.card-text {
    flex-grow: 1;
}

@media (max-width: 767px) {
    .card {
        margin-bottom: 20px;
    }
}

/* تخصيص ألوان أزرار السلايدر */
.custom-control {
    width: 50px;
    height: 50px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    opacity: 0.8;
    transition: background-color 0.3s, opacity 0.3s;
}

.custom-control:hover {
    background-color: #0e2c4b;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 70% 70%;
    background-position: center;
    background-repeat: no-repeat;
}

/* أزرار التحكم الخاصة بالسوابر */
.custom-swiper-btn {
    width: 45px;
    height: 45px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    opacity: 0.8;
    transition: 0.3s;
}

.custom-swiper-btn:hover {
    background-color: #0e2c4b;
    opacity: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    color: white;
}

.swiper-pagination-bullet {
    background-color: var(--bs-primary);
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background-color: var(--bs-primary);
    opacity: 1;
}

.swiper-slide {
    background-color: var(--bs-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 450px;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.swiper-slide h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--bs-primary);
    font-weight: bold;
}

.swiper-slide p {
    font-size: 0.9rem;
    color: var(--bs-dark);
    margin-bottom: 1rem;
}

.swiper-slide .btn-primary {
    width: 100%;
    background-color: var(--bs-primary);
    border: none;
    border-top: 1px solid var(--bs-secondary);
    border-radius: 0 0 10px 10px;
    padding: 10px;
}

.swiper-slide .btn-primary:hover {
    background-color: #0e2c4b;
}

.modal-content {
    text-align: right;
}

#errorMessages {
    background-color: #fff3f3;
    color: #b00020;
    border: 1px solid #f5c2c7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

#errorMessages div {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

#errorMessages div::before {
    content: "\26A0";
    margin-left: 8px;
    color: #b00020;
    font-size: 1.1rem;
}

.play-btn {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: #163A5F;
    color: #fff;
    border-radius: 50%;
    font-size: 2.5rem;
    line-height: 70px;
    text-align: center;
    text-decoration: none;
    position: relative;
    animation: pulse 2s infinite;
}

.play-btn:hover i {
    color: #fff;
    transform: rotate(180deg) scale(1.2);
}

.play-btn:hover {
    color: #fff;
    transform: rotate(180deg) scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #ffffffe1;
    }
    70% {
        box-shadow: 0 0 0 15px rgba(244, 98, 58, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}
