/* ============================================
   Mahalaxmi Solar - Front Page Styles
   Optimized and Combined CSS
   ============================================ */

/* Global Styles - Page Specific Only */
/* Note: Global overflow/width rules are handled in style.css */

/* Common Section Styles */
.mahalaxmi-orange {
  background: linear-gradient(135deg, #fe8e19 0%, #fdb12b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Expanding Slider Section */
.expanding-wrapper {
  display: flex;
  gap: 24px;
  width: 100%;
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  scroll-behavior: smooth;
}

.exp-card {
  flex: 0.5;
  height: 450px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  filter: brightness(0.65);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.exp-card.active {
  flex: 3;
  filter: brightness(1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: scale(1.02);
}

@media (min-width: 769px) {
  .exp-card:hover:not(.active) {
    flex: 1 !important;
    filter: brightness(0.8);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  }
}

.exp-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  width: max-content;
  padding: 10px;
}

.exp-card.active .exp-title {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.exp-content {
  position: absolute;
  inset: 0;
  padding: 70px 60px;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
  color: #fff;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

.exp-content h2 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.exp-content p {
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
}

.exp-content button {
  pointer-events: auto;
  cursor: pointer;
  background: linear-gradient(135deg, #fe8e19 0%, #fdb12b 100%);
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(254, 142, 25, 0.4);
  margin-top: 20px;
}

.exp-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 142, 25, 0.5);
  background: linear-gradient(135deg, #fdb12b 0%, #fe8e19 100%);
}

.exp-card.active .exp-content { opacity: 1; }

/* About Section */
.about-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(254, 142, 25, 0.3), transparent);
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  height: 100%;
  min-height: 550px;
  transition: transform 0.4s ease;
}

.about-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-image-wrapper:hover img { transform: scale(1.05); }

.about-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.about-logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
}

.about-content {
  padding: 20px 0;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-content h2,
.about-title {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 35px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 25px;
  font-weight: 400;
}

.about-content p:last-child { margin-bottom: 0; }

/* Why Choose Section */
.why-choose-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.why-choose-container {
  max-width: 1400px;
  margin: 0 auto;
}

.why-choose-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 70px;
  letter-spacing: -0.5px;
  position: relative;
}

.why-choose-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.why-choose-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 35px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(254, 142, 25, 0.1);
  position: relative;
  overflow: hidden;
}

.why-choose-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.why-choose-card:hover::before { transform: scaleX(1); }

.why-choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(254, 142, 25, 0.15);
  border-color: rgba(254, 142, 25, 0.3);
}

.why-choose-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.1), rgba(253, 177, 43, 0.1));
  border-radius: 20px;
  transition: all 0.4s ease;
}

.why-choose-card:hover .why-choose-icon {
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.15), rgba(253, 177, 43, 0.15));
  transform: scale(1.1);
}

.why-choose-icon svg {
  width: 100%;
  height: 100%;
  stroke: #fe8e19;
  fill: none;
  stroke-width: 2.5;
  transition: all 0.4s ease;
}

.why-choose-card:hover .why-choose-icon svg {
  stroke: #fdb12b;
  transform: rotate(5deg);
}

.why-choose-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  line-height: 1.5;
  letter-spacing: -0.2px;
}

/* Services Section */
.services-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  position: relative;
}

.services-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

.services-subtitle {
  text-align: center;
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 70px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 45px 35px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(254, 142, 25, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(254, 142, 25, 0.15);
  border-color: rgba(254, 142, 25, 0.3);
}

.service-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.1), rgba(253, 177, 43, 0.1));
  border-radius: 24px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.15), rgba(253, 177, 43, 0.15));
  transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
  width: 60px;
  height: 60px;
  stroke: #fe8e19;
  fill: none;
  stroke-width: 2.5;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon svg { stroke: #fdb12b; }

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 15px 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0;
}

/* Solar Types Section */
.solar-types-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.solar-types-container {
  max-width: 1400px;
  margin: 0 auto;
}

.solar-types-header {
  text-align: center;
  margin-bottom: 60px;
}

.solar-types-title {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  position: relative;
}

.solar-types-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

.solar-types-subtitle {
  font-size: 18px;
  color: #6b7280;
  max-width: 600px;
  margin: 40px auto 0;
  line-height: 1.6;
}

.solar-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.solar-type-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.solar-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(254, 142, 25, 0.2);
}

.solar-type-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.1), rgba(253, 177, 43, 0.1));
}

.solar-type-content {
  padding: 40px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solar-type-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #fe8e19, #fdb12b);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.solar-type-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
}

.solar-type-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.solar-type-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.solar-type-features li {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
}

.solar-type-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #fe8e19;
  font-weight: bold;
  font-size: 18px;
}

.solar-type-button {
  padding: 14px 28px;
  background: linear-gradient(135deg, #fe8e19 0%, #fdb12b 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 15px rgba(254, 142, 25, 0.3);
  margin-top: auto;
}

.solar-type-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 142, 25, 0.4);
  color: #ffffff;
}

/* Gallery Section */
.gallery-section-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.gallery-title {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  letter-spacing: -0.5px;
}

.gallery-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

.gallery-subtitle {
  text-align: center;
  font-size: 18px;
  color: #6b7280;
  margin: 40px auto 70px;
  max-width: 600px;
}

.gallery-filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.gallery-filter-btn {
  background: #fff;
  color: #404040;
  border: 1.8px solid #fe8e19;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  transition: all 0.19s cubic-bezier(0.4,0,0.2,1);
  outline: none;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: linear-gradient(90deg, #fe8e19 70%, #fdb12b 100%);
  color: #fff !important;
  border-color: #fdb12b;
  box-shadow: 0 2px 10px 0 rgba(254,142,25,0.13);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  scrollbar-width: none;
}

.gallery-grid::-webkit-scrollbar { display: none; }

.gallery-item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
  transition: transform .18s cubic-bezier(.4,0,.2,1), box-shadow .18s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .24s cubic-bezier(.4,0,.2,1);
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 40px rgba(254,142,25,0.13);
}

.gallery-item:hover img { transform: scale(1.03); }

.hidden { display: none !important; }

/* Blog Section */
.blog-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.blog-container {
  max-width: 1400px;
  margin: 0 auto;
}

.blog-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  position: relative;
}

.blog-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

.blog-subtitle {
  text-align: center;
  font-size: 18px;
  color: #6b7280;
  margin: 40px auto 70px;
  max-width: 600px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.blog-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(254, 142, 25, 0.1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  max-width: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(254, 142, 25, 0.15);
  border-color: rgba(254, 142, 25, 0.3);
}

.blog-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.1), rgba(253, 177, 43, 0.1));
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
  max-width: 100%;
}

.blog-card:hover .blog-card-image img { transform: scale(1.1); }

.blog-card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 14px;
  color: #fe8e19;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 15px 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.blog-card-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0 0 20px 0;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.blog-card-link {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #fe8e19 0%, #fdb12b 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(254, 142, 25, 0.3);
  text-align: center;
  margin-top: auto;
}

.blog-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 142, 25, 0.4);
  background: linear-gradient(135deg, #fdb12b 0%, #fe8e19 100%);
  color: #ffffff;
}

/* Clients Section */
.clients-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.clients-container {
  max-width: 1400px;
  margin: 0 auto;
}

.clients-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  position: relative;
}

.clients-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

.clients-subtitle {
  text-align: center;
  font-size: 18px;
  color: #6b7280;
  margin: 40px auto 70px;
  max-width: 600px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.client-logo-wrapper {
  width: 100%;
  max-width: 200px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(254, 142, 25, 0.1);
  position: relative;
  overflow: hidden;
}

.client-logo-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.client-logo-wrapper:hover::before { transform: scaleX(1); }

.client-logo-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(254, 142, 25, 0.15);
  border-color: rgba(254, 142, 25, 0.3);
}

.client-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.client-logo-wrapper:hover .client-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Reviews Section */
.reviews-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
  position: relative;
}

.reviews-container {
  max-width: 1400px;
  margin: 0 auto;
}

.reviews-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  position: relative;
}

.reviews-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

.reviews-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 18px;
  margin: 40px auto 70px;
  max-width: 600px;
}

.reviews-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============================================
   Mobile Responsive Styles
   ============================================ */

@media (max-width: 768px) {
  /* Slider */
  .expanding-wrapper {
    padding: 40px 15px;
    gap: 16px;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .exp-card {
    height: 380px;
    min-width: 60px;
    border-radius: 20px;
  }
  
  .exp-title {
    font-size: 20px;
    padding: 8px;
  }
  
  .exp-content {
    padding: 50px 30px 40px 30px;
  }
  
  .exp-content h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .exp-content p {
    font-size: 16px !important;
    margin-top: 10px !important;
    opacity: 0.98 !important;
  }
  
  .exp-content button {
    padding: 12px 24px !important;
    font-size: 15px !important;
    margin-top: 20px;
  }
  
  .exp-card.active { filter: brightness(1.05); }
  .exp-card:not(.active) { filter: brightness(0.7); }
  
  /* About */
  .about-section { padding: 70px 15px; }
  .about-container { gap: 30px; }
  .about-image-wrapper { min-height: auto; height: auto; }
  .about-image-wrapper img { object-fit: contain; height: auto; max-height: none; }
  .about-content h2,
  .about-title { font-size: 32px; margin-bottom: 20px; }
  .about-content p { font-size: 16px; line-height: 1.7; }
  .about-logo { top: 15px; left: 15px; padding: 10px 12px; }
  .about-logo-icon { width: 32px; height: 32px; }
  .about-logo-text { font-size: 12px; }
  
  /* Why Choose */
  .why-choose-section { padding: 70px 15px; }
  .why-choose-title { font-size: 36px; margin-bottom: 50px; }
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .why-choose-card { padding: 35px 20px; }
  .why-choose-icon { width: 70px; height: 70px; margin-bottom: 20px; }
  .why-choose-card h3 { font-size: 15px; }
  
  /* Services */
  .services-section { padding: 70px 15px; }
  .services-title { font-size: 36px; margin-bottom: 15px; }
  .services-subtitle { font-size: 16px; margin-bottom: 50px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .service-card { padding: 35px 20px; }
  .service-icon { width: 90px; height: 90px; margin-bottom: 25px; }
  .service-icon svg { width: 50px; height: 50px; }
  .service-card h3 { font-size: 20px; }
  .service-card p { font-size: 15px; }
  
  /* Solar Types */
  .solar-types-section { padding: 70px 0; }
  .solar-types-container { padding: 0 15px; max-width: 100%; }
  .solar-types-title { font-size: 36px; margin-bottom: 15px; }
  .solar-types-subtitle { font-size: 16px; margin-top: 30px; }
  .solar-types-grid { 
    grid-template-columns: 1fr; 
    gap: 30px; 
    margin-top: 40px; 
    width: 100%;
    padding: 0;
  }
  .solar-type-card { 
    width: 100%; 
    max-width: 100%; 
    margin: 0;
    box-sizing: border-box;
  }
  .solar-type-content { padding: 30px 20px; }
  .solar-type-image { height: 250px; width: 100%; }
  
  /* Gallery */
  .gallery-section-section { padding: 70px 15px; }
  .gallery-title { font-size: 36px; margin-bottom: 15px; }
  .gallery-subtitle { font-size: 16px; margin-bottom: 50px; margin-top: 30px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  
  /* Blog */
  .blog-section { padding: 60px 0; }
  .blog-container { padding: 0 15px; max-width: 100%; }
  .blog-title { font-size: 32px; margin-bottom: 12px; line-height: 1.3; }
  .blog-title::after { width: 60px; height: 3px; bottom: -15px; }
  .blog-subtitle { font-size: 15px; margin-bottom: 40px; margin-top: 30px; padding: 0 10px; line-height: 1.6; }
  .blog-grid { 
    display: flex; 
    overflow-x: auto; 
    overflow-y: hidden;
    gap: 20px; 
    padding: 10px 15px 20px 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #fe8e19 transparent;
  }
  .blog-grid::-webkit-scrollbar { 
    height: 6px; 
  }
  .blog-grid::-webkit-scrollbar-track { 
    background: transparent; 
    border-radius: 10px;
  }
  .blog-grid::-webkit-scrollbar-thumb { 
    background: #fe8e19; 
    border-radius: 10px;
  }
  .blog-grid::-webkit-scrollbar-thumb:hover { 
    background: #fdb12b; 
  }
  .blog-card { 
    border-radius: 16px; 
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08); 
    min-width: calc(100vw - 60px);
    max-width: calc(100vw - 60px);
    flex-shrink: 0;
    width: calc(100vw - 60px);
  }
  .blog-card-image { height: 200px; width: 100%; overflow: hidden; }
  .blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .blog-card-content { padding: 20px 18px; }
  .blog-card-date { font-size: 13px; margin-bottom: 10px; }
  .blog-card-content h3 { font-size: 20px; margin-bottom: 12px; line-height: 1.4; word-wrap: break-word; }
  .blog-card-content p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
  .blog-card-link { padding: 11px 22px; font-size: 14px; width: 100%; text-align: center; box-shadow: 0 3px 12px rgba(254, 142, 25, 0.25); }
  
  /* Clients */
  .clients-section { padding: 70px 15px; }
  .clients-title { font-size: 36px; margin-bottom: 15px; }
  .clients-subtitle { font-size: 16px; margin-bottom: 50px; margin-top: 30px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .client-logo-wrapper { max-width: 100%; height: 120px; padding: 15px; }
  
  /* Reviews */
  .reviews-section { padding: 70px 15px; }
  .reviews-title { font-size: 36px; margin-bottom: 15px; }
  .reviews-subtitle { font-size: 16px; margin-bottom: 50px; margin-top: 30px; }
}

@media (max-width: 1024px) {
  .about-container { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrapper { min-height: auto; height: auto; }
  .about-image-wrapper img { object-fit: contain; height: auto; max-height: none; }
  .about-content h2,
  .about-title { font-size: 36px; }
  
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .solar-types-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .gallery-item img { height: 170px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .blog-card-image { height: 240px; }
  .blog-card-content { padding: 28px 22px; }
  .blog-card-content h3 { font-size: 21px; }
  .blog-card-content p { font-size: 15px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .client-logo-wrapper { max-width: 180px; height: 130px; }
}

@media (max-width: 480px) {
  /* Blog - Extra Small Screens */
  .blog-section { padding: 50px 0; }
  .blog-container { padding: 0 12px; }
  .blog-title { font-size: 28px; margin-bottom: 10px; }
  .blog-title::after { width: 50px; height: 3px; bottom: -12px; }
  .blog-subtitle { font-size: 14px; margin-bottom: 35px; margin-top: 25px; padding: 0 5px; }
  .blog-grid { 
    gap: 18px; 
    padding: 10px 12px 20px 12px;
  }
  .blog-card { 
    border-radius: 14px; 
    min-width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    width: calc(100vw - 48px);
  }
  .blog-card-image { height: 180px; }
  .blog-card-content { padding: 18px 16px; }
  .blog-card-date { font-size: 12px; margin-bottom: 8px; }
  .blog-card-content h3 { font-size: 18px; margin-bottom: 10px; }
  .blog-card-content p { font-size: 13px; margin-bottom: 14px; line-height: 1.65; }
  .blog-card-link { padding: 10px 20px; font-size: 13px; }
  
  /* Solar Types - Extra Small Screens */
  .solar-types-section { padding: 50px 0; }
  .solar-types-container { padding: 0 12px; }
  .solar-types-grid { gap: 25px; margin-top: 35px; padding: 0; }
  .solar-type-card { width: 100%; max-width: 100%; box-sizing: border-box; }
  .solar-type-content { padding: 25px 18px; }
  .solar-type-image { height: 220px; width: 100%; }
  .solar-type-title { font-size: 24px; }
  .solar-type-description { font-size: 15px; }
  .solar-type-features li { font-size: 14px; }
  .solar-type-button { padding: 12px 24px; font-size: 15px; }
  
  /* Clients */
  .clients-grid { grid-template-columns: 1fr; gap: 20px; }
  .client-logo-wrapper { max-width: 250px; height: 110px; }
}

