* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    direction: rtl;
    text-align: center;
    background-color: #fcfbfb;
    color: #2a1e6c;
    line-height: 1.6;
}

header {
    background-color: #fcfbfb; 
    padding: 20px; 
}

.header-container {
    display: flex; 
    justify-content: flex-start; 
    align-items: center; 
}

.logo-container {
    margin-right: 30px; 
}

.logo {
    max-width: 150px; 
    height: auto; 
    transition: transform 0.3s; 
}

.logo:hover {
    transform: scale(1.1); 
}

.nav-links ul {
    list-style: none; 
    display: flex; 
    margin: 0; 
    padding: 0; 
}

.nav-links li {
    margin: 0 15px; 
}

.nav-button {
    text-decoration: none;
    color: #fcfbfb; 
    background-color: #2a1e6c; 
    padding: 10px 20px; 
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s; 
}

.nav-button:hover {
    background-color: #413a8c; 
    color: #fcfbfb; 
}

#intro {
    background-color: #100d38; 
    color: #fcfbfb;
    padding: 60px 20px;
    text-align: center; 
    border-radius: 15px; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); 
}

.intro-content {
    max-width: 800px; 
    margin: 0 auto; 
    animation: fadeIn 1s; 
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#intro h2 {
    font-size: 2.5em; 
    margin-bottom: 15px; 
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); 
}

#intro p {
    font-size: 1.2em; 
    margin-bottom: 30px; 
}

.cta-btn {
    display: inline-block; 
    padding: 14px 28px; 
    background-color: #fcfbfb; 
    color: #2a1e6c; 
    text-decoration: none; 
    border-radius: 8px; 
    transition: background-color 0.3s, transform 0.3s; 
}

.cta-btn:hover {
    background-color: #2a1e6c;
    color: #fcfbfb; 
    transform: scale(1.05); /
}

.intro-image {
    margin-top: 30px; 
}

.intro-image img {
    max-width: 100%; 
    height: auto; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

#services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
    padding: 40px 0;
}

.service {
    background-color: #fcfbfb;
    border-radius: 10px;
    width: 240px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    color: #2a1e6c;
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 60px;
    color: #413a8c;
    margin-bottom: 15px;
    transition: color 0.3s, transform 0.3s;
}

.service:hover .service-icon {
    color: #2a1e6c;
    transform: rotate(10deg);
}

.service h3 {
    color: #2a1e6c;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.service p {
    color: #100d38;
    font-size: 1em;
}

#download {
    background-color: #100d38;
    color: #fcfbfb;
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.download-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;  
    padding: 20px 0;
}

.app {
    width: 100%;
    max-width: 320px;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.app:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.app h3 {
    margin-bottom: 15px;
    font-size: 1.5em; 
}

#download {
    background-color: #100d38;
    color: #fcfbfb;
    padding: 40px 20px;
    text-align: center;
}

#download h2 {
    margin-bottom: 20px;
}

.download-options {
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    gap: 40px; 
    flex-wrap: wrap; 
}

.app {
    flex: 1 1 300px; 
    max-width: 300px; 
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.app.passenger {
    background-color: #2a1e6c;
}

.app.driver {
    background-color: #413a8c;
}
.download-btn {
    display: inline-block;
    margin: 10px;
    padding: 14px 28px; 
    background-color: #fcfbfb;
    color: #2a1e6c !important;
    text-decoration: none;
    border-radius: 10px; 
    border: 2px solid #2a1e6c; 
    transition: background-color 0.3s, transform 0.3s, color 0.3s; 
}

.download-btn:hover {
    background-color: #2a1e6c;
    color: #fcfbfb !important;
    transform: scale(1.05); 
}

footer {
    background-color: #2a1e6c;
    color: #fcfbfb;
    padding: 20px 0;
    margin-top: 40px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}
#banner {
    background-size: contain; 
    background-position: center; 
    background-repeat: no-repeat;
    height: 60vh; 
    width: 100%; 
}
@media (max-width: 768px) {
    #banner {
        height: 40vh;
        margin-bottom: 10px; 
    }
}

@media (max-width: 480px) {
    #banner {
        height: 25vh; 
        margin-bottom: 2px; 
    }
}
@media (max-width: 768px) {
 
    .service, .app {
        width: 100%;
    }
    #intro h2 {
        font-size: 2em;
    }
    #intro p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
 
    #intro h2 {
        font-size: 1.8em;
    }
    #intro p {
        font-size: 0.9em;
    }
    .cta-btn {
        padding: 10px 20px;
    }
    .download-btn {
        padding: 10px 20px;
    }
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: column; 
        align-items: center; 
    }

    .logo {
        max-width: 100px; 
        margin-bottom: 10px; 
    }

    .nav-links ul {
        flex-direction: row; 
        justify-content: center; 
        padding: 0; 
    }

    .nav-links li {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column; 
        align-items: center; 
    }

    .logo {
        max-width: 70px; 
        margin-bottom: 10px; 
    }

    .nav-links ul {
        flex-direction: row;
        justify-content: center;
    }

    .nav-links li {
        margin: 0 5px; 
    }

    .nav-button {
        padding: 8px 16px; 
        font-size: 12px;
    }
}

@media (max-width: 340px) {
    .header-container {
        flex-direction: column; 
        align-items: center; 
    }

    .logo {
        max-width: 60px;
        margin-bottom: 8px; 
    }

    .nav-links ul {
        flex-direction: row; 
        justify-content: center; 
    }

    .nav-links li {
        margin: 0 5px; 
    }

    .nav-button {
        padding: 6px 12px; 
        font-size: 10px; 
    }
}

@media (max-width: 300px) {
    .header-container {
        flex-direction: column;
        align-items: center; 
    }

    .logo {
        max-width: 40px; 
        margin-bottom: 5px; 
    }

    .nav-links ul {
        flex-direction: row; 
        justify-content: center; 
    }

    .nav-links li {
        margin: 0 5px; 
    }

    .nav-button {
        padding: 4px 8px; 
        font-size: 8px; 
    }
}

#contact {
    background-color: #fcfbfb; 
    padding: 40px 20px; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    text-align: center; 
    color: #2a1e6c; 
}

#contact h2 {
    margin-bottom: 30px;
    font-size: 2em; 
    color: #413a8c; 
}

.contact-info {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
}

.contact-item {
    background-color: #2a1e6c; 
    text-decoration: none;

    color: #fcfbfb; 
    padding: 15px 20px; 
    border-radius: 8px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
    display: flex; 
    align-items: center; 
    width: 200px; 
    transition: transform 0.3s; 
}

.contact-item:hover {
    transform: translateY(-5px); 
}

.contact-item i {
    padding: 10px;
    font-size: 1.5em; 
    color: #fcfbfb; 
}

.contact-item a {
    color: #fcfbfb; 
    text-decoration: none; 
    transition: color 0.3s; 
}

.contact-item a:hover {
    color: #2a1e6c; 
}
#about {
    background-color: #f9f9f9; 
    color: #333;
    padding: 40px 20px; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: right; 
    max-width: 800px; 
    margin: 0 auto;
}

#about h2 {
    font-size: 2em; 
    margin-bottom: 20px; 
    color: #2a1e6c; 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 
}

#about p {
    font-size: 1.2em; 
    line-height: 1.6; 
}
#terms {
    background-color: #f1f1f1; 
    color: #333; 
    padding: 40px 20px;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    text-align: right; 
    max-width: 800px;
    margin: 0 auto;
}

#terms h2 {
    font-size: 2em; 
    margin-bottom: 20px; 
    color: #2a1e6c; 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#terms p {
    font-size: 1.2em; 
    line-height: 1.6;
}

#terms ol {
    margin: 20px 0; 
    padding-left: 20px; 
}

#terms li {
    margin-bottom: 10px;
    font-size: 1.1em;
}
#branches {
    text-align: center;
    margin-top: 50px;
}

.branch-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; 
}

#contact, #branches {
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    max-width: 1200px; 
    margin: auto;
}

#branches {
    text-align: center;
    margin-top: 50px;
    color: #444;
}

.branch-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
    width: 100%; 
}

.branch-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #ffffff;
    color: #333;
    padding: 20px;
    width: 100%;
    max-width: 100%; 
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    background-color: #f9f9f9;
}

.branch-item i {
    font-size: 1.8em;
    color: #2a1e6c;
    margin-bottom: 10px; 
}

.branch-item p {
    margin: 5px 0;
    font-size: 1.1em;
    font-weight: 500;
    color: #444;
}

.branch-item .branch-contact {
    text-decoration: none; 

    margin: 5px 0;
    font-size: 0.95em;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-item .branch-contact i {
    text-decoration: none; 

    color: #25d366; 
    font-size: 1.5em;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-links .contact-item {
    text-align: center;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .branch-info {
        flex-direction: column; 
        align-items: flex-end; 
        padding: 0 10px;
    }

    .branch-item {
        padding: 15px;
        width: 100%; 
        max-width: 90%; 
        margin-bottom: 15px; 
        text-align: right;
    }

    .branch-item p {
        font-size: 0.95em; 
    }

    .branch-item .branch-contact {
        font-size: 0.85em;
        gap: 6px;
    }

    .branch-item .branch-contact i {
        font-size: 1.2em; 
    }
}

@media (max-width: 480px) {
    .branch-info {
    }

    .branch-item {
        padding: 10px;
        width: 70%; 
        max-width: 70%; 
        text-align: right;
    }

    .branch-item p {
        font-size: 0.9em; 
    }

    .branch-item .branch-contact {
        font-size: 0.8em;
    }

    .branch-item .branch-contact i {
        font-size: 1em; 
    }
}
