/* ==========================================================================
   Homepage – Hero Section (Figma: Hero_section)
   ========================================================================== */

:root {
  --hero-bg-overlay: rgba(0, 0, 0, 0.5);
  --hero-eyebrow: #F7CA19;
  --hero-text: #FFFFFF;
  --hero-form-bg: #FFFFFF;
  --hero-form-border: #FFFFFF;
  --hero-form-title: #050505;
  --hero-form-label: #051634;
  --hero-form-input-bg: #EDEDED;
  --hero-form-input-border: #A6AAB1;
  --hero-form-placeholder: #707378;
  --hero-form-btn-bg: #F7CA19;
  --hero-form-btn-text: #000000;
  --hero-form-required: #e74c3c;
  --hero-form-divider: #e5e5e5;
  --hero-font: 'Open Sans', sans-serif;
}

/* Hero section wrapper */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 810px;
  padding: 84px 0;
  overflow: hidden;
}

/* Background image + overlay */
.hero-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #2A6BCA;
}

.hero-section-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-bg-overlay);
}

/* Content above background */
.hero-section-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Full Hero_content: flex, gap only between items (no Bootstrap row) */
.hero-section-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 53px;
  width: 100%;
}

/* Left column: Hero_content – column, gap 30px, max 799px (Figma) */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 799px;
  flex: 1 1 auto;
  min-width: 0;
}

/* Hero_text: column, gap 15px (Figma) */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-eyebrow {
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.65;
  color: var(--hero-eyebrow);
  text-transform: uppercase;
  margin: 0;
}

.hero-title {
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.21875;
  color: var(--hero-text);
  text-transform: none;
  margin: 0;
}

.hero-desc {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.65;
  color: var(--hero-text);
  margin: 0;
}

.hero-bbb-img {
  display: block;
  width: 212px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

/* BBB desktop only (hidden under 992) */
.hero-bbb-mobile {
  display: none;
}

/* Right column: forma – 484×596 total, outer 50px radius, inner 40px (Figma) */
.md-form-wrap-outer {
  width: 484px;
  max-width: 100%;
  flex-shrink: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  background: transparent;
  box-sizing: border-box;
}

.md-form-wrap {
  width: 100%;
  padding: 38px 30px 30px;
  background: var(--hero-form-bg);
  border: none;
  border-radius: 40px;
  box-sizing: border-box;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.md-form-wrap .md-form-title {
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  color: var(--hero-form-title);
  margin: 0 0 20px 0;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--hero-form-divider);
  text-align: center;
}

.md-form-wrap .gform_wrapper {
  margin: 0;
  padding: 0;
}

.md-form-wrap .gform_body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.md-form-wrap .gfield {
  margin: 0;
}

.md-form-wrap .gfield_label,
.md-form-wrap .gform_wrapper.gravity-theme .gfield_label,
.md-form-wrap .gform_wrapper.gravity-theme label {
  color: #050505;
  font-family: "Open Sans", var(--hero-font);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.md-form-wrap .gfield_required,
.md-form-wrap .gfield_required_asterisk {
  color: var(--hero-form-required);
  display: inline;
}

.md-form-wrap .ginput_container input,
.md-form-wrap .ginput_container select {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  font-family: "Open Sans", var(--hero-font);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 29px;
  color: #707378;
  text-transform: capitalize;
  background: #EDEDED;
  border: none;
  border-bottom: 1px solid #A6AAB1;
  border-radius: 25px;
  box-sizing: border-box;
}

.md-form-wrap .ginput_container input::placeholder,
.md-form-wrap .ginput_container select::placeholder {
  color: #707378;
  font-family: "Open Sans", var(--hero-font);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 29px;
  text-transform: capitalize;
}

.md-form-wrap .gform_footer,
.md-form-wrap .gform_page_footer {
  margin: 0;
  padding: 8px 24px 0;
}

/* Next + Submit: same style (footer and page footer) */
.md-form-wrap .gform_wrapper.gravity-theme .gform_footer button,
.md-form-wrap .gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.md-form-wrap .gform_wrapper.gravity-theme .gform_footer input[type="button"],
.md-form-wrap .gform_wrapper.gravity-theme .gform_page_footer button,
.md-form-wrap .gform_wrapper.gravity-theme .gform_page_footer input[type="submit"],
.md-form-wrap .gform_wrapper.gravity-theme .gform_page_footer input[type="button"] {
  width: 100%;
  height: 52px;
  margin: 0;
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.36;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--hero-form-btn-text);
  background: var(--hero-form-btn-bg);
  border: 2px solid var(--hero-form-btn-bg);
  border-radius: 29px;
  outline: none;
  cursor: pointer;
  display: block;
  transition: all 300ms ease-in-out;
}

.md-form-wrap .gform_wrapper.gravity-theme .gform_footer button:hover,
.md-form-wrap .gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover,
.md-form-wrap .gform_wrapper.gravity-theme .gform_footer input[type="button"]:hover,
.md-form-wrap .gform_wrapper.gravity-theme .gform_page_footer button:hover,
.md-form-wrap .gform_wrapper.gravity-theme .gform_page_footer input[type="submit"]:hover,
.md-form-wrap .gform_wrapper.gravity-theme .gform_page_footer input[type="button"]:hover {
  filter: brightness(1.1);
}

/* Hide GF legend only; keep required asterisk visible and styled above */
.md-form-wrap .gform_required_legend {
  display: none;
}


.md-form-wrap input {
    text-transform: none;
}

.md-form-wrap input#input_1_11 {
    text-transform: none;
}

.md-form-wrap .charleft.ginput_counter.gfield_description.warningTextareaInfo {
    display: none;
}
/* Responsive hero */
@media screen and (max-width: 1440px) {
  .hero-title {
    font-size: 60px;
  }
}

@media screen and (max-width: 1200px) {
  .hero-section {
    padding: 60px 0;
  }
  .hero-section-content {
    gap: 30px;
  }
  .hero-title {
    font-size: 44px;
  }
  .hero-desc {
    font-size: 17px;
  }
  .md-form-wrap .gfield_label,
  .md-form-wrap .gform_wrapper.gravity-theme .gfield_label,
  .md-form-wrap .gform_wrapper.gravity-theme label {
    margin-bottom: 0px;
  }
}

@media screen and (max-width: 600px) {
  .hero-desc {
    font-size: 16px;
  }
}

@media screen and (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding: 50px 0 60px;
  }
  .hero-section-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-text {
    align-items: center;
  }
  .hero-eyebrow {
    text-align: center;
  }
  .hero-title {
    font-size: 36px;
    text-align: center;
  }
  .hero-desc {
    text-align: center;
  }
  .hero-bbb-desktop {
    display: none;
  }
  .hero-bbb-mobile {
    display: flex;
    justify-content: center;
  }
  .md-form-wrap-outer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .md-form-wrap {
    padding: 20px 30px 30px;
  }
}

@media screen and (max-width: 768px) {
  .hero-text {
    align-items: flex-start;
  }
  .hero-title {
    text-align: left;
  }
  .hero-desc {
    text-align: left;
  }

}

@media screen and (max-width: 576px) {
  .hero-section {
    padding: 40px 0 50px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .md-form-wrap-outer {
    padding: 12px;
    border-radius: 24px;
  }
  .md-form-wrap {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .md-form-wrap .md-form-title {
    font-size: 22px;
    padding: 0 16px 12px;
  }
  .md-form-wrap .gfield_label,
  .md-form-wrap .gform_wrapper.gravity-theme .gfield_label,
  .md-form-wrap .gform_wrapper.gravity-theme label {
    margin-bottom: 5px;
  }
  .md-form-wrap .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 10px;
  }
  .md-form-wrap .gform_footer,
  .md-form-wrap .gform_page_footer {
    padding: 8px 16px 0;
  }
}

/* ==========================================================================
   Homepage – Services Section (Figma: Services_section node 1-99)
   ========================================================================== */

.services-section {
  position: relative;
  background-color: #f5f5f5;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 90px;
  padding-bottom: 258px;
  overflow: visible;
}

.services-section-inner {
  position: relative;
  z-index: 1;
}

.services-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 49px;
  margin: 0 auto;
  padding: 0 15px;
}

.container.services-container {
  padding-top: 0;
  margin-top: 0;
  gap: 0;
}

.services-header.text_services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 708px;
  text-align: center;
}

.md-section-title {
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.361;
  color: #000;
  text-transform: capitalize;
  margin: 0;
}

.md-section-title span {
  color: #2C6BCA;
}

/* ==========================================================================
   Homepage – Moving Process Section (Figma: Moving process_section node 1-228)
   ========================================================================== */

.moving-process-section {
  position: relative;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 90px 0 100px;
  overflow: visible;
}

.moving-process-inner {
  position: relative;
  z-index: 1;
}

.moving-process-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  max-width: 1320px;
  margin: 0 auto;
}

.moving-process-img-wrap {
  flex-shrink: 0;
  max-width: 50%;
  margin-top: -253px;
  position: relative;
  z-index: 2;
}

.moving-process-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

.moving-process-content {
  flex: 1;
  min-width: 0;
}

.moving-process-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.moving-process-section .md-section-title {
  color: #FFFFFF;
}

.moving-process-section .md-section-title span {
  color: #F5C91A;
}

.moving-process-subtitle {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #FFFFFF;
  margin: 0;
  max-width: 562px;
}

.moving-process-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.moving-process-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.moving-process-step-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  line-height: 0;
  display: block;
}

.moving-process-step-icon svg,
.moving-process-step-icon img {
  display: block;
  width: 50px;
  height: 50px;
}

.moving-process-step-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}

.moving-process-step-title {
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.36;
  color: #FFFFFF;
  text-transform: capitalize;
  margin: 0;
}

.moving-process-step-text {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #FFFFFF;
  margin: 0;
}

@media (max-width: 1200px) {
  .moving-process-img-wrap {
    margin-top: 0;
  }
}

@media (max-width: 1199px) {
  .moving-process-section {
    padding: 60px 0 70px;
  }
  .moving-process-container {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .moving-process-img-wrap {
    max-width: 50%;
  }
  .moving-process-text {
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  .moving-process-img-wrap {
    max-width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  .moving-process-section {
    padding: 50px 0 60px;
  }
  .moving-process-section .md-section-title {
    font-size: 28px;
  }
  .moving-process-step {
    gap: 15px;
  }
  .moving-process-step-title {
    font-size: 20px;
  }
}

/* ==========================================================================
   Homepage – Sliding banner (Figma: moving banner_section node 1-95)
   Text slides left to right (infinite marquee)
   ========================================================================== */

.sliding-banner-section {
  background: #FFFFFF;
  padding: 40px 0;
  overflow: hidden;
}

.sliding-banner-track-wrap {
  overflow: hidden;
  width: 100%;
}

.sliding-banner-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  width: max-content;
  animation: sliding-banner-slide 120s linear infinite;
}

.sliding-banner-text {
  font-family: var(--hero-font);
  font-weight: 300;
  font-size: clamp(36px, 5.6vw, 90px);
  line-height: 1.36;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B1B7BF;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 0.5em;
}

.sliding-banner-text span {
  color: #000;
}

@keyframes sliding-banner-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .sliding-banner-section {
    padding: 20px 0;
  }
}

/* ==========================================================================
   Homepage – Why Us section (Figma: About_section node 1-69)
   ========================================================================== */

.why-us-section {
  position: relative;
  background-color: #051634;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 234px 0 225px;
}

@media (max-width: 1500px) {
  .why-us-section {
    padding: 200px 0 190px;
  }
}

@media (max-width: 1200px) {
  .why-us-section {
    padding: 160px 0 150px;
  }
}

.why-us-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.why-us-logo-img {
  max-width: 229px;
  height: auto;
  display: block;
}

.why-us-section .md-section-title {
  color: #FFFFFF;
  margin-bottom: 15px;
}

.why-us-text {
  max-width: 1322px;
}

.why-us-paragraph {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #FFFFFF;
  margin: 0;
}

.why-us-ctas {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.why-us-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 58px;
  width: 197px;
  padding: 0 24px;
  font-family: var(--hero-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.36;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 29px;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 300ms ease-in-out;
}

.why-us-cta-primary {
  background: #F7CA19;
  color: #000000;
}

.why-us-cta.why-us-cta-primary:hover {
  color: #000000;
  filter: brightness(1.1);
}

.why-us-cta-phone {
  background: #2C6BCA;
  color: #FFFFFF;
  padding: 0 24px 0 4px;
}

a.why-us-cta.why-us-cta-phone:hover {
  filter: brightness(1.1);
  color: #fff;
}

.why-us-cta-phone-icon {
  width: 50px;
  height: 50px;
  display: block;
}

.why-us-cta-phone-number {
  display: inline-block;
}

@media (max-width: 991px) {
  .why-us-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .why-us-section {
    padding: 60px 0;
  }
}

/* ==========================================================================
   Homepage – Testimonials section (Figma: Testimonails_section node 1-28)
   ========================================================================== */

.testimonials-section {
  padding: 90px 0 25px;
  background-color: #FFFFFF;
}

.testimonials-container {
  max-width: 1321px;
  margin: 0 auto;
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-quote-img {
  width: 56px;
  height: 56px;
  display: block;
  margin-bottom: 10px;
}

.testimonials-subtitle {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #050505;
  margin: 0;
  max-width: 679px;
}

.md-testimonials-slider {
  position: relative;
}

.testimonial-card {
  padding: 0 15px;
  box-sizing: border-box;
}

.testimonial-card-inner {
  background-color: #2C6BCA;
  border-radius: 30px;
  padding: 25px 30px;
  min-height: 217px;
  max-height: 217px;
  height: max-content;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-sizing: border-box;
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.testimonial-card-name-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-card-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-name {
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.8;
  color: #FFFFFF;
  text-transform: capitalize;
  margin: 0;
}

.testimonial-stars {
  width: 120px;
  height: 24px;
  display: flex;
  align-items: center;
}

.testimonial-stars img {
  width: 120px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.testimonial-stars span {
  font-size: 16px;
  letter-spacing: 2px;
  color: #F7CA19;
  line-height: 1;
}

.testimonial-text {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #FFFFFF;
  margin: 0;
  height: 154px;
  overflow: hidden;
  overflow-y: auto;
  padding-right: 10px;
}

.testimonial-text::-webkit-scrollbar {
  width: 4px;
}

.testimonial-text::-webkit-scrollbar-track {
  background: transparent;
}

.testimonial-text::-webkit-scrollbar-thumb {
  background-color: #EAF0FA;
  border-radius: 4px;
}

/* Slick slider overrides for testimonials */
.md-testimonials-slider .slick-list {
  margin: 0 -15px;
}

/* Reset default slick slide padding */
.slick-initialized .slick-slide {
  display: block;
  padding: 0;
}

/* Generic slick layout helper for this theme */
.md-slick-this .slick-slide {
  margin: 0 10px; /* gap between slides */
}

.md-slick-this .slick-list {
  margin: 0 -10px; /* compensate margins so container width stays consistent */
}

.testimonials-controls {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.testimonials-controls .md-prev-1,
.testimonials-controls .md-next-1 {
  cursor: pointer;
  display: inline-block;
}

.testimonials-controls img {
  width: 61px;
  height: 61px;
  display: block;
}

.md-prev-img,
.md-next-img {
  transition: all 300ms ease-in-out;
}

.testimonials-controls .md-prev-1:hover .md-prev-img,
.testimonials-controls .md-next-1:hover .md-next-img {
  opacity: 0.5;
}

@media (max-width: 1200px) {
  .testimonials-section {
    padding: 70px 0 20px;
  }
  .testimonial-card-inner {
    min-height: unset;
    max-height: unset;
    height: 267px;
  }
}

@media (max-width: 991px) {
  .testimonial-name {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0 20px;
  }
  .testimonials-header {
    margin-bottom: 30px;
  }
  .testimonials-quote-img {
    margin-bottom: -10px;
  }
  .testimonial-card-inner {
    height: 207px;
  }
}

@media (max-width: 600px) {
  .testimonial-stars {
    width: 100px;
    justify-content: flex-end;
  }
  .testimonial-stars img {
    width: 100px;
  }
}

/* ==========================================================================
   Homepage – Quote banner section (Figma: banner_full node 1-9)
   ========================================================================== */

.quote-banner-section {
  padding: 60px 0 50px;
  background-color: #FFFFFF;
}

.quote-banner-inner {
  margin: 0 auto;
  background-color: #2C6BCA;
  border-radius: 40px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  box-sizing: border-box;
}

.quote-banner-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.quote-banner-section .md-section-title {
  color: #E9EFF9;
}

.quote-banner-paragraph {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.78;
  color: #FFFFFF;
  margin: 0;
  max-width: 604px;
}

.quote-banner-ctas {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.quote-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 58px;
  width: 197px;
  padding: 0 24px;
  font-family: var(--hero-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.36;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 29px;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.quote-banner-cta-primary {
  background: #F7CA19;
  color: #000000;
  transition: all 300ms ease-in-out;
}

.quote-banner-cta.quote-banner-cta-primary:hover {
  color: #000000;
  filter: brightness(1.1);
}

.quote-banner-cta-phone {
  background: #FFFFFF;
  color: #051634;
  padding: 0 24px 0 4px;
  white-space: nowrap;
  transition: all 300ms ease-in-out;
}

.quote-banner-cta.quote-banner-cta-phone:hover {
  color: #2C6BCA;
}

/* Override global img so icon stays 50x50 (same on homepage and default/inner pages) */
.quote-banner-section .quote-banner-cta-phone .quote-banner-phone-icon,
.quote-banner-section .quote-banner-phone-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  max-width: 50px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.quote-banner-section .quote-banner-cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.quote-banner-phone-number {
  display: inline-block;
}

@media (max-width: 991px) {
  .quote-banner-section {
    padding: 60px 0 32px;
  }
  .quote-banner-inner {
    padding: 50px 30px;
  }
  .blog-section {
    padding: 33px 0 50px;
  }
}

@media (max-width: 576px) {
  .quote-banner-text .md-section-title {
    max-width: 320px;
  }
  .quote-banner-inner {
    padding: 40px 20px;
  }
  .quote-banner-ctas {
    flex-direction: column;
    gap: 20px;
  }
  .quote-banner-cta {
    width: 100%;
    max-width: 260px;
  }
}

/* ==========================================================================
   Homepage – Blog section (Figma: Blog_section node 1-345)
   ========================================================================== */

.blog-section {
  background-color: #FFFFFF;
  padding: 51px 0 50px;
}

.blog-section-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.blog-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
  width: 100%;
}

.blog-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 656px;
  text-align: center;
}

.blog-section-subtitle {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #050505;
  margin: 0;
  text-align: center;
}

.blog-posts-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 30px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-post-card {
  width: 100%;
  max-width: 645px;
  flex: 1 1 calc(50% - 15px);
  min-width: 280px;
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border-radius: 30px;
  box-shadow: 10px 10px 25px 10px rgba(28, 86, 169, 0.1);
  overflow: hidden;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .blog-post-card {
    min-height: 647px;
  }
}

.blog-post-image-wrap {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 20px;
}

.blog-post-image-wrap img,
.blog-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-post-date {
  margin: 0;
}

.blog-post-date span {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 14px;
  color: #050505;
}

.blog-post-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 25px 30px 30px;
  max-width: 585px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.blog-post-title {
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  text-transform: capitalize;
  margin: 0;
}

.blog-post-title a {
  color: #2C6BCA;
  text-decoration: none;
  transition: all 300ms ease-in-out;
}

.blog-post-title a:hover {
  color: #2C6BCA;
  filter: brightness(0.7);
}

.blog-post-excerpt {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #050505;
  margin: 0 0 10px;
}

.blog-post-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 153px;
  height: 48px;
  padding: 13px 18px 13px 23px;
  font-family: var(--hero-font);
  font-weight: 600;
  font-size: 16px;
  color: #050505;
  background-color: #EAF0FA;
  border-radius: 40px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 300ms ease-in-out;
}

.blog-post-read-more .blog-post-read-more-icon {
  width: 12px;
  height: 12px;
  display: block;
  flex-shrink: 0;
  transition: all 600ms ease-in-out;
}

.blog-post-read-more:hover {
  background-color: #2C6BCA;
  color: #FFFFFF;
}

.blog-post-read-more:hover .blog-post-read-more-icon {
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}

@media (max-width: 1200px) {
  .blog-section {
    padding: 60px 0 40px;
  }
}

@media (max-width: 768px) {
  .quote-banner-section {
    padding: 60px 0 27px;
  }
  .blog-section {
    padding: 28px 0 40px;
  }
  .blog-section-title {
    font-size: 28px;
  }
  .blog-posts-container {
    flex-direction: column;
    align-items: center;
  }
  .blog-post-card {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .blog-post-image-wrap {
    height: 280px;
  }
}

/* ==========================================================================
   Homepage – FAQ section (Figma: FAQ_section node 1-397)
   ========================================================================== */

.faq-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 0 80px;
  box-sizing: border-box;
}

.faq-section-container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.faq-section-title {
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.361;
  color: #2C6BCA;
  text-align: center;
  margin: 0 0 40px;
}

.faq-list {
  display: flex;
  flex-direction: row;
  gap: 30px;
  max-width: 1320px;
  margin: 0 auto;
  align-items: flex-start;
}

.faq-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: 30px;
  box-shadow: 10px 10px 25px 10px rgba(28, 86, 169, 0.1);
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
}

.faq-question-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font: inherit;
}

.faq-question-row:focus {
  outline: none;
}

.faq-question-row:focus-visible {
  outline: 2px solid #2C6BCA;
  outline-offset: 2px;
}

.faq-question-row:hover {
  filter: brightness(0.8);
}

.faq-question-row .faq-toggle-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  transition: none;
  opacity: 1;
}

/* Fade only when the icon src changes (JS toggles .is-fading) */
.faq-question-row .faq-toggle-icon.is-fading {
  transition: opacity 220ms ease-in-out;
}

.faq-question {
  font-family: var(--hero-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.8125;
  color: #2C6BCA;
  text-transform: uppercase;
  margin: 0;
  flex: 1;
}

.faq-answer-wrap {
  display: none;
  padding-top: 15px;
  padding-left: 44px;
  box-sizing: border-box;
}

.faq-item-open .faq-answer-wrap {
  display: block;
}

.faq-answer {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #050505;
  margin: 0;
}

@media (max-width: 991px) {
  .faq-list {
    flex-direction: column-reverse;
  }
  .faq-column {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0 60px;
    min-height: auto;
  }
  .faq-section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .faq-item {
    padding: 20px 24px;
  }
  .faq-answer-wrap {
    padding-left: 0;
  }
}

@media (max-width: 430px) {
  .why-us-ctas {
    flex-direction: column;
    gap: 20px;
  }
  .why-us-cta {
    width: 100%;
    max-width: 260px;
  }
}

/* ==========================================================================
   Homepage – Areas We Serve section (Figma: Areas_section node 1-440)
   ========================================================================== */

.areas-section {
  background-color: #FFFFFF;
  padding: 100px 0 60px;
}

.areas-section-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.areas-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
  text-align: center;
}

.areas-section-title {
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.361;
  color: #000;
  margin: 0;
}

.areas-section-title span {
  color: #2C6BCA;
}

.areas-section-subtitle {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #050505;
  margin: 0;
  max-width: 708px;
}

.areas-county-wrap {
  width: 100%;
  margin-bottom: 25px;
}

.areas-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 20px;
  padding: 0 10px;
}

.areas-card {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #050505;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  transition: all 300ms ease-in-out;
}

.areas-card::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #000;
}

.areas-card-county {
  width: 100%;
  background-color: #2C6BCA;
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  padding: 16px 20px;
  border-radius: 10px;
  min-height: 62px;
  height: 62px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  line-height: 1.8125;
  box-sizing: border-box;
}

.areas-card-county-text {
  font-family: var(--hero-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8125;
  color: #FFFFFF;
}

.areas-card-county-icon {
  width: 14px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  filter: brightness(0) invert(1);
}

.areas-card-county::before {
  display: none;
}

a.areas-card:hover {
  color: #2C6BCA;
}

@media (max-width: 1500px) {
  .areas-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 1200px) {
  .areas-header {
    margin-bottom: 35px;
  }
}

@media (max-width: 991px) {
  .areas-section {
    padding: 70px 0 50px;
  }
  .areas-header {
    margin-bottom: 30px;
  }
  .areas-section-title {
    font-size: 28px;
  }
  .areas-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .areas-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .areas-section {
    padding: 60px 0 40px;
  }
  .areas-header {
    margin-bottom: 20px;
  }
}

@media (max-width: 450px) {
  .areas-cards-grid {
    grid-template-columns: 1fr;
  }
}

.services-desc {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #050505;
  margin: 0;
  padding-bottom: 49px;
}

.services-cards.Services_all {
  width: 100%;
}

.services-inner {
  margin-left: 0;
  margin-right: 0;
  row-gap: 30px;
  display: flex;
  flex-wrap: wrap;
}

.services-inner > .md-custom-services {
  box-sizing: border-box;
}

/* 3 per row (992px and up) – override Bootstrap 3 so 3 cols start at 992px (B3 col-lg-4 is 1200px) */
@media (min-width: 992px) {
  .services-inner > .md-custom-services {
    flex: 0 0 33.33333333%;
    max-width: 33.33333333%;
  }
  .services-inner > .md-custom-services:nth-child(1),
  .services-inner > .md-custom-services:nth-child(4),
  .services-inner > .md-custom-services:nth-child(7),
  .services-inner > .md-custom-services:nth-child(10),
  .services-inner > .md-custom-services:nth-child(13),
  .services-inner > .md-custom-services:nth-child(16) {
    padding: 0 20px 0 0;
  }
  .services-inner > .md-custom-services:nth-child(2),
  .services-inner > .md-custom-services:nth-child(5),
  .services-inner > .md-custom-services:nth-child(8),
  .services-inner > .md-custom-services:nth-child(12),
  .services-inner > .md-custom-services:nth-child(14),
  .services-inner > .md-custom-services:nth-child(17) {
    padding: 0 10px 0 10px;
  }
  .services-inner > .md-custom-services:nth-child(3),
  .services-inner > .md-custom-services:nth-child(6),
  .services-inner > .md-custom-services:nth-child(9),
  .services-inner > .md-custom-services:nth-child(12),
  .services-inner > .md-custom-services:nth-child(15),
  .services-inner > .md-custom-services:nth-child(18) {
    padding: 0 0 0 20px;
  }
}

/* 2 per row (768px–991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .services-inner > .md-custom-services {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
  }
  .services-inner > .md-custom-services:nth-child(odd) {
    padding: 0 10px 0 0;
  }
  .services-inner > .md-custom-services:nth-child(even) {
    padding: 0 0 0 10px;
  }
}

/* 1 per row (<768px): override to 100% width, no horizontal padding */
@media (max-width: 767px) {
  .services-inner > .md-custom-services:nth-child(n) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0;
  }
}

.service-card {
  min-height: 535px;
  height: 100%;
  background: #FFFFFF;
  border-radius: 30px;
  box-sizing: border-box;
}

.service-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
}

.service-card-img-wrap {
  width: 100%;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 30px;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 30px 30px;
  box-sizing: border-box;
}

.service-card-title {
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.36;
  color: #000;
  text-transform: capitalize;
  margin: 0;
}

.service-card-title span {
  color: #2C6BCA;
}

.service-card-desc {
  font-family: var(--hero-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8125;
  color: #050505;
  margin: 0;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-width: 145px;
  height: 48px;
  padding: 13px 23px;
  font-family: var(--hero-font);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.36;
  letter-spacing: -0.03em;
  color: #000000;
  background: #EAF0FA;
  border: none;
  border-radius: 40px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 300ms ease-in-out;
}

.service-card-cta:hover {
  background-color: #2C6BCA;
  color: #FFFFFF;
}

.service-card-cta .service-card-cta-icon {
  font-size: 18px;
  line-height: 1;
  transition: all 600ms ease-in-out;
}

.service-card-cta:hover .service-card-cta-icon {
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}

/* Services: when card has no image, keep layout consistent */
.service-card:not(:has(.service-card-img-wrap)) .service-card-content {
  padding-top: 30px;
}

@media (max-width: 767px) {
  .service-card:not(:has(.service-card-img-wrap)) .service-card-content {
    padding-top: 30px;
    max-width: 100%;
    width: 100%;
  }
}

/* Responsive Services */
@media screen and (max-width: 1500px) {
  .services-section {
    padding-top: 80px;
    padding-bottom: 200px;
  }
  .services-desc {
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 1200px) {
  .services-section {
    padding-top: 70px;
    padding-bottom: 160px;
  }
  .services-desc {
    padding-bottom: 32px;
  }
}

@media screen and (max-width: 991px) {
  .services-section {
    padding-top: 60px;
    padding-bottom: 100px;
  }
  .services-desc {
    padding-bottom: 25px;
  }
  .service-card {
    min-height: auto;
  }
}

@media screen and (max-width: 768px) {
  .services-section {
    padding-top: 50px;
    padding-bottom: 70px;
  }
  .services-header.text_services {
    align-items: flex-start;
  }
  .services-desc {
    padding-bottom: 20px;
    text-align: left;
  }
  .blog-section-header {
    align-items: flex-start;
  }
  .blog-section-subtitle {
    text-align: left;
  }
  .areas-header {
    align-items: flex-start;
  }
  .areas-section-subtitle {
    text-align: left;
  }
.quote-banner-paragraph {
    font-size: 16px;
}
}

@media screen and (max-width: 576px) {
  .services-section {
    padding-top: 50px;
    padding-bottom: 60px;
  }
  .md-section-title {
    font-size: 28px;
  }
  .services-desc {
    font-size: 15px;
  }
  .service-card-img-wrap {
    height: 220px;
  }
  .service-card-content {
    max-width: calc(100% - 32px);
    padding: 0 16px 24px;
  }
  .service-card-cta {
    min-width: 120px;
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ==========================================================================
   Legacy / global
   ========================================================================== */

html {
  background: #fff;
}

/* Form (global Gravity Forms overrides) */
.md-form-wrap .gform_required_legend {
  display: none;
}

.md-form-wrap .gform_wrapper.gravity-theme .gfield_validation_message,
.md-form-wrap .gform_wrapper.gravity-theme .validation_message {
  margin-top: 0px;
  border-radius: 50px;
}

.md-form-wrap .gfield_description.instruction.validation_message {
  display: none;
}

.md-form-wrap .gform_wrapper.gravity-theme .gform_validation_errors {
  display: none;
}

.md-form-wrap input[id^="gform_previous_button_"] {
  display: none !important;
}

.md-form-wrap .gform_wrapper.gravity-theme input[type=color],
.md-form-wrap .gform_wrapper.gravity-theme input[type=date],
.md-form-wrap .gform_wrapper.gravity-theme input[type=datetime-local],
.md-form-wrap .gform_wrapper.gravity-theme input[type=datetime],
.md-form-wrap .gform_wrapper.gravity-theme input[type=email],
.md-form-wrap .gform_wrapper.gravity-theme input[type=month],
.md-form-wrap .gform_wrapper.gravity-theme input[type=number],
.md-form-wrap .gform_wrapper.gravity-theme input[type=password],
.md-form-wrap .gform_wrapper.gravity-theme input[type=search],
.md-form-wrap .gform_wrapper.gravity-theme input[type=tel],
.md-form-wrap .gform_wrapper.gravity-theme input[type=text],
.md-form-wrap .gform_wrapper.gravity-theme input[type=time],
.md-form-wrap .gform_wrapper.gravity-theme input[type=url],
.md-form-wrap .gform_wrapper.gravity-theme input[type=week],
.md-form-wrap .gform_wrapper.gravity-theme select,
.md-form-wrap .gform_wrapper.gravity-theme textarea {
  padding: 0 20px;
}

.md-form-wrap .gform_wrapper.gravity-theme .ginput_container_date input {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  padding-right: 52px;
  font-family: "Open Sans", var(--hero-font);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 29px;
  color: #707378;
  text-transform: capitalize;
  background-color: #EDEDED;
  background-image: url(/wp-content/uploads/2026/03/solar_calendar-bold.png);
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: auto;
  border: none;
  border-bottom: 1px solid #A6AAB1;
  border-radius: 25px;
  box-sizing: border-box;
}

.md-form-wrap .gform_wrapper.gravity-theme .ginput_container_date input::placeholder {
  color: #707378;
  font-family: "Open Sans", var(--hero-font);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 29px;
  text-transform: capitalize;
}

/* Datepicker (Gravity Forms / jQuery UI) */
#ui-datepicker-dev,
#ui-datepicker-div * {
  font-size: 14px;
}

@media all and (max-width: 640px) {
  #ui-datepicker-dev,
  #ui-datepicker-div * {
    font-size: 12px;
   margin-right: 0px;
    margin-left: 0px;
  }
  .gravity-theme.ui-datepicker .ui-datepicker-header select.ui-datepicker-month {
    margin-right: 0px !important;
  }

}
