/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
   scroll-behavior: smooth;
}


body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
}

html:lang(ar) body, html:lang(ar) body button, html:lang(ar) body input::placeholder, html:lang(ar) body textarea::placeholder{
  font-family: "Noto Sans Arabic", sans-serif !important;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  h2{
    color: #320A70;
    font-weight: 200;
  }
}

/* Navbar */
.navbar {
  background: white;
  padding-bottom: 0.4rem;
  padding-top: 1rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.navbar a {
  text-decoration: none;
  color: #0E0E2C;
}
.navbar a.active {
  text-decoration: underline !important;
  text-underline-offset: 6px;
}

.btn {
    padding: 0.35rem 1rem;
    border-radius: 5px;
    background: #eee;
    transition: 0.3s;
    text-decoration: none !important;
    height: 37px;
    border: 2px solid #FFFFFF;
    font-size: 14px;
    margin: 0px 3px;
    font-weight: 500;

    .circle{
        border-radius: 99px;
        width: 10px;
        height: 10px;
        display: inline-block;
        margin-right: 9px;
    }
    .dark-green{
        background: #07ACA9;
    }
    .light-green{
        background: #7BFF00;
    }
}
.btn.outline{
  border-color: #432381;
  color: #432381;
  background: transparent !important;
  padding: 0.35rem 2rem;
}

.btn.primary {
  background: #fff;
  color: #432381;
  display: inline-block;
}

.btn.secondary{
  display: inline-block;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    color: #fff !important;
}

.btn:hover {
  opacity: 0.9;
}

.hero {
  padding: 6rem 0;
  background: linear-gradient(180deg, #262641 0%, #432381 25.27%, #5A66D0 61.67%, #FFFFFF 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  color: #ffffff !important;

  .image{
    padding-top: 60px;
  }
}

.hero h1 {
  margin: 15px 0px;
  font-size: 2.5rem;
  font-weight: 200;
}

.hero img {
  border-radius: 12px;
}

/* Features */
.features {
  padding: 4rem 0;
  text-align: left;
}
.features:dir(rtl), .services:dir(rtl){
  text-align: right !important;
}
.feature-card .borderX:dir(rtl){
  float: right !important;
  right: -31px !important;
  left: unset !important;
}
.story .grid .btnx:dir(rtl) {
  float: left !important;
}
.btn .circle:dir(rtl){
  margin-left: 9px;
  margin-right: 0px !important;
}
.services{
    padding: 4rem 0;
    text-align: left;
    background: #F5F5F5;

    .sidelogo{
        position: absolute;
        left: 0;
        transform: translateY(-227px);
    }
    
}
.contactus{
    padding-top: 120px;
    .sidelogo{
        transform: translateY(193%) !important
    }
    h2{
        font-weight: 500;
    }
    .services-content{
        display: grid;
        grid-template-columns: 45% 55%;
        gap: 3rem;
    }
    .cards{
        margin-top: 40px;
        h3{
            color: #320A70 !important;
            font-weight: 200;
        }
        p{
            display: inline-block;
            color: #626262 !important;
            margin-left: 10px;
            font-size: 13px;
            position: relative;
            top: -6px;
            max-width: 70%;
        }
        span{
            font-size: 17px;
            color: #320A70 !important;
        }
        .small{
            font-size: 14px !important;
            display: block;
        }
        .office img{
            position: relative;
            top: -45px;
        }
    }
}
.services-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    p{
        color: #777777;
    }
    .cards{
        z-index: 10;
    }
   
    .cards .card{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 10px;
        background: #FFFFFF;
        border-radius: 20px;
        /* Inside auto layout */
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
        h2 span{
            position: relative;
            top: -15px;
            margin: 0px 5px;
            font-size: 21px !important;
        }
        .fot{
            border-top: 1px solid #E5E5E5;
            color: #320A70 !important;
            width: 100% !important;
            padding: 20px;
            text-align: right;
            span{
                position: relative;
                top: -2px;
                margin: 0px 10px;
            }
        }
        .mainx{
            padding: 10px;
        }
    }
}

.features .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  .botabit{
    position: relative;
    top: 8px;
  }
  .moreabit{
    top: 13px;
  }

}

.features .text p{
    color: #0E0E2C80;
}
.faq details {
  margin-bottom: 10px;
  padding: 10px;
  color: #5C1F99;

}


.faq p{
    color: #0E0E2C;
    font-size: 12px !important;
    margin-top: 10px !important;
  }
.faq summary {
    font-size: 15px !important;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;


}

.faq summary::-webkit-details-marker {
  display: none;
}

/* Rotate SVG when open */
.faq .arrow {
  transition: transform 0.3s;
}

details[open] .arrow {
  transform: rotate(180deg); /* points up */
}

.feature-card {
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
    h3{
        color: #320A70;
        font-weight: 400;
        margin: 10px 0px;
    }
    p{
        color: #0E0E2C80;
    }
    .borderX{
        height: 130px;
        background-color: #0E0E2C80;
        width: 1px;
        display: inline-block;
        float: left;
        position: relative;
        left: -31px;
        top: 50px;
    }
    
}
a span.green-span{
  background-color: #07ACA91A;
  border-radius: 3px;
  color: #009FBD;
  padding: 1px 3px;
  margin: 0px 2px;
  cursor: pointer;
}

.contact{
  display: inline-flex;
  h2{
    position: relative; top: 5px; left: 9px
  }
}
/* Footer */
.footer {
  background: #ffffff;
  color: #2E0B73;
  text-align: center;
  padding: 2rem 0;

  a{
    color: inherit;
    font-size: inherit;
    svg{
      width: 17px;
      height: 17px;
      position: relative;
      top: 4px;
    }
  }
  
}
.story{
    background-color: #5A66D0 !important;
    padding: 34px 10px;
    h2{
        color: #fff !important;
        font-weight: 300;
    }
    .grid{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 2rem;
        .btnx{
            float: right !important;
        }
    }
}

.hamburger,.mob-btn{
    display: none !important;
}

.footer .grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 3rem;
    p{
        font-size: 14px !important;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .hero-content, .services-content, .capabilities .grid, .story .grid, .footer .grid, .contactus .services-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .hero-content .image{
        padding-top: 0px !important;
    }
    .contact{
      display: block;
    }
    .contactus .services-content > .cards:nth-child(1) { order: 2; }
    .contactus .services-content > .cards:nth-child(2) { order: 1; }
    .story .grid .btnx .btn{
        width: 100% !important;
        text-align: center;
        margin-top: 5px !important;
    }
           
    .hamburger, .mob-btn{
        display: block !important;
    }
    .hero h1{
        font-size: 2.2rem;
        line-height: 41px !important;
    }

    .hero .image img{
        width: 350px !important;
    }
    .desktop-nav{ display: none !important;}
    .mob-btn {
        margin-top: 20px !important;
    }
    .mob-btn .btn{
        margin-bottom: 10px !important;
        width: 100%;
        text-align: center;
    }
    .borderX, .lap-btn, .sidelogo{
        display: none !important;
    }
}

.menu {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 70px;
    width: 100%;
    padding: 0px 10px;
    left: 0;
}
.menu a { padding: 0.95rem; }
.hamburger {
    font-size: 2rem;
    cursor: pointer;
    display: block;
    margin-right: 13px;
}
@media (min-width: 768px) {
    .hamburger { display: none; }
    .menu { display: flex; flex-direction: row; position: static; background: none; width: auto; }
    .menu a { border: none; }
}
.menu{
    display: none;
}