/* Page Header Css */

.container {
    width: 1260px !important;
}


/* Contact Form 7 — CSS */


.quote-form-wrap {
  max-width: 100%;
  margin: 0 auto;
}

.quote-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.quote-form-field {
  flex: 1 1 0;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.quote-form-row .quote-form-field {
  margin-bottom: 0;
}

.quote-form-full {
  width: 100%;
}

/* Labels */
.quote-form-wrap label {
  font-size: 15px;
  font-weight: 600;
  color: #1a2540;
  margin-bottom: 8px;
  display: inline-block;
}

.quote-form-wrap .req {
  color: #e0473e;
  margin-left: 2px;
}

.quote-form-wrap input[type="text"],
.quote-form-wrap input[type="tel"],
.quote-form-wrap input[type="email"],
.quote-form-wrap select,
.quote-form-wrap textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e5ec;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: #1a2540;
  background-color: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.quote-form-wrap input::placeholder,
.quote-form-wrap textarea::placeholder {
  color: #9aa2b1;
}

.quote-form-wrap input:focus,
.quote-form-wrap select:focus,
.quote-form-wrap textarea:focus {
  border-color: #e0913e;
  box-shadow: 0 0 0 3px rgba(224, 145, 62, 0.15);
}

.quote-form-wrap textarea {
  min-height: 100px;
  resize: vertical;
}

.quote-form-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa2b1' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 44px;
}

.quote-form-wrap select:invalid {
  color: #9aa2b1;
}

.quote-form-wrap input[type="submit"] {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #1a2540;
  cursor: pointer;
  background: linear-gradient(90deg, #e0a53e 0%, #d9713a 100%);
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.quote-form-wrap input[type="submit"]:hover {
  opacity: 0.92;
}

.quote-form-wrap input[type="submit"]:active {
  transform: translateY(1px);
}

.quote-form-note {
  text-align: center;
  font-size: 13px;
  color: #8a93a6;
}

.quote-form-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e0473e;
  margin-top: 4px;
}

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

.quote-form-wrap .wpcf7-response-output {
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .quote-form-row {
    flex-direction: column;
    gap: 22px;
    margin-bottom: 0;
  }

  .quote-form-row .quote-form-field {
    margin-bottom: 22px;
  }

  .quote-form-wrap {
    padding: 0 4px;
  }
}

.page-header {
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #072311f0 0%,
    #103a1cd1 50%,
    #295a2c4d 100%
  );
 
  z-index: 1;
}

.page-header > * {
  position: relative;
  z-index: 2;
}

/* home box content css*/
/* =========================================
   BOX CONTENT PY
========================================= */

.box-content-py-grid {
    display: grid;
    width: 100%;
}

/* Card */
.box-content-py-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
    overflow: hidden;
}

/* =========================================
   ANIMATED TOP LINE
   Hidden before hover
   Grows from center → both sides
========================================= */

.box-content-py-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;

    width: 100%;
    height: 3px;

    background-color: #E5B800;

    transform: translateX(-50%) scaleX(0);
    transform-origin: center center;

    transition: transform 0.5s ease;

    z-index: 5;
}

/* Show line on hover */
.box-content-py-card:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* Keep active card line hidden until hover */
.box-content-py-card.is-active::before {
    transform: translateX(-50%) scaleX(0);
}

/* Active card hover */
.box-content-py-card.is-active:hover::before {
    transform: translateX(-50%) scaleX(1);
}


/* =========================================
   ICON BOX
========================================= */

.box-content-py-icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.box-content-py-icon i {
    line-height: 1;
}

.box-content-py-icon svg {
    display: block;
    max-width: 100%;
    max-height: 100%;
}


/* SVG uploaded image */

.box-content-py-svg-icon {
    overflow: hidden;
}

.box-content-py-svg {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================
   CONTENT
========================================= */

.box-content-py-content {
    flex: 1;
}

.box-content-py-title {
    position: relative;
    display: inline-block;

    color: #111111;

    line-height: 1.3;
}

/* =========================================
   ACTIVE TITLE UNDERLINE
========================================= */

.box-content-py-card.is-active .box-content-py-title-line {
    display: block;

    width: 40px;
    height: 3px;

    margin-top: 8px;

    background: #E5B800;
}


/* =========================================
   DESCRIPTION
========================================= */

.box-content-py-description {
    color: #667085;
    line-height: 1.6;
}


/* =========================================
   LINK RESET
========================================= */

a.box-content-py-card {
    color: inherit;
}

a.box-content-py-card:hover {
    color: inherit;
}


/* =========================================
   ICON HOVER
========================================= */

.box-content-py-card:hover .box-content-py-icon {
    transform: translateY(-2px);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .box-content-py-grid {
        grid-template-columns: 1fr;
    }

}

/*end ----*/

.box-content-py-icon svg {
    fill: none !important;
}


.box-content-py-title {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Title bottom gradient bar */
.box-content-py-title-bar {
    display: block;
    width: 15%;
    height: 3px;
    margin-top: 10px;
    margin-bottom: 15px;
    background: linear-gradient(
        100deg,
        #E5B800,
        #F5D76E
    );
    transition: width 0.35s ease;
}

/* Expand on card hover */
.box-content-py-card:hover .box-content-py-title-bar {
    width: 40%;
}

@media (max-width: 767px) {
    .mobile-sticky-cta {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
}


.service-list-section .fccsb-primary{
	color: #fff !important;
}

.service-list-section .fccb-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.service-list-section .fccsg-primary-button-wrap,
.service-list-section .fccsg-secondary-button-wrap {
    margin: 0;
}


.form-section {
    scroll-margin-top: 100px !important;
}
