@font-face {
    font-family: "mainfont";
    src: url('/Content/fonts/NeoSansArabic.ttf');
}
@font-face {
    font-family: "boldfont";
    src: url('/Content/fonts/NeoSansArabicBold.ttf');
}
:root {
    --main-font:mainFont;
    --bold-font:boldFont;
    --bs-primary: #FC486F;
    --bs-secondary:#FFE2E2;
    --secondary-rgb:255, 226, 226;
    --bs-dark: #000000;
    --bs-gray: #A8A8A8;
}
body{overflow-x: hidden;}
body,*{ font-family: var(--main-font);}
.bold{ font-family: var(--bold-font);}
p{text-align: justify;}
html {scroll-padding-top: 50px;}
#aboutSection, #branches{scroll-margin-top: 50px;}
.top-bar{
    position: relative;
    background: var(--bs-gray);
    height: 48px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
.top-bar .container{ height: 100%;}
.top-bar .social-links{ height: 100%;}
.top-bar .list-group-item,
.social-links .list-group-item{background: none; border: none;}
.top-bar li a{ color: #fff; text-decoration: none;}
.contact-info a{ font-size: .8rem;}
.contact-info a i{ margin-top: .2rem;}
.social-links li{ padding: 0 .2rem;background: none; border: none;}
.social-links a {
    display: inline-block;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    line-height: 25px;
    font-size: .9rem;
    text-align: center;
    border: 1px solid #fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}
.social-links a:hover{ background: #fff; color: var(--bs-primary) !important;}
.navbar{ 
    padding: 0;
    background: #ffff; 
    top: 48px;
    transition: all .3s ease-in-out;
}
.navbar:after{
    content: '';
    width: 150px;
    height: 42px;
    background: var(--bs-secondary);
    position: absolute;
    left: 0;
    top: 32px;
    z-index: -1;
}
.navbar-brand{ padding: .5rem 0;}
.navbar-brand img{ height: 90px;object-fit: contain;}
.navbar .navbar-nav{ 
    background: var(--bs-secondary); 
    padding: .5rem 0;
    height: 42px;
}
.navbar li{ margin: 0 1rem; width: 100px;}
.active-item a{border-bottom: 2px solid var(--bs-primary);}
.navbar li a{
    display: inline-block !important;
    padding:.1rem .2rem!important; 
    color: var(--bs-dark) !important;
    font-size: .95rem;
}
.navbar li .lang-btn,.lang-btn{
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    padding: 0 !important;
    background: var(--bs-secondary);
    color: var(--bs-dark);
    text-decoration: none;
}
.lang-btn:hover,.lang-btn:focus{color:var(--bs-primary);}
.navbar-light .navbar-toggler,.navbar-light .navbar-toggler:focus{
    box-shadow: none;
    border: none;
    background: #fff;
    border-radius: 0;
}
/*main slider */
.main-slider .carousel,.branch-img,.about-banner{
    background: url(../imgs/bg.png)no-repeat;
    background-size: 100% 100%;
    padding: 2rem;
}
.main-slider .carousel-caption {
    width: 30%;
    left: 4.5rem;
    right: auto;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: inherit;
}
.main-slider .carousel-caption h5{
    color: var(--bs-primary);
    font-weight: bold;
}
.main-slider .carousel-caption p{
    color: #000000;
}
.main-slider .carousel .carousel-item {
    height: 550px;
    overflow: hidden;
    border-radius: 8px;
    transition: -webkit-transform 1.5s ease;
    transition: transform 1.5s ease;
    transition: transform 1.5s ease, -webkit-transform 1.5s ease;
}
.main-slider .carousel-item>img{
    height: 640px;
    object-fit: cover;
    transform: scaleX(-1);
}
.main-slider .carousel-indicators{
    left: -1rem;
    right: auto;
    top: 0;
    bottom: 0;
    margin: 0 auto;
    flex-direction: column;
}
.main-slider .carousel-indicators [data-bs-target]{
    width: 9px;
    height: 9px;
    margin: 0.2rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--bs-primary);
    opacity: 1;
}
.main-slider .carousel-indicators .active{ background: var(--bs-primary); }
.main-btn.btn-primary{ 
    border:none;
    background: var(--bs-primary);
    font-size: .9rem;
    height: 37px;
    min-width: 130px;
}
.main-title{
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-family: var(--bold-font);
}
/* about us */
#aboutus{background: rgba(var(--secondary-rgb),.2);}
.about-us{
    position: relative;
    background: #F6F6F6;
    padding: 2rem;
    box-shadow: 2px 2px 5px #ddd;
    width: 600px;
    max-width: 100%;
    border-radius: 8px;
    margin: 0 auto;
    margin-top: -12rem;
}
.about-us h1{ 
    font-size: 1.1rem; 
    font-family: var(--bold-font);
    margin-bottom: 1rem;
}
.about-us .main-btn.btn-primary{
    display: block; 
    margin: 0 auto;
    width: 140px !important;
}
/* branches */
.branches-list{background: rgba(var(--secondary-rgb),.2);}
.branches-list .row,.more-details .row{ margin-bottom: 4rem;}
.branches-list .row:last-child,.more-details .row:last-child{ margin-bottom: 2rem;}
.branches-list h4{
    font-size: 1.2rem;
    color: var(--bs-primary);
    margin-bottom: 1.3rem;
}
.branches-list a{ color: var(--bs-primary);}
.branch-details p{ margin-bottom: 0; font-size: .97rem;}
.branch-details i{ color: var(--bs-primary);}
.branch-img{ padding: 1rem;}
.branch-img img,.about-banner img{
    height: 320px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    box-shadow: 2px 2px 7px #ccc;
}
.about-banner img{ height: 550px;}
.more-details h4{
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
    font-weight: bold;
}
.more-details p{ margin-bottom: 0;}
/* footer */
.footer {
    position: relative;
    background: var(--bs-gray);
}
.footer::after{
    content: '';
    position: absolute;
    top: -13px;
    width: 100%;
    height: 13px;
    background: url(../imgs/shape.png)no-repeat;
    background-size: cover;
}
.footer-logo{ margin-top: 0;}
.footer-logo img{ width: 77px;}
.footer-list li{ 
    background: none; 
    border: none; 
    padding: .2rem 1rem;
}
.footer-list li a{ 
    text-decoration: none;
    color: #fff;
    font-size: .9rem;
}
.footer .contact-info p{ 
    color:#fff; 
    font-size: .9rem;
}
.footer .contact-info a{ color: #fff; text-decoration: none;}
.footer li {
    color: #fff;
    font-size: .9rem;
}
.copy-right{ 
    color: #fff; 
    padding: 1rem;
    font-size: .85rem;
}
/* responsive */
/* Large desktops and laptops */
@media (min-width: 1200px) {
}
/* Landscape tablets and medium desktops */
@media (min-width:  991.98px) and (max-width: 1199px) {
    .navbar li{ margin:.6rem .9rem; font-size: .9rem;}
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .navbar li{ margin:.6rem .5rem; font-size: .8rem;}
    .main-slider .carousel .carousel-item,.main-slider .carousel .carousel-item img {height: 400px;}
    .about-us { width: 500px;}
    .branch-img img {height: 220px;}
    .about-banner img{ height:auto;}
}
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
   .main-title{ font-size: 1.2rem;}
   .top-bar:after{ display: none;}
   .navbar{ top: 48px;}
   .navbar::after{ display: none;}
   .navbar .navbar-nav{
       height: auto; 
       align-items: flex-start !important;
       background: white;
    }
   .navbar li{ font-size: .95rem; width: auto;}
   .navbar-brand img { height:80px;}
   .navbar-expand-md .navbar-collapse{ margin: 0 !important;}
   .main-slider{padding-bottom: 1rem !important;}
   .main-slider .carousel{ padding: 0; background: none;}
   .main-slider .carousel .carousel-item,.main-slider .carousel .carousel-item img{height: 370px;}
   .main-slider .carousel-indicators{left: 1rem;right: auto;}
   .carousel-control-prev,.carousel-control-next{ display: none;}
   .about-us{margin:0 auto;}
   .about-us h4,.branches-list h4{ font-size: 1.1rem;}
   .about-us p,.branch-details p,.about-content p{ font-size: .9rem;}
   .branches-list .row{ 
       border-bottom: 1px solid rgba(var(--secondary-rgb),.6);
       padding-bottom: 2rem;
       margin-bottom: 2rem;
    }
    .about-banner img{ height:auto;}
    .more-details .row{ 
        border-bottom: 1px solid #eee;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    .more-details .row:nth-child(2n+1){ flex-direction: column-reverse;}
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .top-bar .col-auto {
        flex: 0 0 50%;
        width: 50%;
    }
    .main-slider .carousel .carousel-item,.main-slider .carousel .carousel-item img{height: 300px;}
    .footer .row{ text-align: initial !important;}
    .branch-img img {height: 200px; }
    .about-banner{ padding: 1rem;}
    .branches-list .row:nth-child(odd){flex-direction: column-reverse;}
    .main-slider .carousel-caption{width: 100%;left: 0 !important;right: 0 !important;padding: 0 2.5rem;background: rgba(255,255,255,.65);}
}
@media (max-width: 400px) {
    .main-slider .carousel .carousel-item,.main-slider .carousel .carousel-item img{height:250px;}
}