.city-box:hover,
.services .card:hover {
    transform: translateY(-5px);
}
.caption,
.cities,
.features {
    text-align: center;
}
.slider-item::before,
.counter::before,
body #clouds {
    bottom: 0;
    position: absolute;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: Cairo;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Cairo-SemiBold.ttf") format("truetype");
}
:root {
    --main-color: #30336b;
    --white-color: #fff;
    --black-color: #272727;
    --gray-color: #666;
    --balck-deep-color: #000;
}
body {
    color: #999;
    font-size: 15px;
    font-family: Cairo;
    line-height: 1.7;
    height: 180vh;
}
.service-detail .content-service p,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--black-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0;
    position: relative;
    padding: 0 0 10px;
    font-weight: 400;
    line-height: 120% !important;
    margin: 0;
}
h1 {
    font-size: 24px;
}
h2 {
    font-size: 22px;
}
.counter-box p,
h3 {
    font-size: 18px;
}
h4 {
    font-size: 16px;
}
h5 {
    font-size: 14px;
}
h6 {
    font-size: 13px;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: #212121;
    text-decoration: none !important;
    opacity: 1;
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
    opacity: 0.8;
}
.btn,
a {
    text-decoration: none !important;
    outline: 0 !important;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.calling,
.whatsapp {
    position: fixed;
    bottom: 20px;
    z-index: 999999;
    background-color: var(--white-color);
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.container {
    max-width: 1270px;
}
.whatsapp {
    right: 20px;
    justify-content: center;
    align-items: center;
}
.calling img,
.whatsapp img {
    width: 100%;
    height: 100%;
}
.calling {
    left: 20px;
    justify-content: center;
    align-items: center;
}
.bg-nav,
.slider-item::before {
    display: block;
    top: 0;
    right: 0;
    left: 0;
}
.navbar-collapse {
    flex-grow: 0;
}
.bg-nav {
    background-color: #fff;
    padding: 5px 40px;
    position: relative;
    width: 100%;
    z-index: 111;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
}
.navbar-nav {
    display: flex;
    gap: 12px;
}
.nav-link {
    padding: 5px 20px !important;
    color: var(--black-color);
}
.caption,
.caption a,
.caption h1,
.caption p,
.nav-item:hover .nav-link {
    color: var(--white-color);
}
.nav-item {
    border-radius: 33px;
    transition: background-color 0.3s ease-in-out;
}
.caption a:hover,
.nav-item:hover {
    background-color: var(--main-color);
    color: var(--white-color);
}
.slider-item {
    position: relative;
    height: 85.7vh;
    min-height: 400px;
    overflow: hidden;
}
.slider-item picture img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* حتى يملأ الصورة كاملة */
}
.slider-item::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.5);
}
.caption {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); /* ينص النص بالنص */
    text-align: center;
    color: #fff;
    padding: 0 15px; /* مسافة أمان يمين ويسار */
    width: 90%; /* يمنع النص يطلع برة */
    z-index: 2;
}
.about,
.cities,
.features {
    padding: 75px 40px;
}
.caption h1 {
    font-size: 3rem;
    font-weight: bold;
}
.caption p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .caption h1 {
        font-size: 1.8rem;
    }
    .caption p {
        font-size: 1rem;
    }
}

/* للشاشات الكبيرة */
@media (min-width: 1200px) {
    .caption h1 {
        font-size: 4rem;
    }
    .caption p {
        font-size: 1.5rem;
    }
}

.caption a {
    position: relative;
    display: inline-block;
    background-color: var(--main-color);
    z-index: 2;
    overflow: hidden;
    padding: 10px 20px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    border: 0;
}
body #clouds path {
    fill: #ffffff;
    bottom: -10px;
    position: absolute;
    overflow: hidden;
    stroke: #ffffff;
}
body #clouds path:first-child {
    animation: 20s linear infinite cloud;
}
body #clouds path:nth-child(2) {
    animation: 25s linear infinite cloud;
}
body #clouds {
    display: inline-block;
    z-index: 9999;
}
.about {
    padding: 80px 0;
    background: #f9f9f9; /* خلفية فاتحة أنيقة */
}

.about .about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--main-color, #0088cc);
    margin-bottom: 20px;
    position: relative;
}

.about .about-text h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--main-color, #0088cc);
    border-radius: 2px;
}

.about .about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.about .about-text .btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
}

/* صورة */
.about .about-image img {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.about .about-image img:hover {
    transform: scale(1.05);
}

/* تجاوب */
@media (max-width: 768px) {
    .about {
        text-align: center;
    }
    .about .about-text h2 {
        font-size: 28px;
    }
    .about .about-text p {
        font-size: 16px;
    }
}
.about .about-text h2 {
    position: relative;
    font-size: 36px;
    font-weight: 700;
    color: var(--main-color, #0088cc);
    margin-bottom: 40px;
    text-align: center; /* حتى الخطوط تكون متناسقة */
}

/* الخط الأساسي تحت العنوان */
.about .about-text h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background-color: var(--main-color);
    border-radius: 2px;
}

/* خط زخرفي إضافي أصغر */
.about .about-text h2::before {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--main-color);
    border-radius: 2px;
}

.text-vission {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--black-color);
}
.cities {
    background-color: var(--main-color);
}
.city-box,
.contact form {
    background-color: #fff;
}
.cities .section-title {
    color: var(--white-color);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.city-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.city-content {
    background: rgba(255, 255, 255, 0.85); /* تأثير زجاجي */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease-in-out;
}

.city-box:hover .city-content {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.city-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.city-box:hover .city-icon {
    transform: scale(1.1);
}

.city-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-top: 10px;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .cities .section-title {
        font-size: 1.8rem;
    }
    .city-name {
        font-size: 18px;
    }
    .city-icon {
        width: 60px;
        height: 60px;
    }
}
.features,
.our-client,
.services,
.vision-mission {
    padding: 75px 40px;
    background-color: #f9f9f9;
    text-align: center;
}
.blog h2,
.blog-listing h2,
.faq h2,
.features h2,
.our-client h2,
.services h2,
.testimonials h2,
.vision-mission h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--main-color);
}
.counter h2{
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--white-color);
}
.blog h2::before,
.blog-listing h2::before,
.faq h2::before,
.features h2::before,
.our-client h2::before,
.services h2::before,
.testimonials h2::before,
.vision-mission h2::before {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--main-color);
    border-radius: 2px;
}
.blog h2::after,
.blog-listing h2::after,
.faq h2::after,
.features h2::after,
.our-client h2::after,
.services h2::after,
.testimonials h2::after,
.vision-mission h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background-color: var(--main-color);
    border-radius: 2px;
}
.services {
    background: #f9f9f9;
}
.services .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-color, #0088cc);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.services .section-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--main-color, #0088cc);
    margin: 8px auto 0;
    border-radius: 2px;
}

.services .section-header .subtitle {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: auto;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.service-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: var(--main-color, #0088cc);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.read-more::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* متجاوب */
@media (max-width: 768px) {
    .services .section-header h2 {
        font-size: 2rem;
    }
    .service-title {
        font-size: 1.2rem;
    }
    .service-text {
        font-size: 0.9rem;
    }
}

.blog .blog-box p,
.features p {
    font-size: 16px;
    color: var(--gray-color);
    margin-bottom: 20px;
}
.blog .read-more{
    margin: 5px;
    color: var(--main-color);
}
.blog .read-more::after {
    content: "\2190";
    margin-right: 8px;
    display: inline-block;
    transition: transform 0.3s;
}
.blog .read-more:hover::after{
    transform: translateX(-5px);
}
.features {
    background: #ece9e6;
    background: -webkit-linear-gradient(to top, #fff, #ece9e6);
    background: linear-gradient(to top, #fff, #ece9e6);
}
.counter {
    background-image: url(../images/talk-banner.webp);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    color: #fff;
    position: relative;
    z-index: 1;
}
.counter::before {
    content: "";
    top: 0;
    right: 0;
    left: 0;
    background-color: rgb(0 0 0 / 61%);
    z-index: -1;
}
.blog .blog-box,
.faq,
.testimonials {
    background-color: var(--white-color);
}
.our-client img {
    max-width: 150px;
    transition: transform 0.3s;
    display: block;
    margin: 0 auto;
}
.our-client img:hover {
    transform: scale(1.1);
}
.swiper {
    padding: 20px 0;
    height: fit-content;
}
.blog,
.faq,
.testimonials {
    padding: 75px 40px;
    text-align: center;
}
.service-detail .content-service ul li,
.testimonials .myTestimonials p {
    color: var(--gray-color);
}
.testimonials img {
    object-fit: cover;
    border: 3px solid #ddd;
}
.swiper-pagination-bullet-active {
    background: var(--main-color) !important;
}
.blog {
    background-color: #30336b17;
    border-top-left-radius: 17%;
    border-bottom-right-radius: 17%;
}
.blog .blog-box {
    text-align: right;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 12px 0 rgb(201 201 201 / 75%);
    -webkit-box-shadow: 0 0 12px 0 rgb(201 201 201 / 75%);
    -moz-box-shadow: 0 0 12px 0 rgb(201 201 201 / 75%);
}
.blog .blog-box .img-fluid {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    object-fit: cover;
}
.blog .blog-box h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--black-color);
}
.accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}
.contact {
    position: relative;
    background: url("../images/contact.webp") center center/cover no-repeat;
    color: #fff;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.contact-overlay {
    background-color: rgba(0, 0, 0, 0.55); /* شفافية أعمق */
    backdrop-filter: blur(4px); /* يعطي تأثير زجاجي أنيق */
    padding: 103px 30px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.contact .contact-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.contact .contact-text h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--main-color);
    margin-top: 15px;
    border-radius: 2px;
}

.contact .contact-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #eaeaea;
}

.contact .btnWA {
    display: inline-flex;
    align-items: center;
    background: var(--main-color);
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 50px;
    transition: 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.contact .btnWA:hover {
    background: #fff;
    color: var(--main-color);
    transform: translateY(-3px);
}

.contact form {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeInUp 0.9s ease both;
}

.contact form input,
.contact form textarea {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px 15px;
    transition: 0.3s;
}

.contact form input:focus,
.contact form textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.3);
    outline: none;
}

.contact .btn-contact {
    background: var(--main-color);
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.contact .btn-contact:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.heading-with-line {
    position: relative;
    display: inline-block;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 60px;
    text-align: center;
}
.heading-with-line::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--main-color);
}
.heading-with-line::after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 51%;
    transform: translateX(-40%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--main-color);
    z-index: 1;
}
.contact .contact-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #ddd;
}
.contact form input,
.contact form textarea {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
}
.contact form button {
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: var(--main-color);
    color: var(--white-color);
}
.contact form button:hover {
    background-color: transparent;
    border: 1px solid var(--main-color);
    color: var(--black-color);
}
.contact .btnWA {
    display: flex;
    align-items: center;
    background-color: transparent;
    color: #fff;
    border: 1px solid #25d366;
}
.contact .btnWA:hover {
    background-color: #25d366;
    color: #fff;
}
.footer {
    background-color: var(--balck-deep-color);
    color: var(--white-color);
    padding: 75px 40px;
    text-align: justify;
}
.footer .footer-main h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #8c95a1;
}
.footer .footer-main .deep-purple {
    color: var(--main-color);
    width: 60px;
    display: inline-block;
}
.footer .footer-main p {
    font-size: 16px;
    color: #8c95a1;
    margin-bottom: 20px;
}
.footer .footer-main a {
    color: #8c95a1;
}
.footer .footer-main .nav-item {
    width: fit-content;
}
.footer .footer-main .nav-item:hover {
    color: var(--main-color);
    background-color: transparent;
}
.footer .footer-main .nav-item:hover a {
    color: var(--main-color);
}
.footer-bottom {
    border-top: 1px solid #181818;
    padding-top: 20px;
    background-color: #000;
}
.footer-bottom p {
    color: #8c95a1;
    font-size: 14px;
    display: inline-block;
}
.all-page-title {
    background-size: cover;
    background-color: var(--main-color);
    background-repeat: no-repeat;
    padding: 80px 0 110px;
    background-position: center bottom;
}
body .clouds-about {
    bottom: 88px !important;
}
.all-page-title h1 {
    position: relative;
    font-size: 70px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.3em;
    margin-bottom: 10px;
    text-transform: capitalize;
}
.page-info {
    text-align: center;
}
.inner-container ul li {
    display: inline-block;
    color: #121212;
}
.inner-container ul li span {
    background: #121212;
    display: inline-block;
    color: #fff;
    padding: 5px 10px;
}
.inner-container ul li a {
    display: inline-block;
    color: var(--white-color);
    padding: 0 5px;
}
.inner-container ul li a:hover {
    color: #fff;
}
.service-detail .btn-primary-custom-service {
    background-color: var(--main-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}
.clouds-blogs-list,
.clouds-showService {
    bottom: 181px !important;
}
.blog-page {
    background-color: var(--white-color);
}
