/*
Custom Css
*/
/* Main content visible but blurred when popup is open */
#main-content {
  transition: filter 0.3s ease, opacity 0.3s ease;
 
  text-align: center;
  font-family: Arial, sans-serif;
}

/* Blur + dim effect applied when popup is visible */
body.popup-active #main-content {
  filter: blur(4px);
  opacity: 0.5;
}

/* Popup Overlay (semi-transparent background) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* transparent dark background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup Box */
.popup-box {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Footer Button */
.popup-footer {
  text-align: right;
  margin-top: 15px;
}

#popup-ok-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

#popup-ok-btn:hover {
  background-color: #0056b3;
}
/* Consultation Form Container */
.consultation-form {
    max-width: 800px;
    margin: 50px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 8px;
}

.consultation-form h2 {
    margin-bottom: 30px;
    font-weight: 600;
    color: #000;
}

/* Two-column grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

/* Form group */
.form-group {
    display: flex;
    flex-direction: column;
}

/* Full width fields */
.form-group.full-width {
    grid-column: span 2;
}

/* Labels */
.consultation-form label {
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}

.consultation-form label span {
    color: red;
}

/* Inputs and textarea */
.consultation-form input,
.consultation-form textarea {
    padding: 12px;
    font-size: 14px;
    border: 1px solid #000;
    border-radius: 2px;
    outline: none;
    width: 100%;
}

.consultation-form textarea {
    resize: vertical;
}

/* Submit Button */
.submit-btn {
    margin-top: 25px;
    background-color: #0d6efd;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 3px;
}

.submit-btn:hover {
    background-color: #0b5ed7;
}

/* Responsive: single column on mobile */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}
