*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

:root {
    --main-color: #2196f3;
    --main-padding:50px;
}

html {
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.container {
	padding-left: 15px;
	padding-right: 15px;
	margin-left: auto;
	margin-right: auto;
}

.main-title {
    text-align: center;
    margin: 50px auto;
    font-size: 50px;
    font-family: 'Courgette', cursive;

   
}

@media (max-width:767px) {
    .main-title {
        padding: 10px;
    }
}






@keyframes left {
    50% {
        left:0;
        width: 15px;
        height: 15px;
        
    }
    100% {
        left: 0;
        width: 55%;
        height: 100%;
        border-radius: 0;
    }
}

.main-title:hover::before {
    animation: right 0.5s linear forwards;
}
@keyframes right {
    50% {
        right:0;
        width: 15px;
        height: 15px;
        
    }
    100% {
        right: 0;
        width: 55%;
        height: 100%;
        border-radius: 0;
    }
}


@media (min-width: 768px) {
	.container {
		width: 750px;
	}
}

@media (min-width: 992px) {
	.container {
		width: 990px;
	}
}

@media (min-width: 1200px) {
	.container {
		width: 1170px;
	}
}

/*header*/
header {
    box-shadow: 0px 0px 7px #bebebe;
    background-color: white
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;

}

header .container .logo img {
    height: auto;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    header .container {
       flex-direction: column;
    }
    header .container .logo img {
        margin-bottom: 10px;
        width: 100%;
        height: 30px;
    }
}

header .container .logo a {
    color: var(--main-color);
    text-transform: capitalize;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px
}

header .container .main-nav {
    display: flex;
}

@media (max-width: 767px) {
    header .container .main-nav {
        margin: auto;
    }
}


header .container .main-nav > li:hover .mage-manu {
    opacity: 1;
    z-index: 100;
    top: 100%;
}

header .container .main-nav > li > a {
    color: black;
    font-size: 16px;
    height: 70px;
    position: relative;
    padding: 0 30px;
    text-transform: capitalize;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
 .wrapper {
  display: flex;
  margin-top: 35px;
  

  transform: translate(-20%, -50%);
}
.wrapper .button {
  padding: 0.6em 0.9em;
  text-align: center;
  text-decoration: none;
  color: black;
  font-weight: 700;
  border: 2px solid white;
  font-size: 18px;
  border-radius: 0.3em;
  transition: all 0.2s ease-in-out;
  position: relative;
  overflow: hidden;
 
}
.wrapper .button::before {
  content: "";
  background-color: rgba(255, 255, 255, 0.5);
  height: auto;
  width: 3em;
 position: absolute;
 transform: skewX(-45deg) translateX(0);
  transition: none;
}
.wrapper .button:hover {
  background-color: #2196f3;
  color: #fff;
  border-bottom: 4px solid darken(#a772f2, 10%);
  box-shadow: 5px 5px rgba(119, 119, 119, 0.089);
}
.wrapper .button:hover::before {
  transform: skewX(-45deg) translateX(13.5em);
  transition: all 0.5s ease-in-out;
}
@media (max-width: 767px) {
    header .container .main-nav > li > a {
        padding: 0 10px;
        height: 30px;
        font-size: 14px;
    }
    .wrapper{
        margin-top: 15px;
    }
    .wrapper .button{
        margin-left: 10px;
       font-size: 15px;
    }
    .wrapper .button:hover {
  background-color: #2196f3;
  color: #fff;
  border-bottom: 2px solid darken(#a772f2, 10%);
  box-shadow: 1px 1px rgba(119, 119, 119, 0.089);
}
}

header .container .main-nav > li > a:hover {
    color: var(--main-color);
    background-color: #f5f5f5;
}

header .container .main-nav > li > a::before {
    content: "";
    width: 100%;
    height: 4px;
    background-color: var(--main-color);
    position:absolute;
    top: 0;
    left: -100%;
    transition: 0.3s;
}

header .container .main-nav > li > a:hover::before {
    left: 0;
}

header .mage-manu {
    position: absolute;
    left: 0;
    top: calc(100% + 50px);
    display: flex;
    gap: 20px;
    background-color: white;
    width: 100%;
    z-index: -1;
    border-bottom: 5px solid var(--main-color);
    opacity: 0;
    transition: all 0.5s;
}

@media (max-width: 767px) {
    header .mage-manu {
        flex-direction: column;
        gap: 0;
    }
     .wrapper{
        margin-top: 10px;
    }
    .wrapper .button{
        
       font-size: 10px;
    }
    header .container .main-nav > li > a{
        font-size:12px;
        font-weight: 500;
        
    }
}

header .mage-manu img {
    max-width: 100%;
    margin: 5px;
}

@media (max-width: 767px) {
    header .mage-manu img {
        display: none;
    }
}

header .mage-manu .linkes {
    min-width: 250px;
    flex: 1;
    margin: 5px;
}

header .mage-manu li {
    position: relative;
}

header .mage-manu li:not(:last-child) {
    border-bottom: 1px solid #eaeaea;
}

header .mage-manu li::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
}

header .mage-manu li a {
    padding: 20px;
    display: block;
    color: var(--main-color);
    font-weight: bold;
    transition: 0.3s;
}

header .mage-manu li a:hover {
    background-color: #f5f5f5;
    border-radius: 4px;
    padding-left: 30px;
}

@media (max-width: 767px) {
    header .mage-manu .linkes:first-of-type a:last-child {
    border-bottom: 1px solid #eaeaea;
    }
}

header .mage-manu li a i {
    margin-right: 10px;
}
/*header*/
/*landing*/
.landing {
    height: 100vh;
    position: relative;
}

.landing::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #c8deff;
    top: 0;
    left: 0;
    transform: skewY(-7deg);
    z-index: -1;
    transform-origin: top left;
}

.landing .container {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 20px;
    align-items: center;
}

@media (max-width: 992px) {
	.landing .container {
        flex-wrap: wrap;
    }
}

.landing .container img {
    width: 600px;
    animation: img 2s infinite alternate;
}
@keyframes img {
    0% {

    }
    100% {
        transform: translateY(30px);
    }
}

@media (max-width: 767px) {
    .landing .container .iamge {
        margin: 0 auto;
    }
    .landing .container img {
        width: 500px;
    }
}

@media (max-width: 515px) {
    .landing .container img {
        width: 400px;
    }
}

@media (max-width: 420px) {
    .landing .container img {
        width: 300px;
    }
}
@media (max-width: 320px) {
    .landing .container .iamge {
        display: none;
    }
}

.landing .container .text h1 {
    margin: 0;
    margin-bottom: 30px;
    text-transform: capitalize;
    font-size: 40px;
}

.landing .container .text p {
    font-size: 23px;
    line-height: 1.7;
    color: #666;
}

@media (max-width: 767px) {
    .landing .container .text {
        text-align: center;
    }
    .landing .container .text h1 {
        font-size: 30px;
    }
    .landing .container .text p {
        font-size: 18px;
    }
}

.landing .up-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.landing .up-down i {
    color: var(--main-color);
    animation: up 1.5s infinite linear;
    transition: 0.3s;
}
.landing .up-down i:hover {
    color: #008cff;
}
@keyframes up {
   0%,10%,20%,50%,80%,100% {
       transform: translateY(0);
   }
   40%,60% {
    transform: translateY(-15px);
   }
}
/*end landing*/


/*start learn*/
.learn {
    padding-top: var(--main-padding);
    padding-bottom: var(--main-padding);
}

.learn .container {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 40px;
    padding: 70px 0;
}

@media (max-width: 767px) {
    .learn .container {
        grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
        padding: 50px 20px;
    }
}

@media (max-width: 530px) {
    .learn .container {
        grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
        padding: 50px;
    }
}

.learn .box {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px #d0d0d0;
    height: auto;
    height: fit-content;
    transition: 0.3s;
    background-color: white  ;
}

.learn .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 2px 10px #a6a6a6;
}

.learn .box img {
    width: 60%;
    max-width: 100%;
    height: 50%;
}

.learn .box h3 {
    padding-left: 10px;
    margin-bottom: 10px;
    text-transform: capitalize;
    font-size: 25px;
    margin-top: 10px;
}

.learn .box p {
    padding-left: 10px;
    margin-bottom: 15px;
    color: #777;
    line-height: 1.4;
}

.learn .box  .foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 25px 25px 10px;
    border-top: 1px solid #0000002b;
}

.learn .box  .foot span {
    color: var(--main-color);
    font-size: 19px;
    font-weight: bold;
}

.learn .box  .foot i {
    color: var(--main-color);
    font-size: 18px;
    margin-right: 10px;
} 

.learn .box:hover .foot i {
    animation: arrow 0.5s linear infinite;
}
@keyframes arrow {
    0% {

    }
    100% {
        transform: translateX(10px);
    }
}
/*end learn*/

/* start gallery*/
.gallery {
    padding-top: var(--main-padding);
    padding-bottom: var(--main-padding);
    background-color: #eaeaea;
}

.gallery .container {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 60px;
}
.gallery .container .box {
    padding: 20px;
    background-color: white;
}
.gallery .box p{
  text-align: center;
  font-size: 20px;
  font-weight: 400;
}
.gallery .container .box .img-box {
    position: relative;
    overflow: hidden;
}

.gallery .container .box .img-box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #ffffff30;;
    width: 0;
    height: 0;
    opacity: 0;
    z-index: 4;
}

.gallery .container .box .img-box:hover::before {
    animation: fille 0.7s;
}

@keyframes fille {
    0%,40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        width: 200%;
        height: 200%;
    }
}

.gallery .container .box img {
    width: 100%;
    max-width: 100%;
    transition: 0.3s;
}

.gallery .container .box .img-box:hover img {
    transform: scale(1.1) rotate(5deg);
}

/*gallery*/
/*fratures*/
.features {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
  background-color: white;
}
.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 40px;
}
@media (max-width: 767px) {
    .features .container {
        grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
        padding: 50px 20px;
    }
}
    @media (max-width: 530px) {
  .features .container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    padding: 50px;
  }
}
.features .container .box {
    text-align: center;
    padding: 30px;
    background-color: white;
    position: relative;
    overflow: hidden;
   
}
/* .features .container .box i {
    margin-bottom: 10px;
    width: 100%;
} */
.features .container .box svg {
    margin-bottom: 10px;
    width: 8%;
    height: auto;
}

.features .container .box h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--main-color);
}

.features .container .box p {
   
    font-size: 20px;
    color: black;
}
/* end features */


/*testimonials*/
.testimonials {
    padding-top: var(--main-padding);
    padding-bottom: var(--main-padding);
    background-color: #eaeaea;
}

.testimonials .container {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 40px;
    margin-top: 100px;
}

.testimonials .container .box {
    background-color: white;
    padding: 10px;
    border-radius: 7px;
    box-shadow: 0 0 10px #00000026;
    position: relative;
}

.testimonials .container .box h1 {
    margin: 0;
    font-size: 21px;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.testimonials .container .box h3 {
    font-weight: normal;
    font-size: 17px;
    margin-bottom: 10px;
    color: #919191;
    text-transform: capitalize;
}

.testimonials .container .box .info {
    margin-bottom: 10px;
}

.testimonials .container .box .info .solid{
    color: #ffc107;
}

.testimonials .container .box p {
    line-height: 1.5;
    color: #777;
}

.testimonials .container .box img {
    position: absolute;
    top: -52px;
    right: -5px;
    width: 100px;
    border-radius: 50%;
    background-color: #eaeaea;
    padding: 10px;
}    
/*testimonials*/
/*team-members*/
.team-members {
    padding-top: var(--main-padding);
    padding-bottom: var(--main-padding);
}

.team-members .container {
    margin-top: 100px;
     display: flex;
 flex-wrap: wrap;
  gap: 40px;
  align-content: center;
  justify-content: center;
}

.team-members .container .box {
   
    border-radius: 10px;
     position: relative;
  flex-basis: 350px;
}

.team-members .box::before,
.team-members .box::after {
    content: "";
    position: absolute;
    width: calc(100% - 60px);
    height: 100%;
    right: 0;
    top: 0;
    border-radius: 10px;
}

.team-members .box::before {
    background: #f1f1f1;
    z-index: -2;
}

.team-members .box::after {
    content: "";
    background-color: #d8d8d8;
    z-index: -1;
    transition: 0.3s;
    width: 0;
}

.team-members .box:hover::after {
    width: calc(100% - 60px);
}

.team-members .box .content{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
}

.team-members .box .content img {
    width: calc(100% - 60px);
    transition: 0.3s;
    border-radius: 10px;
}

.team-members .box:hover img {
    filter: grayscale(100%);
}

.team-members .box .media {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 60px;
}

.team-members .box .media i {
    font-size: 18px;
    color: #00000073;
    height: 40px;
    transition: 0.3s;
    cursor: pointer;
}

.team-members .box .media i:hover {
    color: var(--main-color);
}

.team-members .box .text {
    padding-left: 70px;
}

.team-members .box .text h1 {
    font-size: 23px;
    color: var(--main-color);
    margin: 0;
    margin-bottom: 10px;
    transition: 0.3s;
}

.team-members .box .text p {
    margin-bottom: 20px;
}

.team-members .box:hover h1 {
    color: #00000073;
}
/*team-members*/
/* start resources */
.resources {
    padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
  background-color: #eaeaea;
  padding-bottom: 20px;
  padding-top: 20px;
  height: auto;
}

.resources .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 40px;
}

.resources .container h1 {
    text-align: center;
    text-transform: capitalize;
    font-size: 40px;
    margin-bottom: 50px;
}

.resources .container .box {
    text-align: center;
    padding: 30px;
    
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px #00000047;
}


.resources .container .box h2 {
    font-size: 45px;
    margin-bottom: 10px;
}

.resources .container .box p {
    font-style: italic;
    font-weight: bold;
    font-size: 20px;
    color: var(--main-color);
}
/* end resources */

/* faqs */
.faqs {
    padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
 
  padding-bottom: 20px;
  padding-top: 20px;
  height: auto;
}



/*footer*/
.footer {
    padding-top: var(--main-padding);
    background-color: #191919;
}

.footer .container {
   display: flex;
   flex-wrap: wrap;
   padding: 50px 0;
    gap: 40px;
}

@media (max-width:767px) {
    .footer .container {
        justify-content: center;
        text-align: center;
    }
}

.footer .container .plan {
    width: 250px;
}

@media (max-width:585px) {
    .footer .container .plan {
        width: 100%;
    }
}

.footer .container .plan h1 {
    text-transform: capitalize;
    color: white;
    margin: 0;
    margin-bottom: 25px;
}

.footer .container .plan .media {
    color: #9a9a9a;
    width: 50px;
    height: 50px;
    background-color: #313131;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    font-size: 20px;
    transition: 0.3s;
}

.footer .container .plan .facebook:hover {
    background-color: rgb(50, 81, 255);
}

.footer .container .plan .twitter:hover {
    background-color: rgb(0, 162, 255);
}

.footer .container .plan .youtube:hover {
    background-color: red;
}

.footer .container .plan p {
    color: #9a9a9a;
    line-height: 2;
}

.footer .container .plan ul li {
    padding: 10px 10px 10px 0;
    border-bottom: 1px solid #aaaaaa59;
    color: #9a9a9a;
    text-transform: capitalize;
    font-size: 17px;
}

.footer .container .plan ul li::before {
    font-family: "Font Awesome 5 free";
    content: "\F101";
    font-weight: 900;
    margin-right: 10px;
    color: var(--main-color);
}

.footer .container .plan .line {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.footer .container .plan i {
    color: var(--main-color);
    font-size: 24px;
    margin-right: 15px;
}

@media (max-width:767px) {
    .footer .container .plan .line {
        flex-direction: column;
    }
    .footer .container .plan i {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.footer .container .plan span {
    color: #9a9a9a;
    display: block;
    font-size: 17px;
    line-height: 1.4;
    text-transform: capitalize;
}

.footer .container .plan .line-img {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer .container .plan .line-img img {
    width: 70px;
    margin-bottom: 10px;
    padding: 3px;
    background-color: white;
}

.footer .foot {
    color: white;
    display: block;
    padding: 19px;
    border-top: 1px solid #aaaaaa59;
    width: 100%;
    text-align: center;
    text-transform: capitalize;
}

/*footer*/