/*
Theme Name:   Astra Child - IKP COMPASS
Theme URI:    https://ikpknowledgepark.com
Description:  Astra child theme for IKP COMPASS landing page + site-wide shared header/footer
Author:       IKP COMPASS
Template:     astra
Version:      1.0.0
Text Domain:  astra-child
*/

/* Intentionally minimal - all real styling lives in assets/css/landing.css
   so it can be conditionally enqueued only where needed. Do NOT delete this
   file or its header comment - WordPress requires it to recognize the child
   theme, and Template: astra must exactly match the parent theme's folder name. */

a{
	text-transform:none !important;
}

/* ============================================================
   CONTACT FORM 7 STYLING (Matches Your Design)
   ============================================================ */

/* Contact Form 7 Container */
.ikp-form-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

/* Form Row */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  margin-top: 44px;
  align-items: start;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 22px;
}

.info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: baseline;
}

.info-row .lbl {
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--neon);
  min-width: 84px;
}

/* Contact Form 7 Field Wrappers */
.ikp-form-wrap .field {
  margin-bottom: 18px;
}

/* Labels */
.ikp-form-wrap label {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

/* Inputs, Select, Textarea */
.ikp-form-wrap input[type="text"],
.ikp-form-wrap input[type="email"],
.ikp-form-wrap input[type="tel"],
.ikp-form-wrap select,
.ikp-form-wrap textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color 0.3s ease;
}

/* Focus States */
.ikp-form-wrap input[type="text"]:focus,
.ikp-form-wrap input[type="email"]:focus,
.ikp-form-wrap input[type="tel"]:focus,
.ikp-form-wrap select:focus,
.ikp-form-wrap textarea:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 0 2px var(--neon-soft);
}

/* Select Dropdown */
.ikp-form-wrap select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa49d' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.ikp-form-wrap select option {
  background: var(--black);
  color: var(--text);
}

/* Textarea */
.ikp-form-wrap textarea {
  min-height: 110px;
  resize: vertical;
}

/* Submit Button - Uses your .btn-neon class */
.ikp-form-wrap .wpcf7-submit {
  width: 100%;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 26px;
  font-size: .95rem;
  transition: all .2s;
  cursor: pointer;
  background: var(--neon);
  color: #041400;
  border: 1px solid var(--neon);
}

.ikp-form-wrap .wpcf7-submit:hover {
  background: var(--neon-dim);
  text-decoration: none;
  box-shadow: 0 0 24px rgba(57, 255, 20, .35);
}

/* Form Note */
.form-note {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 14px;
}

/* ============================================================
   CONTACT FORM 7 - VALIDATION & ERROR STYLES
   ============================================================ */

/* Validation Errors */
.ikp-form-wrap .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: .8rem;
  margin-top: 5px;
  font-family: var(--font-body);
}

.ikp-form-wrap .wpcf7-not-valid {
  border-color: #ff6b6b !important;
}

/* Success Message */
.ikp-form-wrap .wpcf7-response-output {
  border: 1px solid var(--neon);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 20px 0 0;
  color: var(--text);
  font-family: var(--font-body);
}

.ikp-form-wrap .wpcf7-mail-sent-ok {
  border-color: var(--neon);
  background: var(--neon-soft);
  color: var(--neon);
}

.ikp-form-wrap .wpcf7-validation-errors {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
}

/* Spinner */
.ikp-form-wrap .wpcf7-spinner {
  display: inline-block;
  margin: 0 0 0 10px;
}

/* ============================================================
   RESPONSIVE CONTACT FORM
   ============================================================ */
@media(max-width:900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .ikp-form-wrap {
    padding: 24px;
  }
  
  .info-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .info-row .lbl {
    min-width: 100%;
  }
}

@media(max-width:480px) {
  .ikp-form-wrap {
    padding: 16px;
  }
  
  .ikp-form-wrap input[type="text"],
  .ikp-form-wrap input[type="email"],
  .ikp-form-wrap select,
  .ikp-form-wrap textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}