/****************************************************
  FLOATING BUTTON & PANEL
****************************************************/
/* The outer popout container with the WhatsApp icon */
.popout {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* WhatsApp green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
  }
  
  /* The WhatsApp icon button */
  .popout .btn1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 32px;
    background: #fff;  /* White circle behind the icon */
    color: #25d366;    /* Icon color */
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.15);
    transition: 0.2s opacity ease-in-out;
  }
  .popout .btn1.active {
    visibility: hidden;
    opacity: 0;
  }
  
  /* Panel always in the center of screen */
  .popout .panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 90%;
    max-width: 440px;
    text-align: center;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.2s;
    opacity: 0;
    z-index: 999;
  }
  .popout .panel.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
  }
  
  /* Bouncy icon animation for the WhatsApp icon */
  .bounce {
    animation: bounce 2s infinite;
  }
  @keyframes bounce {
    0%,20%,50%,80%,100% {transform: translateY(0);}
    40% {transform: translateY(-12px);}
    60% {transform: translateY(-6px);}
  }
  
  /****************************************************
    CONTACT PART STYLES
  ****************************************************/
  .contact-part {
    background: linear-gradient(to bottom, #cef7b5, #c1f3a7 90%); 
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    position: relative;
  }
  
  /* Close (X) button, top-right corner */
  .close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: red;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  
  /* Heading style */
  .contact-heading h2 {
    font-size: 1.8rem;
    color: #000;
    margin: 0;
    font-weight: bold;
  }
  .contact-heading hr {
    margin: 8px auto 15px;
    width: 50%;
    border: 0;
    border-top: 1px solid #fff;
  }
  
  /****************************************************
    FORM STYLES
  ****************************************************/
  .contact-form-area {
    margin-top: 10px;
    text-align: center;
  }
  .contact-form-area form {
    display: block;
  }
  
  .form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  /* Each input group in the row */
  .form-group {
    width: 48%;
    margin-bottom: 15px;
  }
  .form-group.full-width {
    width: 100%;
  }
  
  /* Radio group wrapper */
  .radio-group {
    text-align: left;
    color: #000;
    font-size: 1rem;
    margin-top: 10px;
  }
  
  /* The input fields */
  .form-control {
    width: 100%;
    padding: 10px;
    border: 2px solid #a8d389;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
  }
  .form-control:focus {
    outline: none;
    border-color: #7dd959; /* darker green focus */
  }
  
  /****************************************************
    SUBMIT BUTTON
  ****************************************************/
  .submit-btn {
    background: #58c325; /* darker green button */
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 40px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease;
  }
  .submit-btn:hover {
    background-color: #4faf1f; 
  }

  .branch-question {
    display: inline-block;   /* So we can style as a small box */
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    background: #f0ffe5;        /* Soft green highlight */
    border: 2px dashed #7dd959; /* Match your pop-up’s green */
    border-radius: 5px;
    padding: 6px 10px;
    margin-bottom: 8px;
  }  
  
  /* Container for each radio + label text */
.radio-container {
    display: inline-block;      /* So they line up horizontally */
    position: relative;         /* For absolutely positioned .checkmark */
    padding-left: 30px;         /* Space for the circle to appear on the left */
    margin-right: 20px;         /* Gap between the two radio choices */
    cursor: pointer;            /* Cursor changes to pointer on hover */
    user-select: none;          /* Prevent text selection on label click */
    font-size: 1rem;
    color: #000;
  }
  
  /* Hide the default radio circle */
  .radio-container input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  
  /* Create a custom circle */
  .radio-container .checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: #fff;      /* Inner color */
    border: 2px solid #7dd959;  /* Outer green ring */
    border-radius: 50%;         /* Perfect circle */
    transition: all 0.2s ease;
  }
  
  /* When hovering, darken the ring slightly */
  .radio-container:hover .checkmark {
    border-color: #60c657;       /* Slightly darker */
  }
  
  /* Indicate selection by changing the circle’s background color */
  .radio-container input[type="radio"]:checked ~ .checkmark {
    background-color: #7dd959;
    border-color: #7dd959;
  }
  
  /* Create the white dot inside the filled circle */
  .radio-container .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
  }
  
  /* Show the white dot when the radio is checked */
  .radio-container input[type="radio"]:checked ~ .checkmark::after {
    display: block;
  }
  
  
  /****************************************************
    RESPONSIVE TWEAKS
  ****************************************************/
  @media (max-width: 700px) {
    .popout .panel {
      max-width: 95%;
    }
    .form-row {
      flex-direction: column; /* name & email stack vertically on small screens */
    }
    .form-group {
      width: 100% !important;
    }
  }
  