@import url("https://fonts.cdnfonts.com/css/metropolis-2");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
:root {
  --mainColor: #ed017f;
}
/***************************Start Global styling*******************************/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
  font-family: "Metropolis", sans-serif;
  
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
}
a,
i,
span {
  cursor: pointer;
}
li {
  list-style-type: none;
}
p {
  font: 400 16px/22px "Metropolis", sans-serif;
}
h6 {
  font: 600 18px/22px "Metropolis", sans-serif;
}

.container {
  max-width: 90%;
  margin: 0 auto;
}
/**************start Flex-box-classes********************/

.d-flex {
  display: flex;
}
.j-space-between {
  justify-content: space-between;
}
.j-end {
  justify-content: end;
}
.gap-10 {
  gap: 10px;
}
.gap-20 {
  gap: 20px;
}
.gap-50 {
  gap: 50px;
}
.w-50 {
  width: 50%;
}
.w-100 {
  width: 100%;
}
.flex-basis-50 {
  flex-basis: 50%;
}
.flex-basis-100 {
  flex-basis: 100%;
}
.flex-basis-60 {
  flex-basis: 60%;
}
.flex-basis-20 {
  flex-basis: 20%;
}
.flex-basis-25 {
  flex-basis: 25%;
}
.flex-basis-15 {
  flex-basis: 15%;
}
.flex-grow {
  flex-grow: 1;
}
.height-100 {
  height: 100%;
}
.align-items-center {
  align-items: center;
}
.align-items-start {
  align-items: flex-start;
}
.relative-parent {
  position: relative;
}
.flex-dir-column {
  flex-direction: column;
}
.flex-dir-row {
  flex-direction: row;
}
.relative-parent {
  position: relative;
}
/***************************End Global styling*******************************/

/******************header*******************/
/*************************start navigation***********************/
.header {
  min-height: 100vh;
}
.navigation {
  padding-top: 1.5rem;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
}
.navigation ul li a {
  color: #010101;
  font: 600 12px/20px "Metropolis", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.list-of-nav li:hover{
  color: #ed017f;
}
.search button {
  border: none;
  background-color: transparent;
}
.search button span {
  color: #ed017f;
}
.static-btn {
  padding: 0.5rem 1.25rem;
  background-color: #ed017f;
  color: #ffffff;
  border: none;
  border-radius: 0.25rem;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  -ms-border-radius: 0.25rem;
  -o-border-radius: 0.25rem;
  font: 500 12px/20px "Rubik", sans-serif;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

#close {
  /********* for the close icon hidden in nav*****/
  display: none;
} /*********hidden button >>show in mobile state in the nav*******/
#hidden {
  display: none;
}
/*************************End navigation***********************/
/***************************Start hero section********************/
/* Layout */
.left,
.right {
  flex-direction: column;
  margin: auto 0;
}
.right img {
  margin-top: 6rem;
}

/* Typography */
.left h1 {
  max-width: 28.3rem;
  color: #010101;
  font: 900 63px/68px "Metropolis", sans-serif;
}
.left p {
  max-width: 23.7rem;
  color: #676767;
}

/* Buttons */
.link2 {
  color: #ed017f;
  background: #fff;
  border: 1px solid #ed017f;
  border-radius: 0.25rem;
  padding: 0.5rem 1.25rem;
  font: 600 12px/20px "Metropolis", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.3s ease;
}
.link2:hover {
  background: #ffeaf5;
  color: #010101;
}

/* Background */
.background-pink {
  background: #ffeaf5;
  position: absolute;
  top: -150px;
  right: 0;
  bottom: 50px;
  z-index: -1;
}

/* Floating Button */
.floating-button {
  padding: 1.1rem 1.6rem;
  background: #fff;
  border-radius: 3.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.3s ease;
}
.floating-button:hover {
  background: #ffeaf5;
  transform: translateY(-3px);
}
.floating-button a {
  color: #343434;
  font: 700 18px/22px "Metropolis", sans-serif;
  text-decoration: none;
}
.floating-button span {
  color: #ed017f;
}

/* Positions */
.position1 {
  position: absolute;
  top: 127px;
  left: 45%;
  z-index: 1;
}
.position2 {
  position: absolute;
  top: 240px;
  right: 50px;
  z-index: 1;
}

/* Social Icons */
.social-icon {
  margin-top: 9rem;
}
.social-icon a:nth-child(1) span,
.social-icon a:nth-child(7) i {
  color: #ed017f;
}
.social-icon a:nth-child(2) {
  color: #010101;
  font-weight: 600;
}
.social-icon a:nth-child(4),
.social-icon a:nth-child(6) i {
  color: #4b7fcd;
}
.social-icon a:nth-child(5) i {
  color: red;
}

/* Swiper */
.swiper {
  width: 50%;
}
.swiper-wrapper {
  display: flex;
  flex-direction: row;
}

/**************End hero section***********************************/
/*******************************************End Header********************************************************************/

/**********************************************start Main****************************************************************/

/***************************Start hero-section2********************/
.section2 {
  margin-top: 6rem;
}
.heading {
  text-align: center;
}
.heading h2 {
  font: 700 36px/43px "Metropolis", sans-serif;
}
.heading p {
  max-width: 41.2rem;
  color: #95a1bb;
  font: 400 16px/24px "Open Sans", sans-serif;
}

.grid-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 4.7rem;
}

.items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  background: #fff;
  transition: 0.3s ease;
}
.items:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.items h3 {
  color: #363940;
  font: 700 22px/22px "Metropolis", sans-serif;
}
.items p {
  max-width: 10rem;
  color: #95a1bb;
  font: 400 14px/24px "Metropolis", sans-serif;
}
.items img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/****************************End hero section2********************************/
/********************************Start hero-section3******************************/
/* Hero Section 3 */
.hero-section3 {
  background: #fce0ef33;
}
.content {
  padding: 4.8rem 0 9.3rem;
  gap: 88px;
}
.content h4 {
  color: #343434;
  text-align: center;
  font: 400 23px/100% "Metropolis", sans-serif;
  letter-spacing: 2.1px;
}
.image img {
  max-height: 60px;
  object-fit: contain;
}

/* Hero Section 4 */
.hero-section4 {
  display: flex;
}
.left-part img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.right-part {
  padding: 8.7rem 15.6rem 3.6rem 6.8rem;
}
.right-part-content h5 {
  color: #363940;
  font: 700 32px/38px "Metropolis", sans-serif;
}
.right-part-content p {
  color: #676767;
  line-height: 29px;
}
.read-more-link {
  margin-top: 0.6rem;
  cursor: pointer;
  transition: 0.3s ease;
}
.read-more-link a,
.read-more-link span {
  color: #ed017f;
  font: 400 19px/26.58px "Metropolis", sans-serif;
}
.read-more-link:hover {
  transform: translateX(5px);
}

/**************************End hero section3**********************/
/***************************Start our-services-section****************/
/* Our Services Section */
.our-services-section {
  background: #fef9fc;
}
.our-services-content {
  padding: 6.6rem 0 8.1rem;
}

.title {
  text-align: center;
}
.title h5 {
  font: 700 36px/43px "Metropolis", sans-serif;
}
.title p {
  color: #999;
  font: 400 16px/24px "Open Sans", sans-serif;
}

.cards {
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.foot-card a {
  max-width: 12rem;
  color: #363940;
  font: 600 21px/35px "Metropolis", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.foot-card span {
  color: #ed017f;
  background: #fce0ef;
  border-radius: 0.56rem;
  padding: 0.2rem 0.4rem;
}

/*******************************End our-services-section*********************/
/***********************Start result-section****************/
/* Result Section */
.result-section {
  padding: 6.6rem 0;
}

.heading {
  text-align: center;
}
.heading h2 {
  font: 700 36px/43px "Metropolis", sans-serif;
}
.heading p {
  max-width: 41rem;
  color: #95a1bb;
  font: 400 16px/24px "Open Sans", sans-serif;
}

.grid-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 4rem;
}

.items2 {
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}
.items2:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.items2 h3 {
  font: 700 40px/43px "Metropolis", sans-serif;
  color: #343434;
}
.items2 p {
  font: 400 16px/25px "Metropolis", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #676767;
}
.items2 .color {
  color: #ed017f;
}

/*****************end result-section*****************/
/*******************************Start newsletter-section***********************/
/* Newsletter Section */
.newsletter-section {
  background: #fef9fc;
  padding: 6.25rem 0 7.25rem;
  text-align: center;
}

.newsletter-section h2 {
  font: 700 36px/43px "Metropolis", sans-serif;
  color: #343434;
}

.newsletter-section p {
  max-width: 41rem;
  margin: 0 auto 2rem;
  color: #95a1bb;
  font: 400 16px/24px "Open Sans", sans-serif;
}

.newsletter-section form {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.newsletter-section form input {
  padding: 0.7rem 0.9rem;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font: 400 16px/24px "Open Sans", sans-serif;
}

.newsletter-section form a {
  padding: 0.8rem 1.5rem;
  background: #ed017f;
  color: #fff;
  font: 600 14px/20px "Metropolis", sans-serif;
  text-transform: uppercase;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.newsletter-section form a:hover {
  background: #d0006f;
}

/**********************End newsletter-section**************/
/*********************Start Footer*********************/
/* Footer */
.footer {
  background: #fef9fc;
  padding-top: 3rem;
}
.main-footer {
  padding: 3.75rem 0 4.9rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.item-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.item-footer h6 {
  color: #363940;
  font: 700 16px/22px "Metropolis", sans-serif;
}
.item-footer p {
  max-width: 11rem;
  color: #676767;
  font: 400 14px/22px "Open Sans", sans-serif;
}
.item-footer a {
  color: #676767;
  font: 400 14px/22px "Open Sans", sans-serif;
  transition: 0.3s ease;
}
.item-footer a:hover {
  color: #ed017f;
}

.social {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}
.social a {
  font-size: 18px;
  transition: 0.3s ease;
}
.social a:hover {
  transform: scale(1.1);
}
.social a:nth-child(1) i,
.social a:nth-child(3) i {
  color: #4b7fcd;
}
.social a:nth-child(2) i {
  color: red;
}
.social a:nth-child(4) i {
  color: #ed017f;
}

.call span {
  color: #ed017f;
}
.call a {
  color: #363940;
  font: 600 16px/22px "Metropolis", sans-serif;
}

.author {
  color: #363940;
  text-align: center;
  font: 400 11px/18px "Inter", sans-serif;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
}
.author span {
  color: #ed017f;
  font-weight: 600;
}

/**********************end footer*****************/

.nav-bar {
  /* مخفي افتراضياً */
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem; /* مسافة أنيقة بين العناصر */
  width: 100%;
  min-height: 100vh;

  /* خلفية */
  background-image: url("/image/pngtree-abstract-red-and-pink-background-with-reddish-smooth-soft-color-wave-image_15685917.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  /* تثبيت */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;

  /* حركة الخلفية */
  animation: background-image-list 30s infinite alternate ease-in-out;
}

/* حركة الخلفية */
@keyframes background-image-list {
  0% {
    background-position: -20rem center;
  }
  50% {
    background-position: 0 center;
  }
  100% {
    background-position: -20rem center;
  }
}

/* الروابط داخل الناف بار */
.nav-bar a {
  color: #fff;
  font: 600 1.2rem "Montserrat", sans-serif;
  text-decoration: none;
  transition: 0.3s ease;
}
.list-of-nav a:hover {
  color: #ed017f; /* لون مميز عند الهوفر */
  transform: scale(1.05);
}

/**********for hidden menu-btn**********/
.menu-btn {
  display: none;
  position: absolute;
  top: 2.2rem;
  right: 1.5rem;
}
.menu-btn div {
  background: linear-gradient(to right, #f74a75, #f74a75, #f74a75);
  width: 30px;
  height: 8px;
  border: none;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  margin-bottom: 3px;
  cursor: pointer;
}
.menu-btn {
  display: none;
}
/********************************End Footer***********************/
/****************Media Query***********************/
/*************for Mobile*****************/
/* Mobile (0 - 575px) */
@media (max-width: 575px) {
  .header {
    justify-content: flex-end;
    margin-top: 1rem;
  }
  h1 {
    margin-top: 4rem;
    font-size: 1.2rem !important;
    text-align: center;
  }
  .menu-btn {
    display: flex;
    position: absolute;
    top: 1.6rem;
    right: 5rem;
  }
  .navigation .static-btn,
  #hidden,
  .nav-bar {
    display: none;
  }
  .search span {
   margin-bottom: 3px;
    margin-right: 1rem;
  }
  .left {
    flex-basis: 30%;
    margin: 0.5rem auto !important;
    align-items: center;
  }
  .left p {
    text-align: center;
    max-width: 15rem;
  }
  .link {
    flex-direction: column;
  }
  .mySwiper {
    margin-top: 5rem;
  }
  .social-icon {
    width: 100%;
    margin-top: 4rem;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
  }
  .background-pink {
    right: 0px !important;
    top: -30rem;
    overflow-x: hidden;
  }
  .responsive,
  .result-content .grid-items {
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
    justify-content: center;
  }
  .main-content {
    flex-direction: column-reverse;
    justify-content: center;
  }
  .heading h2 {
    font-size: 1.1rem;
  }
  .heading p,
  .title p {
    font-size: 1rem;
  }
  .title h5 {
    font-size: 1.1rem;
  }
  .hero-section3 .image {
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
  }
  .hero-section3 .image img {
    margin: 0 auto;
  }
  .hero-section4 {
    flex-direction: column;
  }
  .hero-section4 .right-part {
    padding: 1rem;
  }
  .read-more-link {
    margin-top: 2rem;
  }
  .cards {
    display: grid;
    grid-template-columns: 100%;
    gap: 5rem;
    justify-content: space-around;
  }
  .form {
    flex-direction: column;
    align-items: center;
  }
  .form input {
    width: 70%;
  }
  .form input::placeholder {
    font-size: 0.6rem;
  }
  .form .static-btn {
    padding: 1rem;
    width: 50%;
  }
  .main-footer {
    padding: 1.75rem 0 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 2rem;
  }
  .item-footer {
    margin: 0 auto;
    text-align: left;
  }
  .item-footer a {
    font-size: 0.7rem;
  }
  .item-footer h6 {
    font-size: 1rem;
  }
  .social {
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2rem;
  }
  .position1,
  .position2 {
    padding: 0.7rem;
    top: 47rem;
    gap: 5px;
  }
  .position1 {
    left: 2rem;
  }
  .position2 {
    right: 2rem;
  }
}

/* Tablet (576px - 992px) */
@media (min-width: 576px) and (max-width: 992px) {
  .nav-bar,
  #hidden {
    display: none;
  }
  .list-of-nav span {
    font-size: 3rem;
    color: #fff;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  .list-of-nav li a {
    color: #fff !important;
    font-size: 1.3rem !important;
  }
  .main-content {
    flex-direction: column;
    justify-content: center;
  }
  .left {
    flex-basis: 30%;
    margin-top: 10rem;
    align-items: center;
  }
  .left h1 {
    text-align: center;
    font-size: 3rem;
  }
  .left p {
    max-width: 15rem;
  }
  .swiper {
    margin: 5rem 0 2rem;
  }
  .social-icon {
    justify-content: space-between;
  }
  .position1 {
    top: 30rem;
    left: 0.3rem;
  }
  .position2 {
    top: 50rem;
  }
  .grid-items,
  .result-content .grid-items,
  .cards {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 5rem;
    justify-content: space-around;
  }
  .hero-section3 .image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hero-section3 .image img {
    margin: 0 auto;
  }
  .hero-section4 {
    flex-direction: column;
  }
  .hero-section4 .left-part img {
    width: 100%;
  }
  .read-more-link {
    margin-top: 2rem;
  }
  .main-footer {
    padding: 1.75rem 0 1.9rem;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(3, auto);
    gap: 3rem;
    justify-content: space-around;
  }
}

/* Laptop (993px - 1779px) */
@media (min-width: 993px) and (max-width: 1779px) {
  .background-pink {
    top: -30rem;
  }
  .header {
    min-height: 100vh;
  }
  .position1 {
    top: 10rem;
  }
  #hidden {
    display: none;
  }
}

/* Large Screens (1200px+) */
@media (min-width: 1200px) {
  .position1 {
    top: 20rem;
  }
  #hidden {
    display: none;
  }
}
