.hoverbox {
    transition: transform 0.6s;
}

.hoverbox:hover {
    transform: scale(0.9);
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    background-color: #ffff00;
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}
form #error-message1.error-message {
    display: none;
    background-color: rgba(255, 0, 0, 0.5);
    color: white;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
  }

  form #success-message.success-message {
    display: none;  /* Initially hidden */
    background-color: rgba(0, 255, 0, 0.5); /* Green background for success */
    color: white;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
  }
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* vh - viewport height */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 999; /* Ensure loader is displayed above other elements */
    display: flex; /* Center the content horizontally */
    justify-content: center;
    align-items: center;
  }

  #loader:after {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px solid #fff; /* White spinning border */
    border-top-color: transparent; /* Transparent top for spinning effect */
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

.checked {
  color: orange;
}
.flag-image {
  position: relative;
  width: 50px;
  height: 30px;
  bottom: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2),
              -2px -2px 5px rgba(255, 255, 255, 0.2);
}

:root{

  /* Colors */
  --color-primary: #FF4B4B;
  --color-text: #545d7a;
  --color-white: #fff;
  --color-title: #242e4c;
  --color-background: #f7f8fb;
  --color-border: #dae1f5;

  /* Transition & Box Shadow */
  --transition: 0.4s ease-in-out; 
  --shadow: 0px 60px 56px -12px rgba(9, 40, 163, 0.05); 
  }
  

  .container1{ 
      width: 100%;
      margin: auto;
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding-bottom: 5rem;
  }
  
  .accordion__wrapper {
      background-color: var(--color-white);
      box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.15);
      border-radius: 2.5rem;
      width: 100%;
      max-width: 60rem;
  }
  
  .accordion__title{
      margin-bottom: 4rem;
  }
  
  .accordion {
      border-bottom: 0.1rem solid var(--color-border);
      padding-bottom: 2rem;
      margin-bottom: 3rem;
  }
  
  .accordion__header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      cursor: pointer;
  } 
  
  .accordion__icon {
      background-color: var(--color-primary);
      width: 2.2rem;
      height: 2.2rem;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      color: var(--color-white);
      flex-shrink: 0;
  }
  
  .accordion__question{
      font-size: 1.25rem;;
      font-weight: 550;
      /* color: var(--color-title); */
  }
  
  .accordion__answer{
      padding: 2rem 0;
  }
  
  .accordion__content{
      overflow: hidden;
      height: 0;
      transition: var(--transition);
  }
  
  @media screen and (min-width: 580px) {
      .accordion__wrapper {
          padding: 5rem 8rem;
      }
      .accordion__title{
        text-align: left;
      }
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  