@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@font-face {
  font-family: shabnam;
  src: url('../Fonts/Shabnam-Medium.ttf');
}
@font-face {
  font-family: Far_DastNevis;
  src: url('../Fonts/Far_DastNevis.otf');
}
*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  direction: rtl;
}

.html {
  font-size: 62.5%;
}

body {
  font-family: shabnam;
}

/* ///////////..utility classes../////////// */

.container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

.btn {
  display: inline-block;
  padding: 0.5em 1.5em;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  margin-top: 1em;
  text-transform: uppercase;
  font-weight: small;
}

.btn-primary {
  color: #fff;
  background: #16a083;
}

.btn-primary:hover {
  background: #117964;
  transition: background 0.3s ease-in-out;
}

/* ............/navbar/............ *

/* desktop mode............/// */

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  box-shadow: 0px 5px 10px 0px #aaa;
  position: fixed;
  width: 100%;
  background: #fff;
  color: #000;
  opacity: 0.85;
  height: 50px;
  z-index: 12;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 64px;
  align-items: center;
}

.menu-items {
  order: 2;
  display: flex;
}

.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.menu-items a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
  color: #117964;
  transition: color 0.3s ease-in-out;
}

.logo {
  order: 1;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
  font-family:Far_DastNevis;
}
.logo span{
  color: tomato;
}

/* ............//// Showcase styling ////......... */

.showcase-area {
  height: 60vh;
  background:/*  linear-gradient(
      rgba(240, 240, 240, 0.144),
      rgba(255, 255, 255, 0.336)
    ), */
    url("../images/it.jpg");
  background-size: cover;
  background-position:center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.showcase-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1.6rem;
}
.showcase-container p{
  color: teal;
}

.main-title {
  text-transform: uppercase;
  margin-top: 1.5em;
  color:#fff;
  font-family:Far_DastNevis;
  font-size: 5rem;
}
.main-title span{
  color: tomato;
}
/* ......//about us//...... */

#about {
  padding: 50px 0;
  background: #f5f5f7;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
}

#about h2 {
  font-size: 1.5rem;
}

#about p {
  font-size: 1.2rem;
  color: #555;
}

#about .small {
  font-size: 1.8rem;
  color: #666;
  font-weight: 600;
}

.about-img {
  flex: 1 1 400px;
  padding: 30px;
  transform: translateX(150%);
  animation: about-img-animation 1s ease-in-out forwards;
}

@keyframes about-img-animation {
  100% {
    transform: translate(0);
  }
}

.about-text {
  flex: 1 1 400px;
  padding: 30px;
  margin: auto;
  transform: translate(-150%);
  animation: about-text-animation 1s ease-in-out forwards;
}

@keyframes about-text-animation {
  100% {
    transform: translate(0);
  }
}

.about-img img {
  display: block;
  height: 400px;
  max-width: 100%;
  margin: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 10%;
}

/* .........../Course Menu/............ */
#course-menu {
  padding: 5rem 0;
  background: rgba(250, 250, 250);
}
.course-menu-heading {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  color: #666;
}

.course-menu-container {
  display: flex;
  flex-wrap: wrap;
  padding: 50px 0px 30px 0px;
}

.course-menu-container img {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.course-menu-item {
  display: flex;
  flex: 1 1 400px;
  justify-content: space-evenly;
  margin-bottom: 3rem;
}

.course-description {
  margin: auto 1.5rem;
}

.course-description .course-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #444;
}

.course-description p {
  font-size: 1rem;
  color: #555;
  font-weight: 500;
}

.course-description .course-price {
  color: #117964;
  font-weight: 700;
}

/* ........./ Diploma /.......... */
#diploma {
  padding: 5rem 0;
  background: rgba(250, 250, 250);
}

.diploma-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  color: #555;
}

.diploma-title2 {
  text-align: center;
  font-weight: 400;
  font-size: 2.4rem;
  color: #333;
}

.diploma-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  font-size: 1.4rem;
  padding: 1rem;
}

.diploma-box {
  text-align: center;
  padding: 1rem;
  /* display: flex; */
  flex: 1 1 400px;
  min-width: 300px;
  justify-content: space-evenly;
}
.dip-box-1{
  flex: 1.5;
}
.dip-box-2{
  flex:1;
}
.diploma-list , .diploma-list2{
  border: 1px #ccc solid;
  border-radius: 10px;
  padding: 20px;
  list-style: none;
}
.diploma-list2{
  border: none;
}

.diploma-list li{
  list-style-image: url('../images/check.png');
  padding: 5px 10px;
  text-align: right;
  margin-right: 10px;
}

.diploma-list .diploma-list2 li{
  list-style:disc;
  padding: 5px 5px;
}


/* ........./ general /.......... */

#general {
  padding: 5rem 0;
  background: rgba(243, 243, 243);
}
.general-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  color: #555;
}

.general-container {
  display: flex;
  justify-content: space-evenly;
  font-size: 1.4rem;
  padding: 1rem;
  flex-wrap: wrap;
  flex:1 1 30%;
}

.general-box .checked {
  color: #ff9529;
}

.general-box .general-text {
  margin: 1rem 0;
  color: #444;
}
.general-text {
  text-align: justify;
}

.general-box {
  text-align: center;
  padding: 1rem;
}

.customer-photo img {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: auto;
}

.box-1{
  flex: 2;
}
.box-2{
  flex: 1;
}
.box-3{
  flex: 1;
}
/* ........ Contact Us........... */
#contact {
  padding: 5rem 0;
  background: rgb(226, 226, 226);
}

.contact-container {
  display: flex;
  background: #fff;
}

.contact-img {
  width: 50%;
}

.contact-img img {
  display: block;
  height: 400px;
  width: 100%;
  object-position: center;
  object-fit: cover;
}

.form-container {
  padding: 1rem;
  width: 50%;
  margin: auto;
}

.form-container input {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 2px solid #ddd;
  padding: 1rem 0;
  box-shadow: none;
  outline: none;
  margin-bottom: 1rem;
  color: #444;
  font-weight: 500;
  font-family: shabnam;
}

.form-container textarea {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 2px solid #ddd;
  color: #444;
  outline: none;
  padding: 1rem 0;
  resize: none;
  font-family: shabnam;
}

.form-container h2 {
  font-size: 2.7rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 1rem;
  margin-top: -1.2rem;
}

.form-container a {
  font-size: 1.3rem;
}

.contact-info {
  padding: 1rem;
  margin: auto;
  width: 100%;
}


#footer h2 {
  text-align: center;
  font-size: 1.5rem;
  padding: 1rem;
  font-weight: 500;
  color: #fff;
  background: rgb(65, 65, 65);
}
.contact-info{
  background-color:#aaa;
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 300px;
  justify-content: space-between;
}
.contact-info .box{
  padding: 0.5rem;
  text-align: center;
}
/* .contact-info .box:hover{
  color:#666;
} */
.contact-info .box span{
  font-size: 1.5rem;
}
.contact-info .box a{
  text-decoration: none;
  color:#000;
}

/* ......../ media query /.......... */

@media (max-width: 840px) {
  .navbar {
    opacity: 0.95;
  }
  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    right: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    right: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-right: -40px;
    padding-right: 20px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
    display: none;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    display: block;
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }

  /* ......./ food /......... */

  .food-container {
    flex-direction: column;
    align-items: stretch;
  }

  .food-type:not(:last-child) {
    margin-bottom: 3rem;
  }

  .food-type {
    box-shadow: 5px 5px 10px 0 #aaa;
  }

  .img-container {
    margin: 0;
  }
}

@media (max-width: 500px) {
  .form-container {
    width: 90%;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
  }

  .contact-img {
    width: 90%;
    margin: 3rem auto;
  }
}
@media (min-width: 841px) and (max-width: 1200px) {
  .img-container h3 {
    font-size: 1.5rem;
  }
  .img-container .btn {
    font-size: 0.7rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .showcase-area {
    height: 50vmax;
  }
}