:root {
  --primary: #ffb703;
  --dark: #0b2545;
  --light: #f4f8fb;
  --white: #ffffff;
  --gray: #555;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--light);
  color: var(--dark);
  padding-top: 90px; /* Fix for fixed navbar */
}

/* ================= NAVBAR ================= */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.logo-img {
  height: 50px;   /* adjust as needed */
  width: 120px;
}


nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav ul li {
  font-weight: 500;
  transition: 0.3s;
}

/* REMOVE underline + blue color */
nav ul li a {
  text-decoration: none;
  color: var(--dark);
  transition: 0.3s;
}

nav ul li a:hover {
  color: var(--primary);
}

.top-contact {
  font-size: 13px;
  text-align: right;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ================= BUTTON ================= */

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: var(--primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: var(--dark);
  transform: translateY(-3px);
}

.dark-btn {
  background: var(--dark);
  margin-left: 10px;
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  background: linear-gradient(135deg,#e6f0ff,#ffffff);
}

.hero-text h1 {
  font-size: 48px;
}

.hero-text span {
  color: var(--primary);
}

.hero-text p {
  margin: 20px 0;
  color: var(--gray);
  max-width: 500px;
}

.hero img {
  width: 400px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ================= SECTIONS ================= */

section {
  padding: 90px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.center-text {
  text-align: center;
  max-width: 800px;
  margin: auto;
  margin-bottom: 40px;
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

/* SOLAR INFO SECTION */
.solar-info {
  padding: 80px 10%;
  background: #eef3f7;
}

.solar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.solar-image img {
  width: 420px;
  max-width: 100%;
}

.solar-content {
  max-width: 520px;
}

.small-title {
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.solar-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.desc {
  color: #6b7280;
  margin-bottom: 25px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.icon {
  background: #6cc04a;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.feature h4 {
  margin: 0;
}

.feature p {
  margin: 3px 0 0;
  color: #6b7280;
  font-size: 14px;
}

/* ANIMATION */
.solar-image,
.solar-content {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.solar-image.animate {
  opacity: 1;
  transform: translateX(0);
}

.solar-content.animate {
  opacity: 1;
  transform: translateX(0);
}

/* initial directions */
.solar-image {
  transform: translateX(-60px);
}

.solar-content {
  transform: translateX(60px);
}


/* MOBILE */
@media (max-width: 768px) {
  .solar-container {
    flex-direction: column;
    text-align: center;
  }

  .feature {
    justify-content: center;
  }
}


/* ================= STATS ================= */

.stats {
  background: var(--dark);
  color: white;
  text-align: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 40px;
  margin-top: 40px;
}

.stat {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary);
}

/* CORE SERVICES */
.core-services {
  padding: 80px 10%;
  background: linear-gradient(135deg, #f4f8fb, #e3f2fd);
  text-align: center;
}

.core-services h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0%;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, #ffb703, #fb8500);
  transition: 0.4s ease;
  z-index: 0;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  color: #fff;
}

.service-card h3,
.service-card p,
.service-icon {
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}

.service-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block; /* makes the entire card clickable */
}

.service-card-link:hover .service-card {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: 0.3s;
}



/* Responsive */
@media(max-width: 768px) {
  .core-services {
    padding: 60px 5%;
  }
}

/* Testimonials */ 

.testimonials {
  background: #f4f8fb;
  padding: 60px 20px;
  overflow: hidden;
}

.slider-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonial-slider {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollSlider 25s linear infinite;
}

.testimonial-slider img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

/* Hover Zoom Effect */
.testimonial-slider img:hover {
  transform: scale(1.05);
}

/* Auto Scroll Animation */
@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on Hover */
.slider-wrapper:hover .testimonial-slider {
  animation-play-state: paused;
}


/* ================= TEAM SECTION ================= */

.team-section {
  padding: 80px 8%;
  background: #f8fbff;
  text-align: center;
}

.team-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.team-subtitle {
  color: var(--gray);
  margin-bottom: 50px;
  font-size: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.team-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.team-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.team-card span {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Responsive */
@media(max-width: 768px) {
  .team-title {
    font-size: 28px;
  }
  .team-section {
    padding: 60px 5%;
  }
}



/* ================= CONTACT ================= */
.contact-section {
  padding: 70px 16px;
  background: linear-gradient(135deg, #0b2545, #133c67);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.section-title p {
  opacity: 0.8;
  font-size: 15px;
}

/* LAYOUT */
.contact-wrapper {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

/* GLASS CARD STYLE */
.contact-info,
.contact-form {
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

/* INFO CARDS */
.info-card {
  padding: 12px;
  border-radius: 10px;
  transition: 0.3s;
}

.info-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}

.info-card h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.info-card p {
  font-size: 14px;
  line-height: 1.5;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form h3 {
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  width: 100%;
}

.contact-form textarea {
  min-height: 110px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #ffb703;
}

/* BUTTON */
.contact-form button {
  background: #ffb703;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  transform: scale(1.02);
  background: #ffd166;
}

/* MAP */
.map-container {
  width: 100%;
  height: 220px;
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .contact-section {
    padding: 50px 14px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-info,
  .contact-form {
    padding: 20px;
  }

  .info-card {
    padding: 10px;
  }

  .map-container {
    height: 200px;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {
  .section-title h2 {
    font-size: 24px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
    padding: 10px;
  }
}

/* ABOUT BREADCRUMB MODERN STYLE */
.about-breadcrumb {
  background: linear-gradient(135deg, #8bc34a, #4caf50); /* modern green gradient */
  color: #fff;
  padding: 120px 20px 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); /* angled bottom edge */
}

.about-breadcrumb::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: rgba(255,255,255,0.05);
  top: -50%;
  left: -50%;
  border-radius: 50%;
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.breadcrumb-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
}

.about-breadcrumb h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.breadcrumb-nav {
  font-size: 16px;
  font-weight: 500;
}

.breadcrumb-nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
  color: #f4f8fb;
}

.breadcrumb-nav .separator {
  margin: 0 10px;
  color: rgba(255,255,255,0.7);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-breadcrumb {
    padding: 100px 15px 60px;
  }
  .about-breadcrumb h1 {
    font-size: 36px;
  }
  .breadcrumb-nav {
    font-size: 14px;
  }
}

/* VISION & MISSION STYLES */
.vision-mission {
  background: #f4f8fb;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.vision-mission .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.vm-box {
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  padding: 25px 30px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  flex: 1 1 350px;
  min-width: 300px;
  transition: all 0.4s ease;
}

.vm-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.vm-icon {
  background: linear-gradient(135deg, #8bc34a, #4caf50);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.vm-box:hover .vm-icon {
  transform: rotate(15deg) scale(1.1);
}

.vm-icon img {
  width: 35px;
  height: 35px;
}

.vm-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #0b2545;
  position: relative;
}

.vm-content h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #8bc34a;
  border-radius: 2px;
  margin-top: 5px;
}

.vm-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* ANIMATION */
@keyframes fadeInLeft {
  from {opacity:0; transform: translateX(-50px);}
  to {opacity:1; transform: translateX(0);}
}
@keyframes fadeInRight {
  from {opacity:0; transform: translateX(50px);}
  to {opacity:1; transform: translateX(0);}
}
.wow.fadeInLeft { animation-name: fadeInLeft; }
.wow.fadeInRight { animation-name: fadeInRight; }
.wow { animation-duration: 1s; animation-fill-mode: both; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .vision-mission .container { gap: 25px; }
  .vm-box { flex: 1 1 300px; padding: 20px; }
}

@media (max-width: 576px) {
  .vm-box { flex-direction: row; padding: 15px; }
  .vm-icon { width: 60px; height: 60px; margin-right: 15px; }
  .vm-icon img { width: 28px; height: 28px; }
  .vm-content h3 { font-size: 20px; }
  .vm-content p { font-size: 15px; }
}

/* Industrial & Commercial Solar Section */
.industrial-solar {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f4f8fb, #e0f7fa);
  display: flex;
  justify-content: center;
  align-items: center;
}

.industrial-container {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
}

.industrial-content {
  flex: 1 1 500px;
  animation: fadeUp 1s ease forwards;
}

.industrial-content h2 {
  font-size: 36px;
  color: #0b2545;
  margin-bottom: 20px;
  font-weight: 700;
}

.industrial-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

.industrial-content strong {
  color: #ffb703;
}

.industrial-image {
  flex: 1 1 400px;
  text-align: center;
  animation: fadeLeft 1s ease forwards;
}

.industrial-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.industrial-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Animations */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px);}
  100% { opacity: 1; transform: translateY(0);}
}

@keyframes fadeLeft {
  0% { opacity: 0; transform: translateX(30px);}
  100% { opacity: 1; transform: translateX(0);}
}

/* Responsive */
@media (max-width: 900px) {
  .industrial-container {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .industrial-content h2 {
    font-size: 28px;
  }

  .industrial-content p {
    font-size: 16px;
  }
}


/* ================= FOOTER ================= */

footer {
  background: var(--dark);
  color: white;
  padding: 40px 8%;
  text-align: center;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px) {

  nav {
    flex-wrap: wrap;
  }

  /* Show Hamburger */
  .menu-toggle {
    display: block;
  }

  /* Hide contact info */
  .top-contact {
    display: none;
  }

  /* Hide Get Free Quote button */
  nav .btn {
    display: none;
  }

  /* Mobile dropdown */
  nav ul {
    width: 100%;
    flex-direction: column;
    display: none;
    margin-top: 15px;
    background: white;
    padding: 20px;
    border-radius: 10px;
  }

  nav ul.active {
    display: flex;
  }

  /* Hero responsive */
  .hero {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .hero img {
    margin-top: 30px;
    width: 280px;
  }
}
