/* ===============================
   GLOBAL RESET & BASE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #ffffff;
  color: #1f2937;
  line-height: 1.6;
  padding-top: 120px; /* top-bar + navbar */
}

/* Default anchor offset */
section {
  scroll-margin-top: 130px;
}

/* Fine-tuned overrides */
#home {
  scroll-margin-top: 120px;
}

#map {
  scroll-margin-top: 140px;
}

#brochure {
  scroll-margin-top: 130px;
}
/* TOP BAR */
.top-bar {
 position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #0f172a;
  color: #cbd5f5;
  z-index: 10000;
  display: flex;
  align-items: center;
  font-size: 14px;
}

/* NAVBAR */
.custom-navbar {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: #0f172a;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* NAVBAR ON SCROLL */
.custom-navbar.scrolled {
  background: #020617;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.navbar-brand {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff !important;
}

.brand-highlight {
  color: #f97316;
}

.nav-link {
  color: #ffffff !important;
  font-weight: 500;
}

.nav-link:hover {
  color: #f97316 !important;
}


/* ===============================
   HERO SECTION
================================ */
.hero-section {
  min-height: calc(100vh - 120px);
  background: linear-gradient(
      rgba(15, 23, 42, 0.75),
      rgba(15, 23, 42, 0.75)
    ),
    url("../assets/images/solar_power.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-content {
  color: #ffffff;
  max-width: 750px;
}

.hero-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.2);
  color: #f97316;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #f97316;
}

.hero-content p {
  font-size: 17px;
  color: #e5e7eb;
  margin-bottom: 30px;
}

.hero-buttons a {
  margin-right: 15px;
}

/* ===============================
   STATS SECTION
================================ */
.stats-section {
   padding: 80px 0;
  background: #ffffff;
}

.stats-section h2 {
  font-size: 40px;
  color: #f97316;
  font-weight: 800;
}

.stats-section p {
  font-size: 15px;
  color: #374151;
}

/* ===============================
   SECTION COMMON
================================ */

.section-light {
  background: #f9fafb;
  padding: 100px 0;
}

.section-dark {
  background: #0f172a;
  padding: 100px 0;
  color: #ffffff;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: auto;
  color: #6b7280;
}

.section-dark .section-subtitle {
  color: #cbd5f5;
}

.section-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 15px;
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
}

/* ===============================
   PRODUCT FILTER TABS
================================ */
.product-filters .filter-btn {
  border: 1px solid #f97316;
  background: transparent;
  color: #f97316;
  padding: 8px 18px;
  margin: 6px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-filters .filter-btn.active,
.product-filters .filter-btn:hover {
  background: #f97316;
  color: #ffffff;
}

.filter-btn.active {
  background: #f97316;
  color: #fff;
}
/* ===============================
   PRODUCTS
================================ */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 15px;
}

.product-card p {
  font-size: 14px;
  color: #6b7280;
  margin: 0 15px;
}

/* ===============================
   PROJECT CARDS
================================ */
.project-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}

.project-tag {
  background: #f97316;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  width: fit-content;
  margin-bottom: 8px;
}

/* ===============================
   ABOUT
================================ */
.about-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.about-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #111827;
}

.about-card ul {
  padding-left: 18px;
  margin: 0;
}

.about-card li {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ===============================
   CONTACT
================================ */
.contact-form {
  max-width: 800px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.contact-form textarea {
  grid-column: 1 / -1;
  resize: none;
  height: 130px;
}

.contact-form button {
  grid-column: 1 / -1;
  background: #f97316;
  color: #ffffff;
  border: none;
  padding: 14px;
  font-size: 16px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  background: #ea580c;
}

.pdf-container {
  max-width: 1000px;
  margin: auto;
}

/* ===============================
   MAP
================================ */
.map-wrapper {
  background: #ffffff;
}

.map-container {
  width: 100%;
  height: 420px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* ===============================
   FOOTER
================================ */
footer {
  background: #0f172a;
  color: #9ca3af;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* ===============================
   SCROLL REVEAL ANIMATION
================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .section-title {
    font-size: 28px;
  }
  .animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}
}
