/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.max-w-aa {
  max-width: var(--mw, 100%);
}

.margin-auto-aa {
	margin-left: auto;
	margin-right: auto;
}

.links-inherit-aa a {
  color: inherit;
  text-decoration: underline;
}

.links-inherit-aa a:hover {
  text-decoration: none;
}

.vector-icons-section-home{
  position: relative;
  isolation: isolate;              
}

.vector-icons-section-home > *{
  position: relative;
  z-index: 1;
}

.vector-icons-section-home::before,
.vector-icons-section-home::after{
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

/* Top-left icon */
.vector-icons-section-home::before{
  background-image: url('/wp-content/uploads/2025/09/Vector-Pattern-1.png');
  top: clamp(8px, 1.5vw, 24px);
  left: clamp(8px, 1.5vw, 24px);
  width: clamp(120px, 12vw, 220px);
  aspect-ratio: 16 / 10;     
}

/* Bottom-right icon */
.vector-icons-section-home::after{
  background-image: url('/wp-content/uploads/2025/09/Vector-Pattern-2.png');
  right: clamp(8px, 1.5vw, 24px);
  bottom: clamp(8px, 1.5vw, 24px);
  width: clamp(110px, 11vw, 200px);
  aspect-ratio: 139 / 88;   
}

/* Optional: scale down or hide on very small screens */
@media (max-width: 600px){
  .vector-icons-section-home::before{ width: clamp(80px, 28vw, 140px); }
  .vector-icons-section-home::after{  width: clamp(80px, 28vw, 140px); }
}

.box-shadow-one-aa {
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.25);
}

/* Layout */
.cta-form-above-footer-one-aa{
  --field-bg: #f5f5f5;
  --field-b:  #e6e6e6;
  --radius:   8px;
  --gap:      16px;
  --btn:      #065b0c;
  --btn-hover:#054f0a;

  max-width: 760px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

/* Hide the label <p> rows (keep if you prefer labels visible) */
.cta-form-above-footer-one-aa p:not(:has(.wpcf7-form-control)){
  display: none;
}

/* Make the field <p> wrappers grid items with no extra spacing */
.cta-form-above-footer-one-aa p:has(.wpcf7-form-control){
  margin: 0;
}

/* Full-width rows: textarea + submit button */
.cta-form-above-footer-one-aa p:has(textarea),
.cta-form-above-footer-one-aa p:has(input[type="submit"]){
  grid-column: 1 / -1;
}

/* Fields */
.cta-form-above-footer-one-aa .wpcf7-form-control{
  width: 100%;
  box-sizing: border-box;
  background: var(--field-bg);
  border: 1px solid var(--field-b);
  border-radius: var(--radius);
  padding: 12px 14px;
    font-family: "Roboto";
  font-weight: 400;
  font-size: 12.06px !important;
  color: #000;
  line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.cta-form-above-footer-one-aa input[type="text"],
.cta-form-above-footer-one-aa input[type="email"],
.cta-form-above-footer-one-aa input[type="tel"]{
  height: 44px;
}

.cta-form-above-footer-one-aa textarea{
  min-height: 140px;
  resize: vertical;
}

.cta-form-above-footer-one-aa .wpcf7-form-control:focus{
  background: #fff;
  border-color: #b9e4bf;
  box-shadow: 0 0 0 2px rgba(6,91,12,.12);
  outline: none;
}

/* Placeholder color (if you add placeholders) */
.cta-form-above-footer-one-aa ::placeholder{
  font-family: "Roboto";
  font-weight: 400;
  font-size: 12.06px !important;
  color: #000;
  opacity: 1;
}

/* Submit button */
.cta-form-above-footer-one-aa input[type="submit"]{
  height: 48px;
  width: 100%;
  background: var(--btn);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  transition: filter .15s ease, background-color .15s ease, transform .02s;
}

.cta-form-above-footer-one-aa input[type="submit"]:hover{
  background: var(--btn-hover);
}

.cta-form-above-footer-one-aa input[type="submit"]:active{
  transform: translateY(1px);
}

.consult-form-aa input::placeholder, 
.consult-form-aa textarea::placeholder{
    color: #333 !important;
}

/* CF7 validation/error states align with the look */
.cta-form-above-footer-one-aa .wpcf7-not-valid{
  border-color: #e59a9a;
  box-shadow: 0 0 0 2px rgba(229,154,154,.15);
}

/* Responsive: stack to one column on small screens */
@media (max-width: 640px){
  .cta-form-above-footer-one-aa{
    grid-template-columns: 1fr;
  }
}

.roboto-font-list-aa {
    font-family: "Roboto";
}

.poppins-font-list-aa {
	font-family: "Poppins";
}

.blue-sec-bg-drop-shadow-aa .fusion-column-wrapper  {
  box-shadow: 3px 5px 6px 1px rgba(0, 0, 0, 0.25) !important;
}
