/*-- Use For Custom Styling --*/

.image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    text-align: center;
}

.image-container img {
    width: 100%;
    display: block;
}

.overlay-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -35%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 70%;
    max-width: 400px;
}

.overlay-form h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.overlay-form input,
.overlay-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.overlay-form button {
    background: #ff6b6b;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.overlay-form button:hover {
    background: #ff4c4c;
}

.error {
    color: red;
    font-size: 14px;
    display: block;
}

.success {
    color: green;
    font-size: 16px;
}

#messageBox {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overlay-form {
        width: 80%;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .overlay-form {
        width: 90%;
        padding: 15px;
    }

    .overlay-form h3 {
        font-size: 20px;
    }

    .overlay-form input,
    .overlay-form textarea {
        font-size: 14px;
        padding: 8px;
    }

    .overlay-form button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .overlay-form {
        width: 95%;
        padding: 12px;
    }

    .overlay-form h3 {
        font-size: 18px;
    }

    .overlay-form input,
    .overlay-form textarea {
        font-size: 12px;
        padding: 6px;
    }

    .overlay-form button {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .image-wrapper {
        flex-direction: column;
    }

    .overlay-form {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        padding: 10px;
        margin-top: 15px;
    }

    .overlay-form h3 {
        font-size: 16px;
    }

    .overlay-form input,
    .overlay-form textarea {
        font-size: 12px;
        padding: 5px;
    }

    .overlay-form button {
        padding: 5px 10px;
    }
}



    body {
      font-family: Arial, sans-serif;
      background: #f4f4f4;
      margin: 0;
      padding: 20px;
    }

    .faq-container {
      max-width: 700px;
      margin: auto;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      padding: 20px;
    }

    .faq-item {
      border-bottom: 1px solid #e0e0e0;
      padding: 15px 0;
    }

    .faq-question {
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      position: relative;
      padding-right: 25px;
    }

    .faq-question::after {
      content: '+';
      position: absolute;
      right: 0;
      top: 0;
      font-size: 24px;
      color: #555;
      transition: transform 0.3s ease;
    }

    .faq-item.active .faq-question::after {
      content: '-';
    }

    .faq-answer {
      display: none;
      margin-top: 10px;
      color: #444;
      font-size: 16px;
    }

    .faq-item.active .faq-answer {
      display: block;
    }
	
/* ===============================
   FIXES (DO NOT REMOVE OLD CSS)
================================ */

/* Ensure overlay form stays above image */
.overlay-form {
    z-index: 10;
}

/* intl-tel-input container fix */
.iti {
    width: 100%;
    position: relative;
    z-index: 999;
}

/* Country dropdown visibility fix */
.iti__country-list {
    z-index: 99999 !important;
}

/* Correct padding ONLY when dial code is separated */
.iti--separate-dial-code input {
    padding-left: 95px !important;
}

/* Match phone input height & style */
/* Phone input alignment fix */
.overlay-form .iti input {
    height: 42px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.4;
    box-sizing: border-box;
}


/* Prevent dropdown cut-off on small screens */
@media (max-width: 480px) {
    .iti__country-list {
        max-height: 200px;
        overflow-y: auto;
    }
}
