:root {
    /* Primary Colors */
    --primary-blue: #007bff;
    --white: #ffffff;
    --yellow: #ffc107;
    --black: #000000;

    /* Secondary Colors */
    --gray-dark: #333333;
    --gray-light: #f8f9fa;
    --blue-dark: #0056b3;
    --blue-light: #e7f1ff;

    /* Accent Colors */
    --success-green: #28a745;
    --error-red: #dc3545;
    --info-teal: #17a2b8;

    /* Typography and Layout */
    --font-family: 'Tajawal', sans-serif;
    --font-size-base: 1rem;
    --font-size-large: 1.25rem;
    --font-size-small: 0.875rem;
}

body {
    font-family: var(--font-family);
    direction: rtl;
    text-align: right;
    background-color: var(--white);
    color: var(--black);
    font-size: 16px;
}

.hero-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
    margin-bottom: 50px;
}

.carousel-item {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.carousel-item.active img {
    transform: scale(1.1);
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    z-index: 2;
    padding: 0;
    text-align: center;
}

.carousel-caption .overlay {
    background: none;
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.carousel-indicators {
    bottom: 30px;
    z-index: 2;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--white);
    opacity: 0.6;
    margin: 0 6px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--yellow);
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50%;
    background-position: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.5);
}

.animate__animated.animate__fadeIn {
    animation-duration: 1s;
}

.animate__animated.animate__fadeInDown,
.animate__animated.animate__fadeInLeft,
.animate__animated.animate__fadeInRight,
.animate__animated.animate__fadeInUp {
    animation-duration: 1.2s;
}
@media (max-width: 1200px) {
    .hero-section {
        height: 70vh;
    }
    .carousel-item,
    .carousel-item img {
        height: 70vh;
    }
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
    .carousel-caption .btn {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 60vh;
    }
    .carousel-item,
    .carousel-item img {
        height: 60vh;
    }
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
    .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    .carousel-indicators button {
        width: 10px;
        height: 10px;
    }
}


.about-us-slider {
    padding: 80px 20px;
    text-align: center;
}

.about-us-slider ,.features-section .section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-us-slider .intro-text {
    font-size: 1.2rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.features-section .intro-text{
        font-size: 1.2rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.client-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.slider-track.no-transition {
    transition: none;
}

.brand-item {
    flex: 0 0 auto;
    width: 160px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.brand-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.brand-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-item:hover::before {
    opacity: 1;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.control-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.control-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.control-btn:active {
    transform: translateY(0);
}

.speed-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    display: none;
}

.speed-slider {
    display: none;
}

/* RTL Support */
[dir="rtl"] .slider-track {
    direction: ltr;
}

/* Accessibility */
.brand-item:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

.control-btn:focus {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .about-us-slider {
        padding: 40px 10px;
    }

    .about-us-slider .section-title {
        font-size: 2rem;
    }

    .about-us-slider .intro-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .brand-item {
        width: 120px;
        height: 80px;
    }

    .slider-track {
        gap: 15px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .speed-control {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 479px) {
    .brand-item {
        width: 100px;
        height: 70px;
    }

    .slider-track {
        gap: 10px;
    }
}


/* Fallback values for CSS variables */
:root {
    --primary-blue: #007bff;
    --yellow: #ffc107;
    --gray-light: #f8f9fa;
    --gray-dark: #333;
    --white: #fff;
    --blue-light: #e7f1ff;
    --blue-dark: #0056b3;
    --font-size-large: 1.5rem;
    --font-size-base: 1rem;
}

/* Services Section */
.services-section {
    background-color: var(--gray-light);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 50px;
}

.services-section .section-title {
    margin-bottom: 3rem;
}

.services-section .section-title h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-section .section-title h2 {
    color: var(--gray-dark);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.services-section .title-underline {
    width: 100px;
    height: 4px;
    background: var(--yellow);
    margin: 0 auto;
    border-radius: 2px;
}

.services-section .service-card {
    background: linear-gradient(145deg, var(--white), var(--gray-light));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    border: none;
    overflow: hidden;
}

.services-section .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.services-section .card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.services-section .card-img-top {
    height: 220px;
    object-fit: cover;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    transition: transform 0.5s ease;
}

.services-section .service-card:hover .card-img-top {
    transform: scale(1.05);
}

.services-section .card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.services-section .card-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 200px;
}

.services-section .card-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-section .card-text {
    color: var(--gray-dark);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.services-section .btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.services-section .btn-primary:hover {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.5);
}

/* Staggered animation delays */
.services-section .service-card[data-animation-delay="0.1s"] {
    animation-delay: 0.1s;
}

.services-section .service-card[data-animation-delay="0.2s"] {
    animation-delay: 0.2s;
}

.services-section .service-card[data-animation-delay="0.3s"] {
    animation-delay: 0.3s;
}

.services-section .service-card[data-animation-delay="0.4s"] {
    animation-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .services-section {
        padding: 3rem 0;
    }

    .services-section .section-title h1 {
        font-size: 2.2rem;
    }

    .services-section .section-title h2 {
        font-size: 1.6rem;
    }

    .services-section .card-img-top {
        height: 200px;
    }

    .services-section .card-title {
        font-size: 1.6rem;
    }

    .services-section .card-text {
        font-size: 1rem;
    }

    .services-section .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .services-section .card-body {
        max-height: 180px;
    }
}

@media (max-width: 767.98px) {
    .services-section {
        padding: 2rem 0;
    }

    .services-section .section-title h1 {
        font-size: 1.8rem;
    }

    .services-section .section-title h2 {
        font-size: 1.4rem;
    }

    .services-section .card-img-top {
        height: 180px;
    }

    .services-section .card-title {
        font-size: 1.5rem;
    }

    .services-section .card-text {
        font-size: 0.9rem;
    }

    .services-section .btn-primary {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    .services-section .card-body {
        max-height: 200px;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 1.5rem 0;
    }

    .services-section .section-title h1 {
        font-size: 1.6rem;
    }

    .services-section .section-title h2 {
        font-size: 1.2rem;
    }

    .services-section .card-img-top {
        height: 150px;
    }

    .services-section .card-title {
        font-size: 1.4rem;
    }

    .services-section .card-text {
        font-size: 0.85rem;
    }

    .services-section .btn-primary {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .services-section .card-body {
        max-height: 220px;
    }
}
.booking-section {
    background-color: var(--blue-dark);
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;

}

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

.booking-cta h3 {
    font-size: 2rem;
    color: var(--white);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.booking-cta i {
    font-size: 1.8rem;
    color: #28a745;
}

.booking-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background-color: var(--success-green);
    color: #ffffff;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.booking-btn:hover {
    background-color: #007bff;
}
