*{
    margin: 0%;
    padding: 0%;
}
header{
    display: flex;
    justify-content: space-around;
    height: 50px;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
header button{
    width: 75px;
    height: 30px;
    background-color: #5a67d8;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}
header>div{
    display: flex;
    gap: 10px;
}
header P{
   
    color: blue;
}

main{
    max-width: 1200px;
    margin: auto;
    padding-top: 20px;
}
.heading{
    font-size: 2.5rem;
    color: black;
}
#About{
    padding-top: 20px;
    width: 80%;
    margin: auto;
    text-align: center;
    font-size: 1.1rem;
    color: gray;

}
#image{
    width: 100%;
    padding-top: 20px;
}
#image img{
    width: 100%;
    border-radius: 0px 50px 50px 0px;
    height: 200px;
    padding-left: 0%;
    margin-left: 0%;
}
#FQA{
    padding-top: 20px;
    margin: auto;
    width: 80%;
    text-align: center;
}
#fqa1{
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: gray;
    padding-bottom: 20px;
    
}
#fqa1 li{
    list-style: none;
}
#fqa1>div{
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: first baseline;
    padding-left: 20px;
    padding: 10px;

}
#fqa1>div p{
    cursor: pointer;
}
#a1,#a2,#a3,#a4{
    border: none;
    display: none;
    padding-top: 10px;
}
footer{

    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 75px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    font-size: 1.1rem;
    background-color: white;
}
#main {
    width: 80%;
    margin-top: 20px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding-top: 20px;
  }
  
  #main >div {
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Default Light Mode */
body {
    background-color: #ffffff;
    color: #111;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .container {
    padding: 20px;
  }
  
  /* Toggle Button */
  #toggleThemeBtn {
    /* position: fixed;
    top: 10px;
    right: 20px;
    padding: 10px 15px; */
    border: none;
    border-radius: 20px;
    
    background-color: #2e2e2e;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    
  }
  
  /* Dark Mode Styles */
  body.dark-mode {
    background-color: #121212;
    color: #f5f5f5;
  }
  
  body.dark-mode #toggleThemeBtn {
    background-color: #fffcfc;
    color: #000000;
  }

  body.dark-mode #main>div{
    background-color: #464545;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.2);
  }
  body.dark-mode .heading{
    color: #f5f5f5;
  }
  body.dark-mode header,body.dark-mode footer{
    background-color: #1b1b1b;
  }
   

  @media (max-width:420px){
    header p{
      font-size: 0.8rem;
    }
    header button{
      width: 40px;
      font-size: 0.5rem;
    }
    #main,main>h2,#About,#FQA{
      font-size: 0.8rem;
    }
    .heading{
      font-size: 1.2rem;
    }
  }
  