/* ==========================================================
   CONTACT US PAGE CUSTOM STYLES (V4 - FINAL REVISIONS)
   ========================================================== */

/* ==== Section 1: Contact Hero Section ==== */
.contact-banner-sec {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  text-align: left;
}

.contact-banner-content {
  position: relative;
  z-index: 2;
}

/* Breadcrumb Navigation */
.contact-breadcrumb {
  margin-bottom: 20px;
}

.contact-breadcrumb ul {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.contact-breadcrumb ul li a {
  color: var(--black);
  font-weight: 500;
  opacity: 0.7;
  transition: var(--transition);
}

.contact-breadcrumb ul li a:hover {
  color: var(--primary-color);
  opacity: 1;
}

.contact-breadcrumb ul li:not(:first-child)::before {
  content: "/";
  margin-right: 10px;
  color: var(--black);
  opacity: 0.3;
  font-weight: 400;
}

.contact-breadcrumb ul li.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Typography styled strictly by class */
.contact-hero-title {
  font-family: var(--font-outfit);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

/* Paragraph styled strictly via parent wrapper class, no class on p */
.contact-hero-desc p {
  margin-bottom: 30px;
}

/* Service trust strip */
.contact-service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 24px;
  margin-top: 24px;
}

.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-strip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-strip-text {
  font-family: var(--font-poppins);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  opacity: 0.8;
}

/* Glassmorphism Form Container */
.contact-form-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.65) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
}

.contact-form-title {
  font-family: var(--font-outfit);
  font-size: 26px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 30px;
  text-align: center;
}

/* Form controls */
.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: var(--font-poppins);
  font-size: 14px;
  color: var(--black);
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
  border-color: var(--primary-color);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 188, 0, 0.15);
}

.contact-form-input.error,
.contact-form-select.error,
.contact-form-textarea.error {
  border-color: #ff5f56;
  background-color: #fff5f5;
}

.contact-form-textarea {
  height: 120px;
}

/* Dropdown arrow custom wrapper */
.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url("../img/svg/chervicon-down.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  opacity: 0.5;
}

.contact-form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.contact-form-subtext p {
  font-family: var(--font-poppins);
  font-size: 12px;
  color: #666666;
  margin-top: 12px;
  opacity: 0.8;
}


/* ==== Section 3: Why Choose Us Section (Authority Layout Scale-Up) ==== */
.why-choose-us-sec {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.why-sec-title {
  font-family: var(--font-outfit);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 15px;
}

.why-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 48px 36px;
  /* Scaled padding V3 */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-12px);
  /* Higher offset V3 */
  border-color: rgba(255, 188, 0, 0.45);
  box-shadow: 0 25px 50px rgba(255, 188, 0, 0.12);
  /* Brighter glow V3 */
}

.why-card-icon-wrap {
  width: 64px;
  /* Scaled icon size V3 */
  height: 64px;
  border-radius: 16px;
  background-color: var(--light-grey);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 28px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.why-card-icon-wrap svg {
  width: 32px;
  /* Scaled SVG V3 */
  height: 32px;
}

.why-card:hover .why-card-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background-color: #FFF9E6;
  border-color: rgba(255, 188, 0, 0.45);
}

.why-card-title {
  font-family: var(--font-outfit);
  font-size: 21px;
  /* Scaled font size V3 */
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}

.why-card-text p {
  font-family: var(--font-poppins);
  font-size: 14px;
  /* Scaled text size V3 */
  line-height: 1.65;
  color: #666666;
  margin: 0;
}

@media (max-width:991px) {
  .why-card {
    padding: 28px 24px;
    border-radius: 20px;

  }

  .why-card-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .why-card-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    margin-bottom: 16px;
  }

}

@media (max-width: 767px) {
  .contact-form-container {
    padding: 24px;
  }

  .contact-form-container .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .contact-banner-content {
    margin-top: 20px;
  }

  .contact-service-strip {

    justify-content: center;
    gap: 10px;
    gap: 8px;
  }

  .contact-strip-icon {
    height: 14px;
    width: 14px;
  }

  .contact-strip-item {
    gap: 4px;
  }

  .contact-strip-text {
    font-size: 12px;
  }

  .why-card {
    padding: 24px 20px;
    border-radius: 16px;


  }

  .why-card-icon-wrap {
    height: 46px;
    width: 46px;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .why-card-icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .why-card-title {
    margin-bottom: 10px;
  }

  .contact-form-input,
  .contact-form-select,
  .contact-form-textarea {
    padding: 12px 14px;
  }
}

@media (max-width: 575px) {}