/* ===================================================================
   RESET / BASIC STYLES
   =================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Smooth Scrolling */
  html {
    scroll-behavior: smooth;
  }
  
  /* ===================================================================
     BODY & GENERAL DARK THEME
     =================================================================== */
  body {
    font-family: Arial, sans-serif;
    /* background-color: #2c2c2c;  */
    /* color: #f1f1f1;           */
  }
  
  /* ===================================================================
     HEADER & NAVIGATION
     =================================================================== */
  header {
    background-color: #000000; 
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #007BFF;           
  }
  
  nav a {
    color: #f1f1f1;
    text-decoration: none;
    margin: 0 15px;
  }
  
  nav a:hover {
    color: #007BFF;
  }
  
  /* Navigation Bar */
#navMenu {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

#navMenu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

#language-switcher {
  margin-top: 10px;
}
  /* Optional: Language Switcher in the header */
  .language-switcher {
    margin-top: 10px;
    padding: 20px 0 0 0;        /* Adjust spacing as needed */
  }

  .goog-te-banner-frame.skiptranslate {
    display: none !important;
  }
  
  /* Or hide some extra powered-by text, etc. */
  .goog-logo-link {
    display: none !important;
  }
  .goog-te-gadget span {
    display: none !important;
  }
  
  /* ===================================================================
     MAIN CONTENT & SECTIONS
     =================================================================== */
  main {
    /* Constrain the page width on large screens and center it */
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Generic sections use black "ribbons" at top and bottom */
  section {
    margin: 50px 0;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    padding: 20px 0;
  }
  
  li {
    margin-bottom: 5px;
  }
  /* ===================================================================
     ABOUT SECTION
     =================================================================== */
  #about {
    text-align: center; /* Center the content for #about if desired */
  }
  
  .intro-image {
    display: block;         /* Make the image a block element */
margin: 0 auto;  
    max-width: 100%;
    height: auto;
    align-self: center;
    border: 2px solid #000;
    margin-bottom: 20px;
  }
  
  #about h2, 
  #about p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  /* ===================================================================
     OUR MISSION
     =================================================================== */

    .our-mission {
        /* display: flex; */
        align-items: center;
        justify-content: space-between;
        padding: 40px;
        /* background-color: #444444; */
    }


    /* .text-content {
        max-width: 50%;
    } */

    .text-content h1 {
        font-size: 32px;
        margin-bottom: 10px;
        /* color: #333; */
    }

    .text-content p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 10px;
        /* color: #666; */
    }

    .services {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 20px;
    }

    .service {
        display: flex;
        align-items: center;
        /* background: #fff; */
        /* border: 1px solid #ddd; */
        border-radius: 8px;
        padding: 15px;
        width: 45%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .service img {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }

    .service p {
        margin: 0;
        font-size: 14px;
        /* color: #333; */
    }

    .image-content img {
        max-width: 40%;
        border-radius: 8px;
        align-items: center;
    }
  /* ===================================================================
     CONTACT SECTION
     =================================================================== */
  .contact-section {
    background-color: "white"; /* Darker grey background */
    padding: 20px;
    text-align: center;
  }

  #contact {
    line-height: 1.8; /* Adjust the number as needed */
}
  
  /* ===================================================================
     GALLERY
     =================================================================== */
     #gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin: 20px;
    }
    
    /* The "thumbnail" is just the original image, resized */
    .thumbnail {
      width: 150px;   /* or whatever thumbnail size you like */
      height: 150px;  /* keep it square if you want */
      object-fit: cover;  /* crop to fill the 150x150 space */
      cursor: pointer;
    }
    
  
  /* ===================================================================
     MODAL (FOR GALLERY)
     =================================================================== */
     .modal {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.9);
      align-self: center;
    }
    
    .modal-content {
      margin: auto;
      display: block;
      max-width: 80%;
      max-height: 80%;
      object-fit: contain;
      border: 2px solid #fff;
    }
    
    .close {
      position: absolute;
      top: 15px;
      right: 35px;
      color: #fff;
      font-size: 40px;
      font-weight: bold;
    }
    
    .close:hover, 
    .close:focus {
      color: #bbb;
      cursor: pointer;
    }

     /* ===================================================================
   ADVANTAGES SECTION
   =================================================================== */
.advantages h2 {
  margin-bottom: 10px;
}

.advantage-cmmtq {
align-self: "center";
text-align: "center";
}

  
  /* ===================================================================
     FOOTER
     =================================================================== */
  footer {
    text-align: center;
    padding: 10px;
    background-color: #000000;
    color: #f1f1f1;
    position: fixed; 
    width: 100%;
    bottom: 0;
  }
  
 /* ===================================================================
   SERVICES SECTION & CARDS (GRID LAYOUT)
   =================================================================== */
.services-section {
  text-align: center;            /* Center the heading or any intro text */
  padding: 40px 20px;
  margin: 50px 0;                /* Space above/below the section */
  border-top: 2px solid #000;    /* Optional "ribbon" style */
  border-bottom: 2px solid #000; /* Optional "ribbon" style */
}

/* Heading for the services section */
.services-section h2 {
  margin-bottom: 20px;
  font-size: 2em;
  text-align: left;
}

/* Grid container for cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns by default; adjust as needed */
  gap: 20px;                             /* Space between grid items */
  max-width: 1200px;                     /* Constrain the width so cards aren't too wide */
  margin: 0 auto;                        /* Center the grid container horizontally */
}

/* An individual card */
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* optional, helps push content apart */
  /* background-color: #444444; */
  color: #ffffff;
  border: 2px solid #000;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);     /* Subtle lift on hover (optional) */
}

/* Card images (thumbnails) */
.card img {
  width: 100%;
  height: 150px;      /* Fixed height for a consistent thumbnail look */
  object-fit: cover;  /* Crop the image to fill the 150px space */
  border-radius: 4px;
  margin-bottom: 15px;
  display: block;
}

/* Headings & paragraph inside each card */
.card h3 {
  margin: 0 0 10px;
  font-size: 1.2em;
  color:#000
}

.card p {
  margin-bottom: 15px;
  line-height: 1.4;
}

/* "Learn More" button or link */
.cta-button {
  margin-top: auto; /* Pushes the button to the bottom of the card */
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.cta-button:hover {
  background-color: #0056b3;
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS
   =================================================================== */
/* If you'd like 4 columns on larger screens, you can do repeat(4, 1fr) above. 
   Or let 3 columns remain. Adjust breakpoints as needed. */

/* At around 900px wide, reduce to 2 columns */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* At around 600px wide, reduce to 1 column */
@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  header {
    flex-direction: column;  /* Stack elements vertically */
    align-items: flex-start; /* Align them to the left (or center if you prefer) */
    gap: 10px;               /* Spacing between items */
  }
  /* If you want nav links each on a new line */
  nav {
    margin-top: 10px;
    display: flex;
    flex-direction: column;  /* Stack links vertically */
    align-items: flex-start; /* Or center */
    gap: 10px;               /* Space between links */
  }

  /* Language switcher can also stack, if desired */
  #language-switcher {
    margin-top: 0; /* You can reduce or remove extra margin if stacked */
  }
}

  
  /* ===================================================================
     SERVICE DETAIL (WATER HEATER PAGE, ETC.)
     =================================================================== */
/* Center the container horizontally (if you want a max-width), 
   but let the text remain left-aligned. */
   .centered-container {
    max-width: 800px; 
    margin: 0 auto;
    padding: 20px;
    /* Do NOT use text-align: center here if you want left-aligned text */
  }
  
  /* Ensure the main text is left-aligned in .service-detail */
  .service-detail {
    text-align: left; 
  }
  
  /* Center only the water heater image */
  .service-page-image {
    display: block;
    margin: 20px auto; /* This centers the image itself horizontally */
    max-width: 100%;
    height: auto;
  }
  
  /* ===================================================================
     GENERIC CTA BUTTON (IF REUSED OUTSIDE CARDS)
     =================================================================== */
  .cta-button {
    display: inline-block;
    background-color: #007BFF;
    color: #ffffff;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #0056b3;
  }
  
  /* ===================================================================
     CENTERED CONTAINER WITH LEFT-ALIGNED TEXT (OPTIONAL UTILITY CLASS)
     =================================================================== */
  .centered-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: left; /* Keep text left-aligned if desired */
  }
  