/********** Template CSS **********/
:root {
    --primary: #FEA400;
    --secondary: #525368;
    --light: #f5f4e8;
    --dark: #FA5500;
}

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

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


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

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/* Top bar icon color */
.topbar i,
.topbar span {
  color: #ffffff;
}

/* Social icons */
.topbar .btn-link {
  color: #FEA400 !important;
}

.topbar .btn-link:hover {
  color: #D98C00 !important;
}

/* Optional: subtle hover background */
.topbar .btn-link:hover {
  background: rgba(254, 164, 0, 0.15);
}

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

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.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;
}

.nav-logo {
    height: 25vh;   /* Scales with screen height */
    width: auto;
}
/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(183, 125, 96, 0.6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background:
  linear-gradient(
      rgba(183, 125, 96, 0.6),
      rgba(183, 125, 96, 0.6)
    ),
  url(../img/carousel-1.jpg) center center / cover no-repeat;}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
  background:
    linear-gradient(
      rgba(183, 125, 96, 0.6),
      rgba(183, 125, 96, 0.6)
    ),
    url(../img/your-image.jpg) center center / cover no-repeat;
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(250, 85, 0, 1);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(254, 164, 0, 0.35);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #1a1206;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

/*** Custom Css ***/
.solar-btn-white {
  color: #ffffff !important;
  border: 2px solid #ffffff;
  background-color: transparent;
}

.solar-btn-white:hover {
  background-color: #ffffff;
  color: #000000 !important;
}

.highlight-years {
  display: inline-block;
  padding: 6px 14px;
  margin-left: 6px;
  background: rgba(250, 200, 122, 1); /* solar green */
  color: #fff;
  border-radius: 6px;
  font-size: 0.9em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.installation-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.installation-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 6px;

  background: linear-gradient(
    90deg,
    #FEA400,
 #FFBE4D,
 #FEA400

  );

  background-size: 200% 100%;
  animation: flowLine 5s ease-in-out infinite;
}

/* Smooth flowing animation */
@keyframes flowLine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/*** popup css ***/
/* Overlay */
.solar-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.highlight-years {
  animation: pulse 2.5s infinite;
}


.fact-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(254, 164, 0, 0.15);/* solar green tint */
  display: flex;
  align-items: center;
  justify-content: center;
}

.fact-icon i {
  font-size: 30px;
  color: #E69500; /* solar green */
}
.fact-icon i:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
  color: #fff;
}


.feature-box {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.12);
}



img[src$=".gif"] {
  border-radius: 12px;
}


/* Popup box */
.solar-popup {
  background: #fff;
  width: 90%;
  max-width: 760px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  animation: popupFade 0.4s ease;
}

@keyframes popupFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Close */
.solar-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 26px;
  cursor: pointer;
  z-index: 5;
}

/* Split layout */
.solar-popup-split {
  display: flex;
}

/* LEFT */
.solar-popup-left {
  width: 50%;
  background: #f5f7f9;
}

.solar-popup-left img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.solar-popup-text {
  padding: 20px;
  text-align: center;
}

.solar-popup-text h3 {
  margin-bottom: 5px;
}

.solar-popup-text h5 {
  color: #E69500;
  margin-bottom: 10px;
}

.solar-popup-text p {
  font-size: 14px;
  color: #555;
}

/* RIGHT */
.solar-popup-right {
  width: 50%;
  padding: 30px 25px;
}

.solar-popup-right h4 {
  margin-bottom: 15px;
  text-align: center;
}

/* Form */
.solar-popup-right form input {
  width: 100%;
  padding: 11px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.solar-popup-right form button {
  width: 100%;
  padding: 12px;
  background: #E69500; /* match website solar green */
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}

.solar-popup-right form button:hover {
  background: #D98C00;
}

/* Responsive */
@media (max-width: 768px) {
  .solar-popup-split {
    flex-direction: column;
  }

  .solar-popup-left,
  .solar-popup-right {
    width: 100%;
  }
}

/* Disable on very small screens */
@media (max-width: 480px) {
  .solar-popup-overlay {
    display: none !important;
  }
}
.project-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.project-modal {
  background: #fff;
  width: 90%;
  max-width: 850px;
  border-radius: 12px;
  overflow: hidden;
  animation: modalFade 0.4s ease;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Overlay */
.project-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 15px;
}

/* Modal box */
.project-modal {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  animation: modalFade 0.35s ease;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Close button */
.project-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.project-modal-close:hover {
  background: #E69500;
  transform: rotate(90deg);
}

/* Meta list */
.project-meta {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.project-meta li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* Image fit */
.object-fit-cover {
  object-fit: cover;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .project-modal {
    max-width: 100%;
  }
}
/* Portfolio card */
.portfolio-inner {
  position: relative;
  overflow: hidden;
  height: 320px;          /* fixed card height */
  border-radius: 12px;
}

/* Image fix */
.portfolio-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* prevents distortion */
  transition: transform 0.4s ease;
}
/* Tablets */
@media (max-width: 992px) {
  .portfolio-inner {
    height: 280px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .portfolio-inner {
    height: 240px;
  }
}


/* Team Card */
.team-item {
  position: relative;
  overflow: hidden;
  height: 520px;              /* fixed card height */
  border-radius: 12px;
  background: #fff;
}

/* Team Image */
.team-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* prevents distortion */
  transition: transform 0.4s ease;
}

/* Hover zoom (subtle) */
.team-item:hover img {
  transform: scale(1.05);
}

/* Text Overlay */
.team-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

/* Social icons */
.team-social {
  justify-content: center;
  margin-top: 10px;
}

.team-social a {
  background: #E69500;       /* solar green */
  color: #fff;
  width: 36px;
  height: 36px;
}

.team-social a:hover {
  background: #E69500;
}

/* Responsive heights */

/* Tablet */
@media (max-width: 992px) {
  .team-item {
    height: 380px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .team-item {
    height: 320px;
  }
}

/* Solar dropdown styling */
/* ===== MEGA MENU ===== */
/* ===== MEGA MENU ===== *//* ===============================
   MEGA DROPDOWN – ROOFTOP SOLAR
   =============================== */

/* Make dropdown full-width safe */
.dropdown-mega {
  position: static;
}

/* Main dropdown box */
.dropdown-mega .mega-menu {
  width: 760px;
  max-width: 95vw;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

  /* Prevent overflow on right */
  left: auto !important;
  right: 0 !important;
}

/* Content wrapper */
.mega-content {
  display: flex;
  overflow: hidden;
  border-radius: 12px;
}

/* ================= LEFT PANEL ================= */
.mega-left {
  width: 35%;
  padding: 22px;
  background: #f8f9fa;
}

.mega-title {
  font-size: 16px;
  font-weight: 600;
  color: #FEA400;
  margin-bottom: 16px;
  border-bottom: 2px solid #FEA400;
  display: inline-block;
  padding-bottom: 4px;
}

/* Category links */
.mega-link {
  display: block;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 6px;
  text-decoration: none;
  color: #1a1206;
  font-size: 14px;
  transition: background 0.25s ease;
}

.mega-link:hover,
.mega-link.active {
  background: rgba(254, 164, 0, 0.12);
}

/* ================= RIGHT IMAGE ================= */
.mega-right {
  width: 65%;
  position: relative;
}

.mega-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= MOBILE FALLBACK ================= */
@media (max-width: 991px) {

  .dropdown-mega .mega-menu {
    position: static !important;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  .mega-content {
    flex-direction: column;
  }

  .mega-left {
    width: 100%;
  }

  .mega-right {
    display: none; /* hide image on mobile */
  }
}
/* ===== RIGHT IMAGE FIX ===== */
/* RIGHT IMAGE AREA */
.mega-right {
  width: 65%;
  padding: 20px;
  background: #ffffff;
  display: block;              /* 👈 IMPORTANT */
}

/* Image fixed size */
.mega-right img {
  width: 100%;
  max-width: 420px;            /* prevents expansion */
  height: 240px;               /* fixed height */
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;              /* center image */
}

/* Caption BELOW image */
.mega-caption {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1206;
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* Small accent line above text */
.mega-caption::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #FEA400;
  margin: 0 auto 8px;
  border-radius: 2px;
}
/* ================= MOBILE MEGA MENU ================= */
@media (max-width: 991px) {

  /* Hide image completely */
  .mega-right {
    display: none;
  }

  /* Caption styling for mobile */
  .mega-caption {
    margin: 10px 0 0;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    color: #1a1206;
    background: rgba(254, 164, 0, 0.12);
    border-radius: 6px;
  }

  /* Remove decorative line on mobile */
  .mega-caption::before {
    display: none;
  }
}

/* ================= SOLAR CALCULATOR ================= */
/* ================= SOLAR CALCULATOR SECTION ================= */
.solar-calc-section {
  background: #245b7a;
  padding: 60px 20px;
  color: #fff;
}

.solar-calc-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

/* LEFT */
.solar-calc-left h2 {
  color: whitesmoke;
  font-size: 42px;
  font-weight: 700;
}
.solar-calc-left h2 span { color: whitesmoke; }
.solar-calc-left p { margin: 15px 0 25px; opacity: 0.9; }

.solar-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.solar-tabs button {
  flex: 1;
  padding: 12px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #1e4d68;
  color: #fff;
}
.solar-tabs button.active {
  background: #FEA400;
  color: #1a1206;
}

.bill-box {
  background: #fff;
  color: #000;
  border-radius: 12px;
  padding: 16px;
}
.bill-input { font-size: 24px; font-weight: 700; }
.bill-input input {
  border: none;
  outline: none;
  width: 120px;
  font-size: 24px;
  font-weight: 700;
}

/* RIGHT */
.solar-calc-right { display: flex; flex-direction: column; gap: 20px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.stat-card {
  background: #fff;
  color: #1a1206;
  padding: 18px;
  border-radius: 14px;
}
.stat-card.highlight h3 {
  background: #3867d6;
  color: #fff;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
}

.cost-card {
  background: #fff;
  color: #1a1206;
  border-radius: 16px;
  padding: 20px;
}
.cost-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cost-result span { color: #1f7a1f; }

/* CTA */
.solar-cta-btn {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  background: #FEA400;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

/* MODAL */
.solar-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
/* ===== LEAD MODAL POLISH ===== */
.solar-modal-content {
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  animation: modalPop 0.3s ease;
}

@keyframes modalPop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.solar-modal-content h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1a1206;
}

.solar-modal-sub {
  margin: 10px 0 18px;
  font-size: 14px;
  color: #555;
}

.solar-modal-content input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.solar-modal-content input:focus {
  border-color: #FEA400;
  outline: none;
  box-shadow: 0 0 0 3px rgba(254,164,0,0.2);
}

.solar-modal-btn {
  width: 100%;
  padding: 14px;
  background: #FEA400;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.solar-modal-btn:hover {
  background: #D98C00;
}

.solar-modal-note {
  margin-top: 12px;
  font-size: 12px;
  color: #777;
}

/* Close button */
.solar-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}


/* RESPONSIVE */
@media (max-width: 992px) {
  .solar-calc-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}





/* ================= SOLAR HERO (SHARED) ================= */

/* ================= SOLAR HERO (IMAGE + OVERLAY) ================= */

.solar-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay */
.solar-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* 👈 control darkness here */
  z-index: 1;
}

/* Content */
.solar-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 80px 20px;
  margin: auto;
}

.solar-hero__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  background: rgba(254, 164, 0, 0.85);
  color: #000;
}

.solar-hero__title {
  color: #ccc;
  font-size: 44px;
  line-height: 1.2;
  max-width: 700px;
}

.solar-hero__subtitle {
  margin-top: 16px;
  max-width: 650px;
  font-size: 16px;
  opacity: 0.9;
}

.solar-hero__actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= HERO BACKGROUND VARIANTS ================= */

/* Residential */
.solar-hero--residential {
  background-image: url("../img/reshero1.cms");
}

/* Commercial */
.solar-hero--commercial {
  background-image: url("../img/commercialhero.jpg");
}

/* Society */
.solar-hero--society {
  background-image: url("../img/societyhero.jpg");
}
/* Contact Hero */
.solar-hero--contact{
  background-image: url("../img/contacthero1.jpg");
}

.solar-hero--about {
  background-image: url("../img/aboutushero.jpg");
}
/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .solar-hero {
    min-height: 60vh;
  }

  .solar-hero__title {
    font-size: 32px;
  }

  .solar-hero__content {
    padding: 60px 16px;
  }
}





/* ================= WHY US – GLASS DESIGN ================= */
/* ================= WHY US SECTION ================= */

.why-us-glass {
  padding: 90px 20px;
  color: #fff;
}

.why-us-header {
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-bottom: 60px;
}

.why-us-header h2 {
  font-size: 36px;
}

.why-us-header p {
  opacity: 0.85;
}

/* ================= GRID ================= */

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

/* ================= CARD BASE ================= */

.why-card {
  position: relative;
  height: 230px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* ================= TOP CONTENT ================= */

.why-card-top {
  position: relative;
  z-index: 2;
}

.why-card h4 {
  font-size: 18px;
  margin: 12px 0 0;
  
}

/* ================= ICON ================= */

.why-card-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

.why-card-icon-wrap img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(1.2);
}

.why-card:hover .why-card-icon-wrap {
  background: rgba(254, 164, 0, 0.25);
}

/* ================= HOVER PANEL ================= */

.why-card-hover {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100%;
  padding: 20px;
  background: linear-gradient(
    180deg,
    rgba(250, 221, 141, 0.85),
    rgba(183, 125, 96, 0.6)
  );
  transition: bottom 0.4s ease;
  z-index: 1;
}

.why-card:hover .why-card-hover {
  bottom: 0;
}

.why-card-hover p {
  margin: 0;
  font-size: 14px;
  opacity: 0.95;
  color: #000;
}

/* ================= FEATURED CARD (MEMBER APP) ================= */

.why-card.featured {
  border: 1px solid rgba(254, 164, 0, 0.6);
  background: rgba(254, 164, 0, 0.15);
}

.why-card.featured::after {
  content: "Premium";
  position: absolute;
  top: 16px;
  right: 16px;
  background: #FEA400;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 20px;
  z-index: 3;
}

/* ================= MEMBER APP BACKGROUND ================= */
.why-card-app {
  position: relative;
  min-height: 230px;

  /* IMPORTANT: override background */
  background: url("../img/member.png") center / cover no-repeat !important;

  border: none;
  padding: 0;
}
.why-card-app-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 1;
}

.why-card-app-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.why-card-app h4 {
  color: #fff;
}
/* Hover override for app */
.why-card-app .why-card-hover {
  background: linear-gradient(
    180deg,
    rgba(254, 164, 0, 0.85),
    rgba(217, 140, 0, 0.95)
  );
  color: #000;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .why-card {
    height: auto;
  }

  .why-card-hover {
    position: relative;
    bottom: 0;
    background: none;
    padding: 12px 0 0;
  }

  .why-card-hover p {
    color: #fff;
  }
}






.solar-calc-extra-actions {
  display: flex;
  gap: 16px;
  margin-top: 25px;
  flex-wrap: wrap;
}

/* OUTLINE BUTTON */
.solar-btn-outline {
  flex: 1;
  padding: 14px;
  border-radius: 10px;
  background: transparent;
  border: 2px solid #FEA400;
  color: #FEA400;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.solar-btn-outline:hover {
  background: #FEA400;
  color: #000;
}

/* PRIMARY BUTTON */
.solar-btn-primary {
  flex: 1;
  padding: 14px;
  border-radius: 10px;
  background: #FEA400;
  border: none;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.solar-btn-primary:hover {
  background: #D98C00;
}

.emi-inline-box {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.emi-label {
  font-size: 14px;
  opacity: 0.9;
}

.emi-value {
  font-size: 16px;
  font-weight: 700;
  color: #FEA400;
}
.emi-tenure-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.emi-tenure-box label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.emi-tenure-box input[type="range"] {
  width: 100%;
  cursor: pointer;
}

.emi-tenure-range {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}

/* Founder page animation */
.founder-gallery {
    transition: 0.4s ease;
}

.founder-gallery:hover {
    transform: scale(1.05);
}

.team-item {
    transition: 0.4s ease;
}

.team-item:hover {
    transform: translateY(-8px);
}


/* Brand animation */
.brand-slider {
    overflow: hidden;
    position: relative;
}

.brand-track {
    display: flex;
    width: max-content;
    animation: scrollBrands 25s linear infinite;
}

.brand-item {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;              /* Fixed container height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-height: 70px;           /* Control logo height */
    max-width: 100%;
    width: auto;
    object-fit: contain;        /* Keeps ratio clean */
}


.brand-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Infinite Animation */
@keyframes scrollBrands {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.brand-slider:hover .brand-track {
    animation-play-state: paused;
}




/*Contact Page*/
.contact-section {
  background: #f9f9f9;
}

.contact-map-box {
  height: 100%;
  min-height: 420px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.contact-info-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-item i {
  color: #f39c12;
  font-size: 18px;
  margin-top: 5px;
}

.contact-form-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  height: 100%;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  padding: 12px;
  border-radius: 8px;
}
.contact-map-premium {
  position: relative;
  height: 100%;
  min-height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.map-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info-premium,
.contact-form-premium {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.info-row i {
  color: #f39c12;
}

.contact-form-premium input,
.contact-form-premium select,
.contact-form-premium textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #eee;
}



/* WhatsApp Floating Button */
.whatsapp-wrapper {
  position: fixed;
  left: 20px;
  bottom: 30px;
  z-index: 9999;
}

/* Main Button */
.whatsapp-float {
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  text-decoration: none;
  position: relative;
  transition: 0.3s ease;
}

/* Pulse Animation */
.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: whatsappPulse 1.8s infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  left: 75px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

/* Show tooltip on hover */
.whatsapp-wrapper:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}
.whatsapp-tooltip.show-tooltip {
  opacity: 1;
  visibility: visible;
}