/* reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  background-color: #fff;
  color: #333;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  overflow-x: hidden;
}


body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400; 
  font-style: normal;
}

/* Shared layout container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}


/* Nav container */
.menu-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 10px 20px;
}

/* Logo container */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px; /* controls space between Logo1 and Logo2 */
}

/* Common logo styles */
.logo {
  object-fit: contain;
  flex-shrink: 0;
}

/* Specific sizes for each logo */
.logo1 {
  width: 42px;
  height: 49px;
  margin-left: 45px; /* Margin Dont touch*/
}

.logo2 {
  width: 230px;
  height: 45px;
}

/* Menu list */
.menu-items {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

/* Menu items */
.menu-items li {
  margin-left: 80px; /* spacing between items */
}


.menu-items a {
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-decoration: none; /* removes underline */
  transition: color 0.3s ease; 
}


/* Hover for regular links */
.menu-items a:hover {
  text-decoration: none;
}

/* Button-style link */
.button-link {
  background-color: #2E9FDA;
  color: black;
  padding: 12px 18px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.button-link:hover {
  background-color: #98DCFF;
  color: black;  
}

/* Target the last list item (Get a Quote button) */
.menu-items li:last-child {
  margin-right: 45px;
}


.nav-link {
  color: #000;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 300;
}

.nav-link:hover {
  color: #E0C35B; /* yellow hover color for About Us */
}


/* Header Section */

.hero {
  width: 1440px;
  height: 555px;
  background-image: url('Images/HeaderBackground.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0; /* no default padding */
  box-sizing: border-box;
   margin-top: 9px; /* space below the menu */
}

.hero-content {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero-text {
  flex: 1;
  color: black;
  padding-left: 60px; /* left spacing */
  padding-right: 2rem;
}

.hero-text h1 {
   font-family: Montserrat, sans-serif;
  font-size: 70px;
  font-weight: 600;
  line-height: 0.6; /* Tighter than 'normal' */
  margin-bottom: 1rem;
  color: #000;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.subheading {
  color: #CEAF45;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 10px; 
  margin-top: 35px; 

}

.headertext {
  width: 468px;
 height: 98px;
 flex-shrink: 0;
}

.headertext{
  color: #000;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  margin-top: 0; /* Remove extra space above */
}

.hero-text button {
  padding: 12px 18px;
  border: none;
  background-color: #2E9FDA;
  color: #000;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.hero-text button {
  color: #000;
font-family: Montserrat;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.hero-text button:hover {
  background-color: #98DCFF;
}


.hero-image {
  width: 716px;
  height: 540px;
  flex-shrink: 0;
  aspect-ratio: 179 / 135;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-left: auto; /* Push to far right */
  padding-right: 0;  /*  no internal right padding */
  box-sizing: border-box;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* Service Container */

.services-box {
  width: calc(100% - 90px); /* 45px on each side */
  max-width: 1350px;
  background: #ECF8FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
  margin: 60px auto;
  height: 396px;
}


.services-content {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 20px;
}

.services-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-image img {
  max-width: 207px;
  max-height: 207px;
  object-fit: contain;
}

.services-text {
  flex: 2;
  color: #000;
  font-family: Montserrat, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* aligns text to top */
  gap: 10px; /* spacing between header and lists */
}


.services-text h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
}

.services-lists {
  display: flex;
  gap: 80px;
}

.services-lists ul {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 36px; /* 180% */
  margin: 0;
}




/* Quote container */

.quote-section {
  display: flex;
  width: 1318px;
  height: 800px;
  border-radius: 10px;
  overflow: hidden;
  margin: 60px auto;
}

/* Quote Image */
.quote-left {
 width: 832px;
  height: 800px;
  position: relative;
  background-image: url('Images/QuoteImage.jpg');
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.quote-overlay {
  
  width: 80%;
  height: 100%;
  padding: 45px;
  box-sizing: border-box;
}

.quote-heading {
  font-family: Montserrat, sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.quote-subheading {
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #CEAF45;
  margin-bottom: 20px;
  max-width: 411px;
}

.quote-body p {
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin-bottom: 16px;
  max-width: 554px;
}

.quote-body p.quote-note {
  color: #CEAF45;
  font-weight: 700;
}


.quote-form-box {
  width: 486px;
  background-color: #2E9FDA;
  padding: 45px 45px 45px 25px; /* less left padding, dont change */
  box-sizing: border-box;
  flex-shrink: 0;
  color: #fff;
  font-family: Montserrat, sans-serif;
}

.form-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 20px 0 5px;
}

.form-content p {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 10px;
}

.form-content input,
.form-content select,
.form-content textarea {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 12px;
  border: none;
  border-radius: 6px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
}

.form-content textarea {
  min-height: 80px;
  resize: vertical;
}

.form-content button {
  margin-top: 10px;
  padding: 12px;
  width: 150px;
  height: 40px;
  background-color: #E0C35B;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text inside the button */
.form-content button .button-text {
  color: #000;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}



.form-content button:hover {
  background-color: #FFEFB4;
}


.input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.input-row input {
  flex: 1;
}





/* About Container */

.about-section {
  display: flex;
  margin-top: 77px;
  width: 1440px;
  overflow: hidden;
   margin-bottom: 70px; /* space between about us and footer */
}


/* Switch image to left */
.about-image {
 width: 647px;
  height: 725px; /* or your known container height */
  background-image: url('Images/aboutimage.jpg');
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}



/* Blue box on the right */
.about-text-box {
  flex: 1;
  width: 793px;
  background-color: #ECF8FF;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.about-heading {
  font-family: Montserrat, sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #000;
  margin-bottom: 24px;
}

.about-body {
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #000;
  line-height: 1.6;
  max-width: 542px;
}

.about-body p {
  margin-bottom: 16px;
}

.quote-block {
  font-style: italic;
  margin-top: 20px;
}

.quote-author {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-style: normal;
}

.quote-title {
  display: block;
  font-size: 16px;
  margin-top: 2px;
  font-style: normal;
}

/* Footer container */

.site-footer {
  width: 1440px;
  height: 215px;
  background: #2E9FDA;
  display: flex;
  align-items: center;
  padding: 0 45px;
  box-sizing: border-box;
  margin: 0 auto;
}

.footer-logo {
  width: 192px;
  height: 111px;
  flex-shrink: 0;
  margin-right: 45px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: #000;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 400;
  height: 131px;
}

.footer-contact h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.footer-contact a {
  color: #000;
  text-decoration: none;
  font-size: 20px;
}

.footer-contact a:hover {
  text-decoration: underline;
}



.overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        justify-content: center;
        align-items: center;
      }

      .popup-box {
        width: 775px;
        height: 597px;
        background-color: #fff;
        border-radius: 8px;
        padding: 40px;
        position: relative;
        text-align: center;
        font-family: Montserrat, sans-serif;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      .popup-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
      }

      .popup-box img {
        max-width: 120px;
        margin-bottom: 20px;
      }

      .popup-box p {
        font-size: 18px;
        color: #000;
        margin-bottom: 12px;
        max-width: 600px;
      }




      /* === Responsive Breakpoints === */

/* Small laptops and tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .quote-section {
    flex-direction: column;
    height: auto;
    width: 90%;
  }

  .quote-left,
  .quote-form-box {
    width: 100%;
    height: auto;
  }

  .quote-left {
    order: 2; /* move image below the form */
  }

  .quote-form-box {
    order: 1; /* form on top */
    padding: 30px;
  }

  .form-content h3 {
    font-size: 20px;
  }

  .form-content p,
  .form-content input,
  .form-content select,
  .form-content textarea,
  .form-content button .button-text {
    font-size: 14px;
  }
}

/* Tablets and large phones (max-width: 768px) */
@media (max-width: 768px) {
  .input-row {
    flex-direction: column;
  }

  .hero {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  .hero-content {
    flex-direction: column;
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  .hero-image {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
  }

  .services-box {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .services-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-section {
    flex-direction: column;
    width: 100%;
  }

  .about-image,
  .about-text-box {
    width: 100%;
    height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 30px;
  }
}

/* Phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p,
  .form-content p {
    font-size: 14px;
  }

  .quote-heading {
    font-size: 28px;
  }

  .quote-subheading {
    font-size: 16px;
  }

  .form-content h3 {
    font-size: 18px;
  }

  .form-content button {
    width: 100%;
  }

  .menu-items {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .menu-items li {
    margin-left: 0;
  }
}





@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .subheading {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 16px;
  }

  .headertext {
    font-size: 16px;
    line-height: 24px;
    width: 100%;
  }

  .hero-text {
    padding: 0 20px;
    text-align: center;
  }

  .hero-text button {
    width: 100%;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .menu-items a,
  .nav-link,
  .button-link {
    font-size: 16px;
    padding: 10px 14px;
  }

  .hero-text button {
    font-size: 16px;
    padding: 10px 16px;
  }

  .form-content button {
    font-size: 16px;
    width: 100%;
  }
}


@media (max-width: 480px) {
  .menu-items {
    display: none;
  }

  .hero {
    margin-top: 0 !important;
    padding-top: 10px;
  }

  .hero-text {
    padding-top: 10px;
  }
}


@media (max-width: 480px) {
  .hero-content {
    padding: 0 10px;
  }

  .hero-text h1 {
    margin-bottom: 0.5rem;
  }

  .hero-text button {
    margin-top: 10px;
  }
}















/* === Hamburger Menu Styling === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 20px;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #000;
  border-radius: 2px;
}

/* Show hamburger on small screens */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .menu-items {
    display: none;
    flex-direction: column;
    gap: 12px;
    background-color: #fff;
    position: absolute;
    top: 70px;
    left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 40px); /* accounts for padding/margins */
  max-width: 400px; /* optional: prevents over-wide menu */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .menu-items.show {
    display: flex;
  }

  .menu-bar {
    position: relative;
  }
}



@media (max-width: 768px) {
  /* Contain the menu items properly in mobile */
  .menu-items {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    background-color: white; /* match your nav background */
    width: 100%; /* ensures full-width block */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* optional subtle drop shadow */
  }

  .menu-items a {
    display: block;
    width: 100%;
    font-size: 18px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s ease;
    box-sizing: border-box; /* keeps hover contained */
  }

  .menu-items a:hover {
    background-color: #f0f0f0;
  }

  .menu-items .button-link {
    background-color: transparent;
    color: #000;
    font-weight: 400;
    padding: 10px 14px;
    border-radius: 8px;
  }

  .menu-items .button-link:hover {
    background-color: #f0f0f0;
  }
}

