
body {
    background-color: #2e3537;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

:root{
  --dark-bg:#0a0a0a;
  --darker-bg:#050505;
  --accent:#2ecc71;
  --accent-glow:rgb(46,204,113,0.4);
  --text:#ffffff;
}


.hidden {
      opacity: 0;
      transform: translateY(-100px); /* default left */
      transition: all 0.8s ease;
      z-index: 0;
}

.show {
      opacity: 1;
      transform: translateY(0); /* visible hone par center */
}



/*navbar*/
nav {
      height:70px ;
      z-index: 1;
      width:100%;
      position: absolute;
      top: 0%;
      background-color: pink;
      color: white;
      font-size: 30px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      background-color: #050505;
      position: fixed;
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .nav-btn {
      font-size: 30px;
      cursor: pointer;
      display: none; /* desktop ke liye hidden */
    }

    .nav-menu {
      width: 60%;
      list-style: none;
      position: relative;
      left: 5%;
      justify-content: flex-start;
      display: flex;
      gap: 15px;
    }

    .brand{
      margin-top: 1%;
      height: 100%;
      width: 7%;
    }

    .nav-menu li{
      align-items: center;
      align-self: center;
      align-content: center;
      justify-content: center;
      text-align: center;
      margin: 0 12px 0 12px;
    }

    .nav-menu a {
      font-size: 0.7em;
      color: white;
      transition: 0.3s;
      text-decoration: none;
    }
    .nav-menu a:hover {
      font-size: 0.7em;
      color:#08cb00;
      transform: scale(1.2);
    }

     .nav-menu .btn{
      height: 50px;
      color: black;
      font-size: 1em;
      width: 250px;
      border-radius: 10px;
      transition: 0.3s;
      background-color: var(--accent);
     }
     .nav-menu .btn:hover{
      height: 50px;
      background-color: #ffffff;
      width: 250px;
      border-radius: 10px;
      color: var(--accent);
     }


    /* Scroll lock */
    .no-scroll {
      overflow: hidden;
      height: 100vh;
    }

    /* Dummy content for scrolling */
    .content {
      height: 2000px;
      background: linear-gradient(white, lightblue);
    }
/**/
/**/

.title-div{
    height: 70vh;
    width: 100%;
    margin-top: 70px;
    display: flex;
    align-items: center;
    color: hsl(0, 0%, 100%);
    font-size: 35px;
    background-image: url(images/courseC.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:top;
}
.title-div h1{
    width: 100%;
    text-align: center;
}



/*faqs*/
.faq-section {
      max-width: 800px;
      margin: 50px auto;
      padding: 20px;
    }

    .faq-section h2 {
      text-align: center;
      margin-bottom: 30px;
      color: #333;
    }

    .faq {
      background: #fff;
      border-radius: 8px;
      margin-bottom: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      overflow: hidden;
    }

    .faq-question {
      padding: 15px 20px;
      cursor: pointer;
      font-weight: bold;
      color: #444;
      position: relative;
    }

    .faq-question::after {
      content: '+';
      position: absolute;
      right: 20px;
      font-size: 20px;
      transition: transform 0.3s ease;
    }

    .faq.active .faq-question::after {
      content: '-';
      transform: rotate(180deg);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      color: #555;
      line-height: 1.6;
      transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .faq.active .faq-answer {
      max-height: 300px; /* enough for longer answers */
      padding: 15px 20px;
    }

    .container{
      height: 140vh;
      width: 100%;
      display: flex;
      flex-direction: row;
      background-color: white;
      flex-wrap: wrap;
      padding-bottom: 10%;
    }
    .child1{
      height: 90%;
      width: 50%;
      display: flex;
      justify-content: center;
    }
    .child2{
      height: auto;
      width: 50%;
    }
    
    .child1-body{
      width: 80%;
      height: 90%;
    }
    .child1-body h2{
      font-size: 4em;
    }
    .child1-body button{
      width: 70%;
      height: 7%;
      font-size: 1.1em;
      border-radius: 8px;
      border: 1px solid grey;
      font-weight:500;
      background-color: #2ecc71;
      color: white;
    }


    .child1-body button:hover{
     background-color: white;
     color: #08cb00;
     transition: 0.3s;
    }
    video{
      height: 50%;
      width: 100%;
    }



/* footer css*/

footer{
    width: 100%;
    height: 400px;
    font-size: 20px;
    background-color: #253900;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}


.Quick h2{
  font-size: 35px;
  margin-bottom: 0%;
  color: #ffffff;
}

.Quick{
    line-height: 0.96;
    margin-bottom: 4%;
}



footer h3{
    position: relative;
    left: -29%;
    text-align: left;
    color: yellow;
    bottom: 10%;
}

footer a{
    color: grey;
    font-size: 18px;
    text-decoration: none;

}



footer .contact-2{
    width: 25%;
    height: 70%;
    line-height: 0.9;
    align-self: center;
    position: relative;
    left: 5%;
    margin-bottom: 1%;
    margin-left: 2%;
    text-align: left;
}
.contact-2 h2{
  font-size: 35px;
  margin-bottom: 0%;
  color: #fff;
}

.logo{
    font-size: 25px;
    color: white;
    transition: 0.5s;
}

.logo:hover{
  transform: scale(1.5);
  color: #08cb00;
}

.newsletter{
    width: 40%;
    margin-left: 5%;
    margin-bottom: 2%;
   
}

.newsletter h2{
  font-size: 35px;
  margin-bottom: 0%;
  color: #fff;

}

.newsletter p{
    color: white;
    font-size: 20px;
    padding-right: 5%;
   
}
.newsletter input{
    height: 50px;
    width: 65%;
    padding-left: 2%;
    font-size: 20px;
    border-radius: 8px;
    border: 1px solid grey;
    margin-bottom: 2%;
}

.newsletter input:hover{
  border: 1px solid #08cb00;
  background-color: white;
  transition: 0.3s;

}
.newsletter form{
    margin-top: 0%;
  }
.newsletter button{
    height: 52px;
    width: 68%;
    color: black;
    font-size: 1em;
    background-color: var(--accent);
    border: 1px solid grey;
    border-radius: 8px;
    transition: 0.3s;
    color: white;
    
}

.newsletter button:hover{
  background-color: white;
  color: #08cb00;
}






/*responsive*/
/* ✅ Responsive Styling */
@media (max-width: 992px) {
    body{
        overflow-x: hidden;
    }

    nav{
      background-color: var(--dark-bg);
      z-index: 1;
      overflow-y: hidden;
      position: fixed;
    }

    .brand{
      position: relative;
      right: 8%;
      width: 20%;
    }

    .nav-btn {
        position: relative;
        left: 10%;
        display: block;
    }
      .nav-menu {
        position: fixed;
        top: -30px;
        left: -100%;
        width: 70%;
        height: 100%;
        background: #444;
        flex-direction: column;
        gap: 20px;
        z-index: 1000;
        padding: 50px 20px;
        transition: left 0.3s ease-in-out;
    }
      .nav-menu.active {
        left: 0;
        padding-top: 80px ;
        justify-content: flex-start;
    }

      .nav-menu li{
        align-items: center;
        width: 100%;
        background-color: inherit;
        padding-bottom: 20px;
        font-size: 30px;
    }
      .nav-menu li a:hover{
        align-items: center;
        width: 100%;
        color: #08cb00;
        padding-bottom: 20px;
        font-size: 30px;
    }
      #app-btn{
        display: none;
    }

      .title-div{
        height: 40vh;
        width: 100%;
    }
      .title-div h1{
        font-size: 0.8em;

    }
    /*faqs*/
    .faq-section {
        padding: 10px;
      }
      .faq-question {
        font-size: 16px;
      }
      .container{
        height: auto;
        width: 100%;
        background-color: black;
        flex-direction: row;
        padding: 0;
      }

      .child1{
      height: auto;
      width: 100%;
      display: flex;
      
      justify-content: center;
      }
      
        .child1-body {
        width: 100%;
        height: 80%;
        padding: 15% 2% 15% 2%;
    background:linear-gradient(45deg,var(--accent-glow) , transparent );
    }
      .child1-body h2 {
    font-size: 2em;
    color: white;
    }

        video{
            margin-top: 5%;
        }
        .child1-body button {
        width: 100%;
        height: 10%;
        font-size: 0.9em;
        border-radius: 8px;
        border: 1px solid grey;
        font-weight: 500;
    }
      .child2{
        width: 100%;
        background-color: white;
      }

    /*footer*/
    footer {
    flex-direction: column;
    height: auto;
    text-align: left;
    padding: 1% 2% 1% 1%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  footer h3{
    left: 0%;
  }
  
  .logo{
    font-size: 1.2em;
    color: white;
    transition: 0.5s;

  }
   .Quick h2 {
    font-size: 1.2em;
    margin-bottom: 0%;
    color: #ffffff;
   }
   .contact-2 h2 {
    font-size: 1.2em;
    margin-bottom: 0%;
    color: #fff;
    }
   
  footer .child {
    width: 100%;
    margin:0;
    line-height: 0.9;
  }
  footer .beta{
    width: 100%;
    height: 70%;
    line-height: 0.8;
    align-self: center;
    padding-left: 2%;
    text-align: left;
    margin-top: 5%;
   
}



    footer .contact-2 {
        width: 100%;
        height: 70%;
        line-height: 0.8;
        text-align: left;
        position: relative;
        left: 0;
        margin-bottom: 5%;
    }

footer .contact-2 .logo{
  text-align: center;
  margin: 2px;
}

  .newsletter {
    width: 100%;
    margin: 0;
  }

  .newsletter h2 {
    font-size: 1.5em;
    margin-bottom: 0%;
    color: #fff;
  }

  .newsletter input {
    width: 97%;
    margin: 5px 0;
  }
  .newsletter button{
    width: 100%;
    margin: 5px 0;
  }

  .newsletter form{
    margin-top: -5%;
  }
  footer h3 {
    position: relative;
    right: 2%;
    font-size: 0.8em;
    color: yellow;
    bottom: 13%;
    margin-left: -5%;
    margin-bottom: 5%;
   }
}