:root {
  --main-color: #fd4a14;
  --second-color: #ffbb08;
  --third-color: #1e324e;
  --white-color: #fff;
  --bg-gradient: linear-gradient(90deg, #fd4a14, #ffbb08);
  --footer-gradient: linear-gradient(to right, #ff7a18, #ff3d00);
  --transition: all 0.3s ease-in-out;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'expo'; 
  src: url('fonts/ArbFONTS-ExpoArabic-Bold.otf') format('otf'), 
       url('fonts/ExpoArabic-Book.ttf') format('ttf'),   
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #f2f2f2;
  line-height: 1.6;
  font-family: expo, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


.container-fluid {
  width: 100%;
  padding: 0 1rem;
}


.header {
  padding-block: 1rem;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--main-color);
  border-radius: 2rem;
  gap: 1rem;
}

.social-icons, .app-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-links {
  background-color: rgba(255, 255, 255, 0.41);
  border-radius: 2rem;
  border: 1px solid var(--white-color);
  padding: 0.25rem 0.75rem;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

a.social-link img,
a.store-link img{
    width: 41px;
}

.download {
    font-size: 17px;
    color: var(--white-color);
}


.header .logo img {
  width: 100px;
}

/* Hero Section */
.hero-section {
  margin-block: 4rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: center;
}
.hero-img {
    border: 2px solid #fd4a14;
    border-radius: 15px;
    overflow: hidden;
}
.hero-content {
  text-align: center;
  padding: 1rem;
}

.hero-title {
  color: var(--main-color);
  font-size: clamp(2rem, 3vw + 1rem, 2.5rem);
  margin-block: 0.5rem;
}

.hero-text {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 2rem);
  color: var(--third-color);
  margin-block: 0.5rem;
  font-weight: 500;
}

.hero-highlight {
  font-size: 1.7rem;
  color: var(--third-color);
  background-color: rgb(253 74 20 / 39%);
  padding: 10px 20px;
  border-radius: 2rem;
  display: inline-block;
  border: 2px solid #fff;
}
.hero-highlight span {
  color: var(--main-color);
}


.main-vid {
    position: relative;
    width: 100%;
    padding-bottom: 80.25%;
    height: 0;
    margin: 1rem auto;
}

.main-vid video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px !important;
    border: 2px solid #fd4a14;
    background-color: #fff;
}

/* Cards Section */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-block: 2rem;
}

.flip-card {
  aspect-ratio: 1;
  perspective: 1000px;
  width: 100%;
  margin-inline: auto;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.card-logos {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.card-logos img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Side Bar */

.side-bar {
  background: var(--main-color);
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 130px 20px;
  margin-left: 1rem;
  float: left;
  width: 200px;
  background-color: #fe4b15;
  border: 2px solid white;
    box-shadow: 1px 3px 3px #9f9f9fe3;

}

/* Footer */
.footer {
  background: var(--footer-gradient);
  color: var(--white-color);
  padding: 2rem;
  border-radius: 1.5rem;
  margin-block: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
  font-size: 21px;
}
.socials img {
  width: 35px;
}

.about-us .logo img {
  width: 150px;
}
.about-us-info {
  margin-block: 1rem;
}

.socials {
  display: flex;
  gap: 1rem;
}

section.products-section,
.footer {
  margin-left: 235px;
  padding: 20px;
}


/* Media Queries */
@media (max-width: 768px) {
  .container-fluid {
    padding: 0 0.7rem;
}
  .download {
    display: none;
  }
  .footer-content {
    padding: unset;
    font-size: 17px ;
  }
  a.social-link img,
a.store-link img{
    width: 31px;
}

.download {
    font-size: 15px;
    color: var(--white-color);
}


.header .logo img {
  width: 75px;
}
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .about-us .logo {
    display: flex;
    justify-content: center;
  }


  /*.side-bar img {*/
  /*  max-width: 60px;*/
  /*}*/

  .hero {
    text-align: center;
  }

  .footer-content {
    text-align: center;
  }

  .socials {
    justify-content: center;
  }
  .side-bar {
    /*flex-direction: row;*/
    /*overflow-x: auto;*/
    /*width: calc(100% - 15px);*/
    /*margin: 1rem 0;*/
    /*padding: 15px;*/
    display: none;
}
 section.products-section,
.footer {
     margin-left: 0;
 }
}

@media (min-width: 768px) {

.flip-card {
  max-width: 370px;
}

}





.card-logos {
    position: relative;
}
.card-logos:after {
    position: absolute;
    content: 'قريبا';
    font-size: 16px;
    font-weight: bold;
    top: 50px;
    right: 40%;
    transform: translateX(-40%);
}

.order-now {
    text-decoration: none;
    display: block;
    width: fit-content;
    margin: auto !important;
    background: linear-gradient(45deg, #fe4914, #feaf0a);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 27px;
    font-weight: 500;
    border: 1px solid white;
}


@media (max-width: 767px) {
    .card-logos:after {
    right: 35%;
    transform: translateX(-40%);
    }
    .order-now {
    font-size: 17px;
    }
}
