/* ————— CONTACT HERO ————— */
.contact-hero {
    min-height: auto; 
    max-width: 1250px; 
    margin: 128px auto; 
    padding: 0 24px;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
}

.contact-hero-content { 
    display: flex; 
    flex-direction: column; 
    gap: 32px; 
    align-items: flex-start; 
}


/* ————— CONTACT FORM SECTION (LAYOUT) ————— */
.contact-form-section {
    max-width: 1250px; 
    margin: 128px auto; 
    padding: 0 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Form is slightly wider than sidebar */
    gap: 60px;
}

.form-container {
    padding-top: 8px;
}
.form-container .section-big-title {
    margin-bottom: 40px;
}

/* --- YOUR ORIGINAL FORM STRUCTURE RULES --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px; /* Increased gap to match your original spacing */
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px; /* Slightly reduced gap between label/input for new style */
}
.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #666; /* Match the subtle color of the new theme */
}

/* Input/Textarea/Select Styling - Light Theme Adaptation */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea,
.contact-form input[type="text"],
.contact-form input[type="email"] {
    /* ADAPTED FOR LIGHT THEME */
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 6px; /* Slightly smaller radius */
    padding: 12px 16px;
    font-size: 16px;
    color: #111;
    outline: none;
    font-family: "Inter", sans-serif;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #0099ff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa; /* Lighter placeholder text */
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

/* Checkbox Group Styling */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px; /* Adjusted gap for horizontal spacing */
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #111111; /* Darker text for visibility */
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  background-color: #f7f7f7; /* White background for light theme */
  border: 1px solid #ddd;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  position: relative;
  margin: 0;
  flex-shrink: 0; /* Prevents checkbox from shrinking */
}

/* Checked State - Uses your gradient */
input[type="checkbox"]:checked {
background-color:#0099ff ;
  border-color: transparent;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 4px;
  width: 3px;
  height: 6px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-form small {
  font-size: 12px;
  color: #888;
  margin-top: -4px;
}

/* Submit Button - Now uses the existing .btn-white style for consistency */
.submit-btn {
  /* Resetting your old button style to match new .btn-white */
  background: #000000;
  color: #ffffff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  margin-top: 8px; /* Add some space above the button */
}

/* Loader Adaptation for Dark Button */
.loader {
    width: 20px; height: 20px; border: 3px solid #fff; 
    border-bottom-color: transparent; border-radius: 50%;
    display: none; 
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.submit-btn.success {
  background: #06b850; 
}

.submit-btn.error {
  background: #d31b17;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    font-size: 12px;
    color: #888;
    margin-top: -10px;
}

.hidden-honeypot {
  display: none !important;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}
/* --- INFO SIDEBAR STYLING (Kept from previous suggestion) --- */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 10px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-block .section-label {
    margin-bottom: 0;
}

.info-block .btn-outline {
    width: 140px;
    margin-top: 8px;
}

.social-links {
    display: flex;
    gap: 24px;
    font-size: 16px;
    margin-top: 8px;
}
.social-links a {
    color: #666;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: #000;
}

.info-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3; 
    background: #e0e0e0; 
    border-radius: 6px; 
    overflow: hidden; 
    position: relative; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}


/* ————— RESPONSIVE ————— */
@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .info-image-wrapper {
        display: none;
    }
}