* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Base Styling */
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #1b1b1b;
    margin: 0;
  }
html, body {
  margin: 0;
  padding: 0;
}

  p {
    margin-top: 0;
    margin-bottom: 0;
}
header {
  position: relative;
  z-index: 10;
}
  .container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
  }
  
  /* Top Bar */
.topbar {
  background-color: #fff;
  padding: 0;
}

.topbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-left .logo {
  width: 140px;
}

.topbar-middle {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 240px;
}

.info-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  background-color: #eaf2ff;
  color: #00214d;
  padding: 10px;
  border-radius: 10px;
  font-size: 18px;
}

.info-title {
  color: #00214d;
  font-weight: bold;
  font-size: 14px;
}

.info-label {
  font-size: 12px;
  color: #888;
}

.topbar-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-right a {
  background-color: #eaf2ff;
  color: #00214d;
  padding: 10px;
  border-radius: 6px;
  font-size: 16px;
  transition: 0.3s;
}

.topbar-right a:hover {
  background-color: #00214d;
  color: #fff;
}

.topbar-wrapper{
  margin-bottom: 1%;
}

.contact-text a{
  text-decoration: none;
  color: #00214D;
  font-weight: bold;
}
/* Responsive */
@media (max-width: 992px) {
  .topbar-wrapper {
    flex-direction: column;
    align-items: center;
    margin-bottom: 2%;
  }

  .topbar-middle {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .topbar-right {
    justify-content: flex-start;
  }
}


/* ----- Layout Wrappers ----- */
.nav-outer-wrapper {
  display: flex;
  justify-content: center;
  background-color: #fff;
  position: relative;

}

.nav-bar-container {
  display: flex;
  align-items: center;
  position: absolute;
  max-width: 1200px;
  width: 100%;
  z-index: 100;
}

.navbar {
  background-color: #00214d;
  border-radius: 10px 0 0 10px;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 10px;
  flex-grow: 1;
  position: relative;
  width: 80%;
}

#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 16px;
}

.open-icon,
.close-icon {
  display: none;
}

#menu-toggle:not(:checked) + .hamburger .open-icon {
  display: inline-block;
}

#menu-toggle:checked + .hamburger .close-icon {
  display: inline-block;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  width: 100%;
}




.nav-menu li a {
  color: #ffffff;
  padding: 0 16px;
  height: 48px;
  line-height: 48px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-right: 1px dotted #ffffff55;
  transition: 0.3s;
  box-sizing: border-box;
}

.nav-menu li:last-child a {
  border-right: none;
}

.nav-menu li a:hover {
  border-bottom: 4px solid #ffffff;
  color: #FFC752; 
}

.nav-menu li a.active {
  color: #FFC752;
}

.call-button-connected {
  background-color: #f44336;
  color: #fff;
  height: 60px;
  line-height: 60px;
  padding: 0 22px;
  border-radius:  12px ;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  z-index: 2;
  margin-left: -60px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.call-button-connected:hover {
  background-color: #d9372e;
  color: white;
  transform: translateY(-2px);
}




#menu-toggle:checked + .hamburger .close-icon {
  display: inline-block;
  color: #FFC752;
}

#menu-toggle:checked + .hamburger {
  color: #FFC752;
}

.open-icon:hover{
  color: #FFC752;
}




@media (max-width: 992px) {
  .hamburger {
    display: flex;
    z-index: 100;
  }


  .nav-bar-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: auto;
  }
  .navbar {
    width: 70vw;
    margin: 0;
  }

  .nav-menu {
    flex-direction: column;
    width: 90vw;
    background-color: #00214d;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 99;
    border-radius: 10px ;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    pointer-events: none;
   
  }




  #menu-toggle:checked + .hamburger + .nav-menu {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px dotted #ffffff;
    text-align: center;
  }

  .nav-menu li a {
    padding: 14px 20px;
    color: white;
    display: block;
    font-weight: 600;
display: flex;
flex-direction: column;
justify-content: center;
    border-bottom: none;
  }
  .nav-menu li a:hover {
    background-color: #00183a;
  }

  .nav-menu li a:hover {
    border-bottom: 0;
    color: #FFC752;
    
  }


  
}


/* hero */

/* HERO IMAGE GOES UNDER NAVIGATION */
.hero-section {
  position: relative;
  width: 100%;
  height: 700px;
  margin-top: 26px; /* overlap half the nav height */
  background: url('../images/header-img.webp') no-repeat bottom center/cover;
  background-attachment: fixed;
  z-index: 0;
}

/* .hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 600px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
} */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 150px 20px 0; /* push content below nav */
  color: #fff;
  text-align: center;
}


.hero-box {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: 19%;
  height: 700px;

}

.hero-box h1{
  font-weight: 700;
}

.hero-box-inner {
  background-color: #FFC752;
  padding: 40px;
padding-top: 30%;
  margin-top: 2%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  color: #1b1b1b;
  width: 80%;
  height: 100%;
}

.hero-box-inner h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.hero-box-inner p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-call-button {
  background-color: #00214d;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.hero-call-button:hover {
  background-color: #F44336;
  color: white;
}

.free{
  background-color: #D9372E;
  letter-spacing: 3px;
}

@media (max-width: 1150px) {
  .hero-box-inner {
    background-color: #FFC752;
    padding: 40px;
    margin-left: -32%;
    margin-top: 2%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #1b1b1b;
    width: 80%;
    height: 100%;
}




}




@media (max-width: 992px) {

  .hero-box-inner {
    background-color: #FFC752;
    padding: 40px;
    margin-left: 0;
    margin-top: 5%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #1b1b1b;
    width: 60%;
 
}
  .hero-section {
    padding-left: 20px;
    padding-right: 20px;
    align-items: flex-start; /* Align top on mobile */
  }

  .hero-box {
    max-width: 100%;
    padding: 30px 20px;
    margin: 40px 0 0;
  }

  .hero-box h2 {
    font-size: 26px;
  }

  .hero-box p {
    font-size: 15px;
  }

  .hero-call-button {
    padding: 10px 18px;
    font-size: 15px;
  }
}


@media (max-width: 768px) {
  .hero-box-inner {
    background-color: #FFC752;
    padding: 40px;
    margin-left: 0;
    margin-top: 5%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #1b1b1b;
    width: 80%;
 
}

.hero-call-button{
  margin-bottom: 3%;
}

.button-hero{
  text-align: center;
}

}


/* start book services */
.booking-testimonial-section {
  background: #ffffff;
  padding: 60px 20px 80px;
  position: relative;
 
}

.columns-wrapper {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.left-column {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.right-column {
  flex: 1;
  min-width: 300px;
 width: 100%;
  margin-top: -10%; /* Overlaps into header on large screens */
  z-index: 10;
}

.testimonial-box {
  border: 1px solid #dce3eb;
  border-radius: 6px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

.quote-icon {
  font-size: 60px;
  color: #ccc;
  float: left;
  margin-right: 15px;
}

.testimonial-content h4 {
  margin-bottom: 0;
  color: #00214d;
  font-weight: bold;
}

.testimonial-content .role {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.testimonial-content .text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-top: 20px;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 10px;
}

.stat strong {
  display: block;
  font-size: 24px;
  color: #00214d;
}

.stat span {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
}

/* Reuse previous booking-card styles */
.booking-card {
  background: #00214d;
  border-radius: 8px;
  padding: 40px;
  color: #ffffff;
  /* text-align: center; */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
 

}

.booking-card h3 {
  color: #ffc845;
  font-size: 22px;
  margin-bottom: 10px;
}

.booking-card p {
  font-size: 15px;
  margin-bottom: 25px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}

.form-row {
  display: flex;
  gap: 10px;
}

input, textarea {
  padding: 12px 16px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  width: 100%;
}

textarea {
  resize: none;
  min-height: 100px;
}

button[type="submit"] {
  background: #f44336;
  color: white;
  padding: 12px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
}

.booking-phone {
  margin-top: 20px;
  color: #ffc845;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.booking-phone i {
  background-color: #ffc845;
  color: #00214d;
  padding: 6px;
  border-radius: 4px;
}


.testimonial-section {

  background-color: #ffffff;
  display: grid;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.testimonial-card {
  border: 1px solid #dce3eb;
  border-radius: 8px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.quote-icon {
  font-size: 40px;
  color: #cfd3db;
  flex-shrink: 0;
  margin-top: 6px;
}

.testimonial-text h4 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #00214d;
}

.testimonial-text .role {
  color: #888;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.testimonial-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}


.booking-testimonial-section .testimonial-card i{
  font-size: 25px;
}



@media (max-width: 1199px) {
  .booking-card {
 height: 1200px;
}
}

@media (max-width: 1000px) {
  .booking-card {
 height: 1250px;
}
}
@media (max-width: 992px) {
  .columns-wrapper {
    flex-direction: column;
  }

  .left-column
   {
    max-width: 100%;
    margin: 0;
  }

  .right-column {
    order: -1; /* Show the form first */
    margin: auto;
    margin-bottom: 40px;
  

  }

  .testimonial-card {
    flex-direction: column;
    padding: 20px;
  }

  .testimonial-text p {
    font-size: 14px;
  }

  .booking-card {
    padding: 25px 20px;
    
  }

  .form-row {
    flex-direction: column;
  }
}


/* start offer */
.choose-us-section {
  padding: 60px 20px;
  background: #fff;
}

.choose-us-container {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

/* IMAGES */
.choose-us-images {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.image-main img {
  width: 100%;
  border-radius: 10px;
}

.image-overlay {
  position: absolute;
  bottom: -20px;
  left: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 8px solid #ffc845;
  max-width: 200px;
}

.image-overlay img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

/* TEXT */
.choose-us-content {
  flex: 1;
  min-width: 300px;
}

.choose-us-content h5 {
  color: #00214d;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.choose-us-content .offer-call a {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #00214d;
  background-color: #FFC845;
  border-radius: 10px;
  width: 60%;
  padding: 2%;
text-decoration: none;

}

  
.choose-us-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.choose-list {
  padding-left: 18px;
  margin-bottom: 16px;
}

.choose-list li {
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 15px;
}


.offer-img img{
  width: 350px;
}

/* Responsive */
@media (max-width: 992px) {
  .choose-us-container {
    flex-direction: column;
    text-align: center;
  }

  .image-overlay {
    position: relative;
    bottom: unset;
    left: unset;
    margin-top: 20px;
    border-width: 6px;
    max-width: 100%;
  }

  .choose-us-content p {
    font-size: 22px;
  }

  .choose-us-content h5 {

    margin-bottom: 3%;
}

.offer-img img {
  width: 450px;
}
}



/* start choose */


/* Background split effect */
.services-section {
  background: linear-gradient(to bottom, #fef5df 0 33%, #ffffff 33% 100%);
  padding: 60px 0;
}

/* Card styles */
.service-card {
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: 0.3s ease-in-out;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: auto;
}

.service-card h4 {
  color: #00214D;
  font-weight: 700;
  margin-top: 15px;
}

.service-card article {
  font-size: 14px;
  color: #555;
  padding: 0 15px;
  margin-bottom: 10px;
}

.service-card a {
  display: inline-block;
  font-size: 14px;
  color: #00214D;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 15px;
}

.service-card a:hover {
  text-decoration: underline;
}

/* Why Choose Us Box */
.why-choose-box {
  background-color: #FFC845;
  border-radius: 10px;
  padding: 30px 20px;
}

.why-choose-box h4 {
  color: #00214D;
  font-weight: 700;
}

.why-choose-box article {
  color: #333;
  font-size: 15px;
  margin-bottom: 15px;
}

.why-choose-box ul {
  padding-left: 20px;
  margin-bottom: 15px;

}

.list li {
  margin-bottom: 10px;
  color: #222;
  list-style: none;
}

.card-body a{
  text-decoration: none;
  color: #F34337;
  font-weight: bold;
}

.services-section  h5{
  color: #F34337;
  font-weight: 700;
}


.choose-call{
  font-size: 20px;
  font-weight: 700;

}


.choose-no{
  text-decoration: none;font-size: 20px;
  background-color: #00132e;
  padding: 2%;
  border-radius: 5px;
  color: white;
}

.choose-no:hover{

  color: #F34235;
}
.choose-div{
  margin-bottom: 1%;
}

/* start water heater services */
.emergency-section {
  background: url('../images/water-heater-services.webp') no-repeat center center / cover;
  height: 700px;
  position: relative;
  background-attachment: fixed;
  padding: 2rem 0;

}

.info-box {
  background-color: rgba(0, 33, 77, 0.95);
  border-radius: 8px;
  padding: 2rem;
  max-width: 90%;
}

.emergency-call-bar {
  background-color: #00214D;
  font-size: 1.1rem;

}

@media (max-width: 768px) {
  .emergency-section {
    height: auto;
    background-attachment: scroll;
  }

  .info-box {
    max-width: 100%;
    margin-top: 0;
  }

  .emergency-call-bar {
    font-size: 1rem;
  }
}



/* start brands */



.slide-track-img {
  width: 100px;
  height: 100px;
  animation: scroll 20s linear infinite;
  background-color: #EAF3FF;
}

.slide-track {
  width: 100%;
  display: flex;
  gap: 3em;
  overflow: hidden;
}

.slider {
  background-color: transparent;
  padding: 1em 2em;
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translatex(-1000%)
  }
}

/* end brands */


/* start right unit */



.water-heater-section {
  background-color: #f9f9f9;
}
.water-heater-section h2 {
  color: #003366;
}
.water-heater-section h6 {
  color: #F34336;
}

.water-heater-selection ul {
  
  padding-left: 20px;
  color: #333;

}

.lista li{
list-style: none ;
}


.lista li i{
  color: #00132e;
}


/* start contact section */
.contact-cta-section {
  background-color: #ffc845;
  min-height: 100vh;
}

.technician-img {
  max-width: 80%;
  height: auto;
}

.blue-box {
  background-color: #00214d;
}

input.form-control,
textarea.form-control {
  border: none;
  border-radius: 4px;
  padding: 10px;
}

input:focus,
textarea:focus {
  box-shadow: none;
  outline: none;
}

.btn-warning {
  background-color: #f44336;
  border: none;
  color: white;
}

.btn-warning:hover {
  background-color: #d9372e;
}

.contact-img{
  width: 300px;

}
.locations-zips h6{
  margin-bottom: 2%;
}

.locations-zips h6 i{
  color: #F34235;
}



.zip-codes{

  /* background-color: #BDE0FE; */

  padding: 2%;


}




.locations h5, .zip-codes h5 {

background-color: #FFC845;
width: 40%;
padding: 1%;
color: #00214D;
border-radius: 5px;
margin: auto;
text-align: center;
margin-bottom: 2%;
}
.locations-txt a, .zip-codes a {
  font-size: 14px;
  background-color: #D9DCDF;
  color: #022F6E;
}


.locations-txt a:hover, .zip-codes a:hover {
  font-size: 14px;
  background-color: #F34235;
  color: #D9DCDF;
}

/* start map */

.map-contact-section {
  background-color: #fef5df;
}

.info-div {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.info-div i {
  font-size: 24px;
  color: #F44336;
  margin-top: 5px;
}

.info-div h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.info-div p {
  margin: 0;
  font-size: 14px;
  color: #444;
}



.bg-light{
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fef5df;

}
@media (max-width: 767.98px) {
  .map-contact-section iframe {
    min-height: 300px;
  }
}


.map-contact-section h2{
margin: auto;
width: 50%;
text-align: center;
color: #00214D;
}
.map-contact-section h2 i{
  color: #F44336;
}

/* end map */


/* start footer */

.copyright{
  background-color: #00132e;
  color: white;

}

.copyright .span-copy {
  color: #F44336;
}

.copyright .span-rights{
  color: #FFC845;
}

/* end footer */


/* start comerhensive */

/* style.css */
.repair-section {
  background: #f9f9f9;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  position: relative;
}

.image-grid .top-text {
  background-color: #00214D;
  padding: 30px;
  grid-column: span 2;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.image-grid .image-block img {
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
  .image-grid .top-text {
    grid-column: span 1;
  }
}




/* end comerhensive */



/* start maintenance */
.maintenance{
  margin-top: 2%;
  margin-bottom: 2%;
}


.maintenance-img{
  background-image: url(../images/testing-heating-elements.webp);
  background-position: center;
  background-size: cover;
  height: 400px;
}

.avialable-img{
  background-image: url(../images/fix-the-issue.webp);
  background-position: center;
  background-size: cover;
  height: 400px
}


.maintenance-txt, .available-txt{
  padding: 3%;
}


.maintenance h2{
  color: #00132e;
}

@media (max-width: 992px) {

  .maintenance-img{
margin-bottom: 3%;
  }

}


.obfuscatedEmail a{
color: #444;
font-weight: 400;
}

.call-button-connected-footer a{
  text-decoration: none;
  color: #444;
}
/* end maintenance */