/* Hero Section */
.hero {
    /* Push the slider down so it doesn't overlap the sub-header if needed */
    margin-top: 0;
    height: 90vh;
    position: relative;
    color: #fff;
    /* No display:flex here, because Swiper handles the slide layout */
}

h1 {
    color: #061928;
}

/* Swiper Container should fill the hero section */
.hero .swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/* Each slide is a "page" in the slider */
.hero .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Dark overlay on each slide */
.hero .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.5); */
    /* Adjust overlay darkness if you want */
    z-index: 1;
}

/* Slide Image */
.hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    /* This prevents image stretching */
}

/* Slide Text Content */
.hero-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    justify-content: flex-start;
    align-items: center;
    width: 500px;
    margin-right: -750px;
    /* top: 50%;
    left: 50%; */
    /* margin-left: 350px; */
    /* transform: translate(-50%, -50%); */
    /* max-width: 600px; */
    z-index: 2;
    /* Above the overlay and image */
    text-align: center;
    /* padding: 1rem; */
}


.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fdbe62;
    /* White text over dark overlay */
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #fff;
}

.cta-btn {
    background-color: #fdbe62;
    color: #122227;
    /* padding: 0.75rem 1.5rem; */
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.5s ease-out;
}

.cta-btn:hover {
    background-color: #fdbe62;
    color: #122227;
    letter-spacing: 2px;
}

/* Swiper Buttons & Pagination - ensure they're above the overlay */
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination {
    z-index: 3;
    color: #fff;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.main-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}



/* Primary button (Bootstrap override) */
.btn-primary {
    background: #061928 !important;
    border: 1px solid #061928 !important;
    letter-spacing: 1px !important;
    transition: .3s ease !important;
    color: #f8f8f8 !important;
    /* font-size: bold !important; */
    font-weight: bold !important;
}

.btn-primary:hover {
    background: #061928 !important;
    border: 1px solid #061928 !important;
    letter-spacing: 1.5px !important;
    color: #f8f8f8 !important;
}


/* Category Section  */

.category {
    display: flex;
    position: relative;
    flex-direction: column;
    color: #0D0D0D;
    justify-content: center;
    align-items: center;
    padding: 30px;
}


.category h1 {
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 1px;
    /* margin-bottom: 1rem; */
}

.category p {
    font-size: 1rem;
    /* margin-bottom: 1.5rem; */
    line-height: 1.6;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .category h1 {
        font-size: 20px;
    }

    .category p {
        font-size: 14px;
    }

}

.category-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: flex-end;
    align-items: center;
    height: 220px;
    width: 280px;
    color: #f8f8f8;
}

.category-card img {
    object-fit: fill;
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 8%;
    transition: transform 0.3s ease;
}

.category-content {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.category-content img {
    width: 50px;
    height: 50px;
    object-fit: fill;
}

.category-content a {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

/* Retain smooth transitions for images and links */
.category-card img,
.category-content a {
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Default dark appearance for the image */
.category-card img {
    filter: brightness(0.5) contrast(1.2) saturate(0.8);
}

/* Dark cinematic image filter on hover */
.category-card:hover img {
    transform: scale(1.05);
    filter: saturate(1.1) brightness(0.9) contrast(1.1);
}

/* Ensure card container is relative and hides overflow */
.category-card {
    position: relative;
    overflow: hidden;
}

/* Dark gradient overlay with a subtle red undertone for a cinematic effect */
.category-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.4), rgba(30, 0, 0, 0.4));
    transition: left 0.5s ease;
    z-index: 1;
}

.category-card:hover::after {
    left: 100%;
}

/* Animate the overlay content (link) slightly on hover */
.category-card:hover .category-content a {
    transform: translateY(-5px) scale(1.05);
    color: #ffffff;

}

/* Darker, extended shadow for a cinematic depth */
.category-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}


/* Courses Section Styles */
.courses {
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: center;
    align-items: center;
    position: relative;
}

.courses h1 {
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 1px;
}

.courses p {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: bold;
}


/* Container for all cards */
.courses-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
}


/* Course Card Styles */
.course-card {
    display: flex;
    flex-direction: column;
    width: 350px;
    height: auto;
    justify-content: space-between;
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Lift card on hover */
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Course Image Area */
.course-image {
    overflow: hidden;
}

/* Image transitions */
.course-image img {
    width: 100%;
    height: 280px;
    object-position: center;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.none {
    text-decoration: none;
    color: #000;
}

/* Zoom in the image on hover */
.course-card:hover .course-image img {
    transform: scale(1.05);
}

/* Course Content Area */
.course-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Title and paragraph transitions */
.course-content h3 {
    font-size: 18px;
    color: #000;
    font-weight: bold;
    letter-spacing: 1px;
    /* margin-bottom: 10px; */
}


/* Optional: change background color on hover for the content area */
.course-card:hover .course-content {
    background-color: #f9f9f9;
}


/* Course Meta: Price and Duration */
.course-meta {
    margin-top: 20px;
    font-size: 18px;
    color: #000;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.course-price {
    font-weight: bold;
}

.course-duration {
    font-style: italic;
}



@media screen and (max-width: 768px) {
    .courses h1 {
        font-size: 20px;
    }

    .courses p {
        font-size: 14px;
    }

    .course-content h3 {
        font-size: 20px;
    }

}

/* BANNER STYLES */

.banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #fff;
    border-radius: 20px;
    width: 100%;
    height: 50vh;
    background: linear-gradient(45deg, rgb(13, 13, 13), rgb(80, 107, 86), rgb(13, 13, 13));
    text-align: center;
    color: #fff;
}


.banner h1 {
    font-size: 2em;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner p {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
}

.banner .btn {
    font-size: 1em;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 5px;
    background-color: #061928;
    border: none;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.banner .btn:hover {
    background-color: #061928;
    color: #fff;
    letter-spacing: 1px;
}

@media screen and (max-width: 768px) {
    .banner h1 {
        font-size: 1em !important;
    }

    .banner p {
        font-size: .8em !important;
    }

    .banner .btn {
        font-size: .8em !important;
        padding: 10px 20px !important;
    }

}

/* CSS for Why Choose Us Section */
/* Container styles */
.why-choose-us {
    background: #0d3d61;
    padding: 80px 0;
    text-align: center;
    direction: rtl;
}

.why-choose-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section title and subtitle */
.section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

.section-subtitle {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
    animation-delay: 0.1s;
}

/* Cards container */
.reasons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Individual reason card */
.reason-card {
    background: linear-gradient(45deg, rgb(13, 13, 13), rgb(80, 107, 86), rgb(13, 13, 13));
    width: 300px;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #506b56;
    box-shadow: 0 6px 12px rgba(190, 184, 184, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.reason-card:hover {
    transform: translateY(0);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Icon styles */
.reason-card i {
    font-size: 3em;
    color: #fff;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.reason-card:hover i {
    color: #fff;
}

/* Card title and description */
.reason-card h3 {
    font-size: 1.5em;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.reason-card p {
    font-size: 1em;
    font-weight: lighter;
    color: #fff;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply staggered fade-in animation to cards */
.animate {
    animation: fadeInUp 0.6s forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reasons {
        flex-direction: column;
        align-items: center;
    }
}


/* Custom Courses Slider - Fixed Styles */
.custom-course-slider {
    padding: 60px 0;
    background-color: #f8f8f8;
    direction: rtl;
    overflow: hidden;
}

.custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.custom-slider-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #061928;
    margin-bottom: 30px;
    text-align: center;
}

.custom-swiper-container {
    width: 100%;
    padding: 20px 0 40px;
    overflow: hidden;
}

.custom-swiper-wrapper {
    display: flex;
    transition-timing-function: linear;
}

.custom-swiper-slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.custom-swiper-slide::before {
    background: none;
}

.custom-course-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.custom-course-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.custom-course-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.custom-course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-course-card:hover .custom-course-img img {
    transform: scale(1.1) rotate(1deg);
}


.custom-course-details {
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-course-card:hover .custom-course-details {
    transform: translateY(-8px);
    opacity: 0.95;
}

.custom-course-details h3 {
    font-size: 1em;
    color: #061928;
    margin-bottom: 10px;
    font-weight: bold;
}

.custom-course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 1em;
    color: #061928;
    font-weight: bold;
}

.custom-swiper-button-next,
.custom-swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    z-index: 10;
    cursor: pointer;
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
    color: #061928;
    font-size: 24px;
}

.custom-swiper-button-next {
    left: -25px;
}

.custom-swiper-button-prev {
    right: 0px;
}

.custom-swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}

.custom-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    display: inline-block;
    border-radius: 50%;
    background: #ccc;
    opacity: 1;
}

.custom-swiper-pagination .swiper-pagination-bullet-active {
    background: #0D0D0D;
}

@media (max-width: 960px) {
    .custom-slider-title {
        font-size: 2em;
    }

    .custom-course-img {
        height: 150px;
    }

    .navv ul li a {
        color: #000;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease;
        font-size: 14px;
    }
}

/* 4. Fade‑up entrance for active slide */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* .custom-course-card {
  opacity: 0;
} */
.swiper-slide-active .custom-course-card {
    /* animation: fadeInUp 0.6s ease forwards; */
}


#lms-loader {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;

    /* animated diagonal gradient */
    background: linear-gradient(45deg, #0D0D0D, #506B56, #0D0D0D);
    background-size: 200% 200%;
    animation: gradientBG 6s ease infinite, fade-out-bg 0.6s ease-out forwards;

    /* keep fade‑out ability */
    transition: opacity 0.6s ease;
}

#lms-loader.fade-out {
    opacity: 0;
}

/* 2) Optional: a subtle pulse “glow” behind the icon/text */
#lms-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(80, 107, 86, 0.15), transparent 60%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* bring icon/text above that pseudo‑layer */
#lms-loader i,
#lms-loader p {
    position: relative;
    z-index: 1;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* fade-out‑bg ensures the gradient stops at 100% opacity before we remove the element */
@keyframes fade-out-bg {
    to {
        background-position: 0% 50%;
    }
}

/* graduation cap icon */
#lms-loader i {
    font-size: 5rem;
    color: #000;
    /* Your primary green color */
    /* deep‑red for theatrical feel */
    animation: cap-spin 1s ease-in-out infinite;
}

/* loader text */
#lms-loader p {
    margin-top: 30px;
    font-size: 24px;
    color: #f8f8f8;
    /* Your light text color */
    font-weight: bold;
    animation: text-bounce 1s ease-in-out infinite;
}

/* icon spin & pulse */
@keyframes cap-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* text bounce */
@keyframes text-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* ======================================================
   Teachers Section (fully isolated, overrides global Swiper
   ====================================================== */
/* Teachers Section - Mobile First Approach */
.teachers-section {
    padding: 30px 0;
    background: #ffffff;
    direction: rtl;
    position: relative;
    font-weight: bold !important;
}

/* Title & Subtitle */
.teachers-section .teachers-title {
    font-size: 1.8em;
    font-weight: bold !important;
    text-align: center;
    color: #061928;
    margin-bottom: 5px;
}

.teachers-section .teachers-subtitle {
    font-size: 1em;
    text-align: center;
    font-weight: bold !important;
    color: #000;
    margin-bottom: 20px;
    padding: 0 15px;
}

/* Swiper Container */
.teachers-section .teachers-swiper {
    padding: 0 15px 40px !important;
    position: relative;
}

/* Teacher Card */
.teachers-section .teacher-card {
    background: #1f1b1e;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    /* filter: grayscale(80%) brightness(0.9); */
    transform: perspective(600px) rotateX(0deg);
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 260px;
    width: 100%;
}

/* Avatar */
.teachers-section .teacher-avatar {
    width: 120px;
    height: 120px;
    object-fit: fill;
    object-position: center;
    margin: 0 auto 15px;
    border-radius: 6px;
    overflow: hidden;
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Name & Bio */
.teachers-section .teacher-name {
    font-size: 1.2em;
    margin: 8px 0;
    color: #f8f8f8;
    font-weight: bold !important
}

.teachers-section .teacher-bio {
    font-size: 1em;
    line-height: 1.4;
}

/* Navigation Buttons */
.teachers-section .teachers-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.teachers-section .teachers-btn-prev {
    right: 5px;
}

.teachers-section .teachers-btn-next {
    left: 5px;
}

.teachers-section .teachers-btn i {
    font-size: 0.9em;
    color: #444;
}

/* Pagination */
.teachers-section .swiper-pagination {
    bottom: 10px !important;
}

.teachers-section .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;
}

.teachers-section .swiper-pagination-bullet-active {
    background: #000 !important;
    width: 10px !important;
    height: 10px !important;
}

/* Tablet Styles */
@media (min-width: 576px) {
    .teachers-section {
        padding: 40px 0;
    }

    .teachers-section .teachers-title {
        font-size: 2.2em;
    }

    .teachers-section .teachers-subtitle {
        font-size: 1.1em;
    }

    .teachers-section .teachers-btn-prev {
        right: 15px;
    }

    .teachers-section .teachers-btn-next {
        left: 15px;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .teachers-section .teachers-title {
        font-size: 2.8em;
    }

    .teachers-section .teacher-card {
        padding: 20px;
    }

    .teachers-section .teacher-avatar {
        width: 150px;
        height: 150px;
        object-fit: fill;
        object-position: center;
    }

    .teachers-section .teacher-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

    .teachers-section .teacher-name {
        font-size: 1.3em;
    }

    .teachers-section .teacher-bio {
        font-size: 1.1em;
    }

    /* Hover effects only on desktop */
    .teachers-section .teacher-card:hover {
        filter: none;
        transform: perspective(600px) rotateX(12deg) translateY(-12px);
    }

    .teachers-section .teacher-card:hover .teacher-avatar img {
        filter: none;
        transform: scale(1.1) rotate(1.5deg);
    }
}

/* ===== Opinions Section – جديد ومعزول ===== */
.opinions-section {
    padding: 60px 0;
    background: #fafafa;
    direction: rtl;
}

.opinions-section .custom-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
    font-weight: bold;
}

/* حاوية السلايدر */
.opinions-section .opinions-swiper {
    position: relative;
    width: 700px;
    margin: 0 auto;
    padding-bottom: 60px;
    /* مساحة للنقاط */
}

/* تجاوز أي قواعد عالمية للسليدر */
.opinions-section .opinions-swiper>.swiper-wrapper {
    display: flex !important;
    transition: none;
    /* لمنع أي تأثيرات قديمة */
}

/* كل شريحة تحتضن بطاقة واحدة */
.opinions-section .opinions-swiper .swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    opacity: 0.6;
    /* شفافية خفيفة للغير نشطة */
    transition: opacity 0.4s ease;
}

/* البطاقة الأساسية */
.opinions-section .opinion-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: scale(0.95);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* صورة داخل البطاقة */
.opinions-section .opinion-card .opinion-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .opinions-section .opinions-swiper {
        width: 80%;
    }

    .opinions-section .opinions-button-prev,
    .opinions-section .opinions-button-next {
        top: 30% !important;
    }

    .opinions-section .opinions-button-prev {
        left: 1px !important;
    }

    .opinions-section .opinions-button-next {
        right: 1px !important;
    }

}

/* البطاقة والنص النشطة */
.opinions-section .opinions-swiper .swiper-slide-active {
    opacity: 1 !important;
}

.opinions-section .opinions-swiper .swiper-slide-active .opinion-card {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* حركة Fade+Zoom عند ظهور البطاقة */
@keyframes opinionPop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.opinions-section .opinions-swiper .swiper-slide-active .opinion-card {
    animation: opinionPop 0.6s ease-out forwards;
}

/* أزرار التنقل */
.opinions-section .opinions-button-prev,
.opinions-section .opinions-button-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.opinions-section .opinions-button-prev {
    left: 14px;
}

.opinions-section .opinions-button-next {
    right: 14px;
}

.opinions-section .opinions-button-prev i,
.opinions-section .opinions-button-next i {
    color: #444;
    font-size: 1em;
}



.opinions-section .swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    display: flex;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 16px !important;
    bottom: -15px !important;
    position: relative !important;
    z-index: 10 !important;
}

.opinions-section .opinions-pagination .swiper-pagination-bullet {
    /* width: 10px; height: 10px; */
    background: #523d3d;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
}

.opinions-section .opinions-pagination .swiper-pagination-bullet-active {
    background: #333;
    transform: scale(1.2);
}


@media screen and (max-width: 768px) {
    .hero {
        height: 50vh;
    }

    .hero-content {
        width: 140px !important;
        margin-right: -220px !important;
        padding: 0px;
    }

    .hero h1 {
        font-size: 14px !important;
    }

    .hero p {
        font-size: 12px !important;
    }

    .hero .cta-btn {
        font-size: 12px !important;
        /* padding: 0.5rem 1rem !important; */
    }

    .hero .swiper-rtl .swiper-button-next,
    .hero .swiper-rtl .swiper-button-prev {
        color: #000 !important;
        width: 12px !important;
    }

}
