@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Inter:wght@100..900&family=Lato:wght@100;300;400;700;900&family=Roboto:wght@100;300;400;500;700;900&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

* {
    padding: 0;
    margin: 0;
    font-family: 'Inter', 'Roboto';
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
}

.header-logo-img {
    width: 7%;
}

ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    text-decoration: none;
    list-style: none;
    width: fit-content;
    max-width: 90vw;
    z-index: 2000;
    border-radius: 10px;
}

li {
    font-size: 1rem;
    color: #464646;
    transition: transform 0.2s;
    padding: 0.4rem 0;
}

li:hover {
    cursor: pointer;
    transform: translateY(-3px);
    color: #087E86;
}

a {
    list-style: none;
    text-decoration: none;
    color: #464646;
}

.icon {
    font-size: 1.5rem;
    transition: color 0.2s;
    position: relative;
}

.languages-container {
    display: none;
    position: absolute;
    text-align: center;
    top: 3rem;
    right: -4rem;
    background-color: white;
    padding: 0.3rem 2rem;
    border-radius: 5px;
    box-shadow: 0 0 15px #00000033;
}

.language {
    padding: 0.5rem;
    font-size: 1rem;
    color: #464646;
}

.language:hover {
    color: #087E86;
}

.icon:hover {
    transform: translateY(0);
}

.fa-bars-icon {
    display: none;
    background: none;
    border: none;
}

.mobile-language-icon {
    display: none;
}

@media (max-width: 400px) {
    header {
        padding: 1rem 2rem;
        justify-content: space-between;
    }

    .header-logo-img {
        width: 33%;
    }

    nav {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .fa-bars-icon {
        display: block;
        font-size: 1.6rem;
        color: #087E86;
    }

    ul {
        z-index: 100;
        white-space: nowrap;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        gap: 1rem;
        position: absolute;
        top: 3rem;
        background-color: white;
        padding: 1rem 2rem 1rem 1rem;
        box-shadow: 0 0 15px #00000033;
        border-radius: 0;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    li {
        text-align: left;
        font-size: 1rem;
    }
    
    li:hover {
        cursor: pointer;
        transform: translateY(0);
        color: #464646;
    }

    .icon {
        display: none;
    }

    .mobile-language-icon {
        display: block;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .mobile-language-text {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .mobile-languages-container {
        display: none;
        flex-direction: row;
        gap: 1rem;
        padding: 0 0rem 0 0rem;
    }

    .mobile-language {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .mobile-language:not(:last-child) {
        border-right: 1px solid #ccc;
        padding-right: 1rem;
    }
}

@media (min-width:401px) and (max-width: 480px) {
    header {
        padding: 1rem 2rem;
        justify-content: space-between;
    }

    .header-logo-img {
        width: 26%;
    }

    nav {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .fa-bars-icon {
        display: block;
        font-size: 1.6rem;
        color: #087E86;
    }

    ul {
        z-index: 100;
        white-space: nowrap;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        gap: .5rem;
        position: absolute;
        top: 3rem;
        background-color: white;
        padding: 1rem 2rem 1rem 1rem;
        box-shadow: 0 0 15px #00000033;
        border-radius: 0;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    li {
        text-align: left;
        font-size: 1rem;
    }
    
    li:hover {
        cursor: pointer;
        transform: translateY(0);
        color: #464646;
    }

    .icon {
        display: none;
    }

    .mobile-language-icon {
        display: block;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .mobile-language-text {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .mobile-languages-container {
        display: none;
        flex-direction: row;
        gap: 1rem;
        padding: 0 0rem 0 0rem;
    }

    .mobile-language {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .mobile-language:not(:last-child) {
        border-right: 1px solid #ccc;
        padding-right: 1rem;
    }
}

@media (min-width: 481px) and (max-width: 580px) {
    header {
        padding: 1rem 4rem;
        justify-content: space-between;
    }

    .header-logo-img {
        width: 22%;
    }

    nav {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .fa-bars-icon {
        display: block;
        font-size: 1.6rem;
        color: #087E86;
    }

    ul {
        z-index: 100;
        white-space: nowrap;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        gap: .5rem;
        position: absolute;
        top: 3rem;
        background-color: white;
        padding: 1rem 2rem 1rem 1rem;
        box-shadow: 0 0 15px #00000033;
        border-radius: 0;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    li {
        text-align: left;
        font-size: 1rem;
    }
    
    li:hover {
        cursor: pointer;
        transform: translateY(0);
        color: #464646;
    }

    .icon {
        display: none;
    }

    .mobile-language-icon {
        display: block;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .mobile-language-text {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .mobile-languages-container {
        display: none;
        flex-direction: row;
        gap: 1rem;
        padding: 0 0rem 0 0rem;
    }

    .mobile-language {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .mobile-language:not(:last-child) {
        border-right: 1px solid #ccc;
        padding-right: 1rem;
    }
}

@media (min-width: 581px) and (max-width: 700px) {
    header {
        padding: 1rem 4rem;
        justify-content: space-between;
    }

    .header-logo-img {
        width: 19%;
    }

    nav {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .fa-bars-icon {
        display: block;
        font-size: 1.6rem;
        color: #087E86;
    }

    ul {
        z-index: 100;
        white-space: nowrap;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        gap: .5rem;
        position: absolute;
        top: 3rem;
        background-color: white;
        padding: 1rem 2rem 1rem 1rem;
        box-shadow: 0 0 15px #00000033;
        border-radius: 0;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    li {
        text-align: left;
        font-size: 1rem;
    }
    
    li:hover {
        cursor: pointer;
        transform: translateY(0);
        color: #464646;
    }

    .icon {
        display: none;
    }

    .mobile-language-icon {
        display: block;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .mobile-language-text {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .mobile-languages-container {
        display: none;
        flex-direction: row;
        gap: 1rem;
        padding: 0 0rem 0 0rem;
    }

    .mobile-language {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .mobile-language:not(:last-child) {
        border-right: 1px solid #ccc;
        padding-right: 1rem;
    }
}

@media (min-width: 701px) and (max-width: 900px) {
    header {
        padding: 1rem 4rem;
        justify-content: space-between;
    }

    .header-logo-img {
        width: 13%;
    }

    nav {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .fa-bars-icon {
        display: block;
        font-size: 1.6rem;
        color: #087E86;
    }

    ul {
        z-index: 100;
        white-space: nowrap;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        gap: .5rem;
        position: absolute;
        top: 3rem;
        background-color: white;
        padding: 1rem 3rem 1rem 1rem;
        box-shadow: 0 0 15px #00000033;
        border-radius: 0;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    li {
        text-align: left;
        font-size: 1rem;
    }
    
    li:hover {
        cursor: pointer;
        transform: translateY(0);
        color: #464646;
    }

    .icon {
        display: none;
    }

    .mobile-language-icon {
        display: block;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .mobile-language-text {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .mobile-languages-container {
        display: none;
        flex-direction: row;
        gap: 1rem;
        padding: 0 0rem 0 0rem;
    }

    .mobile-language {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .mobile-language:not(:last-child) {
        border-right: 1px solid #ccc;
        padding-right: 1rem;
    }
}

@media (min-width: 901px) and (max-width: 1050px) {
    .languages-container {
        right: 0;
    }
}

html[lang="ar"] body {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] body * {
    font-family: 'Almarai';
}

html[lang="ar"] li {
    font-size: 1.2rem;
}


html[lang="ar"] .mobile-language:not(:last-child) {
    border-right: 0;
    padding-right: 0;
    border-left: 1px solid #ccc;
    padding-left: 1rem;
}

html[lang="ar"] .mobile-languages-container {
    padding: 0 0rem;
}

@media (max-width: 900px) {
    html[lang="ar"] ul {
        padding: 1rem 1rem 1rem 2rem;
        border-radius: 0;
        border-top-right-radius: 15px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        top: 3rem;
        left: -4rem;
    }
}

@media (min-width: 901px) and (max-width: 1050px) {
    html[lang="ar"] .languages-container {
        right: -4rem;
    }
}

/* banner */
.banner-section {
    position: relative;
    width: 100%;
    height: 79vh;
    overflow: hidden;
}
.hero-banner-slider {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}


.slide {
    width: 100%;
    height: auto;
    display: none;
    object-fit: contain; 
    background-color: #000; 
}

.slides-container {
    margin: 0;
    padding: 0;
}

/* لغات */
#languages-container {
    z-index: 1000;
}



/* للموبايل */
@media (max-width: 767px) {
  .hero-banner-slider {
    height: auto;
  }

  .slide {
    display: block; 
  }
}

.icon {
    position: relative;
    z-index: 1100; 
}

.languages-container {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    padding: 5px 0;
    display: none;
    flex-direction: column;
    z-index: 1100; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    min-width: 120px;
    border-radius: 4px;
}

.languages-container.show {
    display: flex;
}

.language {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language:hover {
    background-color: #f2f2f2;
}

@media (max-width: 768px) {
  nav {
    position: relative;
  }

  #list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 3rem;
    left: unset;
    right: 0;
    background-color: #fff;
    box-shadow: 0px 0px 20px 6px rgb(0 0 0 / 17%);
    padding: 10px 0;
    overflow-x: hidden;
  }

  #list.show-mobile-menu {
    display: flex;
  }

  #list li {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    text-align: start;
    white-space: nowrap;
    width: 100%;
  }

 html[dir="rtl"] #list {
    right: unset;
    left: 0; 
}

html[dir="rtl"] .languages-container {
    right: unset;
    left: 0; 
}

}

/* Default state - hide all banners */
.banner-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none; /* Prevent interaction with hidden banners */
}

/* Active state */
.banner-img.active {
    opacity: 1;
    pointer-events: auto;
}

/* Initially show only desktop banners */
.desktop-banners {
    display: block;
}

.tablet-banners,
.mobile-banners {
    display: none;
}

/* Responsive displays */
@media (max-width: 730px) {
    .banner-section {
        height: 70vh;
    }
    
    .desktop-banners,
    .tablet-banners {
        display: none;
    }
    
    .mobile-banners {
        display: block;
    }
}

@media (min-width: 731px) and (max-width: 1024px) {
    .banner-section {
        height: 45vh;
    }
    
    .desktop-banners,
    .mobile-banners {
        display: none;
    }
    
    .tablet-banners {
        display: block;
    }
}


/* About Us */

.about-us-section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 8rem 8rem 3rem 8rem;
    gap: 1rem;
}

img {
    width: 30%;
}

.about-us-container {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#about-title {
    color: rgba(8, 126, 134, 1);
    font-size: 2rem;
    font-weight: 600;
    border-bottom: 3px solid rgba(189, 4, 0, 1);
    width: 35%;
    padding-bottom: .6rem;
    transition: all 0.2s ease;
    will-change: transform, opacity; /* Improves performance */
}

#about-text {
    color: rgba(102, 102, 102, 1);
    font-size: 1.1rem;
    transition: all 0.2s ease;
    will-change: transform, opacity; /* Improves performance */
    line-height: 1.8rem;
}

.buttons-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    justify-content: flex-end;
}

.about-btn {
    padding: .2rem .5rem;
    font-size: 1rem;
    background-color: white;
    border: 1px solid rgba(8, 126, 134, 1);
    border-radius: 5px;
    color: rgba(8, 126, 134, 1);
    font-weight: 600;
}

.about-btn:hover {
    cursor: pointer;
}

@media (max-width:480px) {
    .about-us-section {
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
        padding: 4rem 0rem;
    }

    img {
        width: 60%;
    }

    .about-us-container {
        width: 80%;
    }

    #about-title {
        width: 75%;
    }

    #about-text {
        font-size: 1rem;
    }
}

@media (min-width:481px) and (max-width:590px) {
    .about-us-section {
        flex-direction: column-reverse;
        gap: 2rem;
        padding: 4rem 1rem;
    }

    img {
        width: 52%;
    }

    .about-us-container {
        width: 80%;
    }

    #about-title {
        width: 50%;
    }
}

@media (min-width: 591px) and (max-width:700px) {
    .about-us-section {
        flex-direction: column-reverse;
        gap: 2rem;
        padding: 4rem 1rem;
    }

    img {
        width: 45%;
    }

    .about-us-container {
        width: 80%;
    }

    #about-title {
        width: 40%;
    }
}

@media (min-width: 701px) and (max-width:1100px) {
    .about-us-section {
        flex-direction: column-reverse;
        gap: 2rem;
        padding: 4rem 1rem;
    }

    img {
        width: 32%;
    }

    .about-us-container {
        width: 80%;
    }
}

@media (min-width:1101px) and (max-width:1300px) {
    .about-us-section {
        padding: 8rem 4rem ;
    }
}

/* values  */
.values-section,
.numbers-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 2rem;
    align-items: center;
    background-color: rgba(250, 250, 250, 1);
}

.values-title,
.numbers-title {
    font-size: 2.1rem;
    color: rgba(8, 126, 134, 1);
    font-weight: 600;
}

.values-container,
.numbers-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
}

.value,
.number {
    height: 230px;
    width: 12%;
    padding: 1rem;
    border: 1px solid rgba(204, 204, 204, 0.753);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color .2s;
}

.number {
    height: 210px;
}

.value:hover {
    cursor: pointer;
    background-color: rgba(8, 126, 134, 1);
    color: white;
}

.value:hover .value-text , .value:hover .value-title {
    color: white;
}

.img-container {
    width: 65%;

}
.img-container img {
    width: 100%;
}

.value-title,
.number-title {
    text-align: center;
    font-size: 1.4rem;
    color: rgba(8, 126, 134, 1);
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-text,
.number-text {
    line-height: 1.3rem;
    text-align: center;
    color: rgba(102, 102, 102, 1);
    font-size: .9rem;
}

html[lang="ar"] .value-text, .number-text {
    font-size: 1rem;
}

@media (max-width:480px) {

    .img-container {
        width: 55%;
    }

    .values-section,
    .numbers-section {
        padding: 4rem 0;
    }
    .values-container,
    .numbers-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .value,
    .number {
        width: 47%;
        padding: 1.5rem;
        border: 1px solid rgba(204, 204, 204, 0.753);
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .value-text,
    .number-text {
        font-size: 1.1rem;
    }

    .value-title {
        margin-bottom: 1rem;
    }
    
}

@media (min-width:481px) and (max-width: 900px) {
    .value,
    .number {
        width: 19%;
        padding: 1.5rem;
        border: 1px solid rgba(204, 204, 204, 0.753);
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .values-section,
    .numbers-section {
        display: flex;
        flex-direction: column;
        padding: 4rem 1rem ;
        align-items: center;
        background-color: rgba(250, 250, 250, 1);
    }

    .value-text,
    .number-text {
        font-size: 1rem;
    }

    .value-title {
        margin-bottom: 1rem;
    }
}

/* why */

.why-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    font-family: 'Inter', 'Roboto';
}

.why-container .why-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.why-container h2 {
    color: rgba(8, 126, 134, 1);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    justify-content: center;
    font-size: 2rem;
}

.why-container .why-box {
    font-family: 'inter';
    color: rgba(102, 102, 102, 1);
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
    border: 1px solid rgba(8, 126, 134, 1);
    border-radius: 7px;
    padding: .5rem 7rem;
    background-color: white;
    font-weight: 600;
    font-size: 1rem;
}


html[lang="ar"] .why-container .why-box {
    font-size: 1.1rem;
    font-family: 'Almarai';
}

.why-container .why-box {
    padding: .8rem 6rem;
}

@media(max-width:700px) {
    .why-container .why-box {
        padding: 0.5rem 1rem;
    }
}

@media (min-width:701px) and (max-width:950px) {
    .why-container .why-box {
        padding: 0.5rem 4rem;
        text-align: center;
    }
}

/* services */

.services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    font-family: 'Inter', 'Roboto';
    width: 100%;
}

.service-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 80%; /* Fixed width for all boxes */
    max-width: 900px; /* Optional max-width */
}

.services-container h2 {
    color: rgba(8, 126, 134, 1);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    justify-content: center;
    font-size: 2rem;
}

.service-box {
    padding: .5rem 1rem;
    border: 1px solid rgba(8, 126, 134, 1);
    border-radius: 5px;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.service-box:hover {
    cursor: pointer;
}

.info-title-icon h1 {
    font-size: 1.1rem;
    color: rgba(8, 126, 134, 1);
} 

.content-div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    margin-bottom: 1rem;
    border-top: 1px solid rgba(102, 102, 102, 0.637);
}

.content-text {
    color: rgba(102, 102, 102, 1);
}

html[lang="ar"] .content-text {
    line-height: 1.5rem;
}

#content-div-2 {
    display: none;
}

#content-div-1 {
    display: none;
}

#content-div-3 {
    display: none;
}

.content-sub-title {
    font-size: 1.1rem;
    color: rgba(8, 126, 134, 1);
}

.location-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.location-text {
    border: 1px solid rgba(102, 102, 102, 0.637);
    border-radius: 5px;
    padding: 0 0 0.5rem 0;
    text-align: center;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.location-text img {
    width: 85%;
    height: 80px;
    border: none;
    border-radius: 5px;
}

.info-title-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding-bottom: .3rem;
}

.info-title-icon .img-container {
    width: 15%;
}

.info-title-icon .img-container img {
    width: 100%;
}

@media (max-width:500px) {
    .service-box {
        width: 90%;
    }
}

@media (min-width: 501px) and (max-width:610px) {
    .service-box {
        width: 83%;
    }
}

@media (min-width: 611px) and (max-width:820px) {
    .service-box {
        width: 68%;
    }
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    gap: 2rem;
    background-color: rgba(8, 126, 134, 1);
    color: white;
    text-align: center;
}

.footer-logo-container {
    background-color: white;
    width: 120px; /* Fixed size for better control */
    height: 120px; /* Fixed size for better control */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Add some padding */
}

.footer-logo-container img {
    width: 95%;
    height: auto; /* Maintain aspect ratio */
}

.links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    max-width: 900px; /* Prevent links from spreading too wide */
}

.links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevent text wrapping */
}

/* Font Awesome icons */
.links i {
    font-size: 1rem;
}

html[lang="ar"] .links a {
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-logo-container {
        width: 100px;
        height: 100px;
    }

    .links {
        flex-direction: column;
        gap: 1rem;
    }

    .links a {
        white-space: normal; /* Allow text wrapping on small screens */
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-logo-container {
        width: 80px;
        height: 80px;
    }

    .links a {
        font-size: 0.8rem;
    }
}
/* Fix: Force Font Awesome icons to use their correct font */
i[class^="fa-"], i[class*=" fa-"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}
i {
    font-style: normal;
}
/* اتجهات الأسهم بناءً على اللغة */

html[lang="ar"] .fa-angle-left {
    transform: rotate(180deg);
}

html[lang="ar"] .fa-angle-right {
    transform: rotate(180deg);
}


@media (max-width:1024) {

    body {
        margin: 0;
        padding: 0;
        font-family: 'Arial', sans-serif;
        background-color: #f5f5f5;
        color: #333;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .desktop-only-container {
        max-width: 600px;
        padding: 40px;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin: 20px;
    }
    
    .desktop-only-icon {
        font-size: 60px;
        color: #ff6b6b;
        margin-bottom: 20px;
    }
    
    h1 {
        color: #2c3e50;
        margin-bottom: 20px;
    }
    
    p {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .device-icon {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .mobile-icon, .tablet-icon {
        font-size: 40px;
        color: #7f8c8d;
    }
    
    .desktop-icon {
        font-size: 50px;
        color: #2ecc71;
    }
    
    .contact-link {
        color: #3498db;
        text-decoration: none;
        font-weight: bold;
    }
    
    .contact-link:hover {
        text-decoration: underline;
    }
}

@media (min-width: 1025px) {
    .desktop-only-container {
        display: none;
    }
}