@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@200&family=Rubik:wght@300;400;500&display=swap');

:root{
    --pink: #C63786;
    --gradient: linear-gradient(135deg, #C63786, #3613E5);
}

*{
    font-family: "Rubik", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: .2s linear;
    text-transform: capitalize;
}

*::selection{
    background-color: azure;
    color: rgb(88, 83, 83);
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;

}

::-webkit-scrollbar{
    height: .5rem;
    width: 1rem;
}
::-webkit-scrollbar-track{
    background-color: transparent;
}
::-webkit-scrollbar-thumb{
    background-color: #C63786;
    border-radius: 5rem;
}
body{
    background-color: rgb(8, 10, 46);
}
section{
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.btn{
    display: inline-block;
    margin: 1rem;
    border-radius: 5rem;
    background:var(--gradient);
    cursor: pointer;
    color: white;
    font-size: 1.8rem;
    padding: 1rem 3rem;

}
.btn:hover{
    background: rgb(61, 81, 161);
    color: white;
}
.header{
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background-color: aquamarine;
}
.header .flex{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header .flex .logo{
    font-size: 3rem;
    color: rgb(12, 12, 175);
    margin-right: 600px;
    
}
.header .flex .navbar a{
    margin-left: 2rem;
    font-size: 1.5rem;
    background: var(--gradient);
    border: 2px solid var(--gradient);
    color: white;
    border-radius: 12px;
    padding: 9px 12px;
    box-shadow: 0 3px 15px var(--gradient);
    transition: all 0.5s ease;
}
.header .flex .navbar a:hover{
    background: rgb(26, 59, 202);
}
#menu-btn{
    cursor: pointer;
    color: white;
    font-size: 2.5rem;
    display: none;
}

.home{
    margin-top: 6rem;
}
.home .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap-reverse;
    gap: 1.5rem;
}

.home .row .content{
    flex: 1 1 40rem;
    align-items: center;
}
.home .row .image{
    flex: 1 1 40rem;
}
.home .row .image img{
    width: 100%;
}
.home .row .content h3{
    margin-bottom: 1rem;
    font-size: 8rem;
    color: white;
    line-height: 1;
}
.home .row .content h3 span{
    color: aquamarine;
}
.count .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
}
.count .box-container .box{
    background-color: rgb(75, 78, 120);
    border-radius: .5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: white;
}
.count .box-container .box i{
    font-size: 5rem;
    color: aquamarine;
}
.count .box-container .box .content h3{
    font-size: 2rem;
    color: white;
    margin-bottom: 5rem;
}
.count .box-container .box .content p{
    font-size: 1.6rem;
    color: lightpink;
}


.course-list {
    padding: 40px;
    text-align: center;
}
.course-list h2 {
    font-size: 3.5rem;
    color: var(--pink);
    margin-bottom: 40px;
}
.course-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    margin-bottom: 20px;
    display: inline-block;
    align-items: center;
    margin: 10px;
}
.course-card img {
    width: 150px;
    height: auto;
    border-radius: 4px;
    margin-right: 20px;
}
.course-details h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}
.course-details p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}
.course-button {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(0deg, rgba(198,55,134,1) 0%, rgba(54,19,229,1) 100%);;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.course-button:hover {
    background: rgb(61, 81, 161);
}

/*contact form*/

form label {
    color: #ffffff;
    font-size: 1.5rem;
}
input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    color: white;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    border-radius: 10px;
}

input[type=submit] {
    background: var(--gradient);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    border-bottom: 1px solid aqua;
}
input[type=submit]:hover {
    border-bottom: 1px solid aqua;
    border-top: 1px solid aqua;
}

  /* Style the container/contact section */
.container {
    border-radius: 5px;
    background-color: rgb(8, 10, 46);
    padding: 10px;
}

  /* Create two columns that float next to eachother */
.column {
    float: left;
    width: 50%;
    margin-top: 6px;
    padding: 20px;
}

  /* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
.contact .container h2 {
    color: var(--pink);
    text-align: center;
    font-size: 3.5rem;
}

#img{
    float: left;
}
.column #fname, #lname, #country{
    color: white;
}

  /* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column, input[type=submit] {
        width: 100%;
        margin-top: 0;
    }
}

/* about-section*/

.section .container {
    width: 80%;
    display: block;
    margin: 0px auto;
    padding: 50px 0px;
    text-align: justify;
  }
  
  .container .title {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
  }
  
  .container .title h1 {
    text-transform: uppercase;
    font-size: 35px;
    color: var(--pink);
  }
  
  .container .title h1::after {
    content: "";
    height: 5px;
    width: 100px;
    background-color: #c4d156;
    border-radius: 25px;
    display: block;
    margin: auto;
  }
  
  .content {
    float: left;
    width: 55%;
  }
  
  .image-section {
    float: right;
    width: 40%;
  }
  
  .image-section img {
    padding-top: 15px;
    width: 100%;
    height: auto;
  }
  
  .content .article h3 {
    color: white;
    font-size: 17px;
  }
  
  .content .article p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: white;
  }
  
  .content .article .button {
    padding-top: 30px;
  }
  
  .exit {
    background: none;
    border: none;
    font-size: 16px;
    color: #e5e9c6f3;
    cursor: pointer;
    border-radius: 40px;
    padding: 8px 25px;
    background: var(--gradient);
    letter-spacing: 1.1px;
  }
  
  .exit:hover {
    color: #fff;
    background: rgb(61, 81, 161);
    transition: 1s ease;
  }
  
  .container .social {
    width: 100%;
    clear: both;
    margin-top: 50px;
    text-align: center;
    display: inline-block;
  }
  
  .container .social i {
    color: #fff;
    font-size: 22px;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    line-height: 45px;
    text-align: center;
    background: var(--gradient);
    margin: 0px 5px;
  }
  
  .container .social i:hover {
    color: #e5e9c6f3;
    background: var(--gradient);
    transition: 1s ease;
    transform: rotate(360deg);
  }
  
  @media screen and (max-width: 768px) {
    .section .container {
      width: 80%;
      display: block;
      margin: auto;
    }
    .content {
      float: none;
      width: 100%;
      display: block;
      margin: auto;
    }
    .image-section {
      float: none;
      width: 100%;
      margin-top: 50px;
    }
    .image-section img {
      width: 100%;
      height: auto;
      display: block;
      margin: auto;
    }
    .container .title h1 {
      text-align: center;
      font-size: 30px;
    }
    .container .article .button {
      text-align: center;
    }
    .container .article .button a {
      padding: 6px 15px;
      font-size: 16px;
    }
    .container .social i {
      font-size: 19px;
      height: 35px;
      width: 35px;
      line-height: 35px;
    }
  }
  













@media (max-width:991px){

    html{
        font-size: 55px;
    }
    .home .row .content h3{
        font-size: 8rem;
    }
}
@media (max-width:768px){
    #menu-btn{
        display: inline-block;
    }
    .header .flex .navbar{
        position: absolute;
        top: 99%; left: 0; right: 0;
        border-top: 1rem solid var(--gradient);
        background-color: rgb(8, 10, 46);
    }
    .header .flex .navbar{
        display: flex;
        margin: 2rem;
    }
}
@media (max-width:450px){

    html{
        font-size: 50px;
    }
}