/* Hero Section Styles */
.hero-section {
    height: 846px;
    /* direction: rtl; */
}

.hero-bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-image {
    width: fit-content;
    height: 100%;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.2);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-card {
    width: 497px;
    height: 363px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 23px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 59px;
    border-radius: 10px;
}

.hero-title {
    color: #121c52;
    font-size: 42.565px;
    font-style: normal;
    font-weight: 700;
    line-height: 46.821px; /* 110% */
    text-align: start;
    padding-top: 70px;
}

.hero-description {
    color: #121c52;
    font-size: 14.61px;
    font-style: normal;
    font-weight: 400;
    line-height: 21.9px; /* 149.897% */
    text-align: start;
}

.hero-controls {
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.book-btn {
    display: flex;
    padding: 17.229px 33.382px;
    justify-content: center;
    align-items: center;
    gap: 10.768px;
    border-radius: 84.88px;
    background: #121c52;
    color: #fff;
    text-align: center;
    font-size: 13.58px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px; /* 103.093% */
    transition: ease all 0.3s;
}

.book-btn:hover {
    background-color: #24a2dc;
    color: #fff;
}

.contact-btn {
    display: flex;
    padding: 17.229px 33.382px;
    justify-content: center;
    align-items: center;
    gap: 10.768px;
    border-radius: 84.88px;
    background: #24a2dc;
    color: #fff;
    text-align: center;
    font-size: 13.581px;
    font-style: normal;
    font-weight: 600;
    line-height: 13.581px; /* 100% */
    transition: ease all 0.3s;
}

.contact-btn:hover {
    background-color: #121c52;
    color: #fff;
}

.hero-icon {
    width: 20px;
    height: 20px;
}

.stat-number {
    color: #1e3a8a;
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.875rem;
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-section {
        height: auto;
        padding: 30px 15px;
    }

    .hero-card {
        width: 100%;
        height: auto;
        padding: 30px 20px;
        gap: 15px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.2;
        text-align: center;
        padding-top: 20px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.6;
        text-align: center;
    }

    .hero-controls {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 20px;
    }

    .book-btn,
    .contact-btn {
        width: 100%;
        font-size: 14px;
        padding: 14px;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        height: auto;
        padding: 40px 20px;
    }

    .hero-card {
        width: 100%;
        height: auto;
        padding: 40px 25px;
        gap: 20px;
    }

    .hero-title {
        font-size: 30px;
        text-align: center;
        padding-top: 30px;
    }

    .hero-description {
        font-size: 13.5px;
        text-align: center;
    }

    .hero-controls {
        flex-direction: column;
        gap: 15px;
    }

    .book-btn,
    .contact-btn {
        font-size: 14px;
        padding: 15px 25px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        height: auto;
        padding: 60px 30px;
    }

    .hero-card {
        width: 90%;
        padding: 50px;
        gap: 20px;
    }

    .hero-title {
        font-size: 36px;
        padding-top: 40px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-controls {
        gap: 20px;
        padding-bottom: 30px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-card {
        width: 460px;
        height: auto;
        padding: 50px;
    }

    .hero-title {
        font-size: 40px;
        padding-top: 50px;
    }

    .hero-description {
        font-size: 14.5px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .hero-card {
        width: 480px;
        height: 360px;
    }

    .hero-title {
        font-size: 42px;
    }
}

/* XXL Devices (very large screens, 1400px and up) */
@media (min-width: 1400px) {
    .hero-card {
        width: 497px;
        height: 363px;
    }

    .hero-title {
        font-size: 42.565px;
    }
}

.about-home-care {
    padding: 80px 0;
    background-color: #fff;
    font-family: "Tajawal", sans-serif;
    /* direction: rtl; */
}

.about-home-care .about-image {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.about-home-care .about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.about-home-care .play-btn {
    position: absolute;
    top: 320px;
    right: -64px;
    width: 80px;
    height: 80px;
    background-color: #24a2dc;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.about-home-care .content-wrapper {
    padding-left: 60px;
}

.about-home-care .image-wrapper {
    padding-left: 20px;
}

.about-home-care .play-btn img {
    width: 18px;
    height: 18px;
}

.about-home-care .play-btn:hover {
    background-color: #121c52;
}

/* Extra Small Devices (Phones <576px) */
@media (max-width: 575.98px) {
    .about-home-care {
        padding: 40px 15px;
    }

    .about-home-care .content-wrapper {
        padding-left: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .about-home-care .image-wrapper {
        padding-left: 0;
        margin-bottom: 30px;
    }

    .about-home-care .play-btn {
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
        width: 60px;
        height: 60px;
    }

    .about-home-care .play-btn img {
        width: 16px;
        height: 16px;
    }
}

/* Small Devices (Phones/Tablets 576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .about-home-care {
        padding: 50px 20px;
    }

    .about-home-care .content-wrapper {
        padding-left: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .about-home-care .image-wrapper {
        padding-left: 0;
        margin-bottom: 30px;
    }

    .about-home-care .play-btn {
        top: 260px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
}

/* Medium Devices (Tablets 768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .about-home-care {
        padding: 60px 30px;
    }

    .about-home-care .content-wrapper {
        padding-left: 30px;
    }

    .about-home-care .image-wrapper {
        padding-left: 10px;
    }

    .about-home-care .play-btn {
        top: 280px;
        right: -30px;
        width: 70px;
        height: 70px;
    }
}

/* Large Devices (Desktops 992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .about-home-care .content-wrapper {
        padding-left: 40px;
    }

    .about-home-care .image-wrapper {
        padding-left: 15px;
    }

    .about-home-care .play-btn {
        top: 300px;
        right: -50px;
    }
}

/* Extra Large Devices (1200px - 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .about-home-care .play-btn {
        top: 310px;
        right: -58px;
    }
}

/* XXL Devices (1400px and up) */
@media (min-width: 1400px) {
    .about-home-care .play-btn {
        top: 320px;
        right: -64px;
    }
}

.content-wrapper .section-subtitle {
    color: #24a2dc;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20.16px; /* 144% */
    letter-spacing: 3px;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
    display: block;
}

.content-wrapper .section-title {
    color: #223645;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 51.84px; /* 144% */
    margin-bottom: 15px;
}

.content-wrapper .section-lead {
    color: #223645;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 32.4px; /* 180% */
    margin-bottom: 15px;
    max-width: 435px;
    text-align: justify;
}

.content-wrapper .section-description {
    color: #7a8a9e;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 25.2px; /* 180% */
    margin-bottom: 20px;
    max-width: 485px;
    text-align: justify;
}

/* .about-list {
    content: "";
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: start;
}

.about-list li {
    color: #7a8a9e;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px; 
    margin-bottom: 10px;
    position: relative;
} */

.btn-blue {
    display: flex;
    background-color: #24a2dc;
    color: white;
    padding: 12px 30px;
    font-size: 14px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    justify-self: start;
    transition: background 0.3s;
    width: 160px;
}

.btn-blue:hover {
    background-color: #121c52;
    text-decoration: none;
    color: #fff;
}

/* Extra Small Devices (Phones <576px) */
@media (max-width: 575.98px) {
    .content-wrapper .section-subtitle {
        font-size: 12px;
        letter-spacing: 1.5px;
        text-align: center;
    }

    .content-wrapper .section-title {
        font-size: 24px;
        line-height: 36px;
        text-align: center;
    }

    .content-wrapper .section-lead {
        font-size: 16px;
        line-height: 28px;
        text-align: center;
    }

    .content-wrapper .section-description {
        font-size: 13px;
        line-height: 22px;
        text-align: center;
    }

    .about-list {
        text-align: center;
    }

    .btn-blue {
        width: 100%;
        font-size: 13px;
        padding: 10px 20px;
        justify-self: center;
    }

    .about-home-care .row {
        flex-direction: column-reverse;
    }
}

/* Small Devices (576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .content-wrapper .section-title {
        font-size: 28px;
        line-height: 42px;
        text-align: center;
    }

    .content-wrapper .section-subtitle,
    .content-wrapper .section-lead,
    .content-wrapper .section-description {
        text-align: center;
    }

    .about-list {
        text-align: center;
    }

    .btn-blue {
        width: 100%;
        font-size: 13.5px;
        justify-self: center;
    }

    .about-home-care .row {
        flex-direction: column-reverse;
    }
}

/* Medium Devices (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .content-wrapper .section-title {
        font-size: 30px;
        line-height: 45px;
    }

    .content-wrapper .section-lead {
        font-size: 17px;
        line-height: 30px;
    }

    .btn-blue {
        width: auto;
    }
}

/* Large Devices (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .content-wrapper .section-title {
        font-size: 32px;
        line-height: 48px;
    }

    .btn-blue {
        font-size: 14px;
        padding: 12px 28px;
    }
}

/* Extra Large Devices (1200px - 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .content-wrapper .section-title {
        font-size: 34px;
    }
}

/* XXL Devices (1400px and up) */
@media (min-width: 1400px) {
    .content-wrapper .section-title {
        font-size: 36px;
    }
}

.about-home-care .about-image,
.about-home-care .content-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.about-home-care .about-image.in-view,
.about-home-care .content-wrapper.in-view {
    opacity: 1;
    transform: translateY(0);
}

.services-section {
    padding: 80px 0 0 0;
    background-color: #f9f9f9;
    font-family: "Tajawal", sans-serif;
    /* direction: rtl; */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.section-subtitle {
    color: #24a2dc;
    font-size: 14px;
    font-weight: 600;
    /* text-transform: uppercase; */
    margin-bottom: 5px;
    display: block;
}

.section-title {
    font-size: 28px;
    color: #121c52;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-description2 {
    font-size: 14px;
    color: #5c6c7c;
    max-width: 400px;
}

.btn-blue1 {
    display: inline-block;
    background-color: #24a2dc;
    color: white;
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn-blue1:hover {
    background-color: #121c52;
    text-decoration: none;
    color: #fff;
}

.flexing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.service-card.exact-match.in-view {
    opacity: 1;
    transform: translateY(0);
}

.service-card.exact-match {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    /* padding-bottom: 30px; */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.service-card.exact-match:hover {
    transform: translateY(-5px);
}

.service-card.exact-match .card-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.service-card.exact-match .card-icon {
    position: absolute;
    top: 235px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #24a2dc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.service-card.exact-match .card-icon img {
    width: 28px;
    height: 28px;
}

.service-card.exact-match .card-content {
    padding: 60px 20px 20px;
    text-align: center;
    width: 315px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-self: center;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    position: relative;
    bottom: 95px;
    height: 250px;
}

.service-card.exact-match h4 {
    color: #121c52;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 28.6px; /* 130% */
    margin-bottom: 10px;
}

.service-card.exact-match p {
    color: #121c52;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 150% */
    margin-bottom: 15px;
    text-align: start;
}

.service-card.exact-match .read-more {
    font-size: 14px;
    color: #24a2dc;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s;
}

.service-card.exact-match .read-more:hover {
    color: #121c52;
}

.service-card.exact-match .read-more1 {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s;
}

.service-card.exact-match .read-more1:hover {
    color: #121c52;
}

.service-card.exact-match .card-content1 {
    background-color: #24a2dc;
    padding: 60px 20px 20px;
    text-align: center;
    width: 315px;
    display: flex;
    flex-direction: column;
    justify-self: center;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    position: relative;
    bottom: 95px;
    height: 250px;
}

.service-card.exact-match .card-content1 h4 {
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 28.6px; /* 130% */
}

.service-card.exact-match .card-content1 p {
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 150% */
}

.service-card.exact-match .card-icon1 {
    background-color: #fff;
    position: absolute;
    top: 235px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Extra Small Devices (<576px) */
@media (max-width: 575.98px) {
    .section-title {
        font-size: 22px;
        text-align: center;
    }

    .section-subtitle,
    .section-description2 {
        font-size: 12px;
        text-align: center;
    }

    .section-header {
        justify-content: center;
        text-align: center;
    }

    .service-card.exact-match .card-content,
    .service-card.exact-match .card-content1 {
        width: 100%;
        height: auto;
        padding: 40px 15px 20px;
    }

    .service-card.exact-match .card-image img {
        height: 250px;
    }

    .service-card.exact-match .card-icon,
    .service-card.exact-match .card-icon1 {
        top: 120px;
        width: 50px;
        height: 50px;
    }

    .service-card.exact-match .card-icon img {
        width: 20px;
        height: 20px;
    }

    .flexing {
        flex-direction: column;
        margin-bottom: 20px;
    }
}

/* Small Devices (576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .section-title {
        font-size: 24px;
        text-align: center;
    }

    .section-subtitle,
    .section-description2 {
        text-align: center;
    }

    .section-header {
        justify-content: center;
    }

    .service-card.exact-match .card-content,
    .service-card.exact-match .card-content1 {
        width: 90%;
        height: auto;
        padding: 50px 15px 20px;
    }

    .service-card.exact-match .card-image img {
        height: 280px;
    }

    .service-card.exact-match .card-icon,
    .service-card.exact-match .card-icon1 {
        top: 150px;
        width: 55px;
        height: 55px;
    }
    .flexing {
        flex-direction: column;
        margin-bottom: 20px;
    }
}

/* Medium Devices (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .section-title {
        font-size: 26px;
    }

    .section-description2 {
        font-size: 13px;
    }

    .service-card.exact-match .card-content,
    .service-card.exact-match .card-content1 {
        width: 100%;
        height: 240px;
        padding: 50px 20px 20px;
    }

    .service-card.exact-match .card-image img {
        height: 300px;
    }

    .service-card.exact-match .card-icon,
    .service-card.exact-match .card-icon1 {
        top: 175px;
    }
}

/* Large Devices (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .section-title {
        font-size: 26px;
    }

    .service-card.exact-match .card-content,
    .service-card.exact-match .card-content1 {
        width: 300px;
        height: 250px;
    }

    .service-card.exact-match .card-image img {
        height: 320px;
    }
}

/* Extra Large Devices (1200px - 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .section-title {
        font-size: 28px;
    }

    .service-card.exact-match .card-image img {
        height: 340px;
    }
}

/* XXL Devices (1400px and up) */
@media (min-width: 1400px) {
    .service-card.exact-match .card-content,
    .service-card.exact-match .card-content1 {
        width: 315px;
        height: 250px;
    }

    .service-card.exact-match .card-image img {
        height: 350px;
    }
}

.features-section {
    padding: 60px 0;
    background-color: #fff;
    font-family: "Tajawal", sans-serif;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    border-top: 4px solid #24a2dc;
}

.feature-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    margin-bottom: 15px;
}

.feature-card .icon img {
    width: 40px;
    height: 40px;
    display: flex;
    justify-self: start;
}

.feature-card h5 {
    color: var(--Black, #121212);
    font-size: 17.042px;
    font-style: normal;
    font-weight: 600;
    line-height: 29.824px; /* 175% */
    letter-spacing: 0.511px;
    margin-bottom: 10px;
    text-align: start;
}

.feature-card p {
    color: var(--Grey, #696969);
    font-size: 13.847px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.368px; /* 161.538% */
    letter-spacing: 0.415px;
    margin: 0;
    text-align: start;
}

/* Extra Small Devices (<576px) */
@media (max-width: 575.98px) {
    .feature-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }

    .feature-card h5 {
        font-size: 15px;
        line-height: 24px;
        text-align: center;
    }

    .feature-card p {
        font-size: 12px;
        line-height: 20px;
        text-align: center;
    }

    .feature-card .icon img {
        width: 32px;
        height: 32px;
        margin: 0 auto 10px;
    }
}

/* Small Devices (576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .feature-card {
        padding: 28px 18px;
    }

    .feature-card h5 {
        font-size: 16px;
        line-height: 26px;
        text-align: center;
    }

    .feature-card p {
        font-size: 13px;
        line-height: 21px;
        text-align: center;
    }

    .feature-card .icon img {
        width: 34px;
        height: 34px;
        margin: 0 auto 12px;
    }
}

/* Medium Devices (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .feature-card {
        padding: 28px 20px;
    }

    .feature-card h5 {
        font-size: 16.5px;
        line-height: 28px;
    }

    .feature-card p {
        font-size: 13.5px;
        line-height: 22px;
    }
}

/* Large Devices (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .feature-card h5 {
        font-size: 17px;
    }

    .feature-card p {
        font-size: 13.8px;
    }

    .feature-card .icon img {
        width: 38px;
        height: 38px;
    }
}

/* Extra Large Devices (1200px - 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .feature-card h5 {
        font-size: 17.5px;
    }

    .feature-card p {
        font-size: 14px;
    }

    .feature-card .icon img {
        width: 40px;
        height: 40px;
    }
}

/* XXL Devices (1400px and up) */
@media (min-width: 1400px) {
    .feature-card h5 {
        font-size: 18px;
        line-height: 30px;
    }

    .feature-card p {
        font-size: 14.5px;
        line-height: 23px;
    }

    .feature-card .icon img {
        width: 42px;
        height: 42px;
    }
}

.appointment-section {
    background: url("../img/appointments-bg.png") center center / cover
        no-repeat;
    padding: 100px 0;
    position: relative;
    height: 550px;
}

/* .appointment-overlay {
    background-color: rgba(0, 0, 0, 0.55);
    padding: 60px 20px;
    color: white;
    height: 550px;
} */

.appointment-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.appointment-header .section-subtitle1 {
    color: #24a2dc;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    text-align: center;
}

.appointment-header p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #d0d0d0;
    font-size: 14px;
}

.form-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    color: #121c52;
    width: 1150px;
    position: relative;
    bottom: 285px;
    right: 165px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    /* direction: rtl; */
}

.form-box .form-group {
    margin-bottom: 20px;
}

.form-box label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    text-align: start;
}

[dir="rtl"] .form-box label {
    text-align: start;
}

.form-box input,
.form-box select,
.form-box textarea {
    width: 100%;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    color: #333;
    height: auto;
    text-align: start;
}

[dir="rtl"] .form-box input,
.form-box select,
.form-box textarea {
    text-align: start;
}

.patient-types {
    display: flex;
    gap: 20px;
    justify-content: start;
}

[dir="rtl"] .patient-types {
    justify-content: start;
}

.patient-types label {
    font-weight: 400;
    font-size: 14px;
}

.double-input {
    display: flex;
    justify-content: end;
}

.btn-blue {
    background-color: #24a2dc;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    border: none;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s;
    width: auto;
}

.btn-blue:hover {
    background-color: #121c52;
}

.appointment-img img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Extra Small Devices (<576px) */
@media (max-width: 575.98px) {
    .appointment-section {
        padding: 60px 0;
        height: auto;
    }

    .form-box {
        width: 100%;
        padding: 20px;
        bottom: 0;
        right: 0;
    }

    .appointment-header h2 {
        font-size: 20px;
        text-align: center;
    }

    .appointment-header p {
        font-size: 13px;
        padding: 0 10px;
    }

    .patient-types {
        flex-direction: column;
        gap: 10px;
    }

    .double-input {
        flex-direction: column;
        gap: 10px;
    }
}

/* Small Devices (576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .appointment-section {
        padding: 70px 0;
        height: auto;
    }

    .form-box {
        width: 90%;
        padding: 25px;
        bottom: 0;
        right: 0;
        margin: auto;
    }

    .appointment-header h2 {
        font-size: 22px;
        text-align: center;
    }

    .appointment-header p {
        font-size: 13.5px;
    }

    .patient-types {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .double-input {
        flex-direction: column;
        gap: 10px;
    }
}

/* Medium Devices (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .appointment-section {
        padding: 80px 0;
        height: auto;
    }

    .form-box {
        width: 90%;
        padding: 30px;
        bottom: 0;
        right: 0;
        margin: auto;
    }

    .appointment-header h2 {
        font-size: 24px;
        text-align: center;
    }

    .appointment-header p {
        font-size: 14px;
    }
}

/* Large Devices (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .form-box {
        width: 95%;
        right: -23px;
        bottom: 255px;
    }

    [dir="rtl"] .form-box {
        right: 23px;
    }
}

/* Extra Large Devices (1200px - 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .form-box {
        width: 1000px;
        right: -100px;
        bottom: 300px;
    }
    [dir="rtl"] .form-box {
        right: 100px;
    }
}

/* XXL Devices (1400px and up) */
@media (min-width: 1400px) {
    .form-box {
        width: 1150px;
        right: -165px;
    }

    [dir="rtl"] .form-box {
        right: 165px;
    }
}

.services-grid-section {
    padding: 60px 0;
    background-color: #fff;
}

.service-details-section {
    padding: 60px 0;
    font-family: "Tajawal", sans-serif;
    background-color: #fff;
    /* direction: rtl; */
}

.service-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 427px;
}

.section-heading {
    color: #0a1f24;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 100% */
    text-transform: capitalize;
    margin-top: 30px;
    text-align: start;
}

.section-paragraph {
    color: #687179;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 175% */
    margin-bottom: 40px;
    text-align: start;
}

.section-subheading {
    color: #0a1f24;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 100% */
    text-transform: capitalize;
    margin-bottom: 20px;
    text-align: start;
}

.highlights-list ul {
    list-style: none;
    padding-left: 0;
    text-align: start;
}

.highlights-list li {
    color: #1d3638;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 175% */
    margin-bottom: 12px;
}

.highlights-list i {
    color: #24a2dc;
    margin-right: 8px;
}

.service-features {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 25px 15px;
    margin-top: 40px;
    text-align: start;
}

.feature-box img {
    height: 24px;
    margin-bottom: 8px;
}

.feature-box small {
    color: #687179;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 200% */
    display: block;
}

.feature-box strong {
    color: #0a1f24;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 19.2px; /* 120% */
    text-transform: capitalize;
}

.about-home-care-section {
    padding: 80px 0;
    font-family: "Tajawal", sans-serif;
    /* direction: rtl; */
}

.about-text h3 {
    color: #223645;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 51.84px; /* 144% */
    margin-bottom: 15px;
    text-align: start;
}

.about-text p.lead {
    color: #223645;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 32.4px; /* 180% */
    text-align: justify;
}

.about-text p {
    color: #7a8a9e;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 25.2px; /* 180% */
    text-align: justify;
}

/* .about-list1 {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: start;
}

.about-list1 li {
    color: #7a8a9e;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px; 
    margin-bottom: 10px;
    position: relative;
    padding-left: 24px;
}

.about-list1 li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #24a2dc;
    font-size: 14px;
} */

.about-image-group {
    position: relative;
    text-align: right;
}

.about-image-group .main-img {
    width: 100%;
    border-radius: 12px;
    position: relative;
    top: 50px;
}

.deco1 {
    width: 390px;
    height: 68.8px;
    border-radius: 0px 0px 0px 30px;
    background: #24a2dc;
    position: absolute;
    bottom: -119px;
    left: 60px;
}

[dir="rtl"] .deco1 {
    bottom: -110px;
    right: 0;
    border-radius: 0px 0px 30px 0px;
}

.about-image-group .overlay-img {
    position: absolute;
    bottom: -130px;
    right: -125px;
    width: 60%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[dir="rtl"] .about-image-group .overlay-img {
    bottom: -179px;
    right: 327px;
}

/* Mission & Vision */
.mission-vision .box {
    background: white;
    padding: 70px;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-vision1 .box {
    background: white;
    padding: 70px;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-vision {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mission-vision1 {
    display: flex;
    align-items: center;
}
.mission-vision img {
    width: 494px;
    height: 365px;
    object-fit: cover;
    border-radius: 12px;
}

.mission-vision1 img {
    width: 494px;
    height: 365px;
    object-fit: cover;
    border-radius: 12px;
}

.mission-vision .blue-box {
    border-radius: 12px;
    border: 1px solid #eee;
    background: #24a2dc;
    width: 637px;
    height: 365px;
}

.mission-vision .blue-box h5,
.mission-vision .blue-box p {
    color: white;
}

.mission-vision1 .blue-box h5,
.mission-vision1 .blue-box p {
    color: white;
}

.mission-vision .white-box {
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fafafa;
    width: 637px;
    height: 365px;
}

.mission-vision .white-box p {
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 31px; /* 172.222% */
    text-align: start;
}

.mission-vision1 .white-box {
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fafafa;
    width: 637px;
    height: 365px;
}

.mission-vision1 .white-box p {
    color: #687179;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 31px; /* 172.222% */
    text-align: start;
}

.mission-vision1 h5 {
    color: #0a1f24;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 100% */
    text-transform: capitalize;
    margin-bottom: 10px;
    text-align: start;
}

.mission-vision h5 {
    color: #fff;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 100% */
    text-transform: capitalize;
    margin-bottom: 10px;
    text-align: start;
}

.margining {
    margin-bottom: 225px;
}

.about-home-care-section .about-text,
.about-home-care-section .about-image-group {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.about-home-care-section .about-text.in-view,
.about-home-care-section .about-image-group.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials */
.testimonial-section {
    padding: 80px 0;
    font-family: "Tajawal", sans-serif;
    /* direction: rtl; */
}

.testimonial-title .section-subtitle {
    color: #24a2dc;
    font-size: 21.828px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    /* text-transform: uppercase; */
    text-align: start;
}

.testimonial-title h3 {
    color: var(--3rd, #14183e);
    font-size: 38.725px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    margin-top: 10px;
    text-align: start;
}

.slider-dots {
    display: flex;
    gap: 12px;
    justify-content: start;
}

.slider-dots .dot {
    width: 15px;
    height: 15px;
    background: #ccc;
    border-radius: 50%;
}

.slider-dots .dot.active {
    background: #121c52;
}

.testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #5c6c7c;
    height: 100%;
    width: 450.97px;
}

.testimonial-name {
    font-size: 15px;
    color: #24a2dc;
    display: flex;
    justify-content: start;
}

.testimonial-role {
    font-size: 12px;
    color: #888;
    text-align: start;
}

.testimonial-text {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.7;
    text-align: start;
}

.swiper-slide {
    display: flex;
    height: auto;
}

.testimonial-slider-section {
    background: #fff;
    font-family: "Tajawal", sans-serif;
}

.testimonial-container {
    flex-direction: row-reverse;
}

.testimonial-title,
.testimonialSwiper {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}

.testimonial-title.in-view,
.testimonialSwiper.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Extra Small Devices (Phones <576px) */
@media (max-width: 575.98px) {
    .about-text h3,
    .about-text p.lead,
    .about-text p,
    .about-list1,
    .mission-vision h5,
    .mission-vision1 h5,
    .mission-vision .blue-box h5,
    .mission-vision1 .blue-box h5,
    .mission-vision .blue-box p,
    .mission-vision1 .blue-box p {
        text-align: center;
    }

    .about-image-group .overlay-img {
        right: -5px;
        width: 60%;
        bottom: -125px;
    }

    .deco1 {
        left: 0;
        width: 100%;
        height: 40px;
        bottom: -33px;
    }

    .about-image-group .main-img {
        top: 0;
    }

    .mission-vision,
    .mission-vision1 {
        flex-direction: column;
    }

    .mission-vision .blue-box,
    .mission-vision .white-box,
    .mission-vision1 .blue-box,
    .mission-vision1 .white-box {
        width: 100%;
        height: auto;
        padding: 30px;
    }

    .mission-vision img,
    .mission-vision1 img {
        width: 100%;
        height: auto;
        margin-top: 150px;
        margin-bottom: 50px;
    }

    .testimonial-title .section-subtitle,
    .testimonial-title h3,
    .testimonial-text,
    .testimonial-role,
    .testimonial-name {
        text-align: center;
    }

    .margining {
        margin-bottom: 80px;
    }
    .testimonial-name {
        justify-content: center;
    }
    .about-text {
        margin-top: 135px;
    }

    .testimonial-container {
        flex-direction: column-reverse;
    }
}

/* Small Devices (576px–767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .mission-vision,
    .mission-vision1 {
        flex-direction: column;
    }

    .mission-vision .blue-box,
    .mission-vision .white-box,
    .mission-vision1 .blue-box,
    .mission-vision1 .white-box {
        width: 100%;
        height: auto;
        padding: 40px;
    }

    .mission-vision img,
    .mission-vision1 img {
        width: 100%;
        height: auto;
        margin-top: 150px;
        margin-bottom: 50px;
    }

    .about-image-group .overlay-img {
        width: 55%;
        bottom: -120px;
        right: -48px;
    }

    .testimonial-card {
        width: 100%;
    }

    .about-text {
        margin-top: 135px;
    }
    .margining {
        margin-bottom: 0px;
    }

    .testimonial-container {
        flex-direction: column-reverse;
    }
}

/* Medium Devices (768px–991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .mission-vision,
    .mission-vision1 {
        flex-direction: column-reverse;
        gap: 20px;
    }
    .mission-vision .blue-box,
    .mission-vision .white-box,
    .mission-vision1 .blue-box,
    .mission-vision1 .white-box {
        width: 100%;
        height: auto;
        padding: 40px;
    }

    .mission-vision img,
    .mission-vision1 img {
        width: 100%;
        height: auto;
    }

    .about-image-group .overlay-img {
        width: 59%;
        right: -48px;
        bottom: -120px;
    }

    .deco1 {
        left: 0;
        width: 100%;
        height: 40px;
        bottom: -74px;
    }

    .testimonial-card {
        width: 100%;
    }
}

/* Large Devices (992px–1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .mission-vision .white-box,
    .mission-vision1 .white-box {
        width: 90%;
    }

    .mission-vision1 .blue-box,
    .mission-vision .blue-box {
        width: 100%;
    }

    .about-image-group .overlay-img {
        width: 60%;
        right: -55px;
    }

    .testimonial-card {
        width: 100%;
    }
}

.contact-us-section {
    background-color: #fff;
    font-family: "Tajawal", sans-serif;
    /* direction: rtl; */
}

.contact-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.contact-box h5 {
    color: #232323;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px; /* 100% */
    margin-bottom: 10px;
    text-align: start;
}

.contact-box p {
    color: #565656;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */
    text-align: start;
}

/* [dir="rtl"] .contact-item {
    justify-content: end !important;
} */
/* 
[dir="rtl"] .contact-item small {
    justify-content: right;
} */

.contact-item small {
    color: #565656;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 140% */
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: -10px;
}

.contact-item strong {
    color: #232323;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 26px; /* 144.444% */
    text-align: start;
}

.contact-whatsapp span {
    color: #323232;
    font-size: 19.008px;
    font-style: normal;
    font-weight: 500;
    line-height: 19.008px; /* 100% */
    margin-right: 10px;
    text-align: start;
}

.contact-box input,
.contact-box textarea {
    border-radius: 6px;
    font-size: 14px;
    text-align: start;
}

.btn-blue2 {
    border-radius: 5px;
    background: #24a2dc;
    color: #fff;
    padding: 10px 25px;
    border: none;
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    justify-self: start;
}

.btn-blue2:hover {
    background-color: #121c52;
}

.location {
    color: #24a2dc;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px; /* 162.5% */
    text-align: start;
}

.social-icon {
    margin-right: 5px;
}

.privacy-policy-section {
    background-color: #f9f9f9;
    font-family: "Tajawal", sans-serif;
    /* direction: rtl; */
}

.policy-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: auto;
}

.policy-title {
    color: #232323;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px; /* 100% */
    text-align: start;
}

.policy-card p {
    color: #565656;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px; /* 218.75% */
    margin-bottom: 16px;
    text-align: start;
}

.pagination-wrapper {
    text-align: center;
    margin-top: 30px;
}

.pagination {
    justify-content: center;
}

[dir="ltr"] {
}

.phone_number {
    color: #121c52;
    text-decoration: none;
    text-align: start;
}

.phone_number:hover {
    color: #121c52;
    text-decoration: none;
}

/* .dir {
} */

/* @media (min-width: 767.98px) {
    [dir="rtl"] .hero-title {
        text-align: start;
         direction: rtl; 
    }

    [dir="rtl"] .hero-description {
        text-align: start;
        direction: rtl;
    }

    [dir="rtl"] .about-home-care .content-wrapper {
        direction: rtl;
    }

    [dir="rtl"] .about-list {
        }

    [dir="rtl"] .feature-card .icon img {
        justify-self: start;
    }

    [dir="rtl"] .feature-card h5 {
        text-align: start;
        direction: rtl;
    }

    [dir="rtl"] .feature-card p {
        text-align: start;
        direction: rtl;
    }

    [dir="rtl"] .breadcrumb-nav {
        direction: ltr;
    }

    [dir="rtl"] .flexing {
        direction: ltr;
    }

    [dir="rtl"] .hero-image {
        transform: scaleX(-1);
    }

    [dir="rtl"] .section-heading {
        text-align: start;
    }

    [dir="rtl"] .section-paragraph {
        text-align: start;
    }

    [dir="rtl"] .section-subheading {
        text-align: start;
    }

    [dir="rtl"] .highlights-list ul {
        direction: ltr;
    }

    [dir="rtl"] .about-home-care-section {
        direction: ltr;
    }

    [dir="rtl"] .deco1 {
        bottom: -108px;
        left: 0px;
    }

    [dir="rtl"] .testimonial-container {
        direction: ltr;
    }

    [dir="rtl"] .about-home-care {
        direction: ltr;
    }

    [dir="rtl"] .contact-us-section {
        direction: ltr;
    }

    [dir="rtl"] .privacy-policy-section {
        direction: ltr;
    }

    [dir="rtl"] .appointment-section {
        direction: ltr;
    }

    [dir="rtl"] .appointment-form-wrapper {
        direction: ltr;
    }

    [dir="rtl"] .nurseco-footer {
        direction: ltr;
    }

    [dir="rtl"] .nurseco-header {
        direction: ltr;
    }

    [dir="rtl"] .content-wrapper .section-lead {
        direction: rtl;
    }

    [dir="rtl"] .content-wrapper .section-description {
        direction: rtl;
    }

    [dir="rtl"] .btn-blue {
        direction: rtl;
    }
} */
