/* General Styling */
html{
    overflow-x: hidden;

}
body {
    font-family: 'Arial', sans-serif;
    background-color: #F4F6F7;
    margin: 0;
    padding: 0;
    color: #34495E;
    direction: rtl;
    font-family: "Fustat", sans-serif;
    font-optical-sizing: auto;
    font: weight 400px;;
    font-style: normal;
    overflow-x: hidden;
}

header {
    background-color: #feffff;
    height:90vh;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    background-size: cover;
    background-position: center;
    overflow-x: hidden;


}

.language-switcher {
    text-align: left;
    margin-bottom: 10px;
}

.language-link {
    color: #21a6f2;
    text-decoration: none;
    font-weight: bold;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 150px;
    border-radius: 15px;;
}

.hero-content {
    color: #2b2727;
    text-align: center;
    padding: 50px 20px;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #21a6f2;
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #C0392B;
}

/* Section Styling */
.row-section {
    background-color: #FFFFFF;
    padding: 40px 20px;
    border-bottom: 2px solid #EAECEE;
}

.row-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    overflow-x: hidden;


}
.row-effect{
    opacity: .0;
    transform: translateX(-150px); /* Move element off-screen to the left */
    transition: opacity 2s ease-in-out, transform 2s ease-in-out; /* Smooth transition */
}


.visible {
    opacity: 1 !important;
    transform: translateX(0); /* Move element back to its normal position */
}

h2 {
    font-size: 28px;
    color: #2C3E50;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Services Section */
.service {
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: inline-block;
    width: calc(45% - 40px);
    vertical-align: top;
    background-color: #fafafa;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow-x: hidden;

}

.service h3 {
    font-size: 22px;
    color: #21a6f2;
    margin-bottom: 10px;
}

/* Car Counter Section */
.car-counter {
    display: inline-block;
    margin: 20px;
    text-align: center;
}

.car-counter .count {
    font-size: 36px;
    color: #21a6f2;
    font-weight: bold;
}

.car-counter p {
    font-size: 16px;
    color: #2C3E50;
}

/* Contact Form */
form {
    max-width: 600px;
    margin: 0 auto;
    text-align: right;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #BDC3C7;
    border-radius: 5px;
    font-size: 16px;
}

form button {
    background-color: #21a6f2;
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #C0392B;
}

/* Footer Styling */
footer {
    background-color: #2C3E50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.whatsapp-button img {
    width: 60px;
}

.whatsapp-tooltip {
    background-color: #2C3E50;
    color: white;
    padding: 10px;
    position: absolute;
    bottom: 70px;
    right: 0;
    border-radius: 5px;
    display: none;
    white-space: nowrap;
}

.whatsapp-button:hover .whatsapp-tooltip {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 10px;
    }

    .cta-button {
        padding: 10px 20px;
    }

    .row-content {
        padding: 10px;
    }

    .car-counter {
        display: block;
        margin: 20px 0;
    }

    .whatsapp-button img {
        width: 50px;
    }
    .service{
        width: calc(100% - 40px);

    }
}



 


/* Specific styling for each car counter */
.car-counter {
    display: inline-block;
    text-align: center;
    margin: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease-in-out;
}

/* Delay for each car counter so they appear consecutively */
.car-counter:nth-child(1) {
    animation-delay: 0.2s;
}
.car-counter:nth-child(2) {
    animation-delay: 0.4s;
}
.car-counter:nth-child(3) {
    animation-delay: 0.6s;
}

/* Fade-in and scaling animation */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Fade-in and slide-up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-media {
    margin-bottom: 15px;
}

.social-media a {
    margin: 0 10px;
    color: white;
    font-size: 24px;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #ff9800; /* Change color on hover */
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item {
    margin: 5px 0;
}

.contact-item p {
    margin: 0;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-info {
        flex-direction: row;
    }

    .contact-item {
        margin: 0 20px;
    }
}



.scroll-container {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    overflow: hidden;
}

.logo-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
}

.logo-item {
    flex: 0 0 auto;
    text-align: center;
    margin: 10px;
}

.logo-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.left-btn {
    left: 0;
}

.right-btn {
    right: 0;
}

.scroll-btn:hover {
    background-color: #555;
}

/* Hide scrollbar for modern browsers */
.logo-container::-webkit-scrollbar {
    display: none;
}

.logo-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

@media (max-width: 768px) {
    .logo-item img {
        width: 70px;
        height: 70px;
    }
}

@media (min-width: 1200px) {
    p{
        line-height: 54px;
    font-size: 20px!important;
    }
}


