* {
  padding: 00;
  margin: 0;
  box-sizing: border-box;
  font-family: careemregu;
  line-height: 30px;
  list-style: none;
}
@font-face {
  font-family: careemRegu;
  src: url(../fonts/careemRegular.otf);
}
@font-face {
  font-family: careemBold;
  src: url(../fonts/careemBold.otf);
}
:root {
  --background-color: #fff;
  --color-: #000;
  --max-width: 1400px;
  --font-size: 20px;
}
body {
  max-width: 100%;
  overflow-x: hidden;
}
.container {
  margin: 50px auto;
  max-width: var(--max-width);
}
.container section {
  min-height: 400px;
  width: 100%;
  margin: 0 0 150px 0;
}
/* statics */

.hero {
  position: relative;
  height: 500px;
  background: #637acf;
  margin: 0 0 150px 0;
}
.hero::after {
  content: "يــقـدم اســتـشـارات تــربـويـة وتـعـلـيـمـيـة مـبـنـيـة عـلـى أفـضـل الـممـارسـات والـمنـاهـج الـحـديـثـة. ويـسـعـى لـدعـم الـطـلاب وأولـيـاء الأمـور وتـعـزيـز جـودة الـتـعـلـيـم وخـطـط الـمـسـتـقـبـــل";
  position: absolute;
  background: var(--background-color);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  text-align: center;
  padding: 30px 50px;
  border-radius: 20px;
  font-size: var(--font-size);
  box-shadow: 0 0 30px #6565656e;
}
.hero .container {
  height: 100%;
  margin: 0 auto;
}
.hero .container .content {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero .container .content .image {
  height: 100%;
  width: 40%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero .container .content .image img {
  height: auto;
  width: 430px;
  mask-image: linear-gradient(to right, #0000, #637acf 60% 90%, #0000);
}
.hero .container .content .text {
  position: relative;
  width: 60%;
  text-align: right;
}
.hero .container .content .text h1 {
  color: var(--background-color);
  font-size: 45px;
}
.hero .container .content .text p.main {
  color: var(--background-color);
  font-size: var(--font-size);
  padding: 20px 0;
}
.hero .container .content .text p.second {
  position: absolute;
  right: 10%;
  height: fit-content;
  color: var(--background-color);
  font-size: var(--font-size);
}
.hero .container .content .text p span {
  font-size: 30px;
}
/* Hero Section */

.section1 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.section1 .card {
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  padding: 20px;
  background: #f3f3f3;
  box-shadow: 0 0 30px #6565656e;
  border-radius: 10px;
  margin: 10px;
}
.section1 .card:nth-child(1),
.section1 .card:nth-child(3) {
  z-index: 1;
  transform: scale(1.2);
}
.section1 .card p {
  text-align: center;
}
/* section one */

.tip {
  background-color: #637acf;
  text-align: center;
  padding: 50px 0;
  margin: 0 0 150px 0;
}
.tip p {
  color: var(--background-color);
  font-size: var(--font-size);
}
/* tip  */

header {
  padding: 20px 0;
  text-align: center;
  font-weight: lighter;
  letter-spacing: -0.05em;
}
.section2 .content {
  width: 70%;
  margin: 20px auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.section2 .content .card {
  padding: 20px 0;
  text-align: center;
}
.section2 .content .card h4 {
  font-size: 30px;
  margin: 0 0 10px 0;
  font-weight: lighter;
}
.section2 .content .card img {
  width: 100%;
  margin: 0 0 15px 0;
}
.section2 .content .card p {
  font-size: var(--font-size);
}
/* section2  */

.section3 {
  background: #637acf;
}
.section3Content {
  padding: 50px 0;
  width: var(--max-width);
  margin: 0 auto 100px auto;
}
.section3 .content {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-wrap: wrap;
  height: 100%;
  gap: 30px;
  margin: 20px auto;
}
.section3 header {
  color: white;
}
.section3 .content div {
  position: relative;
  padding: 20px;
  height: 250px;
  width: 250px;
  border-radius: 20px;
  box-shadow: 0 10px 20px #30303063;
  background: #eeeeee;
  z-index: 2;
}
.section3 .content div::before {
  content: "2022";
  position: absolute;
  bottom: 40px;
  left: 0;
  transform: translateX(-20%);
  background: rgb(68, 68, 68);
  color: white;
  padding: 10px 20px;
  z-index: 3;
}
.section3 .content div:nth-child(2):before {
  content: "2023";
  position: absolute;
  bottom: 40px;
  left: 0;
  transform: translateX(-20%);
  background: rgb(68, 68, 68);
  color: white;
  padding: 10px 20px;
  z-index: 3;
}
.section3 .content div:nth-child(3):before {
  content: "2025";
  position: absolute;
  bottom: 40px;
  left: 0;
  transform: translateX(-20%);
  background: rgb(68, 68, 68);
  color: white;
  padding: 10px 20px;
  z-index: 3;
}
.section3 .content div::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  transform: translateX(-1%);
  background: #eee;
  color: white;
  padding: 10px;
}
.section3 .content div .shadow {
  position: absolute;
  bottom: 20px;
  rotate: 45deg;
  left: 0;
  transform: translateX(-72%);
  background: rgb(39, 39, 39);
  color: white;
  padding: 10px;
  height: unset;
  width: unset;
  border-radius: unset;
  z-index: -1;
}
/* section 3 */

.container .section4 {
  text-align: right;
}
.section4 p {
  width: 60%;
  font-size: var(--font-size);
  margin: 20px auto;
}
.section4 p:nth-child(3) {
  font-size: var(--font-size);
  margin: 20px auto 0px auto;
}
.section4 ul {
  margin: 10px 0;
}
.section4 ul li p {
  width: 60%;
  font-size: var(--font-size);
  padding: 0 30px 0 0;
  margin: 0 auto;
}
/* section4  */

footer .content {
  height: 300px;
  width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px;
  border-top: 1px solid #637acf;
}
footer div {
  padding: 20px;
}
footer p {
  width: 50%;
}
footer h3 {
  padding: 0 0 10px 0;
}
footer ul li {
  display: inline-block;
  height: 35px;
  width: 35px;
}
footer p a {
  color: #637acf;
  text-decoration: none;
}
footer .links a {
  color: black;
}
footer ul li a img {
  height: 100%;
  width: 100%;
}
footer ul li:nth-child(2) a img {
  scale: 1.37;
}
footer ul li:nth-child(1) a img {
  scale: 1.15;
}

/* footer {
  height: 400px;
}
footer .head {
  width: 100%;
  background: #f3f3f3;
}
footer .head .head-content {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto 20px auto;
  padding: 20px 0;
}
footer .head .head-content a {
  font-size: var(--font-size);
  font-weight: lighter;
  color: var(--color-);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: start;
}
footer .head .head-content a img {
  height: auto;
  width: 30px;
  margin: 0 0 0 10px;
}
footer .socail {
  width: var(--max-width);
  margin: 20px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
footer .socail li a img {
  height: auto;
  width: 40px;
  border-radius: 10000px;
}
footer h2 {
  font-weight: 100;
} */

@media screen and (max-width: 1470px) {
  :root {
    --max-width: 1000px;
    --font-size: 17px;
  }

  .hero .container .content .image {
    width: 40%;
  }
  .hero .container .content .image img {
    width: 100%;
  }
  .hero .container .content .text h1 {
    color: var(--background-color);
    font-size: 35px;
  }

  footer p {
    width: 80%;
  }
}
@media screen and (max-width: 1350px) {
  .section3 p {
    width: 100%;
    margin: 20px auto;
  }
  .container section {
    margin: 0 0 100px 0;
  }
  .hero {
    margin: 0 0 100px 0;
  }
  .tip {
    margin: 0 0 100px 0;
  }
}
@media screen and (max-width: 1075px) {
  :root {
    --max-width: 800px;
    --font-size: 15px;
  }
  .container {
    padding: 0 20px;
  }
  .hero {
    height: 420px;
    height: 352px;
  }
  .hero::after {
    padding: 10px 50px;
  }
  .hero .container .content .text h1 {
    color: var(--background-color);
    font-size: 30px;
  }
  .hero .container .content .text p.second {
    position: unset;
    right: 0;
  }
  .hero .container .content .text p.main {
    color: var(--background-color);
    font-size: var(--font-size);
    padding: 10px 0;
  }
  .section1 {
    flex-wrap: wrap;
  }
  .section1 .card img {
    height: auto;
    width: 100px;
  }
  .section1 .card:nth-child(1),
  .section1 .card:nth-child(3) {
    z-index: 1;
    transform: scale(1);
  }

  .section4 p {
    width: 100%;
  }
  .section4 ul li p {
    width: 100%;
    margin: 10px 0;
  }
  .section2 .content {
    width: 80%;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  header h2 {
    font-size: 20px;
  }

  .tip {
    padding: 20px;
  }
  .container section {
    margin: 0 0 70px 0;
  }
  .hero {
    margin: 0 0 70px 0;
  }
  .tip {
    margin: 0 0 70px 0;
  }
}
@media screen and (max-width: 840px) {
  br {
    display: none;
  }
}
@media screen and (max-width: 760px) {
  :root {
    --max-width: 400px;
    --font-size: 14px;
  }

  .hero {
    min-height: 611px;
    padding: 50px 0;
  }
  .hero .container .content {
    flex-direction: column-reverse;
  }
  .hero::after {
    padding: 10px 50px;
    display: none;
  }
  .hero .container .content .image {
    width: 70%;
    margin: 0 0 20px 0;
  }
  .hero .container .content .text {
    position: relative;
    width: 100%;
    text-align: right;
  }
  .hero .container .content .text h1 {
    font-size: 25px;
  }
  .hero .container .content .text p.main br,
  .hero .container .content .text p.second br {
    display: none;
  }

  .section1 {
    flex-direction: column;
    gap: 20px;
  }
  .section1 .card {
    width: 100%;
    margin: 0;
  }
  .section1 .card:nth-child(1),
  .section1 .card:nth-child(3) {
    z-index: 1;
    transform: unset;
  }

  .tip p br {
    display: none;
  }

  .section2 .content {
    width: 100%;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .section4 ul li p {
    padding: 0 10px 0 0;
  }

  .tip {
    padding: 20px;
  }
  .container section {
    margin: 0 0 50px 0;
  }
  .hero {
    margin: 0 0 50px 0;
  }
  .tip {
    margin: 0 0 50px 0;
  }

  footer .content {
    grid-template-columns: 1fr;
  }
  footer p {
    width: 100%;
  }
  /* footer .head .head-content a img {
    height: auto;
    width: 20px;
    margin: 0 0 0 10px;
  } */
}
@media screen and (max-width: 680px) {
  /* footer .head-content {
    flex-wrap: wrap;
  }
  footer .head .head-content a {
    margin: 10px 0;
  }
  footer .head .head-content {
    width: var(--max-width);
    margin: 0 auto 20px auto;
    padding: 20px;
  } */
}

@media screen and (max-width: 450px) {
  :root {
    --max-width: 320px;
    --font-size: 14px;
  }

  .hero {
    min-height: 638px;
    padding: 50px 0;
  }
  .hero .container .content .image {
    width: 90%;
    margin: 0 0 20px 0;
  }
  .hero .container .content .text p.main {
    padding: 10px 0;
  }
  .hero .container .content .text p.main br,
  .hero .container .content .text p.second br {
    display: none;
  }

  .section2 .content {
    grid-template-columns: 1fr;
  }

  /* footer .head .head-content {
    width: 100%;
    margin: 0 auto 20px auto;
    padding: 20px;
  }
  footer .head-content {
    flex-wrap: wrap;
    width: var(--max-width);
  }
  footer .head .head-content a {
    margin: 10px 0;
  }
  footer .socail {
    flex-wrap: wrap;
  } */
}
