* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Header */
.header {
    background: linear-gradient(180.65deg, #50223C -0.96%, #25021F 159.5%);
    width: 100%;
    height: 130px;
    padding: 15px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    justify-content: center;
    flex: 1;
}

.header-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.header-btn {
    border-radius: 10px;
    background: linear-gradient(to top, #d76f54, #45334d);
    padding: 10px 20px;
    transition: all 0.5s ease-in-out;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    display: inline-block;
}

.header-btn:hover {
    scale:1.05;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}
.back-arrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 18px;
}

.back-arrow::before {
    content: "\2190";
    margin-right: 10px;
    font-size: 20px;
}

.contact-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.contact-subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

/* Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.form-input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background-color: #f8f9fa;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #7a4a5c;
    background-color: white;
}

.phone-input-group {
    display: flex;
}

.country-code {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-right: none;
    padding: 12px 15px;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
    color: #666;
}

.phone-input {
    border-radius: 0 5px 5px 0;
    flex: 1;
}

.message-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* Checkboxes */
.checkbox-group {
    margin: 25px 0;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-input {
    margin-right: 12px;
    margin-top: 2px;
    accent-color: #7a4a5c;
}

.checkbox-label {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.privacy-note {
    font-size: 12px;
    color: #888;
    margin: 20px 0;
    line-height: 1.4;
}

/* Contact Options */
.contact-options {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    color: #333;
    gap: 10px;
}

.contact-option:hover {
    background-color: #f8f9fa;
}

.whatsapp-option {
    color: #25D366;
}

.gmail-option {
    color: #ea4335;
}

.contact-img-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

/* Remove old icon styles if not needed */
.contact-icon, .whatsapp-icon, .gmail-icon {
    display: none;
}

.option-text {
    font-size: 14px;
}

.or-text {
    margin: 0 10px;
    color: #666;
    font-size: 14px;
}

/* Submit Button */
.submit-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.submit-btn {
    background-color: #7a4a5c;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    max-height: 50px;
}

.submit-btn:hover {
    background-color: #6a3a4c;
}

.g-recaptcha.error::after {
  content: "← Please verify";
  color: red;
  font-size: 12px;
  margin-left: 6px;
  position: absolute;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-options {
        flex-direction: column;
    }

    .contact-option {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px 10px;
        align-items: flex-start;
    }
    .logo {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 10px;
    }
    .header-buttons {
        position: static;
        transform: none;
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
        margin-bottom: 10px;
    }
    .header-btn {
        width: 100%;
        font-size: 15px;
        padding: 10px 0;
    }
    .container, .container2 {
        padding: 10px 5px;
    }
    .contact-title {
        font-size: 24px;
    }
    .contact-form {
        padding: 10px;
    }
    .submit-container {
        justify-content: center;
    }
    .submit-btn {
        width: 100%;
        font-size: 15px;
        padding: 12px 0;
    }
    .contact-options {
        flex-direction: column;
        gap: 10px;
    }
    .contact-option {
        width: 100%;
        justify-content: center;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .checkbox-label {
        font-size: 12px;
    }
    .privacy-note {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 8px 2px;
    }
    .logo img {
        height: 45px;
    }
    .contact-title {
        font-size: 20px;
    }
    .contact-subtitle {
        font-size: 13px;
    }
    .form-label {
        font-size: 12px;
    }
    .form-input, .country-code, .phone-input {
        font-size: 12px;
        padding: 10px 8px;
    }
    .message-textarea {
        min-height: 80px;
    }
    .option-text, .or-text {
        font-size: 12px;
    }
    .contact-img-icon {
        width: 22px;
        height: 22px;
    }
    .submit-btn {
        font-size: 14px;
        padding: 10px 0;
    }
}

/* Popup Styles */
.success-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.success-popup.hidden {
  display: none;
}
.success-popup-content {
  background: #fff;
  border-radius: 20px;
  padding: 40px 50px;
  text-align: center;
  box-shadow: 0 0 30px 0 rgba(0,0,0,0.2);
  position: relative;
}
.success-icon {
  display: block;
  margin: 0 auto 20px auto;
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.close-popup {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
}

/* Blur effect */
.blurred {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}
