* {
  margin: 0;
  padding: 0;
}

main{
  padding: 0 2rem 2rem 2rem;
}


.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(/homeImages/images/h4.png);
  background-size: cover;
  height: 72vh;
  padding: 2rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: white;
  border-radius: 20px;
}

.hero h1 {
  max-width: 738px;
  font-size: 3rem;
}

.hero p {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.hero button {
  background: transparent;
  padding: 1rem 1.5rem;
  color: white;
  border: solid 1px white;
  font-size: 1.2rem;
  border-radius: 50px;
}



.about {
  padding: 5rem 0;
}

.about p {
  font-size: 2rem;
}

.why-choose {
  padding-bottom: 5rem;
}

.why-choose h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 30px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px 50px;
}

.why-card {
  background: #fff;
  border-left: 6px solid #0a58f0;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.icon {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 10px;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.why-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}


.services-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 60px auto;
  padding: 0 20px;
  gap: 40px;
}

.services-left {
  max-width: 500px;
}

.section-label {
  color: #0057ff;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.services-left h2 {
  font-size: 3rem;
  font-weight: bold;
  margin: 15px 0;
}

.services-left p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background: #0057ff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #003bb5;
}

/* Service List */
.services-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-item {
  border-bottom: 1px solid #eee;
}

.service-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 30px 0;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.service-header.active {
  color: #0057ff;
}

.service-header i {
  transition: transform 0.3s ease;
}

.service-header.active i {
  transform: rotate(90deg);
}

.service-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #555;
}

.service-content.open {
  max-height: 150px;
  padding-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .services-section {
    grid-template-columns: 1fr;
  }
}







/* --------------------navbar-------------------- */

.cta-retrofitting {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  color: white;
  background: linear-gradient(90deg, #9d00ff, #00d4ff, #ff00cc);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  overflow: hidden;
  border-radius: 10px;
}

/* Vertical Striped Overlay (same as uploaded style) */
.cta-retrofitting::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.6) 0px,
      rgba(0, 0, 0, 0.6) 6px,
      /* thicker dark stripe */
      rgba(255, 255, 255, 0) 34px
      /* wider transparent gap */
    );
  z-index: 0;
}


@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.cta-content {
  position: relative;
  max-width: 750px;
  margin: auto;
  z-index: 1;
}

.cta-retrofitting h2 {
  font-size: 2.3rem;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 15px;
}

.cta-retrofitting p {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 30px;
}

/* Glass-Effect Button */
.cta-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}


@media (max-width: 548px) {
  .hero h1 {
    font-size: 2rem;
  }

  .about p {
    font-size: 1.5rem;
  }

  .cta-retrofitting h2 {  
    font-size: 1.8rem;
  }
  main{
    padding: 0 1rem 2rem 1rem;
  }
}
