/*==================================================
ADVANCE NETWORK
Premium Website
Designed by ChatGPT
==================================================*/

/* Google Fonts */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap");

/*==================================================
RESET
==================================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;

  background: #ffffff;

  color: #222;

  overflow-x: hidden;

  line-height: 1.7;
}

img {
  display: block;

  width: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;

  color: inherit;
}

/*==================================================
VARIABLES
==================================================*/

:root {
  --primary: #0d47a1;

  --primary2: #1565c0;

  --gold: #f9a825;

  --green: #43a047;

  --red: #e53935;

  --white: #ffffff;

  --light: #f7f9fc;

  --text: #1d1d1d;

  --gray: #666;

  --shadow: 0 20px 50px rgba(0, 0, 0, 0.08);

  --radius: 18px;

  --transition: 0.4s;
}

/*==================================================
CONTAINER
==================================================*/

.container {
  width: min(90%, 1280px);

  margin: auto;
}

/*==================================================
HEADINGS
==================================================*/

.section {
  padding: 120px 0;
}

.section-heading {
  text-align: center;

  margin-bottom: 80px;
}

.section-heading span {
  display: inline-block;

  color: var(--gold);

  font-weight: 700;

  letter-spacing: 2px;

  margin-bottom: 15px;
}

.section-heading h2 {
  font-family: Poppins;

  font-size: 48px;

  color: var(--primary);

  margin-bottom: 20px;

  line-height: 1.2;
}

.section-heading p {
  max-width: 700px;

  margin: auto;

  color: #666;

  font-size: 18px;
}

/*==================================================
BUTTONS
==================================================*/

.primary-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 18px 40px;

  background: linear-gradient(135deg, var(--primary), var(--primary2));

  color: #fff;

  border-radius: 50px;

  font-weight: 700;

  transition: 0.4s;

  box-shadow: 0 20px 40px rgba(13, 71, 161, 0.25);

  margin-bottom: 20px;
}

.primary-btn:hover {
  transform: translateY(-6px);

  box-shadow: 0 25px 55px rgba(13, 71, 161, 0.35);
}

.secondary-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 18px 40px;

  border: 2px solid var(--gold);

  color: var(--gold);

  border-radius: 50px;

  font-weight: 700;

  margin-left: 15px;

  transition: 0.4s;
}

.secondary-btn:hover {
  background: var(--gold);

  color: #fff;
}

/*==================================================
PRELOADER
==================================================*/

#preloader {
  position: fixed;

  width: 100%;

  height: 100%;

  background: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  z-index: 99999;
}

.loader {
  width: 70px;

  height: 70px;

  border-radius: 50%;

  border: 6px solid #eee;

  border-top: 6px solid var(--gold);

  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/*==================================================
SCROLL BAR
==================================================*/

#progressBar {
  position: fixed;

  left: 0;

  top: 0;

  height: 4px;

  background: linear-gradient(to right, var(--gold), var(--primary));

  width: 0;

  z-index: 99999;
}

/*==================================================
HEADER
==================================================*/
/* ==========================================================================
   ADVANCE NETWORK — PREMIUM ENTERPRISE HEADER SYSTEM (HIGH-END REBOOT)
   ========================================================================== */

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px; /* Locked standard height */

  /* Modern Luxury Glassmorphism Background */
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 3px solid #f9a825;
  z-index: 9999;
  transition: none !important; /* Disables any jumping/shrinking transitions */

  /* Layered, crisp premium shadow */
  box-shadow: 0 4px 30px rgba(13, 71, 161, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Forces identical desktop height when scrolled or at top */
#header.scrolled {
  height: 110px !important;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 35px rgba(13, 71, 161, 0.06);
}

#header .container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- LOGO ALIGNMENT (PERFECT CAPITAL LETTER BLUE LINE ALIGNMENT) --- */
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  height: 100%;
  transition: transform 0.2s ease;
}

/* Micro-interaction on logo hover */
.logo:hover {
  transform: scale(1.01);
}

.logo img {
  height: 78px !important; /* Prominent branding graphic scale */
  width: auto;
  display: block;
}

#header.scrolled .logo img {
  height: 78px !important;
}

.logo-text {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  transform: translateY(
    11px
  ); /* Pushes text to sit perfectly flush with the blue solar panel line */
}

.logo-name {
  font-size: 28px;
  font-weight: 800;
  color: #0d47a1;
  line-height: 0.85;
  letter-spacing: -0.4px;
  margin: 0;
  padding: 0;
}

.logo-tagline {
  font-size: 11px;
  font-weight: 700;
  color: #f9a825;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 5px;
  line-height: 1;
}

/* --- DESKTOP NAVIGATION --- */
#navbar ul {
  display: flex;
  list-style: none;
  gap: 38px; /* Slightly wider spacing for executive breathing room */
  margin: 0;
  padding: 0;
}

#navbar a {
  font-size: 15px; /* Marginally sleeker typography scale */
  font-weight: 600;
  color: #0d47a1;
  text-decoration: none;
  letter-spacing: 0.3px;
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease;
}

/* Premium Center-Expanding Hover Accent Line */
#navbar a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #f9a825;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#navbar a:hover {
  color: #f9a825;
}

#navbar a:hover::after,
#navbar a.active::after {
  width: 100%;
}

#navbar a.active {
  color: #f9a825;
}

/* --- ACTION BUTTON (CALL NOW BUTTON CAPSULE) --- */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.call-btn {
  background: #f9a825;
  color: #ffffff !important;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;

  /* Elegant ambient orange glow shadow */
  box-shadow: 0 4px 15px rgba(249, 168, 37, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.call-btn i {
  color: #ffffff !important;
  font-size: 15px;
}

.call-btn:hover {
  background: #0d47a1;
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.35);
  transform: translateY(-2px);
}

.call-btn:active {
  transform: translateY(0);
  scale: 0.98;
}

/* Mobile Menu Icon Styling */
#menu {
  display: none;
  font-size: 26px;
  color: #0d47a1;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
}

#menu:hover {
  color: #f9a825;
  transform: scale(1.05);
}

/* ==========================================================================
     MOBILE & TABLET RESPONSIVE REBOOT (UNDER 991px) — LOCKED & NO GAP
     ========================================================================== */
@media (max-width: 991px) {
  #header {
    height: 90px !important;
    background: #ffffff; /* Fallback solid backings to avoid double layers over content cards */
  }

  #header.scrolled {
    height: 90px !important;
    background: #ffffff;
  }

  #header .container {
    padding: 0 24px;
  }

  .logo img,
  #header.scrolled .logo img {
    height: 62px !important;
  }

  .logo-text {
    transform: translateY(7px);
  }

  .logo-name {
    font-size: 22px;
    line-height: 0.85;
  }

  .logo-tagline {
    font-size: 9px;
    margin-top: 4px;
    line-height: 1;
  }

  #menu {
    display: block;
    order: 3;
  }

  .header-buttons {
    order: 2;
    margin-left: auto;
    margin-right: 15px;
  }

  .call-btn {
    padding: 10px 22px;
    font-size: 13px;
  }

  /* Premium Dropdown drawer clean styling */
  #navbar {
    position: fixed;
    top: 87px !important;
    right: -100%;
    width: 290px;
    height: calc(100vh - 87px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: -15px 15px 40px rgba(13, 71, 161, 0.08);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 40px 30px;
    z-index: 999;
  }

  #header.scrolled + #navbar {
    top: 87px !important;
    height: calc(100vh - 87px);
  }

  #navbar.mobile-open {
    right: 0;
  }

  #navbar ul {
    flex-direction: column;
    gap: 22px;
  }

  #navbar a {
    font-size: 17px;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(13, 71, 161, 0.04);
    padding-bottom: 14px;
  }

  #navbar a::after {
    display: none;
  }
}

/* Minimalist tweaks for smartphone layouts */
@media (max-width: 480px) {
  .logo-name {
    font-size: 19px;
    line-height: 0.85;
  }

  .logo-tagline {
    display: none;
  }

  .header-buttons {
    margin-right: 10px;
  }

  .call-btn {
    padding: 9px 16px;
    font-size: 12px;
  }
}
/*==================================================
HERO
==================================================*/

.hero {
  position: relative;

  min-height: min(100vh, 820px);

  padding-top: 120px;

  padding-bottom: 60px;

  display: flex;

  align-items: center;

  background: linear-gradient(rgba(6, 26, 61, 0.91), rgba(6, 26, 61, 0.91)),
    url("../images/solar_pane_linstallation.jpg");

  background-size: cover;

  background-position: center 25%;

  background-repeat: no-repeat;

  color: #fff;

  overflow: hidden;
}
.hero-container {
  display: grid;

  grid-template-columns: 55% 45%;

  align-items: center;

  gap: 70px;
}

.hero-badge {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 12px 26px;

  background: #12386e;

  border: 2px solid var(--gold);

  border-radius: 50px;

  font-size: 15px;

  font-weight: 700;

  margin-bottom: 35px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  font-family: Poppins;

  font-size: 68px;

  line-height: 1.05;

  margin-bottom: 30px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 20px;

  max-width: 650px;

  opacity: 0.92;

  margin-bottom: 40px;
}
/* 1. Target the parent container holding both buttons on desktop */
/* (Change .hero-buttons to match your actual button container class name) */
.hero-buttons {
  display: flex !important;
  align-items: center !important; /* Forces the physical centers of both buttons to align */
  justify-content: flex-start;
  gap: 20px;
  margin-top: 30px;
}

/* 2. Strip any layout differences from the individual desktop buttons */
.hero-buttons a,
.hero-buttons button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  /* FORCE ALIGNMENT: Breaks the default text baseline lock */
  vertical-align: middle !important;

  /* Neutralize individual margins that might be pushing one down */
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  /* Crucial: Includes the border thickness inside the height calculation */
  box-sizing: border-box !important;
}
/*=====================================
HERO TRUST CARDS
=====================================*/

.hero-highlights {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;

  margin-top: 45px;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.1);

  backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 20px;

  padding: 30px 20px;

  min-height: 170px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  transition: 0.35s;
}

.highlight-card:hover {
  transform: translateY(-8px);

  background: rgba(255, 255, 255, 0.16);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.highlight-card i {
  font-size: 34px;

  color: #f9a825;

  margin-bottom: 18px;
}

.highlight-card h4 {
  color: #fff;

  font-size: 24px;

  font-weight: 700;

  margin-bottom: 10px;

  line-height: 1.3;
}

.highlight-card p {
  color: rgba(255, 255, 255, 0.85);

  font-size: 15px;

  margin: 0;
}

/*==================================================
FLOATING STATISTICS
==================================================*/
/*==================================================
STATISTICS
==================================================*/

.stats {
  padding: 80px 0;

  background: #f5f7fb;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;
}

.stat-card {
  background: linear-gradient(135deg, #0b2e63, #154a94);

  border-radius: 20px;

  padding: 40px 25px;

  min-height: 220px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  box-shadow: 0 20px 45px rgba(11, 46, 99, 0.25);

  border-top: 5px solid #f9a825;

  transition: all 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 30px 60px rgba(11, 46, 99, 0.4);
}

.stat-card h2 {
  font-family: Poppins;

  font-weight: 700;

  color: #f9a825;

  margin: 0 0 15px;

  line-height: 1;

  font-size: 60px;

  letter-spacing: 1px;

  white-space: nowrap;
}

.stat-card span {
  font-size: 20px;

  font-weight: 600;

  color: #fff;

  line-height: 1.5;

  display: block;

  max-width: 180px;
}
/*==================================================
ABOUT
==================================================*/

.about {
  background: #fff;
}

.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 90px;

  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;

  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

.experience-box {
  position: absolute;

  bottom: 30px;

  right: -40px;

  width: 190px;

  height: 190px;

  background: linear-gradient(135deg, var(--gold), #f6b700);

  border-radius: 24px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  color: #fff;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.experience-box h2 {
  font-size: 60px;

  font-family: Poppins;

  color: #fff;
}

.experience-box p {
  font-weight: 600;

  text-align: center;
}

.about-content {
  display: flex;

  flex-direction: column;

  gap: 25px;
}

.feature {
  display: flex;

  gap: 25px;

  align-items: flex-start;

  padding: 25px;

  border-radius: 18px;

  transition: 0.4s;
}

.feature:hover {
  background: #fff;

  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);

  transform: translateX(8px);
}

.feature .icon {
  width: 75px;

  height: 75px;

  border-radius: 20px;

  display: flex;

  justify-content: center;

  align-items: center;

  background: linear-gradient(135deg, var(--primary), var(--primary2));

  color: #fff;

  font-size: 28px;

  flex-shrink: 0;
}

.feature h3 {
  font-size: 22px;

  margin-bottom: 10px;

  color: var(--primary);
}

.feature p {
  color: #666;
}

/*==================================================
SERVICES
==================================================*/

.services {
  background: var(--light);
}

.services-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 40px;
}

.service-card {
  background: #fff;

  border-radius: 24px;

  overflow: hidden;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);

  transition: 0.45s;
}

.service-card:hover {
  transform: translateY(-15px);
}

.service-image {
  height: 260px;

  overflow: hidden;
}

.service-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.6s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 35px;
}

.service-icon {
  width: 75px;

  height: 75px;

  background: linear-gradient(135deg, var(--primary), var(--primary2));

  color: #fff;

  border-radius: 20px;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 30px;

  margin-bottom: 25px;
}

.service-content h3 {
  font-size: 28px;

  margin-bottom: 18px;

  color: var(--primary);
}

.service-content p {
  color: #666;

  margin-bottom: 20px;
}

.service-content ul {
  margin-bottom: 25px;
}

.service-content ul li {
  padding: 10px 0;

  border-bottom: 1px solid #ececec;

  position: relative;

  padding-left: 28px;
}

.service-content ul li::before {
  content: "✓";

  position: absolute;

  left: 0;

  color: var(--green);

  font-weight: bold;
}

.service-content a {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--primary);

  font-weight: 700;

  transition: 0.3s;
}

.service-content a:hover {
  gap: 16px;

  color: var(--gold);
}

/*==================================================
FEATURED PROJECT
==================================================*/

.featured-project {
  background: #fff;
}

.project-wrapper {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.project-left {
  position: relative;
}

.project-left img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;

  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

.project-right span {
  color: var(--gold);

  font-weight: 700;

  letter-spacing: 2px;

  display: inline-block;

  margin-bottom: 15px;

  padding: 20px;
}

.project-right h2 {
  font-size: 48px;

  font-family: Poppins;

  color: var(--primary);

  margin-bottom: 25px;
}

.project-right p {
  font-size: 18px;

  color: #666;

  margin-bottom: 35px;
}

.project-list {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;

  margin-bottom: 40px;
}

.project-list div {
  display: flex;

  align-items: center;

  gap: 10px;

  font-weight: 600;
}

.project-list i {
  color: var(--green);

  font-size: 20px;
}

/*==================================================
SECTION DECORATION
==================================================*/

.section {
  position: relative;

  overflow: hidden;
}

.section::before {
  content: "";

  position: absolute;

  width: 350px;

  height: 350px;

  background: rgba(13, 71, 161, 0.03);

  border-radius: 50%;

  top: -150px;

  right: -150px;

  pointer-events: none;
}

.section::after {
  content: "";

  position: absolute;

  width: 250px;

  height: 250px;

  background: rgba(249, 168, 37, 0.04);

  border-radius: 50%;

  bottom: -120px;

  left: -120px;

  pointer-events: none;
}

/*==================================================
WHY CHOOSE US
==================================================*/

.why {
  background: var(--light);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.why-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  transition: 0.35s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.check-item:hover {
  transform: translateX(10px);
}

.check-item i {
  color: var(--green);
  font-size: 28px;
  margin-top: 3px;
}

.check-item h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.check-item p {
  color: #666;
}

/*==================================================
PROCESS
==================================================*/

.process {
  background: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.timeline-item {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
  position: relative;
}

.timeline-item:hover {
  transform: translateY(-10px);
}

.circle {
  width: 70px;
  height: 70px;
  margin: auto;
  margin-bottom: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff;
  font-size: 26px;
  font-weight: bold;
}

.timeline-item h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/*==================================================
BRANDS
==================================================*/

.brands {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
}

.brands .section-heading h2 {
  color: #fff;
}

.brands-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.brand {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 35px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  transition: 0.35s;
}

.brand:hover {
  background: var(--gold);
  transform: translateY(-8px);
}

/*==================================================
TESTIMONIALS
==================================================*/

.testimonials {
  background: var(--light);
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.testimonial {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
}

.testimonial:hover {
  transform: translateY(-10px);
}

.stars {
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 20px;
}

.testimonial p {
  color: #666;
  margin-bottom: 25px;
}

.testimonial h4 {
  color: var(--primary);
}

.testimonial span {
  color: #888;
  font-size: 14px;
}

/*==================================================
FAQ
==================================================*/

.faq {
  background: #fff;
}

.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-item {
  background: #fff;
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

/*==================================================
CONTACT
==================================================*/

.contact {
  background: var(--light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form,
.contact-info {
  background: #fff;
  border-radius: 24px;
  padding: 45px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-info ul {
  margin-top: 25px;
}

.contact-info li {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info i {
  color: var(--gold);
}

.map {
  margin-top: 35px;
  height: 260px;
  background: #eef3fa;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

/*==================================================
FOOTER
==================================================*/

footer {
  background: #061d47;
  color: #fff;
  padding: 90px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

footer img {
  width: 180px;
  margin-bottom: 20px;
}

footer h3 {
  margin-bottom: 20px;
  color: var(--gold);
}

footer ul li {
  margin-bottom: 12px;
}

footer a {
  transition: 0.3s;
}

footer a:hover {
  color: var(--gold);
}

.copyright {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  color: #bbb;
}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width: 1100px) {
  .hero-container,
  .about-grid,
  .project-wrapper,
  .why-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .timeline,
  .brands-slider,
  .testimonial-slider,
  .services-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 768px) {
  #navbar {
    display: none;
  }

  #menu {
    display: block;
  }

  .hero {
    padding: 150px 0 80px;

    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;

    gap: 20px;
  }

  .secondary-btn {
    margin-left: 0;
  }

  .hero-highlights {
    justify-content: center;
  }

  .stats {
    margin-top: 0;

    padding-top: 60px;
  }

  .stats-grid,
  .timeline,
  .brands-slider,
  .testimonial-slider,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .experience-box {
    position: relative;

    right: auto;

    bottom: auto;

    margin: 25px auto 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/*=========================================
Animations
=========================================*/

.hidden {
  opacity: 0;

  transform: translateY(50px);

  transition: 0.8s ease;
}

.show {
  opacity: 1;

  transform: translateY(0);
}

#topButton {
  position: fixed;

  right: 30px;

  bottom: 30px;

  width: 55px;

  height: 55px;

  border: none;

  border-radius: 50%;

  background: linear-gradient(135deg, #0d47a1, #1565c0);

  color: #fff;

  font-size: 20px;

  cursor: pointer;

  opacity: 0;

  pointer-events: none;

  transition: 0.35s;

  box-shadow: 0 20px 45px rgba(13, 71, 161, 0.3);

  z-index: 999;
}

#topButton.visible {
  opacity: 1;

  pointer-events: auto;
}

#topButton:hover {
  transform: translateY(-6px);
}

#navbar.mobile-open {
  display: block !important;

  position: absolute;

  top: 90px;

  left: 0;

  width: 100%;

  background: #fff;

  padding: 25px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

#navbar.mobile-open a {
  color: var(--primary);
}

#navbar.mobile-open a:hover,
#navbar.mobile-open a.active {
  color: var(--gold);
}

#navbar.mobile-open ul {
  flex-direction: column;

  gap: 20px;
}

#navbar a.active {
  color: #f9a825;
}

/*==================================================
PAGE BANNER (Inner Pages)
==================================================*/

.page-banner {
  position: relative;
  padding: 190px 0 90px;
  background: linear-gradient(rgba(6, 26, 61, 0.88), rgba(6, 26, 61, 0.88)),
    url("../images/solar_pane_linstallation.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(249, 168, 37, 0.08);
  border-radius: 50%;
  top: -120px;
  right: -100px;
}

.page-banner h1 {
  font-family: Poppins;
  font-size: 52px;
  margin-bottom: 18px;
  position: relative;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb i {
  font-size: 12px;
  opacity: 0.7;
}

/*==================================================
CTA BANNER
==================================================*/

.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  padding: 70px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(249, 168, 37, 0.08);
  border-radius: 50%;
  bottom: -200px;
  left: -100px;
}

.cta-banner h2 {
  font-family: Poppins;
  font-size: 38px;
  margin-bottom: 15px;
  position: relative;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 35px;
  position: relative;
}

.cta-banner .btn-row {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-banner .secondary-btn {
  border-color: #fff;
  color: #fff;
}

.cta-banner .secondary-btn:hover {
  background: #fff;
  color: var(--primary);
}

/*==================================================
WHATSAPP FLOATING BUTTON
==================================================*/

.whatsapp-float {
  position: fixed;
  left: 25px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45);
  z-index: 998;
  animation: whatsappPulse 2.4s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-6px) scale(1.05);
}

/*==================================================
BRANDS MARQUEE
==================================================*/

.brands-track-wrap {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.brands-track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

.brands-track .brand {
  white-space: nowrap;
}

/*==================================================
FOOTER QUICK CONTACT
==================================================*/

.footer-about .footer-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.footer-about .footer-contact-quick a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.footer-about .footer-contact-quick a i {
  color: var(--gold);
  width: 18px;
}

.footer-about .footer-contact-quick a:hover {
  color: var(--gold);
}

.footer-address {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: #d6dee9;
}

.footer-address i {
  color: var(--gold);
  margin-top: 5px;
}

/*==================================================
CONTACT INFO LINKS (clickable call / whatsapp)
==================================================*/

.contact-info li a {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
}

.contact-info li a:hover {
  color: var(--gold);
}

.contact-info .wa-link i {
  color: #25d366;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
}

/*==================================================
SERVICE DETAIL BLOCKS (Services Page)
==================================================*/

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid #eef1f6;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse .service-detail-media {
  order: 2;
}

.service-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

.service-detail-icon {
  width: 75px;
  height: 75px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 25px;
}

.service-detail-text h2 {
  font-family: Poppins;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-detail-text > p {
  color: #666;
  font-size: 17px;
  margin-bottom: 25px;
}

.service-detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 35px;
}

.service-detail-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

.service-detail-list i {
  color: var(--green);
}

/*==================================================
PROJECTS / GALLERY
==================================================*/

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 55px;
}

.filter-btn {
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid #e3e8f0;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.4s, opacity 0.4s;
}

.gallery-item.gallery-hide {
  display: none;
}

.gallery-item .gallery-img-wrap {
  height: 260px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(to top, rgba(6, 22, 51, 0.92), transparent);
  color: #fff;
  transform: translateY(10px);
  opacity: 0.92;
  transition: 0.35s;
}

.gallery-caption span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.gallery-caption h4 {
  font-size: 18px;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-zoom-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.35s;
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 14, 33, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s;
  padding: 20px;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-caption {
  color: #fff;
  margin-top: 20px;
  font-size: 18px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
}

.lightbox-close {
  top: 25px;
  right: 25px;
}

.lightbox-prev {
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

/*==================================================
FORM STATUS MESSAGE
==================================================*/

.form-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eaf7ee;
  color: #2e7d32;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 15px;
}

/*==================================================
MARQUEE / PULSE KEYFRAMES
==================================================*/

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/*==================================================
TESTIMONIAL SLIDER (touch-swipeable)
==================================================*/

.testimonial-slider {
  overflow: hidden;
  display: block;
  padding-bottom: 10px;
}

.testimonial-track {
  display: flex;
  gap: 35px;
  transition: transform 0.5s ease;
  touch-action: pan-y;
}

.testimonial-track .testimonial {
  flex: 0 0 calc(33.333% - 24px);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe4ec;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: 0.3s;
}

.slider-dots button.active {
  background: var(--primary);
  width: 28px;
  border-radius: 6px;
}

.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #e3e8f0;
  background: #fff;
  color: var(--primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

@media (max-width: 1024px) {
  .testimonial-track .testimonial {
    flex: 0 0 calc(50% - 18px);
  }
}

@media (max-width: 768px) {
  .testimonial-track .testimonial {
    flex: 0 0 100%;
  }
}

/* Icon + text spacing inside buttons */
.primary-btn i,
.secondary-btn i,
.quote-btn i,
.call-btn i {
  margin-right: 8px;
}

/*==================================================
ABOUT SECTION TEXT (was inline-styled — now responsive)
==================================================*/

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 15px;
}

.about-title {
  font-family: Poppins;
  font-size: 40px;
  color: var(--primary);
  margin: 15px 0 20px;
  line-height: 1.2;
}

.about-lead {
  color: #666;
  font-size: 17px;
  margin-bottom: 20px;
}

/*==================================================
CONTACT PAGE — PHONE + WHATSAPP ON ONE LINE
==================================================*/

.phone-line {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wa-icon-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: 0.3s;
}

.wa-icon-link:hover {
  transform: scale(1.1);
}

/*==================================================
WAVE DIVIDER (was unconstrained — rendering ~320px tall
blank white space between sections)
==================================================*/

.wave {
  line-height: 0;
  margin-top: -2px;
}

.wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

@media (max-width: 768px) {
  .wave svg {
    height: 36px;
  }
}
/* 1. Make sure the container distributes the space evenly */
.hero-right {
  perspective: 1000px;
  display: flex;
  justify-content: center; /* Centers the image block within its half of the screen */
  align-items: center;
}

.hero-right img {
  /* 2. Set an explicit, clean width */
  width: 600px;
  height: auto;

  /* 3. MAGIC FIX FOR SPACING:
     Gives 25px top/bottom, 45px on the right edge, 
     and 45px on the left to perfectly match the right side gap! */
  margin: 25px 45px 25px 45px;

  /* Keep the clean 3D perspective effect */
  transform-origin: center center; /* Reset to center for perfect symmetry */
  transform: rotateY(-10deg) rotateX(1deg);

  border-radius: 16px;
  box-shadow: -10px 15px 30px rgba(0, 0, 0, 0.3);
  border: 4px solid transparent;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Hover state */
.hero-right img:hover {
  transform: rotateY(-3deg) rotateX(0deg) scale(1.02);
  border-color: #ffb703;
  box-shadow: -12px 18px 32px rgba(0, 0, 0, 0.4);
}

/* Target the icons next to the phone numbers to make their inside symbol white */
.fa-whatsapp,
[class*="whatsapp"] {
  color: #ffffff !important;
}

/* If you are using a wrapper class for those contact list items, ensure the background stays green */
.fa-whatsapp {
  background-color: #25d366; /* Standard WhatsApp Green */
  color: #ffffff !important; /* Forces the inner phone icon to be White */
}
