/*
 Theme Name: Woostify Child
 Theme URI: https://woostify.com/
 Description: Woostify WordPress theme example child theme.
 Author: Woostify
 Author URI: https://woostify.com/
 Template: woostify
 Version: 1.0.0
*/

/* Contact Form Styling */
.woostify-contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.woostify-contact-form:hover {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.woostify-contact-form .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  transition: all 0.3s ease;
  background: #fafafa;
}

.woostify-contact-form .form-control:focus {
  border-color: #4e9cff;
  background: #fff;
  box-shadow: 0 0 8px rgba(78, 156, 255, 0.3);
  outline: none;
}

.woostify-contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Submit Button */
.woostify-contact-form .btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  border-radius: 30px;
  font-weight: 600;
  background: linear-gradient(45deg, #4e9cff, #6a67ce);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woostify-contact-form .btn:hover {
  background: linear-gradient(45deg, #6a67ce, #4e9cff);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Row spacing */
.woostify-contact-form .row {
  margin-bottom: 0px;
}


/* 📱 Mobile Responsive Fixes */
@media (max-width: 767px) {
  .woostify-contact-form {
    padding: 20px 15px;   /* reduce padding */
    border-radius: 12px;  /* smaller rounded corners */
  }

  .woostify-contact-form .form-control {
    font-size: 14px;      /* slightly smaller text */
    padding: 10px 12px;   /* less padding for smaller screens */
  }

  .woostify-contact-form textarea.form-control {
    min-height: 100px;    /* shorter textarea on mobile */
  }

  .woostify-contact-form .btn {
    width: 100%;          /* full width button */
    font-size: 15px;
    padding: 12px;
    border-radius: 25px;
  }

  .woostify-contact-form .row {
    margin-bottom: 12px;  /* tighten spacing */
  }

  /* Ensure columns stack nicely */
  .woostify-contact-form .col-md-6,
  .woostify-contact-form .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
