﻿
.topbar {
    background: #015990;
    font-size: 0.9rem;
}

    .topbar a {
        color: white;
        text-decoration: none;
    }

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    color: #216FC3;
    font-size: 30px
}

.navbar-nav .nav-link {
    color: #333;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 19px;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    background: #015990; /* Your accent color */
    transition: width 0.3s ease;
    bottom: 0;
    left: 0;
}

.nav-link:hover {
    color: #015990; /* Hover color */
}

    .nav-link:hover::after {
        width: 100%;
    }



.navbar-nav .nav-linkEN {
    position: relative;
    color: #333;
    padding: 10px 15px;
    font-weight: 400;
    font-size: 19px;
    font-family: "Inter", sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.nav-linkEN::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    background: #015990; /* Your accent color */
    transition: width 0.3s ease;
    bottom: 0;
    left: 0;
}

.nav-linkEN:hover {
    color: #015990; /* Hover color */
}

    .nav-linkEN:hover::after {
        width: 100%;
    }

.hero {
    position: relative;
    background-image: url('../Images/business-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    color: white;
    text-align: center;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5); /* You can adjust opacity */
        z-index: 1;
    }

    .hero .container {
        position: relative;
        z-index: 2;
    }


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1, .hero p {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero h1 {
    animation-delay: 0.2s;
    font-size: 2.5rem;
}

.hero p {
    animation-delay: 0.5s;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 15px;
    }

        .hero h1 {
            font-size: 1.8rem;
        }

        .hero p {
            font-size: 1.2rem;
        }
}


.section-title {
    color: #015990;
    font-size: 24px;
    border-left: 4px solid #003366;
    padding-left: 10px;
    font-weight:700;
}

.section-title-ar {
    color: #015990;
    font-size: 30px;
    border-right: 4px solid #003366;
    padding-right:10px;
    font-weight: 700;
}

.products .card,
.industries .card {
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
    height:200px;
}

    .products .card:hover,
    .industries .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

.products .card-title,
.industries .card-title {
    font-weight: bold;
    font-size: 20px;
    font-weight: 700;
    color: #303030;
}

.products .card-text,
.industries .card-text {
    font-size: 16px;
    color: #505050;
    font-weight: 400;
}

.products a,
.industries a {
    color: #003366;
    font-weight: 600;
    text-decoration: none;
}

    .products a:hover,
    .industries a:hover {
        text-decoration: underline;
    }

.who-section {
    padding: 10px 0;
}

.company-logos img {
    
    filter: grayscale(100%);
    transition: filter 0.3s;
}

    .company-logos img:hover {
        filter: grayscale(0%);
    }

footer {
    background: #1f1f1f;
    color: #ccc;
    padding: 40px 0;
}

    footer a {
        color: #ccc;
        text-decoration: none;
    }

.swiper {
    width: 100%;
}



.card-title {
    font-size: 0.5rem;
}

.swiper-slide .card{
    height:500px
}

.swiper-slide .card img {
    width: auto;
    height:250px
}


.swiper-button-next,
.swiper-button-prev {
    color: #007bff; /* Bootstrap blue */
}

.abouttxt {
    font-weight: 700;
    color: #216FC3;
    font-size: 30px
}


/* Default to English font */
#main-content {
    font-family: "Open Sans", sans-serif;
}

    /* Arabic font */
    #main-content.arabic {
        font-family: "Cairo", sans-serif;
    }


@media (max-width: 576px) {
    .industries .swiper-slide {
        padding: 0 10px;
    }

    .industries .card {
        height: auto;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .industries .card-img-top {
        height: 150px;
        width:auto;
        object-fit: cover;
    }

    .industries .card-title {
        font-size: 1.1rem;
    }

    .industries .card-text {
        font-size: 0.9rem;
    }

    .industries .card-body {
        padding: 1rem;
    }

    .navbar-brand {

        font-size: 25px
    }

    .products .card {

        height: 230px;
    }

}

.about h2.abouttxt {
    font-size: 1.6rem;
    font-weight: 600;
}

@media (max-width: 576px) {
    .about p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about img {
        height:300px
    }
}

.about-ar h2.abouttxt {
    font-size: 1.6rem;
    font-weight: 600;
}

@media (max-width: 576px) {
    .about-ar p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-ar img{
        height:300px
    }
}

