*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
a{
    text-decoration: none;
      font-family: "Poppins", serif;
     font-weight: 700;
    font-size: 16px;
      color: #333;
}
img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
h2{
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 500;
}
p{
    font-family: "Lato", serif;
    font-size: 17px; 
    font-weight: 700;
}
span{
    font-family: "Poppins", serif;
  font-weight: 700;
  font-size: 14px;
}
body {
  background: linear-gradient(to right, rgba(0, 0, 255, 0.1), rgba(0, 0, 139, 0.2));
  height: 100vh;
  margin: 0;
}
.question p{
    font-size: 12px; 
}
.container{
    max-width: 1440px;
    width: 100%;
    margin: auto;
}
.common-padding{
    padding: 20px  100px;
}
.dropdown {
    position: relative;
    display: inline-block;
    width: 150px;
    
}
.dropdown button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    cursor: pointer;
    text-align: left;
}
.dropdown button:after {
    content: "▼";
    float: right;
    margin-right: 10px;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    width: 100%;
}
.dropdown-content div {
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-top: none;
}
.dropdown-content div:hover {
    background-color: #f1f1f1;
}
.dropdown.open .dropdown-content {
    display: block;
}
.question-page {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.question-container {
    margin-bottom: 20px;
}

.question {
    
    margin-bottom: 10px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.option input {
    display: block;
  
}
input[type="radio"] {
    width: 17px;
    height: 17px;
    accent-color: navy; 
  }

.option .text {
    margin-left: 10px;
    font-size: 1em;
    color: #333;
}

.option:hover {
    background-color:  #add9e3;
    border-color: navy;
}

.option input:checked + .text {
    font-weight: bold;
    color: navy;
}
.btn-div{
    display: flex;
    justify-content: end;
    gap:10px;
}
.prevbtn ,.nxtbtn{
    display: inline-block;
  padding: 10px 20px;
  background-color: #41acb1 ;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  border:none;
  margin-bottom: 20px;
}
.logout-btn {
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 10px;
  }
  .submit-btn {
    display: inline-block;
    background-color: #007BFF; 
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.submit-btn:hover {
    background-color: #0056b3; 
}
  
  .logout-btn:hover {
    background-color: #e60000;
  }
.page {
    display: none;
}

.page.active {
    display: block;
}
.video-heading{
    text-align: center;
    margin-bottom: 20px;
    
   
}
.question-page{
    margin-bottom: 10px;
}
/* responsive part */
@media screen and (max-width:991px) {
    .common-padding{
        padding-left: 40px;
        padding-right: 40px;
    }
    .navbar-brand img{
        width: 200px;
    }
    .logout-btn{
        margin-left: 0px;
    }
    .dropdown {
        position: relative;
        display: inline-block;
        width: 100%;
        height: auto;
        
    }
    .dropdown-content {
        display: none;
        position: relative;
        background-color: #f9f9f9;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1;
        width: 100%;
    }
    
}
@media screen and (max-width:767px) {

    .common-padding{
        padding-left: 30px;
        padding-right: 30px;
    }
    .navbar-brand img{
        width: 200px;
    }
    .logout-btn{
        margin-left: 0px;
    }
    .dropdown {
        position: relative;
        display: inline-block;
        width: 100%;
        height: auto;
        
    }
    .dropdown-content {
        display: none;
        position: relative;
        background-color: #f9f9f9;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1;
        width: 100%;
    }
    
}
@media screen and (max-width:575px) {

    .common-padding{
        padding-left: 15px;
        padding-right: 15px;
    }
    .navbar-brand img{
        width: 150px;
    }
    .logout-btn{
        margin-left: 0px;
    }
    .dropdown {
        position: relative;
        display: inline-block;
        width: 100%;
        height: auto;
        
    }
    .dropdown-content {
        display: none;
        position: relative;
        background-color: #f9f9f9;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1;
        width: 100%;
    }
    .return-btn{
        flex-direction: column;
      }
      .thank-you-message{
       background-color: #ffffff;
      width: 100%;
      height: auto;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      
      padding: 10px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
    
    }
    .result-box{
      padding: 10px 20px;
    }
    .thankyou-icon img{
      width: 100px;
    }
    .thankyou-icon,.thankyou-btn,.thankyou-heading ,.thankyou-text{
      text-align: center;
    }
    
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid rgba(255, 255, 255, 0.1);
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }
  
  body.loading {
    pointer-events: none;
    overflow: hidden;
  }

  .thankyou-icon img{
    width: 200px;
  }
  .thankyou-detail{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
  
  }
  .thankyou-msg{
    background-color:#c1cada;
    padding: 40px 30px;
  }
  .thankyou-icon,.thankyou-btn{
    text-align: center;
  }
  .totalquestion ,.marks ,.percentage{
    border-bottom: 2px solid white;
    margin-bottom: 15px;
  }
  .result-part label{
    margin-bottom: 25px;
  }
  
  .backbtn {
   background-color: #41acb1;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
   
  }
  
  .backbtn:hover {
    background-color: navy;
  }
  