/* Base Styles */
body {
    width: 100%;
    box-sizing: border-box;
    font-size: large;
    font-family: 'Cairo', sans-serif, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #0071bc;
    line-height: 2;
}

nav .nav-link {
    font-weight: 600;
    color: #131a42;
    padding-inline: 15px; /* Logical properties */
}

section.hero, section.about {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("./img/084ee7_dc89b13265e9450f8cfcfac69c08e47c_mv2.jpg") fixed;
    height: 80vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.anli {
    background-color: #0071bc;
    color: #f1f1f1;
}

.anli h2 {
    font-weight: 500;
    font-size: 45px;
}

.hero-text {
    text-align: center;
    position: absolute;
    font-size: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding-inline: 20px; /* Logical properties */
}

.about-text {
    text-align: center;
    position: absolute;
    font-size: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding-inline: 20px; /* Logical properties */
}

.about-text h2 {
    font-size: 60px;
    font-weight: 800;
}

.hero-text h1 {
    font-weight: 600;
    font-size: 80px;
}

.hero-text h2 {
    font-weight: 600;
    font-size: 60px;
}

section.service {
    font-size: 23px;
    background: #06070e;
}

section.service .card {
    color: #f1f1f1;
    background: #06070e;
}

section.service .card h2 {
    font-size: 40px;
}

@media (max-width: 720px) {
    body {
        font-size: 20px !important;
        font-family: 'Cairo', sans-serif, 'Helvetica Neue', Helvetica, Arial, sans-serif;
        color: #0071bc;
        line-height: 2;
    }
    
    section.hero, section.about {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("./img/084ee7_dc89b13265e9450f8cfcfac69c08e47c_mv2.jpg") fixed;
        height: 100vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
    }

    .anli h2 {
        font-size: 25px;
    }
    /* Place text in the middle of the image */
    .hero-text {
        font-size: 20px;
    }

    .about-text {
        font-size: 17px;
    }
    .about-text h2{
        font-size: 35px;
        font-weight: 500;
    }
    .hero-text h1{
        font-weight: 500;
        font-size: 30px;
    }

    .hero-text h2{
        font-weight: 600;
        font-size: 60px;
    }


    section.service{
        font-size: 23px;
    }

    section.service .card{
        color: #f1f1f1;
        background: #06070e;
    }


    section.service .card h2{
        font-size: 20px;
    }
}

/* Direction-Specific Styles */
:root[dir="ltr"] {
    /* LTR-specific styles can be added here if needed */
}

:root[dir="rtl"] {
    text-align: right;
}

/* Navbar Flex Direction */
nav .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

:root[dir="ltr"] nav .container-fluid {
    flex-direction: row;
}

:root[dir="rtl"] nav .container-fluid {
    flex-direction: row-reverse;
}

/* Footer Alignment */
footer {
    text-align: center;
}

:root[dir="rtl"] footer {
    /* Additional RTL-specific footer styles if needed */
}
