/* Start global rules */
:root {
  --main-color: #3051A3;
  /* --main-color: #10cab7; */
  --secondary-color: #1D2B4D;
  /* --secondary-color: #2c4755; */
  --main-section-padding: 60px;
  /* --main-section-color: #FFC107; */
  --main-section-color: #f6f6f6;
  --accent-color: #FFC107;
  --shadow-color: #0000003d;
  --grey-color: #33475b;
  --duration: 300ms;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Work Sans", sans-serif;
}
img {
  border-radius: 10px;
}
.parent {
  background-color: #eee;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  margin: auto;
}
.container img {
  box-shadow: 0px 0px 11px 1px var(--shadow-color);
}
i {
  transition: all 300ms ease-in-out;
}
i:hover {
  transform: scale(1.2);
}
/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* End global rules */
/* Start components */
.special-headings {
  color: var(--accent-color);
  font-size: 5em;
  text-align: center;
  font-weight: 800;
  letter-spacing: -3px;
  margin-bottom: 0;
  text-shadow: 1px 1px 3px var(--shadow-color);
}
.special-headings + p {
  margin: 0;
  font-size: 20px;
  text-align: center;
  color: #797979;
}
@media (max-width: 767px) {
  .special-headings {
    font-size: 60px;
    margin-bottom: 15px;
  }
  .special-headings + p {
    margin-top: -20px;
  }
}
/* End components */
/* Start Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000; 
  background-color: #fff;
  width: 100%;
  box-shadow: 0px 0px 11px 1px var(--shadow-color);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.header .logo {
  width: 60px;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
  padding: 0;
}
.header .header-links {
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
  flex-grow: 1;
  flex-basis: auto;
}
@media (max-width: 992px) {
  .header .header-links {
    display: none;
  }
}
.header .header-links p::before{
  content: "";
  background-color: var(--secondary-color);
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%; 
  height: 100%;
  z-index: -1;
  transition: all 300ms ease-in-out;
  transform: translateY(-110%);
}
.header .header-links p{
  padding: 23px 10px;
  margin : 0 10px 0 0;
  transition: all 300ms ease-in-out;
  position: relative;
}
.header .header-links p:hover:before , .header .header-links p:hover  a{
  background-color: var(--secondary-color);
  color: #fff !important;
  transform: translateY(0%);
}
.header .header-links a{
  font-size: 1.0em; 
  font-weight: 600;
  background-color: transparent !important;
  color: var(--main-color);
  text-decoration: none;
  transition: all 300ms ease-in-out;
}
.header .header-links a:visited {
  color: var(--main-color);
}
.header .links {
  position: relative;
}

.header .header-links .store {
  list-style: none;
  width: 150px;
  height: 50px;
  position: absolute;
  top: 70%;
  right: 100px;
  background-color: var(--main-section-color);
  color: var(--secondary-color);
  visibility: hidden;
  transition: all 300ms linear;
  opacity: 0;
}
.header .header-links .store li  {
  margin-top: 5%;
}
.header .header-links .store li a {
  color: var(--main-color);
}
.header .header-links .store li a:hover {
  padding-left: 10px;
  ;
}
.header .header-links .store-p:hover + .store, .header .header-links .store:hover {
  display: flex;
  visibility: visible;
  opacity: 1;
  top: 70%;
  color: #fff;
  z-index: 1;
}
@media (min-width: 993px) {
  .header .links {
    display: none;
  }
}
.header .links:hover .icon span:nth-child(2) {
  width: 100%;
}
.header .links .icon {
  width: 30px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.header .links .icon span {
  background-color: #333;
  margin-bottom: 5px;
  height: 2px;
}
.header .links .icon span:first-child {
  width: 100%;
}
.header .links .icon span:nth-child(2) {
  width: 60%;
  transition: var(--duration);
}
.header .links .icon span:last-child {
  width: 100%;
}
.header .links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #f6f6f6;
  position: absolute;
  right: 0;
  min-width: 200px;
  display: none;
  z-index: 1;
}
.header .links:hover ul {
  display: initial;
}
.header .links ul li a {
  padding: 15px;
  display: block;
  text-decoration: none;
  color: #333;
  transition: var(--duration);
}
.header .links ul li a:hover {
  padding-left: 25px;
  /* color: var(--accent-color) !important; */
}
.header .links ul li .store-item:hover .header .header-links .store{
  padding-left: 25px;
  color: var(--accent-color) !important;
  display: flex;
  top: 70%;
  color: #fff;
  z-index: 1;
}
.header .links ul li:not(:last-child) a {
  border-bottom: solid 1px #ddd;
}
/* .header .container .ramadan {
  position: fixed;
  top: 64.63px;
  right: 0%;
  transform: rotateY(180deg);
  z-index: -1;
}
.ramadan img {
  background-color: transparent;
  background-size: cover;
  box-shadow: none;
  width: 70%;
} */
/* End Header */
/* Start Landing Section */
.landing {
  position: relative;
}
.slider {
  position: relative;
  height: calc(100vh - 64px); /* Same height as the viewport minus the navbar */
}
.slides {
  position: relative;
  height: 100%; /* Make slides container the same height as the slider */
  overflow: hidden;
}
.slides img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  object-fit: cover;
  height: calc(100vh - 77px); /* Make each slide the same height as the slider */
  opacity: 0;
  transition: opacity 1s ease-in-out; /* Animate opacity changes */
}
.slides img.active {
  opacity: 1; /* Make active slide fully opaque */
}
.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: white;
  border: none;
  font-size: 2em;
  cursor: pointer;
}

.prev {
  margin-left: 10px;
  left:0;
  z-index: 10;
}
.next {
  margin-right: 10px;
  right:0;
  z-index: 10;
}
.slider::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: white;
  opacity: 0.5;
}
.landing::before {
  content: "";
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.landing .logo {
  width: 160px;
}
.landing .intro-text {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  width: 320px;
  max-width: 100%;
}
.landing .intro-text h1 {
  margin: 0;
  font-weight: bold;
  font-size: 50px;
  color: var(--main-color);
}
/* End Landing Section */

/* Start Features Section */
.features {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #f6f6f6;
}
.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 125px;
}
.features .feat {
  padding: 20px;
  text-align: center;
}
.features .feat i {
  color: var(--main-color);
}
.features .feat h3 {
  font-weight: 800;
  margin: 30px 0;
}
.features .feat p {
  color: #777;
  font-size: 17px;
  line-height: 1.8;
}
/* End Features Section */
/* Start Services */
.services {
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
}
.services .services-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 150px;
}
.services .serv {
  display: flex;
  margin-bottom: 40px;
  height: 50%;
}
@media (max-width: 767px) {
  .services .serv {
    flex-direction: column;
    text-align: center;
  }
}
.services .serv i {
  color: var(--main-color);
  flex-basis: 60px;
}
.services .serv .texts {
  flex: 1;
}
.services .serv h3 {
  margin: 0 0 20px;
  font-weight: 800;
}
.services .serv p {
  color: #777;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
}
/* With this percentage width & height
  the whole graph disappeares in small screens
  and that's what we want, instead of using media */
.services .graph::before {
  content: "";
  background-color: var(--secondary-color);
  width: 50%;
  height: 125%;
  position: absolute;
  top: -15%;
  right:  -10%;
  border-radius: 10px;
  box-shadow: 0px 0px 11px 1px var(--shadow-color);
  z-index: -1;
}
.services .graph{
  border-radius: 10px;
  position: relative;
  width: 100%;
  height: 80%;
  background-size: cover;
  top: 10%;
  right: 0%;
}
.services .graph img {
  max-width: 100%;
  background-size: cover;
  transition: all 300ms ease-in-out;
  position: relative;
}
.services .graph img:hover {
  transform: scale(1.2);
}
/* End Services */
/* Start Portfolio */
.portfolio {
  background-color: var(--main-section-color);
  margin-top: 60px;
  padding-top: var(--main-section-padding);
  padding-bottom: calc(var(--main-section-padding) + 100px);
  position: relative;
  color: black;
}
.portfolio .projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 90px;
  margin-top: 150px;
}
.portfolio .projects .col {
  background-color: white;
  transition: all 300ms ease-in;
  border-radius: 20px;
  position: relative;
}
.portfolio .projects .col:hover {
  box-shadow: 14px 15px 11px 5px #ddd;
  transform: scale(1.05) translateY(-10px);
}
.portfolio .projects .col .texts {
  padding: 20px;
}
.portfolio .projects img {
  width: 100%;
  height: 220px;
  background-size: cover;
}
.portfolio .projects h3 {
  font-weight: 800;
  margin: 0;
  color: black;
  text-decoration: none;
}
.portfolio .projects p {
  line-height: 1.8;
  font-size: 17px;
  color: #777;
  margin-bottom: 0;
  text-decoration: none;
}
.portfolio button {
  width: 150px;
  border-radius: 10px;
  position: absolute;
  bottom: -75px;
  padding: 20px;
  font-weight: 500;
  background-color: var(--secondary-color);
  color: #fff;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}
@media (max-width: 1200px) {
  .services .graph {
    width: 0%;
  }
}
@media (max-width: 767px){
  .portfolio .projects img{
    height: fit-content;
  }
  .portfolio .projects {
    text-align: center;
  }
  .portfolio .projects .col{
    margin-bottom: 20px;
  }
}
/* End Portfolio */
/* Start About Section */
.about {
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
}
.about .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 50px;
  margin-top: 150px;
}
@media (max-width: 450px) {
  .about .content {
    grid-template-columns: repeat(1, 1fr);
  }
}
.about .content .shapes {
  display: flex;
  justify-content: center;
  position: relative;
}
.about .content .shapes img {
  max-width: 300px;
  transition: all 300ms ease-in-out;
}
.about .content .shapes img:hover {
  transform: scale(1.1);
}
.about .content .shapes::before {
  content: "";
  height: calc(100% + 100px);
  position: absolute;
  width: 25%;
  background-color: var(--secondary-color);
  top: -50px;
  left: 20%;
  z-index: -1;
  border-radius: 10px;
  box-shadow: 0px 0px 11px 1px var(--shadow-color);
}

.about .content .shapes::after {
  content: "";
  height: 70%;
  position: absolute;
  width: 20%;
  background-color: transparent;
  top: -30px;
  right: -5%;
  z-index: -1;
  border-left: 90px solid var(--main-color);
  border-bottom: 90px solid var(--main-color);
  border-radius: 10px;
}
@media (max-width: 991px) {
  .about .content .shapes::before,
  .about .content .shapes::after {
    display: none;
  }
}
.about .content .texts {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.about .content .texts p:first-child {
  font-weight: 800;
  line-height: 1.8;
  margin: 0 0 50px;
}
.about .content .texts p:last-child {
  line-height: 1.8;
  margin: 0;
  position: relative;
}
.about .content .texts p:last-child::before {
  content: "";
  background-color: var(--main-color);
  height: 3px;
  width: 50%;
  position: absolute;
  top: -15px;
}
@media (max-width: 992px) {
  .about .content {
    text-align: center;
  }
  .about .content .texts p:last-child::before {
    left: 25%;
  }
}
/* End About Section */
/* Start Plans Section */
.pricing {
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
}
.pricing .plans {
  margin-top: 60px;
  display: flex;
  justify-content: space-evenly;
  /* border: 3px solid var(--main-color); */
}
.pricing .plans h3 {
  font-size: 2em;
}
.pricing .plans p {
  color: var(--grey-color);
  word-spacing: 0.1rem;
  line-height: 1.6rem;
}
.pricing .col {
  border-radius: 10px;
  box-shadow: 0px 0px 11px 1px var(--shadow-color);
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 0 20px;
  transition: all 300ms ease-in-out;
}
.pricing .col:hover{
  transform: scale(1.1);
}
.pricing .texts{
  text-align: center;
}
.pricing .texts p{
  text-align: start;
}
.pricing .plans a {
  align-self: center;
}
.pricing button {
  width: 100%;
  height: 70px;
  border-radius: 10px;
  /* position: absolute; */
  /* bottom: 50px; */
  padding: 20px;
  font-weight: 500;
  background-color: var(--secondary-color);
  color: #fff;
  margin-bottom: 20px;
  cursor: pointer;
}
@media (max-width: 767px){
  .pricing .plans{
    flex-direction: column;
    align-items: center;
    
  }
  .pricing .col{
    width: 70%;
    margin-top: 30px;
  }
}
/* End Plans Section */
/* Start Contact Section */
.contact {
  padding-top: var(--main-section-padding);
  padding-bottom: calc(var(--main-section-padding) * 2);
  background-color: var(--secondary-color);
}
.contact i {
  color: var(--accent-color);
}
.contact .section-body {
  margin-top: 60px;
  margin-left: 15%;
}
@media (max-width: 767px) {
  .contact .section-body {
    text-align: center;
    margin-left: 0;
  }
}
.contact .section-body h2 {
  color: #fff;
  font-size: 2em;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.contact .section-body a {
  color: var(--main-section-color);
  margin: 15px 20px;
  font-size: 1.5em;
  letter-spacing: -1px;
  text-decoration: none;
}
.contact .section-body .social {
  margin: 15px 0px;
}
.contact .section-body .contacts {
  display: flex;
  align-items: center;
  margin: 20px 40px;
}
@media (max-width: 767px) {
  .contact .section-body .contacts {
    justify-content: center;
  }
  .contact .section-body h2 {
    font-size: 25px;
  }
  .contact .section-body a {
    font-size: 20px;
  }
}
.contact .section-body .contacts p {
  color: var(--main-section-color);
  font-size: 20px;
}
.contact .section-body .contacts i {
  margin-left: 20px;
  cursor: pointer;
}
.contact .desc {
  color: #ddd;
}
/* End Contact Section */
/* Start Footer */
footer {
  background-color: var(--secondary-color);
  height: 60px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  border-top: 2px var(--accent-color) solid;
}
.emarkets {
  color: var(--accent-color);
}
/* End Footer */
/* Whatsapp floatin icon */
.whatsapp-icon i {
  color: #fff;
  position: fixed;
  bottom: 70px; /* Adjust the distance from the bottom */
  right: 50px; /* Adjust the distance from the right */
  z-index: 1000; /* Ensure it sits above other content */
  background-color: green;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0px 0px 11px 1px var(--shadow-color);
}

/* Initially hide mobile link */
.whatsapp-mobile {
  display: none;
}

/* For larger screens, hide the mobile link and show the desktop link */
@media (min-width: 768px) {
  .whatsapp-desktop {
    font-size: 2.2em;
    display: block;
  }
  .whatsapp-mobile {
    display: none;
  }
}

/* For smaller screens, show the mobile link and hide the desktop link */
@media (max-width: 767px) {
  .whatsapp-desktop {
    display: none;
  }
  .whatsapp-mobile {
    display: block;
    font-size: 1.5em;
  }
  .whatsapp-icon {
    bottom: 50px; /* Adjust the distance from the bottom */
    right: 30px; /* Adjust the distance from the right */
  }
}


