/*************************************************************
* ABOUT US HERO SECTION
*************************************************************/
.contact-hero-section {
    width: 100%;
    padding: 40px 2%;
    background-color: #f2f2f2;
    text-align: center;
  }
  .page-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 36px;
    color: #072B59;
  }

  /* Contact Section */
.contact-section {
    width: 100%;
    background-image: linear-gradient(to bottom, #063573, #072B59);
    color: #ffffff;
    font-family: inherit; /* uses the site’s existing font */
    padding: 2rem 1rem;
    margin: 0 auto;
  }

  .contact-h2-container {
    width: 100%;
    max-width: 1100px;
    margin: 10px auto 2.5rem auto;
  }
  .contact-h2 {
    font-family: inherit;
    font-size: 20px;
    text-align: center;
    font-weight: 500;
  }

  .contact-divider {
    border: none;
    height: 2px;
    width: 80px;
    background-color: #ffffff80; /* semi-transparent white */
    margin: 1.5rem auto;
  }
  
  
  .contact-container {
    display: flex;
    justify-content: space-between; /* Center the group of columns */
    align-items: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;

  }
  
  .contact-column {
    flex: 0 0 auto; /* Prevent columns from stretching */
    width: 27%;
    text-align: center;
  }
  
  .contact-column h3 {
    margin-bottom: 0.5rem;
    font-size: 1.65rem;
  }
  
  .contact-column p,
  .contact-column a {
    color: #ffffff;
    text-decoration: none;
    line-height: 1.6;
    font-size: 1.25rem;
  }
  
  .contact-email a:hover,
  .contact-phone:hover {
    text-decoration: underline;
  }

  .social-icons {
    display: flex;
    gap: 1.5rem;
    flex-direction: row;
    margin: 0 auto;
    justify-content: center;
  }
  
  .social-icons i{

    font-size: 3.5rem !important;
  }
  
  /* Collapse to one column on narrow screens */
  @media (max-width: 768px) {
    .contact-container {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
 
  
  /* Switch to a single-column layout on tablet screens and smaller */
  @media (max-width: 992px) {
    .contact-content-container {
      flex-direction: column;
      align-items: center;
    }
  }


  /* -- MAP & CITY LIST -- */

.service-area-section {
    width: 100%;
    padding: 30px 2%;
    background-color: #ffffff;
    font-family: 'IBM Plex Sans', sans-serif;
  }
  
  /* Centered h2 title for service area section */
  .service-area-heading2 {
    font-size: 32px;
    color: #072B59;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .service-area-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
  }
  .service-area-text-block,
  .service-area-map-block {
    flex: 1 1 45%;
  }
  .service-area-map-block {
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
  }
  .service-area-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    transform: scale(1.8);
    transform-origin: center center;
    cursor: zoom-in;
    border-radius: 8px;
  }
  .service-area-subtext {
    font-size: 17px;
    margin-bottom: 30px;
    color: #333;
  }
  .two-column-list {
    columns: 2 auto;
    column-gap: 20px;
    margin: 10px 0;
  }
  .two-column-list li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
  }
  /* Use CSS-generated chevrons for the cities list */
  .service-area-list li::before {
    content: '>';
    color: #f3150d;
    margin-right: 8px;
  }
  .service-area-closing {
    font-size: 17px;
    color: #333;
    margin-top: 10px;
  }

  /*************************************************************
 * RESPONSIVE TWEAKS
 *************************************************************/

@media screen and (max-width: 1230px) {
    .service-area-hero {
      flex-direction: column;
      padding-top: 40px;
      margin-bottom: 20px;
    }
    .hero-banner {
      display: none;
    }
    .hero-banner .banner-image {
      display: none;
    }
    .service-area-floating-box {
      position: static;
      transform: none;
      justify-content: center;
      width: 100%;
      background: transparent;
      box-shadow: none;
      text-align: center;
      background-image: url('/images/NEW-Full-Size-Hancock-HVAC-Logo.png');
      background-size: 150%;
      background-position: 50% 50%;
      background-color: rgba(0, 0, 0, 0.25);
      border-radius: 0;
    }
    .service-area-cta-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
    }
    .service-area-heading {
      font-size: 32px;
      margin-bottom: 20px;
    }
    .service-area-subtitle {
      font-size: 20px;
      margin-bottom: 20px;
    }
  }
  
  @media (max-width: 912px) {
    .two-column-list li{
      margin-bottom: 12px;
    }
  }
  
  @media (max-width: 768px) {
    .service-area-hero {
      flex-direction: column;
      padding-top: 50px;
      margin-bottom: 20px;
    }
    .hero-banner {
      display: none;
    }
    .hero-banner .banner-image {
      display: none;
    }

    .contact-h2 {
        font-size: 18px;
      }

    .contact-section {
        text-align: center;
        padding: 2rem 1rem;
        margin: 0 auto;
      }
      .contact-column {
        flex: 0 0 auto; /* Prevent columns from stretching */
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
      }
      
      .contact-column h3 {
        margin-bottom: 0.5rem;
        font-size: 1.45rem;
      }
      
      .contact-column p,
      .contact-column a {
        color: #ffffff;
        text-decoration: none;
        line-height: 1.6;
        font-size: 1.2rem;
        margin-bottom: 5px;
      }

    .service-area-floating-box {
      display: flex;
      flex-direction: column;
      position: static;
      transform: none;
      margin: 20px auto;
      width: 100%;
      background: transparent;
      box-shadow: none;
      padding: 10px;
      text-align: center;
      background-image: url('/images/NEW-Full-Size-Hancock-HVAC-Logo.png');
      background-size: 150%;
      background-position: 50% 50%;
      background-color: rgba(0, 0, 0, 0.25);
      justify-content: center;
    }
    .service-area-heading {
      font-size: 32px;
      margin-bottom: 20px;
    }
    .service-area-subtitle {
      font-size: 20px;
      margin-bottom: 20px;
    }
    .service-area-cta-buttons {
      flex-direction: column;
      display: flex;
      gap: 10px;
      align-self: center;
      width: 45%;
      min-width: fit-content;
    }
    .hero-button {
      width: 100%;
      margin: 0 auto;
    }
    .service-area-container {
      flex-direction: column;
    }
    .service-area-text-block {
      order: 1;
    }
    .service-area-map-block {
      order: 2;
      margin-top: 20px;
    }
    
    .two-column-list li{
      margin-bottom: 11px;
    }
  }
  
  @media (max-width: 355px) {
    .two-column-list{
      columns: 1;
    }
  }
  
  @media (max-width: 480px) {

    


    .service-area-floating-box {
      margin: 15px auto;
      padding: 10px;
    }
    .service-area-heading {
      font-size: 32px;
    }
    .nav-button {
      font-size: 14px;
      padding: 10px 14px;
    }
    .rating-score,
    .rating-stars {
      font-size: 16px;
    }
  }
  
  /*************************************************************
  * CTA SECTION
  *************************************************************/
  .cta-section {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;

  }
  .cta-title {
    color: #072B59;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
    padding-top: 40px;
  }
  .cta-subtitle {
    color: #072B59;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 20px;
    margin-bottom: 30px;
  }
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
  }
  @media (max-width: 992px) {
    .contact-hero-section {
        padding: 10px 0%;
    }
    .contact-content-section {
        padding-bottom: 0px;
    }

    .cta-section {
        background-color: #fff;
        padding: 0px 20px 40px 20px;
        text-align: center;
    }
    .cta-buttons {
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }
    .cta-buttons a.hero-button {
      width: 240px;
    }
  }
  
  /*************************************************************
  * CTA BUTTONS (Shared with Service Area)
  *************************************************************/
  .hero-button {
    display: flex;
    align-items: stretch;
    height: 60px;
    width: 240px;
    overflow: hidden;
    text-decoration: none;
  }
  .icon-part-red {
    background-color: #F2AC29;
    color: white;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 3em;
    border-bottom-left-radius: 3em;
    padding-left: 7px;
  }
  .text-part-blue {
    background-image: linear-gradient(to bottom, #063573, #072B59);
    color: white;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    font-size: 18px;
    font-weight: bold;
    border-top-right-radius: 3em;
    border-bottom-right-radius: 3em;
    font-family: 'IBM Plex Sans', sans-serif;
  }
  .hero-button .icon-part-red i {
    font-size: 24px;
  }
  .hero-button:hover .text-part-blue {
    filter: brightness(115%);
  }
  .hero-button:hover .icon-part-red {
    filter: brightness(90%);
  }
  
  /*************************************************************
  * HVAC CONTACT FORM SECTION
  *************************************************************/
  .hvac-custom-wrapper {
    width: 100%;
    background-color: #1b3661;
    margin: 0;
    padding: 0;
    font-family: 'IBM Plex Sans', sans-serif;
  }
  .hvac-custom-section {
    max-width: 1300px;
    margin: 0 auto;
    color: #fff;
    padding: 40px 20px;
  }
  .hvac-custom-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 1.4;
  }
  .hvac-custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .hvac-custom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .hvac-custom-field {
    flex: 1 1 45%;
    min-width: 250px;
  }
  .hvac-custom-section label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    font-size: 1rem;
  }
  .hvac-custom-section input[type="text"],
  .hvac-custom-section input[type="tel"],
  .hvac-custom-section input[type="email"],
  .hvac-custom-section select,
  .hvac-custom-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #fff;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 1rem;
    box-sizing: border-box;
  }
  .hvac-custom-section ::placeholder {
    color: #a1a1a1;
  }
  .hvac-custom-section input:focus::placeholder,
  .hvac-custom-section textarea:focus::placeholder {
    color: transparent;
  }
  .hvac-custom-section input[type="text"]:focus,
  .hvac-custom-section input[type="tel"]:focus,
  .hvac-custom-section input[type="email"]:focus,
  .hvac-custom-section select:focus,
  .hvac-custom-section textarea:focus {
    outline: 2px solid #c71f19;
  }
  .hvac-custom-submit-btn {
    background-color: #c71f19;
    color: #fff;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    align-self: center;
    min-width: 150px;
  }
  .hvac-custom-submit-btn:hover {
    background-color: #a51c16;
  }
  @media (max-width: 768px) {
    .contact-hero-section {
        padding: 10px 0%;

      }
    .hvac-custom-section {
      padding: 20px 15px;
    }
    .hvac-custom-row {
      flex-direction: column;
    }
    .hvac-custom-field {
      flex: 1 1 100%;
    }
    
  }
  