



/* HEADINGS → Montserrat */
h2, h4, h5, button {
  font-family: 'Montserrat', sans-serif;
}

a {
  font-family: 'roboto', sans-serif;
}

span, p{
  font-family: 'Open Sans', sans-serif;
}
















/* ===========================
   GLOBAL RESET
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #ffffff;
  color: #333;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}


/* =======================
       NAVBAR GLOBAL CSS
========================== */

:root {
  --primary-color: #ff004f;
  --secondary-color: #ff8a00;
  --dark-color: #333;
}

/* REMOVE caret arrow from dropdown */
.nav-link.dropdown-toggle::after {
  display: none !important;
}

/* Hover dropdown */
.nav-item.dropdown:hover .dropdown-menu {
  display: block !important;
  opacity: 1;
  visibility: visible;
  margin-top: 0;
}

/* Prevent click toggle on desktop */
@media (min-width: 992px) {
  .dropdown-toggle {
    pointer-events: none;
  }
}

/* NAVBAR Container */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  background: #fff !important;
}

/* Logo */
.navbar-brand img {
  height: 50px;
  width: auto;
}

/* Navlinks */
.nav-link {
  color: var(--dark-color) !important;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

/* Hover color */
.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Animated underline */
.navbar-nav .nav-link {
  position: relative !important;
  padding-bottom: 5px;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #ff004f;
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Dropdown menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.dropdown-item {
  padding: 10px 20px;
  transition: all 0.3s;
}

.dropdown-item:hover {
  background-color: var(--primary-color) !important;
  color: #fff !important;
}

/* Enquiry button */
.enquirybtn {
  background-color: #ff004f !important;
  border-color: #ff004f !important;
  color: white !important;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 0;
}

.enquirybtn:hover {
  background-color: #e00045 !important;
  border-color: #e00045 !important;
  color: white !important;
}


/* enquiry button response  */
/* FULL SCREEN POPUP OVERLAY */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.7);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideUp {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(-30px); opacity: 0; }
}

/* When closing */
.popup-overlay.closing {
  animation: fadeOut 0.3s ease forwards;
}

.popup-content.closing {
  animation: slideUp 0.3s ease forwards;
}


/* POPUP BOX */
.popup-content {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 420px;
  padding: 35px;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 0 20px rgba(78, 241, 255, 0.4);
  animation: slideDown 0.35s ease;
}

.popup-content h2 {
  color: white;
}

@media(max-width: 768px){
  .popup-content {
    margin: 1rem;
  }
}

@keyframes slideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* CLOSE BUTTON */
.close-popup {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.close-popup:hover {
  color: #4ef1ff;
}

/* FORM LABEL */
.popup-form label {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
}

/* INPUTS */
.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* BUTTON */
.popup-submit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 30px;
   background: linear-gradient(135deg, #ff4db8, #4bc3f8);
  font-weight: 700;
  color: #000;
  transition: 0.3s;
}

.popup-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(78, 241, 255, 0.5);
}


/* ========== CUSTOM HAMBURGER ICON ========== */
/* Remove Bootstrap default icon */
.navbar-toggler-icon {
  display: none;
}

/* Base settings */
.navbar-toggler {
   border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 10px;         /* increases clickable area */
  width: 45px;           /* makes full box clickable */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler .toggler-icon,
.navbar-toggler .toggler-icon::before,
.navbar-toggler .toggler-icon::after {
width: 100%;
  /* width: 28px; */
  height: 3px;
  background-color: #000;
  display: block;
  border-radius: 2px;
  transition: 0.3s ease-in-out;
  position: relative;
}

.navbar-toggler .toggler-icon::before,
.navbar-toggler .toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

/* Default (closed) → hamburger */
.navbar-toggler .toggler-icon::before {
  top: -8px;
}

.navbar-toggler .toggler-icon::after {
  top: 8px;
}

/* ================================
   WHEN MENU IS OPEN (NO .collapsed)
   SHOW X
================================ */
.navbar-toggler:not(.collapsed) .toggler-icon {
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) .toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler:not(.collapsed) .toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}











/* ===========================
   HERO SECTION
=========================== */
.hero-section {
  width: 100%;
  height: 100vh;
  background-image: url("./assets/home-banner/solar-pannel-banner.jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  color: #fff;
  width: 100%;
  padding: 28px 20px 60px;
}

.hero-small {
  font-size: 24px;
  letter-spacing: 2px;
  color: #ffdd57;
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.7;
}

.hero-description {
  max-width: 600px;
  margin: 10px auto;
  font-size: 17px;
  line-height: 1.6;
}


/* 🔥 RESPONSIVE FIX BELOW 768px */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh; /* More compact */
  }
  

  .hero-title {
    font-size: 36px; /* Smaller heading */
    line-height: 1.3;
  }

  .hero-small {
    font-size: 16px;
  }

  .hero-description {
    font-size: 14px;
    max-width: 90%;
  }

  .hero-buttons .btn {
    padding: 8px 20px;
    font-size: 14px;
  }
}

/* ===========================
   FLOATING BOXES
=========================== */

.floating-boxes-container {
  margin-top: -120px; 
  position: relative;
  z-index: 10;  
}

.box-item {
  background: #fff;
  padding: 35px 25px;
}

.box-item p {
  font-size: 15px;
  color: #666;
}

.box-item img {
  width: 70px;
}

/* ===========================
   ABOUT SECTION (HOME PAGE)
=========================== */
.section-subtitle {
  font-size: 14px;
  color: #ff004f;
  font-weight: 600;
  letter-spacing: 1px;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
}

/* Stats Wrapper Box */
.stats-wrapper {
  border: none;
  background: transparent;
}

/* Each Stats Box */
.stats-box {
  text-align: left;
}

/* Top Row Border Bottom */
.stats-box:nth-child(1),
.stats-box:nth-child(2) {
  border-bottom: 1px solid #ddd !important;
}

/* Left Column Border Right */
.stats-box:nth-child(1),
.stats-box:nth-child(3) {
  border-right: 1px solid #ddd !important;
}

/* Number Styling */
.stats-box h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Text Styling */
.stats-box p {
  color: gray;
  font-size: 15px;
  margin: 0;
}

/* Center Everything in Mobile */
@media (max-width: 768px) {
  .stats-wrapper {
    border: none !important;
  }

  .stats-box {
    border: none !important;
    text-align: center;
    padding: 20px 0 !important;
  }
}


/* ===========================
   SERVICES BAR (HOME PAGE)
=========================== */

.services-bar {
  height: 330px;
}

.services-bg-image {
  height: 330px;
  object-fit: cover;
}

/* .services-overlay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
} */

.service-bar-content {
  padding: 0 40px;
  top: 0;
  height: 100%;
  color: black;
  font-size: 16px;
}

.service-bar-content h2 {
  font-size: 36px;
  font-weight: 700;
}

.service-button button {
  white-space: nowrap;
  display: inline-block;
}







/* ===========================
   QUALITY SERVICES
=========================== */
.service-icon {
  width: 75px;
}

.divider .line {
  width: 50px;
  height: 2px;
  background: #ffcc33;
}

.divider .diamond {
  width: 12px;
  height: 12px;
  background: #ffcc33;
  transform: rotate(45deg);
}

/* ===========================
   LATEST PROJECTS — MASONRY
=========================== */
.latest-projects{
  background-color: #f5f6f6;
  padding-top: 90px;
  padding-bottom: 70px;
}

.masonry {
  column-count: 3;
  column-gap: 15px;
}

.masonry-item {
  width: 100%;
  display: block;
  margin-bottom: 15px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .masonry {
    column-count: 2;
  }
}
@media (max-width: 576px) {
  .masonry {
    column-count: 1;
  }
}

/* ===========================
   FAQ SECTION – EXACT DESIGN
=========================== */

.FAQ-section{
  padding-top: 80px;
  padding-bottom: 70px;
}

.left-img {
  margin-top: 70px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.custom-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #e6e6e6; /* light grey border */
  background: #fff;
  position: relative;
  padding-left: 15px; /* spacing before yellow line */
}

/* Yellow left strip (same thin line as reference) */
.custom-accordion .accordion-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #ffb700; /* exact yellow shade like screenshot */
}

/* FAQ Title Button */
.custom-accordion .accordion-button {
  background: #fff !important;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  padding: 20px 15px;
  border: none;
  box-shadow: none !important;
}

/* Arrow icon (larger, darker, right-aligned) */
.custom-accordion .accordion-button::after {
  font-size: 14px;
  transform: rotate(-90deg); 
  transition: 0.3s ease;
  opacity: 0.8;
}

/* Arrow rotates upward when open */
.custom-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(90deg);
  opacity: 1;
}

/* Expanded (OPEN) state */
.custom-accordion .accordion-button:not(.collapsed) {
  color: #000;
  background: #fff;
}

/* FAQ Answer text */
.custom-accordion .accordion-body {
  padding: 0 20px 20px 15px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* Remove left-line that was inside HTML */
.left-line {
  display: none;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .custom-accordion .accordion-button {
    font-size: 15px;
    padding: 18px 15px;
  }
  .custom-accordion .accordion-body {
    padding-left: 15px;
  }
}

/* ===========================
   BRAND SLIDER
=========================== */
.brand-slider {
  /* background-color: #ffc107; */
  overflow: hidden;
  white-space: nowrap;
}

.brand-track {
  display: flex;
  animation: slide 25s linear infinite;
}

.brand-item img {
  /* padding: 14px; */
  width: 123px;
  margin: 0 40px;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===========================
   FOOTER — RESPONSIVE IMPROVEMENT
   Put this after your current footer styles
   =========================== */

.footer-content {
  /* background: #f8f2f4; */
  background-color: #ffc107;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;           /* slightly larger for readability */
  font-weight: 600;
  flex-wrap: nowrap;         /* keep row until small breakpoint */
  text-align: left;
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* logo block */
.footer-content .footer-brand img,
.footer-content img {
  height: 50px;
  width: auto;
  display: block;
}

/* make items semantically separate (optional if you already have these divs) */
.footer-content > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* small screens: stack vertically and center everything */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px;
    gap: 10px;
    font-size: 10px;
  }

  /* shrink logo */
  .footer-content .footer-brand img,
  .footer-content img {
    height: 44px;
  }
}

/* extra small phones */
@media (max-width: 420px) {
  .footer-content {
    padding: 14px 12px;
    font-size: 10px;
    gap: 8px;
  }

  .footer-content .footer-brand img,
  .footer-content img {
    height: 36px;
  }
}

/* Optional: make the design credit visually lighter */
.footer-content .footer-design {
  opacity: 0.85;
  font-weight: 600;
}

/* Optional: links in footer */
.footer-content a {
  color: #333;
  text-decoration: none;
}

.footer-content a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}
















/* ================================
   FIX HERO BUTTON WRAP + POSITION
================================ */
@media (max-width: 600px) {

  /* Move the hero content slightly up */
  .hero-content {
    padding-top: 40px !important;
  }

  /* Force buttons to stay on the same row */
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap !important;
  }

  .hero-buttons .btn {
    white-space: nowrap;
    padding: 8px 18px !important;
    font-size: 13px !important;
  }
}

/* ================================
   FIX SERVICES BAR ON SMALL SCREENS
================================ */
@media (max-width: 768px) {

  .service-bar-content {
    flex-direction: column !important;
    text-align: center;
    padding: 20px !important;
  }

  .service-bar-content h2 {
    font-size: 26px !important;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .service-bar-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  /* Center the button */
  .service-button {
    width: 100%;
    text-align: center;
  }

  .service-button button {
    width: auto;
    padding: 10px 25px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* Extra fix for VERY small screens (Galaxy Z Fold front, 360px) */
@media (max-width: 400px) {

  .hero-title {
    font-size: 30px !important;
  }

  .hero-small {
    font-size: 14px !important;
  }

  .hero-description {
    font-size: 13px !important;
  }
}

