.slider-container {
    position: relative;
    height: 450px;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    text-align: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.swiper-slide:hover img {
    transform: scale(1.1);
}

/* تحسين المحتوى والأزرار */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 80%;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    color: white;
}

.slide-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    font-weight: bold;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.slide-content .btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.1rem;
    color: white;
    background: transparent;
    border: 2px solid white;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 20px;
}

.slide-content .btn:hover {
    background: #28a745;
    border-color: #28a745;
    transform: translateY(-3px);
}

.slide-category {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    z-index: 20;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    background: rgba(40, 167, 69, 0.9);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #28a745;
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 20;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: white;
    opacity: 0.7;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #28a745;
    transform: scale(1.2);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #28a745;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #28a745;
}

/* إزالة الفراغ والهوامش غير الضرورية */
.content-slider {
    position: relative;
    background: transparent;
    padding: 0;
    margin: 0;
}

.content-slider .swiper-slide {
    height: 500px;
    border-radius: 0px;
    overflow: hidden;
}

.slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,0) 100%);
    padding: 50px 30px;
    color: white;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.slide-category {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.slide-content {
    max-width: 800px;
    margin: 0 auto;
}

.slide-content h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.swiper-slide:hover .slide-inner img {
    transform: scale(1.1);
}

.slider-navigation {
    position: relative;
    margin-top: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: #28a745;
    border-radius: 50%;
    color: white !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

@media (max-width: 768px) {
    .content-slider .swiper-slide {
        height: 400px;
    }

    .slide-content h3 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slide-content {
        width: 90%;
        padding: 20px;
    }
}
