/* ============================================
   GLOBAL STYLES & RESET
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  font-family:"Poppins", sans-serif;
  min-height: 100vh;
  background: #fff !important;
}


/* ============================================
   SECTION SPACING
============================================ */

.top-cards {
  margin-top: 20px;
  margin-bottom: 40px;
}

.calculator-section {
  margin-bottom: 60px;
}

.benefits-section {
  margin-bottom: 60px;
}

.testimonial-section {
  margin-bottom: 40px;
}

.sectionmargin {
  margin-left: 15px;
  margin-right: 15px;
}

.top-20 {
  margin-top: 15px;
}

/* ============================================
   TOP CATEGORY CARDS
============================================ */
.top-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 100px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.12), rgba(255, 255, 255, 0.04));
  z-index: 1;
}

.service-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 2;
  background: #fff;
}

.service-card .text {
  position: relative;
  z-index: 2;
}

.service-card h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: #fff !important;
}

/* Card Color Variants */
.residential,
.commercial,
.industrial,
.maintenance {
  background: linear-gradient(135deg, #163563, #1f7aff);
}

/* ============================================
   CALCULATOR SECTION
============================================ */
.calculator-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(46, 91, 255, 0.1);
  border: 1px solid rgba(145, 182, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.calculator-section::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -100px;
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(96, 196, 255, 0.25) 0%, rgba(96, 196, 255, 0.05) 45%, transparent 70%);
  z-index: 0;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.form-side {
  background: transparent;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
  margin-bottom: 20px;
}

.input-box {
  position: relative;
}

.input-box input {
  width: 100%;
  height: 58px;
  border-radius: 14px;
  border: 1px solid #d6e6ff;
  background: #fff;
  padding: 0 18px 0 48px;
  font-size: 1rem;
  color: #22345f;
  box-shadow: 0 6px 14px rgba(31, 122, 255, 0.06);
  outline: none;
  transition: 0.3s ease;
}

.input-box input:focus {
  border-color: #69b3ff;
  box-shadow: 0 0 0 4px rgba(52, 160, 255, 0.12);
}

.input-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #2b90ff;
  font-size: 1.05rem;
}

/* Range Slider */
.range-group {
  margin-bottom: 22px;
  padding-top: 6px;
}

.range-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
}

.range-head label {
  font-size: 1rem;
  font-weight: 600;
  color: #2a3d6f;
}

.value-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #d7e8ff;
  border-radius: 12px;
  padding: 8px 14px;
  min-width: 120px;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(31, 122, 255, 0.06);
  font-weight: 700;
  color: #20396b;
}

.value-box button {
  border: none;
  background: transparent;
  color: #1f7aff;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 30px;
  background:      linear-gradient(135deg, rgb(22, 53, 99), rgb(31, 122, 255));
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #e5efff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* System Type */
.system-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #d7e8ff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 6px 14px rgba(31, 122, 255, 0.06);
  flex-wrap: wrap;
}

.system-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #243c74;
  min-width: 140px;
}

.system-options {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  flex: 1;
}

.system-options .fa-briefcase {
  color: #1f7aff;
}

.system-options .fa-cube {
  color: #29b54a;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #324d82;
  cursor: pointer;
}

.radio-option input {
  accent-color: #1f7aff;
  width: 18px;
  height: 18px;
}

/* Savings Card */
.savings-card {
  background: linear-gradient(135deg, #163563, #1f7aff);
  border-radius: 24px;
  padding: 28px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  box-shadow: 0 18px 35px rgba(31, 122, 255, 0.22);
  position: relative;
  overflow: hidden;
}

.savings-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -80px;
  bottom: -80px;
  background: rgba(255, 255, 255, 0.12);
}

.savings-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  left: -60px;
  top: -60px;
  background: rgba(255, 255, 255, 0.08);
}

.savings-content {
  position: relative;
  z-index: 2;
}

.savings-card h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
  color: #fff !important;
}
@media only screen and (max-width: 991px) {
	.savings-card h4 {
  font-size: 1.2rem !important;
 
}
	
   .center-title p {
        font-size: 1rem !important;
    }
}


.savings-card .amount {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.savings-card .year {
  font-size: 1.4rem;
  font-weight: 600;
  opacity: 0.95;
}

.calc-btn {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: #7aa93c !important;
  box-shadow: 0 12px 20px rgba(255, 122, 0, 0.35);
  transition: 0.3s ease;
}

.calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(255, 122, 0, 0.42);
}

/* ============================================
   MILESTONES / TIMELINE SECTION
============================================ */
.milestones-section {
  padding: 60px 20px;
  background: #f5f7fb;
  overflow-x: hidden;
}

.main-title {
  font-size: 40px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.main-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 2px;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 3px;
  background: linear-gradient(180deg, #3b82f6, #60a5fa, #93c5fd);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}


.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

.timeline-content-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.timeline-item.left .timeline-content-wrapper {
  flex-direction: row;
}

.timeline-item.left .timeline-content {
  text-align: right;
  padding-right: 30px;
  flex: 1;
}

.timeline-item.right .timeline-content-wrapper {
  flex-direction: row-reverse;
}

.timeline-item.right .timeline-content {
  text-align: left;
  padding-left: 30px;
  flex: 1;
}

.timeline-content {
  background: white;
  border-radius: 16px;
  padding: 25px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  width: calc(50% - 35px);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.timeline-content h3 {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.timeline-content .sub {
  font-size: 14px;
  color: #6b7280;
  display: inline-block;
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-weight: 500;
}

.timeline-content .desc {
  color: #4b5563;
  line-height: 1.6;
  font-size: 15px;
}

.circle {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(22, 53, 99), rgb(31, 122, 255)) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.circle:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.circle.green {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
}

.circle.purple {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6, #a78bfa);
}

.circle.orange {
  background: linear-gradient(135deg, #ea580c, #f97316, #fb923c);
}

.value-point {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 5px;
}

.circle .unit {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* ============================================
   COUNTER BOX
============================================ */
.counter-box {
  background: linear-gradient(135deg, rgb(22, 53, 99), rgb(31, 122, 255)) !important;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.counter-number {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.counter-text {
  font-size: 14px;
  color: #fff;
}

/* ============================================
   BENEFITS SECTION
============================================ */
.center-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #1e3c76;
  margin-bottom: 24px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefit-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(145, 182, 255, 0.16);
  transition: 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.benefit-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #243c74;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */
.testimonial-full-carousel {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  overflow: hidden !important;
  width: 100% !important;
}

.testimonial-carousel {
  overflow: hidden;
  width: 100%;
  border-radius: 28px;
}

.testimonial-slides {
  display: flex !important;
  transition: transform 0.5s ease-in-out !important;
  width: 100%;
}

.testimonial-slide {
  min-width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px !important;
  display: flex;
  justify-content: center;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  display: flex !important;
  gap: 25px;
  align-items: center;
  position: relative;
}

.testimonial-profile {
  flex-shrink: 0 !important;
}

.profile-image {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid #1f7aff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  flex: 1 !important;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.company-name {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.carousel-dots {
  text-align: center;
  margin-top: 30px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background-color: #cbd5e1;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s ease;
}

.dot.active {
  background-color: #1f7aff;
  width: 28px;
  border-radius: 10px;
}

.dot:hover {
  background-color: #64748b;
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-highlight {
  animation: pulse 0.5s ease-in-out 3;
}

@keyframes pulse {
  0% { transform: scale(1); color: #333; }
  50% { transform: scale(1.1); color: #28a745; }
  100% { transform: scale(1); color: #333; }
}

.clear-timer {
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  padding: 8px;
  background: #fff3cd;
  border-radius: 6px;
  color: #856404;
  display: none;
  font-weight: bold;
  border: 1px solid #ffeeba;
}

.clear-timer.show {
  display: block;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0% { opacity: 1; background: #fff3cd; }
  50% { opacity: 0.8; background: #ffe8a1; }
  100% { opacity: 1; background: #fff3cd; }
}

.toast-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 9999;
  animation: slideIn 0.3s ease-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 14px;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  background: white;
  padding: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   DESKTOP LAYOUT STYLES (min-width: 769px)
============================================ */
@media (min-width: 769px) {
  .timeline-item.left .timeline-content {
    border-radius: 16px 16px 16px 0;
  }
  
  .timeline-item.right .timeline-content {
    border-radius: 16px 16px 0 16px;
  }
  
  .timeline-item.left .circle {
    margin-left: -5px;
  }
  
  .timeline-item.right .circle {
    margin-right: -5px;
  }
}

/* ============================================
   TABLET VIEW (768px - 1024px)
============================================ */
@media (max-width: 1100px) {
  .top-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .timeline-content {
    width: calc(50% - 40px);
  }
  
  .timeline-content h3 {
    font-size: 20px;
  }
  
  .circle {
    width: 85px;
    height: 85px;
  }
  
  .value-point {
    font-size: 22px;
  }
}

/* ============================================
   MOBILE VIEW (max-width: 768px)
============================================ */
@media (max-width: 768px) {
  
  
  .top-cards {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title,
  .center-title {
    font-size: 1.7rem;
  }
  
  .savings-card .amount {
    font-size: 2.3rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  .system-type {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .milestones-section {
    padding: 40px 15px;
  }
  
  .main-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .timeline::before {
    display: none;
  }
  
  .timeline-item {
    margin-bottom: 40px;
  }
  
  .timeline-item .timeline-content-wrapper {
    flex-direction: column !important;
    align-items: center;
    gap: 20px;
  }
  
  .timeline-content {
    width: 100%;
    padding: 20px;
    order: 2;
  }
  
  .circle {
    order: 1;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }
  
  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    text-align: center;
    padding: 20px;
  }
  
  .timeline-content h3 {
    font-size: 20px;
  }
  
  .value-point {
    font-size: 22px;
  }
  
  .circle .unit {
    font-size: 12px;
  }
  
  .timeline-content .desc {
    font-size: 14px;
  }
  
  .testimonial-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
  }
  
  .profile-image {
    width: 70px;
    height: 70px;
  }
}

/* ============================================
   SMALL MOBILE (max-width: 480px)
============================================ */
@media (max-width: 480px) {
  .main-title {
    font-size: 24px;
  }
  
  .timeline-content {
    padding: 15px;
  }
  
  .timeline-content h3 {
    font-size: 18px;
  }
  
  .circle {
    width: 70px;
    height: 70px;
  }
  
  .value-point {
    font-size: 18px;
  }
  
  .circle .unit {
    font-size: 10px;
  }
  
  .timeline-content .desc {
    font-size: 13px;
  }
  
  .timeline-item {
    margin-bottom: 30px;
  }
}

/* ============================================
   EXTRA SMALL DEVICES (max-width: 380px)
============================================ */
@media (max-width: 380px) {
  .timeline-content h3 {
    font-size: 16px;
  }
  
  .timeline-content .sub {
    font-size: 12px;
  }
  
  .circle {
    width: 60px;
    height: 60px;
  }
  
  .value-point {
    font-size: 16px;
  }
}

.clients .client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 10px;
}

@media (max-width: 768px) {
    .clients .client-logo {
        height: 90px; /* smaller box but better fit */
    }
}

.clients .client-logo img.client-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
.top-20
{
	margin-top:20px;
}

@media (min-width: 992px) {
    .margin-top-30 {
        margin-top: 30px;
    }
	.leftblue
	{
		 padding: 30px;
	}
}