/* GLOBAL CSS */

* {
  margin: 0;
  padding: 0;
  /* caret-color: transparent; */

}

/* COLOR VARIABLES */
:root {
  --wattslim-green: #46ae4e;
  --wattslim-yellow: #ffcf43;
  --wattslim-slate: #373f47;
  --wattslim-blue: #6c91c2;
  --wattslim-grey: #f5f0f6;

}

button,
a {
  cursor: pointer;
  text-decoration: none;
  border: none;
}

li {
  list-style: none;
}

#main {
  padding: 0;
}

body {
  color: var(--wattslim-slate);
  background-color: var(--wattslim-grey);
  font-family: "alte_haas_groteskregular";
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--wattslim-slate);
  font-family: "kanitsemibold";
}

h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

/* HEADER */
/* Initial transparent header (60% opacity) */
#header {
  overflow: hidden;
  background-color: var(--wattslim-green) !important;
  position: fixed;
  z-index: 99;
  top: 0;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  transition: background-color 0.4s ease;
}

nav#global-navbar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  /* padding: 0 0 0 30px; */
}

nav#global-navbar {
  display: flex;
  justify-content: space-between;
}

#logo-container {
  display: inline-block;
}

#nav-container {
  display: inline-block;
  align-self: center;
  position: relative;
}

#nav-container #navbar-items {
  display: flex;
  justify-content: end;
  align-items: end;
  gap: 35px;
  margin-bottom: 0;
  flex-wrap: nowrap;
  padding: 20px 20px;
}

#nav-container #navbar-items li {
  padding: 0;
}

#navbar-items li a {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

@media screen and (max-width: 1280px) {
  #navbar-items li a {
    font-size: 1.2vw;
    /* 14px */
    white-space: nowrap;
  }
}

.major-header div p {
  font-weight: normal;
  font-style: normal;
}

/* FOOTER */
.site-footer {
  padding: 2rem;
  background-color: var(--wattslim-green);
  border-top: 1px solid #ddd;
  margin: auto;
}

.site-footer .container {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-left {
  max-width: 50%;
}

.footer-left h3 {
  margin: 20px 0 5px 0;
  color: white;
  padding: 0 !important;
}

.footer-left p {
  margin: 00px 0 5px 0;
  color: white;
}

.footer-right {
  max-width: 40%;
}

.footer-right #footer-navbar-items li {
  padding: 0 !important;
}

.footer-right #footer-navbar-items li a {
  color: var(--wattslim-yellow);
}

.footer-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.footer-text {
  flex: 1;
  min-width: 280px;
  color: white;
}

.footer-text p {
  font-size: 1rem;
  color: white;
  margin: 0;
  line-height: 1.6;
}

.footer-text a {
  font-size: 1rem;
  color: white;
  margin: 0;
  line-height: 1.6;
}

#footer-copyright {
  margin: 0 auto;
}

#footer-copyright p {
  color: white;
}

/* CIRCLE */
.circle {
  width: 24px;
  height: 24px;
  border: 2px solid #333;
  /* You can adjust the color */
  border-radius: 50%;
  background-color: transparent;
  margin: auto;
  margin-bottom: 30px;
  margin-top: 30px;
}

/***************** Home Page ****************/
/* HERO section CSS */
#hero {
  height: 100%;
  width: 100%;
}

#hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: auto;
  margin-top: 0px !important;
}



/* THREE COLS SECTION */

#energy-saving {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

.section-service {
  text-align: center;
  margin-bottom: 40px;
  height: 10rem;
}

.section-service p {
  font-size: 18px;
  font-weight: 400;
  color: #555;
  max-width: 800px;
  margin: auto;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.card {
  flex: 1 1 30%;
  box-sizing: border-box;
  text-align: left;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--wattslim-yellow);
  padding: 20px;
  border-radius: 10px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.card-header svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  vertical-align: middle;
}

.card-header h3 {
  margin: 0;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border: 1px solid #ccc;
}

.card h3 {
  font-size: 18px;
  line-height: 1.5;
}

.card p {
  font-size: 16px;
  color: #444;
}

.card p,
h3 {
  padding: 0px 10px 0px 10px !important;
}

/* 3 watsllim */

.watt-slim-benefits {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--wattslim-blue);
}

.watt-slim-benefits h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 40px;
}

.benefits-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.25rem;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 25px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.benefit-item p {
  margin: 0;
  color: white;
  font-weight: 500;
}

.checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* MAP */
.service-area {
  padding: 40px 20px;
}

.area-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* two equal parts */
  gap: 20px;
  /* space between columns */
  align-items: center;
}

.location-icon svg {
  width: 36px;
  height: 36px;
  margin-top: 13px;
}

.area-map {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.area-map img {
  max-width: 100%;
  height: auto;
  flex: 1 1 300px;
}

.area-description {
  flex: 1 1 300px;
  max-width: 500px;
  margin-left: 5rem;
}

.area-heading {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  display: flex;
  align-items: start;
  gap: 8px;
}



.area-text-box {
  padding: 15px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--wattslim-slate);
}


/* HOME KMO */
/* Section background and spacing */
.home-kmo-section {
  background-color: #6c8ebf;
  /* match your blue from image */
  padding: 60px 20px;
}

/* Container flex layout */
.home-kmo-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* vertically center text and image */
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

/* Text column */
.home-kmo-text {
  flex: 1 1 500px;
  /* responsive width */
  color: #384049;
  /* text color */
  text-align: center;
}

.home-kmo-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: white;
  text-align: center;
}

.home-kmo-text p {
  font-size: 1em;
  line-height: 1.6;
}

/* Image column */
.home-kmo-img {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.home-kmo-img img {
  max-width: 100%;
  height: auto;
}


/* ABOUT STORY */

.about-story-section {
  padding: 4rem 2rem;
}

.about-story-section .container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-story-logo {
  flex: 0 0 auto;
  text-align: center;
}

.about-story-logo img {
  height: auto;
  width: 236px;
  margin-bottom: 0px;
  margin-right: 0px !important;
  margin-top: 0px;
  object-fit: contain;
  border: none !important;
}

.about-story-logo .logo-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #444;
}

.about-story-text {
  flex: 1;
  min-width: 280px;
}

.about-story-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

/* .swiper {
  width: 600px;
  height: 300px;
} */
.swiper-slide {
  height: 660px;
}

/***************** Home Page Ends ****************/

/* 11-08-25 */
.footer-copy-right {
  background-color: var(--wattslim-green);
  color: white;
  font-weight: 300;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: row;
}

.footer-text h2,
.my-footer-right div ul li a,
.my-footer-right div h4,
.my-footer-right div p,
.footer-copy-right div a {
  color: white;
}

.my-footer-right div ul {
  margin-left: 0;
  list-style: none;
  color: white !important;
}

.my-footer-container {
  padding: 70px 0px 0px 0px;
}

#content {
  padding-bottom: 0rem !important;
}

/* ------------------- Contact form -------------------*/
/* #my-contact-form {
    background-image: url("../../../../../images/contact-bg.jpg");
    background-size: cover;
    background-position: center;
    padding: 20px 0px 50px 0px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  } */

#my-contact-form h4 {
  color: white;
  font-family: 'kanitsemibold';
  font-size: 40px;
  line-height: 50px;
  text-align: center;
  padding: 60px 0px 20px 0px !important;
  margin-top: 70px;
}

#my-contact-form form {
  width: 50%;
  margin: auto;
  background-color: #eeeeee;
  border-radius: 10px;
  padding: 30px;
}

.simple-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

.simple-form h2 {
  margin-bottom: 5px;
  font-size: 22px;
}

.simple-form p {
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
}

.simple-form .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.simple-form .form-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 15px;
}

.simple-form label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
  font-size: 14px;
}

.simple-form input[type="text"],
.simple-form input[type="email"],
.simple-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.simple-form input[type="text"]:focus,
.simple-form input[type="email"]:focus,
.simple-form textarea:focus {
  border-color: 46ae4e;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
  outline: none;
}

.simple-form textarea {
  min-height: 120px;
  resize: vertical;
}

.simple-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.simple-form .checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.simple-form .checkbox-label a {
  color: 46ae4e;
  text-decoration: none;
}

.simple-form .checkbox-label a:hover {
  text-decoration: underline;
}

.simple-form button {
  padding: 12px 25px;
  background-color: #46ae4e;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.simple-form button:hover {
  background-color: #24672c;
  transform: translateY(-2px);
}

/* -------Contact form end -------- */

#hero .my-hero-div {
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  margin: auto;
  margin-top: 0px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.my-hero-div .hero-text {
  position: absolute;
  bottom: 40px;
  right: 40px;
  max-width: 800px;
  background-color: rgb(55, 63, 71, 0.5);
  padding: 20px;
  border-radius: 8px;
  color: white;
  z-index: 1;
}

.my-hero-div .hero-text h1,
.my-hero-div .hero-text p {
  margin: 0 0 10px;
  color: white;
  font-family: 'kanitsemibold';
}

.my-hero-div .hero-text p {
  font-family: sans-serif;
  /* adjust as needed */
  line-height: 1.4;
}

/* Accordian CSS */

.accordion {
  max-width: 700px;
  margin: auto;
  border-bottom: 1px solid #ccc;
}

.accordion-item {
  border-bottom: 1px solid #ccc;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
}

.accordion-header h3 {
  font-size: 28px;
  font-weight: 400;
  margin: 0;
  padding-left: 0px !important;
}

.icon {
  position: relative;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  /* rotate smoothly */
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  background-color: black;
  transition: transform 0.3s ease;
}

.icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.accordion-header.active .icon {
  transform: rotate(180deg);
  /* rotate icon when active */
}

.accordion-header.active .icon::after {
  transform: translateX(-50%) scaleY(0);
  /* hide vertical line → becomes minus */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 0 0 15px;
  margin: 0;
  line-height: 1.6;
  font-family: 'kanitregular';
}

/* FAQ Section */
.my-faq {
  padding: 4rem 2rem;
}

.my-faq-left h1 {
  font-size: 40px;
  padding-top: 18px;
}

.lower-para h3 {
  font-size: 30px;
  font-weight: 400;
  padding-left: 0px !important;
}

.lower-para p {
  font-family: 'kanitregular';
}



/* Hide default Swiper arrows */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* Common styles for both arrows */
.swiper-button-prev,
.swiper-button-next {
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.swiper-button-prev {
  background-image: url('/images/arrow-left.svg');
}

.swiper-button-next {
  background-image: url('/images/arrow-right.svg');
}

.swiper-pagination span.swiper-pagination-bullet {
  background-color: color-mix(in srgb, var(--wattslim-yellow) 60%, white);
  width: 16px;
  height: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: color-mix(in srgb, var(--wattslim-yellow) 80%, black);
}

.text-green {
  color: var(--wattslim-green);
}

.contact-btn {
  padding: 12px 25px;
  background-color: var(--wattslim-green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.contact-btn:hover {
  background-color: #24672c;
  /* darker green on hover */
  transform: translateY(-2px);
}

/* --------Scroll to top------ */

#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--wattslim-green);
  color: #fff;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s, opacity 0.3s, transform 0.2s;
  opacity: 0;
  pointer-events: none;
  /* hidden by default */
  z-index: 999;
}

#scrollToTop:hover {
  background-color: #24672c;
  transform: translateY(-3px);
}

/* -------- */
.contact-details {
  color: white;
}

#titleBar {
  display: none !important;
}

#hamburger {
  display: none;
  cursor: pointer;
}

#hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

#close-menu {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}

#nav-container-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  max-width: 280px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  padding-top: 50px;
  overflow-y: auto;
  display: none;
}

#nav-container-mobile.active {
  transform: translateX(0);
}

#navbar-items-mobile {
  list-style: none;
  padding: 0;
  margin: 0;
}

#navbar-items-mobile li {
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid #e0e0e0;
}

#navbar-items-mobile li:last-child {
  border-bottom: none;
}

#navbar-items-mobile a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.heading-footer {
  margin-top: 0px;
}

.image-footer {
  display: inline-block;
}

.responsive-column {
  width: 300px;
  max-width: 300px;
}

.responsive-column-footer {
  width: 200px;
  max-width: 200px;
}

@media (max-width: 768px) {

  .area-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .area-map {
    width: 100% !important;
    height: 300px;
    margin-left: 0 !important;
  }

  .area-description {
    margin-left: 0;
    max-width: 100%;
    padding: 0 10px;
  }

  .area-heading h2 {
    font-size: 18px;
  }

  .area-text-box {
    font-size: 14px;
    padding: 10px;
  }

  .location-icon svg {
    width: 28px;
    height: 28px;
    margin-top: 6px;
  }

  #hero {
    height: auto;
  }

  .my-hero-div {
    background-size: cover;
    background-position: center;
    min-height: 400px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  .hero-text p {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* .home-kmo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 15px;
    gap: 25px;
  } */

  .home-kmo-text h2 {
    font-size: 1.8rem;
  }

  .home-kmo-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .home-kmo-img img {
    max-width: 220px;
    height: auto;
  }

  .my-faq {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    padding: 2rem 1rem;
  }

  .my-faq-left {
    max-width: 100%;
  }

  .my-faq-left h2 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .lower-para h3 {
    font-size: 1.1rem;
    margin-top: 0.8rem;
  }

  .contact-btn {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .my-faq-right {
    width: 100%;
    max-width: 600px;
  }

  .accordion-header h3 {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    padding-left: 0px !important;
  }

  nav#global-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
  }

  #header {
    overflow: hidden;
    background-color: rgba(44, 142, 60, 0.8) !important;
    position: sticky;
    z-index: 99;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: background-color 0.4s ease;
  }

  #my-contact-form form {
    width: 90%;
  }

  .simple-form .form-row {
    display: flex;
    flex-direction: column;
  }

  #my-contact-form h3 {
    font-size: 2rem;
    line-height: 1.5;
  }

  .cards {
    margin-top: 150px;
    flex-direction: column;
  }

  .my-hero-div .hero-text {
    position: absolute;
    bottom: 40px;
    right: 5px;
    left: 5px;
  }

  #hero .my-hero-div {
    height: 50vh;
  }

  .swiper-button-prev {
    left: -20px !important;
  }

  .swiper-button-next {
    right: -20px !important;
  }

  .my-footer-container {
    padding: 50px 0px 0px 20px;
  }

  #energy-saving {
    max-width: 100%;
    overflow-x: hidden;
  }

  #nav-container {
    display: none;
  }

  #hamburger {
    display: block;
  }

  #close-menu {
    display: block;
  }

  #nav-container-mobile {
    display: block;
  }

  .heading-footer {
    margin-top: 20px;
  }

  .image-footer {
    display: none;
  }

  .responsive-column {
    width: 100%;
    max-width: 100%;
  }

  .responsive-column-footer {
    width: 100%;
    max-width: 100%;
  }

  .footer-copy-right {
    flex-direction: column;
  }

  .logo-watsllim {
    max-width: 500px;
  }

  .my-footer-container {
    display: flex;
    flex-direction: column;
  }
}

@media (width <=840px) {
  #skel-layers-wrapper {
    padding-top: 0px !important;
  }
}

@media (max-width: 480px) {

  .my-hero-div {
    min-height: 320px;
    padding: 1rem;
  }

  .hero-text h1 {
    font-size: 1.4rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .area-map {
    height: 250px;
  }

  .area-heading h2 {
    font-size: 16px;
  }

  .area-text-box {
    font-size: 13px;
  }

  .home-kmo-text h2 {
    font-size: 1.5rem;
  }

  .home-kmo-text p {
    font-size: 0.95rem;
  }

  .my-faq-left h2 {
    font-size: 1.2rem;
  }

  .lower-para h3 {
    font-size: 1rem;
  }

  .contact-btn {
    font-size: 0.85rem;
  }
}

p.footer_config_content a {
  color: white;
  text-decoration: underline;
}

.contact-hr {
  justify-self: left;
  border-top-width: 2px;
  border-top-style: solid;
  border-color: #FFCF43;
  width: 30%;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .contact-hr {
    justify-self: center;
  }
}