*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    height: 100%;
}
  

#main{
    padding-top: 60px;
     margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: linear-gradient(135deg, #fdfcfb, #e2d1c3);
      color: #333;
}
#first{
    width: 100%;
    height: 100vh;
}
#head{
    width: 20vw;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5vw;
    margin-top: 2vw;
    color: white;
    background-color: #4B2E83 ;
    border-radius: 10px;
    
}
#head:hover{
    transform: scale(1.05);
    transition: transform 0.3s ease;
    background-color:  #39177d;
    
}
#vid{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 80px 10%;
    flex-wrap: wrap;
   
}
#vid1{
    flex: 1;
      max-width: 500px;
      background: white;
      border-radius: 20px;
      box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
      overflow: hidden;
      transition: transform 0.3s ease;
}
#vid iframe{
     width: 100%;
      height: 280px;
      border: none;
    
}

#vid1:hover{
    transform: scale(1.03);
    transition: transform 0.3s ease;
   
}

#cont{
   flex: 1;
      max-width: 500px;
      background: white;
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
}

#cont h2{
    font-size: 28px;
      margin-bottom: 20px;
      color: #4b2e83;
}
#cont ul{
     list-style: none;
      padding: 0;
}
#cont ul li{
    margin: 12px 0;
      padding-left: 24px;
      position: relative;
      font-size: 16px;
}
#cont ul li::before {
      content: "✔";
      position: absolute;
      left: 0;
      color: #4b2e83;
      font-weight: bold;
    }
#cont button{
   display: inline-block;
      margin-top: 25px;
      padding: 12px 25px;
      background: linear-gradient(135deg, #ff758c, #ff7eb3);
      color: white;
      font-size: 16px;
      border-radius: 30px;
      text-decoration: none;
      transition: all 0.3s ease;
}
#cont button:hover{
   background: linear-gradient(135deg, #ff7eb3, #ff758c);
      box-shadow: 0 8px 16px rgba(0,0,0,0.2);
      transform: translateY(-3px);
}
#cont button:active{
    transform: scale(1.05);
}
#cont a{
    font-size: 20px;
    font-family:"arial", serif;
    font-weight: 600;
    color: white;
    text-decoration: none;  
}

#second{
    width: 100%;
    height: 80vh;
    background: linear-gradient(135deg, #fdfcfb, #e2d1c3);

    
}
#how{
    width: 80vw;
    height: 80vh;
     background: #B878DF;
    display: flex;
    justify-content: center;
    gap: 4vw;
    align-items: center;
    border-radius: 10%;
    margin-left: 5vw;
}
#how ul{
    color: beige;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
#boy{
    display: flex;
    flex-direction: column;
    gap: 2vw;
    margin-left: 5vw;

}
#boy h2{
    display: flex;
    justify-content: center;
    font-size: x-large;
    font: bolder;
}
#how img{
    width: 250px;
    height: 250px;
    border-radius:10% ;
    
    
}
#third{
    width: 100%;
    height: 79vh;
    background: linear-gradient(135deg, #fdfcfb, #e2d1c3);

}
#choose{
    width: 95%;
    height: 100px;
    margin-left: 3vw;
   
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: rgb(70, 128, 179);
    text-transform: capitalize;
    border-radius: 5%;
}
#slice{
    width: 100%;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-top: 2vw;
    font-family:'norani', serif;
    color: white;
    
}
#std{
    width: 40vw;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
    
}
#std_1{
    width: 40vw;
    background-color: #d085b3;
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-radius: 5%;
    
    
    /*display: none;*/
    
}




#inside_2{
    width: 40vw;
    background-color: rgb(161, 119, 200);
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    
    
}

/*existing code */
@media (max-width: 768px) {
 
@media (max-width: 768px) {
    
       #main{
        padding-top: 120px;
        width: 100%;
    }
    
    #nav, #nav1, nav {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
        width: 100vw;
    }
   
    #logo h1, #acad {
        font-size: 6vw;
        text-align: center;
       
    }
    #nav h2, nav h2 {
        display: flex;
        justify-content: center;
        align-items: center;

        font-size: 4vw;
        gap: 30px;
        align-items: center;
    }
}
    #first {
        width: 100vw;
        height: auto;
        padding: 10px 0;
    }
    #head{
        width: 50vw;
    }
    #head h1 {
        font-size: 7vw;
        
        text-align: center;
    }
    #vid {
        flex-direction: column;
        width: 90vw;
        align-items: center;
        padding: 0;
        
    }
    #vid1 {
        width: 90vw;
        margin-top: 5vh;
        height: auto;
        display: flex;
        justify-content: center;
    }
    #vid1 iframe {
        width: 100%;
        height: 40vw;
        min-height: 200px;
        max-width: 100%;
        border-radius: 10px;
    }
    #cont {
        width: 95vw;
        font-size: 4vw;
        padding: 10px;
        margin: 0 auto;
    }
    #cont h2 {
        font-size: 5vw;
    }
    #cont ul, #cont li {
        font-size: 4vw;
    }
    #cont button, #cont a {
        width: 90vw;
        font-size: 4vw;
        margin: 10px 0;
        padding: 10px;
    }
    #third  {
        width: 100vw;
        height: 160vh;
        padding: 10px 0;
      
    }
   
    #choose h2, #slice h2, #imp1 h2, #boy h2, #how h2 {
        font-size: 5vw;
        text-align: center;
    }
    #slice {
        flex-direction: column;
        gap: 9vh;
        width: 100%;
        height:auto;
        margin-top:5vh ;
        align-items: center;

        
    }
    
    #std_1 {
        width:90%;
        font-size: 4vw;
        height: 70vh;
        padding-top: 55px;
        
    }
    #inside_2 {
        width: 95vw;
        font-size: 4vw;
        height: 70vh;   
    }
       #second{
         width: 100vw;
        height: 169vh;
        padding: 10px 0;
        padding-top: 55px;
    }  
    #boy img {
        width: 30vw;
        height: 30vh;
        display: block;
        margin: 0 auto 10px auto;
    }
    ul, li {
        font-size: 4vw;
    }
    #how{
        width: 90vw;
        height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        border-radius: 2%;
        margin-left: 5vw;
        margin-top: 4vw;
        color: black;
        background-color: transparent;
    }
    #how ul{
        color: black;
        font-size: 4vw;
        text-align: center;
    }
         /* Remove absolute positioning on mobile */
 

}
    