/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}



body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: white;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container{
  width: 90%;
  margin: auto;
  
}
.grid{
  display: grid;
  grid-gap: 1.5rem;
}
.logo img{
  width: 350px;
  height: 60px;
}
.image-container {
  position: relative;
  height: 700px;
}

#video-background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(to right, rgba(33, 32, 32, 0.7), rgba(54, 54, 54, 0)); 
  z-index: 1;
}
.body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; 
  text-align: left;
  color: white;
}
.body p
{
  margin-top: 14px;
  font-size: 20px;
  color: white;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: var(--z-fixed);
}
#header {
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}
.h1
{
    display: inline;
    font-size: 40px;
    font-weight: var(--bold);
    color: var(--darkblue);
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.5);
}
section{
  padding: 60px 0;
}
/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo, 
.nav__burger, 
.nav__close {
  color: var(--white-color);
}
.nav__logo img
{
  width: 350px;
  height: 60px;
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-semi-bold);
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}
/* Footer Styling */
footer {
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-distributed {
  background-color: #171c26;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  font: bold 16px sans-serif;
  padding: 30px 30px 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

/* Footer Sections */
.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.footer-left img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.footer-links {
  margin: 10px 0;
  color: #ffffff;
  font-size: 14px;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  margin: 0 5px;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #00bcd4;
  text-decoration: underline;
}

.footer-company-name {
  color: #8f9296;
  font-size: 12px;
}

/* Right Section (Now Contact Info) */
.footer-right {
  text-align: left;
  align-self: center;
}

.footer-right div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.footer-right i {
  background-color: #33383b;
  color: #ffffff;
  font-size: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 38px;
  margin-bottom: 10px;
}

.footer-right p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  word-wrap: break-word;
  margin-bottom: 10px;
}

.footer-right p a {
  color: #5383d3;
  text-decoration: none;
}

/* Footer Center (Now About the Company) */
.footer-center {
  text-align: center;
  align-items: center;
  align-self: center;
}

.footer-center span {
  font-size: 16px;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}

.footer-center p {
  font-size: 14px;
  line-height: 1.6;
  color: #92999f;
  text-align: center;
}

/* H3 Title Styling */
.footer-distributed h3 {
  color: #ffffff;
  margin: 0 0 15px;
  font: normal 30px 'Cookie', cursive;
  align-self: center;
}

.footer-distributed h3 span {
  color: #5383d3;
}

/* Responsive Styling */
@media (max-width: 880px) {
  .footer-distributed {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    margin-bottom: 20px;
    align-items: center;
  }

  .footer-links {
    margin: 10px 0;
  }

  .footer-left img {
    margin: 0 auto 15px;
  }
}

@media (max-width: 600px) {
  .footer-center p,
  .footer-right span,
  .footer-company-name {
    font-size: 13px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-right div {
    flex-direction: column;
  }

  .footer-right i {
    width: 30px;
    height: 30px;
    font-size: 16px;
    line-height: 30px;
  }
}

/* BRIEF HISTORY */
  
  

.portfolio
{
    background: var(--bg);
}

.blog-slider {
    width: 95%;
    position: relative;
    max-width: 90%;
    margin: auto;
    background: #fff;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    padding: 25px;
    border-radius: 25px;
    height: 600px;
    transition: all 0.3s;
    z-index: 2;
  }
  @media screen and (max-width: 992px) {
    .blog-slider {
      height: auto;
      margin: 0px auto;
    }
  }
  
  @media screen and (max-width: 768px) {
    .blog-slider {
      min-height: 500px;
      height: auto;
      margin: 0px auto;
    }
  }
  @media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider {
      height: 350px;
    }
  }
  .blog-slider__item {
    display: flex;
    align-items: center;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__item {
      flex-direction: column;
    }
  }
  .blog-slider__item.swiper-slide-active .blog-slider__img img {
    opacity: 1;
    transition-delay: 0.3s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > * {
    opacity: 1;
    transform: none;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
    transition-delay: 0.3s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
    transition-delay: 0.4s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
    transition-delay: 0.5s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
    transition-delay: 0.6s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(5) {
    transition-delay: 0.7s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(6) {
    transition-delay: 0.8s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(7) {
    transition-delay: 0.9s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(8) {
    transition-delay: 1s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(9) {
    transition-delay: 1.1s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(10) {
    transition-delay: 1.2s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(11) {
    transition-delay: 1.3s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(12) {
    transition-delay: 1.4s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(13) {
    transition-delay: 1.5s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(14) {
    transition-delay: 1.6s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(15) {
    transition-delay: 1.7s;
  }
  .blog-slider__img {
    width: 300px;
    flex-shrink: 0;
    height: 300px;
    box-shadow: 4px 13px 30px 1px rgba(252, 56, 56, 0.2);
    border-radius: 20px;
    transform: translateX(-80px);
    overflow: hidden;
  }
  .blog-slider__img:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: 0.5;
  }
  .blog-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    border-radius: 20px;
    transition: all 0.3s;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__img {
      transform: translateY(-50%);
      width: 90%;
    }
  }
  @media screen and (max-width: 576px) {
    .blog-slider__img {
      width: 95%;
    }
  }
  @media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider__img {
      height: 270px;
    }
  }
  .blog-slider__content {
    padding-right: 25px;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__content {
      margin-top: -80px;
      text-align: center;
      padding: 0 30px;
    }
  }
  @media screen and (max-width: 576px) {
    .blog-slider__content {
      padding: 0;
    }
  }
  .blog-slider__content > * {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.4s;
  }
  .blog-slider__code {
    color: #7b7992;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
  }
  .blog-slider__title {
    font-size: 24px;
    font-weight: 700;
    color: #0d0925;
    margin-bottom: 20px;
  }
  .blog-slider__text {
    color: #4e4a67;
    margin-bottom: 30px;
    line-height: 1.5em;
  }
  .blog-slider__button {
    display: inline-flex;
    background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
    padding: 15px 35px;
    border-radius: 50px;
    color: #fff;
    box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
  }
  @media screen and (max-width: 576px) {
    .blog-slider__button {
      width: 100%;
    }
  }
  .blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
    bottom: 10px;
    left: 0;
    width: 100%;
  }
  .blog-slider__pagination {
    position: absolute;
    z-index: 21;
    right: 20px;
    width: 11px !important;
    text-align: center;
    left: auto !important;
    top: 50%;
    bottom: auto !important;
    transform: translateY(-50%);
  }
  @media screen and (max-width: 768px) {
    .blog-slider__pagination {
      transform: translateX(-50%);
      left: 50% !important;
      top: 205px;
      width: 100% !important;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 8px 0;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
      margin: 0 5px;
    }
  }
  .blog-slider__pagination .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    display: block;
    border-radius: 10px;
    background: #062744;
    opacity: 0.2;
    transition: all 0.3s;
  }
  .blog-slider__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #1E90FF;
    height: 30px;
    box-shadow: 0px 0px 20px rgba(252, 56, 56, 0.3);
  }
  @media screen and (max-width: 768px) {
    .blog-slider__pagination .swiper-pagination-bullet-active {
      height: 11px;
      width: 30px;
    }
  }
  


/*             */
/* SERVICES */



.service
{
    position: relative;
    overflow: hidden;
    background: white;
    box-sizing: 2px 2px 2px 2px black;
    border-radius: 10px;
    height: 400px;
    box-shadow: 0 .5rem 1rem rgba(132,139,200,0.18);
}

.background-image-wrapper 
{
    position: relative;    
}
.background-image-wrapper::after 
{
    content: '';
    display: block;
    width: 100%; 
    height: 2px; 
    background: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
    position: absolute;
    left: 0;
    border-radius: 10px;
}
.background-image {
    width: 100%;
    height: 200px;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
}

.background-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    opacity: 0.5;
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3; 
    padding: 10px 1rem;
}

.service .content h1
{
    color: black;
    text-shadow: none;
    font-size: 20px;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
}

h1 {
    margin: 0;
    position: relative;
}

.service h1::after {
    content: '';
    display: block;
    width: 80px; 
    height: 3px; 
    background: radial-gradient(666px at 0.4% 48%, #009FFD 0%, #045DE9 97.5%);
    position: absolute;
    left: 0;
    bottom: -10px;
    border-radius: 10px;
}

.service:hover .background-image {
    opacity: 0.8; 
    cursor: pointer;
}


.title 
{
    text-align: center;
    max-width: 50%;
    margin: auto;
}
.title h1
{
    font-size: 2rem;
    margin-bottom: 10px;
}
.services
{
    background: var(--bg);
}
.services-wrapper
{
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}
.services .container .vision
{
    width: 70%;
}
.service:hover
{
    cursor: pointer;
    box-shadow:  0 2rem 3rem rgba(132,139,200,0.18);

}
.service:hover.service p,
.service:hover.service .fa
{
    color:white;
}

.service .fa
{
    font-size: 30px;
    color: var(--lightblue);
    margin-bottom: 10px;
}
.service h1
{
    margin-bottom: 10px;
    color: white;
}

.service p
{
    color: white;
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}
.imahefaci
{
  width: 100%;
  height: 440px;
}
.imahefaci img
{
    width: 90%;
    height: 100%;
}
.imahefacidet
{
    background: white;
}
.imahefacidet h1
{
  padding: 35px;
  color: rgb(65, 65, 65);
  font-weight: 600;
}
.subtitle2
{
  display: inline-flex; 
  padding-left: 60px;
  padding-top: 6px;
  color: rgb(102, 102, 102);
  font-weight: 600;
  font-size: 16px;
}
/* PARTNERS */

.customers-wrapper
{
    margin-top: 60px;
    grid-template-columns: repeat(auto-fit,minmax(150px,auto));
    margin: auto;
}
.customers-wrapper img
{
    width: 80%;
}
.button-wrapper
{
    display: flex;
    justify-content: center;
    margin: 20px auto;
}


/* MOBILE DEVICES */
/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__logo img
  {
    width: 250px;
    height: 40px;
  }
  .homeh1
  {
    font-size: 34px;
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.5);
  }
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--white-color);
    padding-top: 1rem;
  }
  .nav__link {
    background: blue;
  }
  .nav__link:hover {
    background-color: blue;
  }
  .services-wrapper
{
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  width: 100%;
}
}


.nav__link {
  color: var(--white-color);
  background-color: transparent;
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}
.nav__links {
  color: var(--white-color);
  background-color: transparent;
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}

.nav__link:hover {
  background-color: var(--black-color-light);
}
.nav__links:hover {
  background-color: var(--black-color-light);
  color: #0779e4;
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}


.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--black-color);
  background-color: var(--white-color);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: var(--black-color);
  color: white;
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
  
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
  color: var(--white-color);
}


/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }
  .vision {
  
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #333; 
    width: 100%;
    margin: 20px auto;
  }
  .services .container .vision
  {
      width: 100%;
  }
  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }
  
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
  
}





