/* ==========================================================================
   Hero Section Styles (Fixed Background Parallax)
   ========================================================================== */

.solar-hero, .agriculture-hero, .commercial-hero , .home-hero{
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Fixed Background Image Effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  padding: 100px 20px 80px;
  overflow: hidden;
  
}

.home-hero{
  background-image: url('../images/solar-process.png');
  
}

.solar-hero {
  /* Fixed Background Image Effect */
  background-image: url('../images/hero1.png');
}

.agriculture-hero {
  /* Fixed Background Image Effect */
  background-image: url('../images/agriculture.png');
}

.commercial-hero {
  /* Fixed Background Image Effect */
  background-image: url('../images/commercial.png');
}

/* Gradient Overlay for Text Contrast */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 25, 47, 0.40) 0%,
    rgba(15, 23, 42, 0.75) 100%
  );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}



/* Badge */


/* Title */
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title .highlight-text {
  background: linear-gradient(90deg, #ff9100, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-description strong {
  color: #ffc107;
}

/* Feature Pills */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 6px;
}

.feature-pill i {
  color: #10b981; /* Success Green */
}

/* Actions (CTA) */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-hero-primary {
  background: #ff6f00;
  color: #ffffff;
  padding: 16px 30px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -5px rgba(255, 111, 0, 0.4);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background: #e66400;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(255, 111, 0, 0.5);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Stats Footer */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
}

.stat-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Hero Section Responsive Breakpoints (300px to Large Desktop)
   ========================================================================== */

/* Large Desktop Displays (1440px and up) */


/* Tablets and Medium Displays (769px to 1024px) */
@media (max-width: 1024px) {
  .solar-hero, 
  .agriculture-hero, 
  .commercial-hero {
    padding: 90px 24px 60px;
    min-height: 80vh;
  }

  .hero-stats {
    gap: 20px;
  }
}

/* Mobile & Tablet Devices (768px & below) */
@media (max-width: 768px) {
  .solar-hero, 
  .agriculture-hero, 
  .commercial-hero {
    background-attachment: scroll; /* Mobile/iOS Smooth Scroll Fallback */
    padding: 80px 16px 50px;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: 36px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}

/* Small Mobile Screens (480px & below) */
@media (max-width: 480px) {
  .solar-hero, 
  .agriculture-hero, 
  .commercial-hero {
    padding: 70px 12px 40px;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-divider {
    display: none; /* Mobile Grid लेआउट के लिए डिवाइडर छिपाया गया */
  }

  .stat-item {
    align-items: center;
  }
}

/* Extra Small Mobile Screens (300px to 360px) */
@media (max-width: 360px) {
  .solar-hero, 
  .agriculture-hero, 
  .commercial-hero {
    padding: 60px 10px 32px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .feature-pill {
    width: 100%;
    justify-content: center;
    font-size: 0.825rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* ==========================================================================
   Benefits Cards Section Styling
   ========================================================================== */


.solar-benefits-cards-section {
  padding: 80px 0;
  background-color: var(--bg-primary, #f8fafc);
}



/* Header */
.benefits-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.header-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 12px;
  font-family: var(--font-secondary);
}

.header-title span {
  color: #0056b3;
}

.header-subtitle {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

/* Cards Grid */
.benefits-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Benefit Card Base */
.benefit-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08);
}

/* Card Colored Top Borders */
.border-green { border-top-color: #10b981; }
.border-orange { border-top-color: #ff6f00; }
.border-blue { border-top-color: #2563eb; }
.border-yellow { border-top-color: #d97706; }
.border-purple { border-top-color: #9333ea; }
.border-teal { border-top-color: #0d9488; }

/* Icon Styles */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.icon-green { background-color: #dcfce7; color: #15803d; }
.icon-orange { background-color: #ffedd5; color: #c2410c; }
.icon-blue { background-color: #dbeafe; color: #1d4ed8; }
.icon-yellow { background-color: #fef3c7; color: #b45309; }
.icon-purple { background-color: #f3e8ff; color: #7e22ce; }
.icon-teal { background-color: #ccfbf1; color: #0f766e; }

/* Card Body */
.card-tag {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  width: fit-content;
}

.tag-green { background: #ecfdf5; color: #047857; }
.tag-orange { background: #fff7ed; color: #c2410c; }
.tag-blue { background: #eff6ff; color: #1d4ed8; }
.tag-yellow { background: #fffbeb; color: #b45309; }
.tag-purple { background: #faf5ff; color: #6b21a8; }
.tag-teal { background: #f0fdf4; color: #0f766e; }

.card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  font-family: var(--font-secondary);
}

.card-content p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Card Bottom Highlight Box */
.card-highlight {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.825rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-highlight i {
  color: #10b981;
}

/* ==========================================================================
   Responsive Breakpoints (320px to Large Desktop)
   ========================================================================== */

/* Large Desktop Displays (1440px and up) */


/* Medium Desktop / Small Laptops (1025px to 1200px) */
@media (max-width: 1200px) {
  .benefits-cards-grid {
    gap: 20px;
  }
  
  .benefit-card {
    padding: 24px 20px;
  }
}

/* Tablets & iPad View (769px to 1024px) */
@media (max-width: 1024px) {
  .benefits-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .solar-benefits-cards-section {
    padding: 70px 0;
  }

  .benefits-header {
    margin-bottom: 40px;
  }
}

/* Small Tablets & Large Phones (577px to 768px) */
@media (max-width: 768px) {
  .solar-benefits-cards-section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  .benefits-header {
    margin-bottom: 32px;
  }

  .header-subtitle {
    font-size: 0.95rem;
  }
}

/* Standard Mobile Screens (480px to 576px) */
@media (max-width: 576px) {
  .benefits-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card {
    padding: 20px 18px;
  }
}

/* Small Mobile Screens (320px to 479px) */
@media (max-width: 479px) {
  .solar-benefits-cards-section {
    padding: 48px 0;
  }

  .container {
    padding: 0 12px;
  }

  .header-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .benefit-card {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .card-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .card-content h3 {
    font-size: 1.05rem;
  }

  .card-content p {
    font-size: 0.825rem;
    margin-bottom: 16px;
  }

  .card-highlight {
    font-size: 0.775rem;
    padding-top: 12px;
  }
}

/* ==========================================================================
   Compact Final CTA Section Styles
   ========================================================================== */

.solar-final-cta-compact {
  padding: 60px 0;
  background: linear-gradient(135deg, #091527 0%, #0f233d 100%);
  color: #ffffff;
  text-align: center;
}

.cta-compact-content {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-compact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 111, 0, 0.15);
  border: 1px solid rgba(255, 111, 0, 0.4);
  color: #ff9100;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-compact-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  font-family: var(--font-secondary);
  margin-bottom: 14px;
  color: #ffffff;
}

.cta-compact-title span {
  background: linear-gradient(90deg, #ff9100, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-compact-desc {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 620px;
}

/* Buttons Styling */
.cta-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn-cta-primary {
  background: #ff6f00;
  color: #ffffff;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px -5px rgba(255, 111, 0, 0.4);
}

.btn-cta-primary:hover {
  background: #e66400;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -5px rgba(255, 111, 0, 0.5);
  color: #ffffff;
}

.btn-cta-call {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-cta-call:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
}


/* ==========================================================================
   Full Responsive Media Queries (Added for Smooth Adaptability)
   ========================================================================== */

/* Large Tablets & Desktop (1024px & below) */
@media (max-width: 1024px) {
  .benefits-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (768px & below) */
@media (max-width: 768px) {
  .solar-hero, 
  .agriculture-hero, 
  .commercial-hero {
    background-attachment: scroll; /* Mobile & iOS Parallax Smooth Fix */
    padding: 80px 16px 60px;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
  }

  .benefits-header {
    margin-bottom: 36px;
  }
}

/* Small Tablets & Large Phones (640px & below) */
@media (max-width: 640px) {
  .benefits-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .solar-benefits-cards-section {
    padding: 50px 0;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-divider {
    display: none; /* Split grid structure clean fallback */
  }

  .stat-item {
    align-items: center;
  }
}

/* Mobile Phones (576px & below) */
@media (max-width: 576px) {
  .solar-final-cta-compact {
    padding: 45px 16px;
  }
  
  .cta-compact-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta-primary,
  .btn-cta-call {
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
  }
}

/* Extra Small Phones (380px & below) */
@media (max-width: 380px) {
  .hero-badge,
  .header-badge,
  .cta-compact-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .feature-pill {
    width: 100%;
    justify-content: center;
  }

  .benefit-card {
    padding: 20px 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
}