@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=DM+Sans:wght@500;700&display=swap");
/* font */
@import url("https://fonts.googleapis.com/css2?family=Lobster&family=Montserrat&family=Nunito&family=Poppins&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Piedra&display=swap");
:root {
   --primary: #be6361;     /* --primary: #2874A6 ; */
  --secondary: #fff2dd;   /* --secondary: #2874A6;*/
  --third: #333333;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* navigation bar style :start */
nav {
   background-color: #FF8482;
 /* background-color: #2874A6;*/
  position: fixed;
  z-index: 9999;
  width: 100%;
}

.nav-wrapper {
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: right;
  width: 85vw;
  margin: auto;
}

.logo img {
  width: 200px;
  height: 50px;
  object-fit: cover;
  border-radius: 35px 0px;
  cursor: pointer;
}

.nav-links-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: right;
  /*height: 52px; */
  height: 40px;
  width: 40vw;
  background: linear-gradient(89.97deg, #fdc068 1.14%, #fff2dd 98.23%); 
/* background: linear-gradient(89.97deg, #AED6F1 1.14%, #fff2dd 98.23%); */
  border-radius: 0px 55px;
}

.nav-links {
  width: 70%;
  /*font-family: DM Sans; */
   font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0px;
  text-align: right;
  color: #333333;  /* font color in menue bar */
}

.nav-links ul {
  display: flex;
  justify-content: space-evenly;
  align-items: right;
  list-style: none;
  transition: all 0.5s ease-in-out;
}

.nav-links li {
  transition: all 0.5s ease-in-out;
}

.nav-links ul li:hover {
  cursor: pointer;
}

.nav-links span {
  transform: rotate(90deg);
  display: inline-block;
}

.nav-links ul li {
  display: inline-block;
}

.nav-links ul li::after {
  content: "";
  width: 0px;
  height: 3px;
  display: block;
  background: #C6B6A7;  /* Change color under text in menu bar */
/*  background: #5DADE2; */
  transition: 300ms;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.nav-link {
  border: 2px solid var(--third);
/*  padding: 8px; */
  padding: 12px;
  border-radius: 16px 0px;
}
.nav-cta {
  width: 70px;
 /* height: 35px; */
  height: 40px; 
  text-align: center;
  border: 1px solid black;
  background-color: #ff8482;
  font-size:12px;
/* background-color: #5DADE2; */  /* Book free demo background color*/ 
 /* border-radius: 0px 20px;*/
  border-radius: 14px 0px;
  cursor: pointer;
  padding-top: 3px;
}

.nav-cta h3 {
 /* font-family: "DM Sans", sans-serif;*/
   font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size:12px;
  color: white;  /* font color of Book Free Demo color*/
  margin-top: 1px;
  cursor: pointer;
}

.burger-menu {
  display: none;
}

.drop {
  cursor: pointer;
}

.temp {
  height: 5vh;
  width: 7vw;
  position: absolute;
}

.drop-down {
  position: absolute;
  top: 5vh;
  flex-direction: column;
  display: none;
  justify-content: space-evenly;
  background: var(--secondary);
  border-radius: 10px;
  /* min-height: 10vh; */ /* increase space between cousesin drop down menu-courses list */ 
  min-height: 20vh;
  min-width: 100px;
  padding-left: 10px;
  padding-right: 10px;
  /* border-radius: 6px; */
  border: 2px solid #131313;
  transition: all 0.2s ease-in-out;
}

.drop-down a {
  color: #333333;  /* color font in courses*/ 
/*  color: white; */
/*  font-family: "DM Sans", sans-serif; */
 font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-top: 5px;
  text-align: left;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.drop-down a:hover {
  min-width: 40%;
  background-color: #ff8482;  /* background of courses drop down menu */ /* when hover over courses highlight the course */
/* background-color: white;  */  /* then the color change to secondary color  */
  color: var(--secondary);
  border-radius: 5px;
  padding: 1vh 1vw;
  animation: drop-down-animation 0.5s ease-in forwards 1s;
}

.drop:hover .nav-links span {
  transform: rotate(270deg);
}

.drop:hover .drop-down {
  display: flex;
}

.drop-down:hover {
  display: flex;
}

@keyframes drop-down-animation {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@media all and (max-width: 1300px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .heading h2 {
    font-size: 40px;
  }

  .logo {
    padding-left: 10vw;
  }

  .burger-menu {
    display: block;
    padding-right: 10vw;
  }

  nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .nav-links-wrapper {
    flex-direction: column;
  }

  .nav-links ul {
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
  }

  .nav-links {
    height: 60%;
  }

  .nav-links-wrapper {
    height: 85vh;
    position: absolute;
    top: 10vh;
    right: 0;
    transform: translateX(100%);
    transition: transform 1s ease-in-out;
  }

  .nav-links-active {
    transform: translateX(0);
  }

  .nav-divider {
    transform: rotate(90deg);
  }

  @keyframes navFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0px);
    }
  }

  .drop-down a {
   /* display: none;*/
  }
}

/*edit small screen menu*/
@media all and (max-width: 1300px) and (min-width: 1000px){ 
  
  /*edit for mobile menu 24-11   @media all and (max-width: 1300px) and (min-width: 800px){ } */
    .drop-down {
	  position: static;  
    height: auto; /*try to put width also 90% of screen*/
	width: 320px; 
	/*margin-top: 45px; */
	opacity:1;
  }
  .drop-down:hover {
  display: flex;
  margin-top: 250px; 
}  /* this for editing menu in small screen I need to adjust margin to start from the top of the window */
}
@media all and (max-width: 990px) and (min-width: 800px){ 
  
  /*edit for mobile menu 24-11   @media all and (max-width: 1300px) and (min-width: 800px){ } */
    .drop-down {
	  position: static;  
    height: auto; /*try to put width also 90% of screen*/
	width: 320px; 
	/*margin-top: 45px; */
	opacity:1;
  }
  .drop-down:hover {
  display: flex;
  margin-top: 250px; 
}  /* this for editing menu in small screen I need to adjust margin to start from the top of the window */
} 
@media all and (max-width: 790px) and (min-width: 250px){
    .drop-down {
	  position: static;  
    height: 83vh; /*try to put width also 90% of screen*/
	width: 90vw; 
	/*margin-top: 45px; */
	opacity:1;
  }
  .drop-down:hover {
  display: flex;
  margin-top: 200px; 
}	
}
/* navigation bar style :end */

/* courses style :start */

.courses {
  background-color: #ff8482;
/* background-color: #5DADE2; */  /* Book free demo background color*/ 
 /* border-radius: 0px 20px;*/
  padding-top: 100px;
}

.courses .sub-1 {
  font-family: "Alfa slab one", cursive;
  font-weight: 400;
  font-size: 20px;
  color: black;
  margin-left: 250px;
  padding-top: 2%;
  position: relative;
  z-index: 10;
  width: 100px;
}

.courses h2 {
  font-family: "Alfa slab one", cursive;
  font-weight: 400;
  font-size: 32px;
  margin-left: 200px;
}

.courses-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.course-title-wrap {
  width: 90vw;
  margin: auto;
}

.course-cta {
  height: 48px;
  width: 170px;
  border: 2px solid #1C5C7E ;
  border-radius: 3px;
  background-color: var(--secondary);
  text-align: center;
  padding-top: 10px;
  cursor: pointer;
  margin-right: 120px;
}

.course-cta a {
  text-decoration: none;
  color: var(--primary);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.course-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course {
  background: #ffffff;
  box-shadow: 6px 6px 14px 0 rgba(185, 179, 179, 0.486),
    -8px -8px 18px 0 rgb(255, 255, 255);
  border-radius: 40px;
  padding: 4px 30px 20px;
  min-height: 380px;
  width: 320px;
  margin-left: 100px;
  overflow: hidden;
  z-index: 1;
}

.course img {
  width: 400px;
  height: 200px;
  object-fit: cover;
  transform: translate(-30px, -10px);
}

.course .sub {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  text-align: center;
}

.course h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--third);
  width: inherit;
}

.course p {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--third);
  text-align: center;
}

.course-btn {
  height: 36px;
  width: 138px;
  background-color: #EBF5FB;
  padding-top: 7px;
  text-align: center;
  border-radius: 10px;
  margin-left: 55px;
  box-shadow: 6px 6px 10px #ee6969;
}

.course-btn a {
  text-decoration: none;
  color: #1C5C7E ;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.course {
  margin-top: 20px;
}

/* courses style :end */

.circle {
  position: fixed;
  left: 0;
  bottom: 0;
}

@media all and (max-width: 450px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  /* nav bar style :end */
  .navigation {
    transform: translateY(-50px);
  }
  .courses {
    width: 100%;
  }
  .courses-wrapper {
    transform: translateX(-40px);
  }
  .sub-1 {
    transform: translateX(-40px);
  }
  /* responsive .navigation */

  .circle {
    display: none;
  }

  .sub-1 {
    transform: translateX(-180px);
  }
}

@media all and (max-width: 768px) and (min-width: 450px) {
  body {
    width: 100%;
    overflow-x: hidden;
  }
  .circle {
    display: none;
  }
}
