 :root{
    /* Theme */
    --grass:#43b02a;      /* grass green */
    --grass-2:#2f8f1f;
    --bronze:#b07a2a;     /* bronze */
    --bronze-2:#8f5f1f;

    /* UI */
    --bg:#f7fafc;
    --card:#ffffff;
    --ink:#0f172a;
    --muted:#64748b;
    --line:rgba(15,23,42,.10);

    --radius:22px;
    --radius-sm:16px;

    --shadow:0 18px 55px rgba(15,23,42,.16);
    --shadow2:0 12px 30px rgba(15,23,42,.12);
  }

  /* SECTION BACKDROP */
  .cont-contact{
    padding: clamp(28px, 5vw, 70px) 18px;
    background:
      linear-gradient(110deg, rgba(67,176,42,.18) 0%, rgba(67,176,42,.18) 28%, rgba(255,255,255,0) 28%),
      linear-gradient(140deg, rgba(176,122,42,.10) 0%, rgba(255,255,255,0) 35%),
      var(--bg);
  }

  /* WRAP GRID */
  .cont-contact__wrap{
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(18px, 3vw, 28px);
    align-items: center;
  }

  /* LEFT SIDE */
  .cont-contact__left{
    position: relative;
    min-height: 480px; /* slightly taller to fit Email row */
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .cont-photo{
    position: absolute;
    inset: 0;
    background:
      linear-gradient(120deg, rgba(67,176,42,.22), rgba(176,122,42,.14)),
      url("http://localhost/ace5/assets/images/aceofice.png");
    background-size: cover;
    background-position: center;
  }

  .cont-photo::after{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(800px 280px at 25% 30%, rgba(255,255,255,.32), rgba(255,255,255,0) 60%);
    pointer-events:none;
  }

  /* Overlay info card */
  .cont-info-overlay{
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: min(340px, 88%);
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    box-shadow: var(--shadow2);
    padding: 16px 16px;
  }

  .cont-info-item{
    display: flex;
    gap: 14px;
    padding: 14px 8px;
    cursor: pointer;
  }
  .cont-info-item + .cont-info-item{
    border-top: 1px solid rgba(15,23,42,.08);
  }

  /* Icon badge */
  .cont-icon{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--grass), var(--bronze));
    box-shadow: 0 10px 18px rgba(67,176,42,.14);
    flex: 0 0 auto;
  }

  .cont-icon i{
    font-size: 18px;
    line-height: 1;
  }

  .cont-info-text h4{
    margin: 0 0 4px;
    font-size: 16px;
    color: var(--ink);
    font-weight: 800;
  }
  .cont-info-text p{
    margin: 0;
    font-size: 13px;
    color: rgba(15,23,42,.70);
    line-height: 1.35;
  }

  .cont-link{
    color: rgba(15,23,42,.78);
    text-decoration: none;
    border-bottom: 1px dashed rgba(176,122,42,.45);
  }
  .cont-link:hover{
    color: var(--bronze-2);
    border-bottom-color: rgba(176,122,42,.85);
  }

  /* RIGHT SIDE */
  .cont-contact__right{
    position: relative;
  }

  .cont-form-card{
    background: var(--card);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(18px, 2.8vw, 30px);
  }

  .cont-form-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }
  .cont-form-head h3{
    margin: 0;
    font-size: 22px;
    color: var(--ink);
    letter-spacing: .2px;
  }

  .cont-accent-pill{
    font-size: 12px;
    color: rgba(15,23,42,.75);
    background: linear-gradient(135deg, rgba(67,176,42,.14), rgba(176,122,42,.14));
    border: 1px solid rgba(176,122,42,.20);
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .cont-form{
    display: grid;
    gap: 12px;
  }

  .cont-field span{
    display: block;
    font-size: 12px;
    color: rgba(15,23,42,.70);
    margin: 0 0 6px;
  }

  .cont-field input,
.cont-field textarea,
.cont-field select{
  width: 100%;
  background: #f6f8fc;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  appearance: none; /* removes default browser styling */
}

/* Textarea */
.cont-field textarea{
  resize: vertical;
  min-height: 120px;
}

/* Dropdown arrow styling */
.cont-field select{
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6' stroke='%2364748b' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

  .cont-btn{
    margin-top: 6px;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--grass), var(--bronze));
    box-shadow: 0 18px 35px rgba(176,122,42,.18);
  }

  .cont-form-note{
    margin: 10px 0 0;
    font-size: 12px;
    color: rgba(15,23,42,.55);
    line-height: 1.35;
  }

  /* RESPONSIVE */
  @media (max-width: 920px){
    .cont-contact__wrap{
      grid-template-columns: 1fr;
    }
    .cont-contact__left{
      min-height: 360px;
    }
    .cont-info-overlay{
      left: 16px;
      right: 16px;
      width: auto;
      top: auto;
      bottom: 16px;
      transform: none;
    }
  }

.cont-form-response{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid transparent;
}

.cont-form-response.is-success{
  background: #e8f5e9;
  border-color: #b7dcb9;
  color: #1b5e20;
}

.cont-form-response.is-error{
  background: #fdeaea;
  border-color: #efc2c2;
  color: #8a1f1f;
}

/* dependent dropdown */
#subServiceWrapper{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease, margin-top .25s ease;
  margin-top: 0;
  pointer-events: none;
}

#subServiceWrapper.is-visible{
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 2px;
  pointer-events: auto;
}
