/********** Template CSS **********/
body {
   font-family: 'Poppins', sans-serif !important;
  overflow-x: hidden;
}

:root {

  /* --primary: #d5af33; */
  --primary: #E6FC81;
  --secondary: #fbfbfb !important;
  --light: #f8f8f8;
  --dark: #252525;
}

.text-secondary {
  color: var(--secondary) !important;
}

.bg-secondary {
  background: var(--secondary) !important;
}

.bg-second {
  background-color: #fafafa !important;
}

h1,
.h1 {


font-weight: 700;
font-family: 'Poppins', sans-serif !important;
}

@media (max-width: 768px) {

}

h2,
.h2 {
color: #414040;
font-weight: 700;
font-family: 'Poppins', sans-serif !important;
}

@media (max-width: 768px) {
 
}

h3,
h4,
.h3,
.h4,
.fw-medium {
   font-family: 'Poppins', sans-serif !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
   font-family: 'Poppins', sans-serif !important;
}

p,
.p {
color: #5A5959;
font-family: 'Poppins', sans-serif !important;
}

ul,
li {
   font-family: 'Poppins', sans-serif !important;
}



figure{
	margin: 0;
}

img{
	max-width: 100%;
}

a{
	text-decoration: none;
}

a:hover{
	text-decoration: none;
	outline: 0;
}

a:focus{
	text-decoration: none;
	outline: 0;
}

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


/* Images Animation */

.image-anime{
	position: relative;
	overflow: hidden;
}

.image-anime:after{
	content: "";
	position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255,255,255,.3);
    transform: translate(-50%,-50%) rotate(-45deg);
    z-index: 1;
}

.image-anime:hover:after{
    height: 250%;
    transition: all 600ms linear;
    background-color: transparent;
}

.reveal{
	position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    visibility: hidden;
    overflow: hidden;
}

.reveal img{
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transform-origin: left;
    transform-origin: left;
}

.what-we-image-1 figure img{
	width: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.what-we-image-1 figure img{
	aspect-ratio: 1 / 0.73;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary {
  color: #000;
  background-color: var(--primary);
  border-radius: 10px;
  font-weight: 600 !important;
}

.btn-secondary {
  color: #000;
  padding: 12px 40px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  font-weight: 600 !important;
  border-color: #fff;
}

.btn-secondary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #000;
}

.btn-square {
  width: 38px;
  height: 38px;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn-outline-body {
  color: var(--primary);
  border-color: #777777;
}

.btn-outline-body:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.shop-btn {
  padding: 10px 25px 10px 25px !important;
}



/* Title with underline */
.section-title-2 {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title-2::after {
  content: "";
  display: block;
  width: 200px;
  height: 5px;
  background-color: var(--primary);
  margin-top: 20px;
}

.section-title-3 {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  text-align: center;
}

.section-title-3::after {
  content: "";
  display: block;
  width: 200px;
  height: 5px;
  background-color: var(--primary);
  margin: 20px auto 0 auto;
  /* ✅ This centers the line */
}



/* **************************************** */
/* Responsive Screens */
/* **************************************** */


@media (max-width: 768px) {

  /* ************************ */
  /* Globally Fonts */
  /* ************************ */

    h1,
  .h1 {
    font-size: 24px;

  }

 h2,
  .h2 {
    font-size: 24px !important;

  }

  p,
  .p {

    font-size: 15px;
  }


  .section-title-2::after {
    width: 100px;
    margin-top: 10px !important;
  }

  .section-title-3::after {
    width: 100px;
    margin-top: 10px !important;
  }
}

/* ************
header styles 
************** */
/* Custom unique scope for Electricity Ratings Header */
.er-custom-navbar {
  background-color: #ffffff;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1000;
}

.er-navbar-container {
 display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.er-brand-wrapper {
  padding: 0;
  display: flex;
  align-items: center;
}

.er-main-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
/* Centered Navigation Links */
.er-nav-list {
  gap: 0.5rem;
  margin: 0 auto;
}

.er-contact-link {
  color: #333333 !important;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease-in-out;
}

.er-contact-link:hover, 
.er-contact-link:focus,
.er-contact-link.active-link {
  color: #003d66 !important;
}

/* Call Now Header Button */
.er-nav-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #005691;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  border: none;
}

.er-nav-call-btn:hover {
  background-color: #003d66;
  box-shadow: 0 4px 10px rgba(255, 69, 0, 0.3);
  transform: translateY(-1px);
}

/* Custom Visible Toggler Icon */
.er-menu-toggle {
  border: 1px solid #e2e8f0 !important;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.er-menu-toggle:focus {
  box-shadow: none;
}

.er-toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333333;
  border-radius: 2px;
}

/* Mobile Responsiveness Rules */
@media (max-width: 991.98px) {
  .er-menu-collapse {
    margin-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.75rem;
    text-align: center;
  }

  .er-nav-list {
    flex-direction: column;
    padding-bottom: 0.5rem;
  }

  .er-contact-link {
    padding: 0.6rem 0 !important;
  }

  .er-btn-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  /* On very small mobile screens, shorten button text for clean fit */
  .er-btn-text {
    font-size: 0.75rem;
  }
  .er-nav-call-btn {
    padding: 0.45rem 0.8rem;
  }
}
/* Mobile Layout Tweaks */
@media (max-width: 575.98px) {
  .er-main-logo {
    max-height: 38px; /* Slightly reduce logo height on narrow screens */
  }

  .er-nav-call-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* ****************
header styles end 
***************** */

