/* ============================================
   Mahalaxmi Solar - About Page Styles
   Optimized and Combined CSS
   ============================================ */

/* Common Styles */
/* Note: Global overflow/width rules are handled in style.css */
.mahalaxmi-orange {
  background: linear-gradient(135deg, #fe8e19 0%, #fdb12b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Page Section */
.page-section {
  padding: 100px 20px;
  background: #ffffff;
}

.page-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
}

.page-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;
  line-height: 1.2;
  position: relative;
}

.page-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;
}

.page-subtitle {
  font-size: 20px;
  color: #6b7280;
  margin-top: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-featured-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.page-content {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
}

.page-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin: 50px 0 25px;
  padding-bottom: 10px;
  border-bottom: 3px solid #fe8e19;
}

.page-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1f2937;
  margin: 40px 0 20px;
}

.page-content p {
  margin-bottom: 25px;
}

.page-content ul,
.page-content ol {
  margin: 25px 0;
  padding-left: 30px;
}

.page-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.page-content a {
  color: #fe8e19;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-content a:hover {
  color: #fdb12b;
  text-decoration: underline;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin: 30px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* About Intro Section */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin: 60px 0;
}

.about-intro-content h2 {
  margin-top: 0;
}

.about-intro-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-intro-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.about-feature-card {
  background: #f8fafc;
  padding: 35px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.about-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(254, 142, 25, 0.3);
  box-shadow: 0 10px 30px rgba(254, 142, 25, 0.1);
}

.about-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.1), rgba(253, 177, 43, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.about-feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.about-feature-text {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 60px 0;
  padding: 50px;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  border-radius: 20px;
}

.about-stat-item {
  text-align: center;
}

.about-stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #fe8e19;
  margin-bottom: 10px;
  line-height: 1;
}

.about-stat-label {
  font-size: 16px;
  color: #ffffff;
  opacity: 0.9;
}

.about-mission {
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.05), rgba(253, 177, 43, 0.05));
  padding: 50px;
  border-radius: 20px;
  margin: 60px 0;
  border-left: 4px solid #fe8e19;
}

.about-mission h2 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
}

/* Journey Section */
.journey-section {
  padding: 100px 20px;
  background: #f8fafc;
}

.journey-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-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: 40px;
  letter-spacing: -0.5px;
  position: relative;
}

.section-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;
}

.journey-timeline {
  position: relative;
  padding: 20px 0;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #fe8e19, #fdb12b);
  transform: translateX(-50%);
}

.journey-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.journey-item:nth-child(odd) {
  flex-direction: row;
}

.journey-item:nth-child(even) {
  flex-direction: row-reverse;
}

.journey-item-content {
  flex: 1;
  background: #ffffff;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #fe8e19;
  margin: 0 30px;
  transition: all 0.3s ease;
}

.journey-item:nth-child(even) .journey-item-content {
  border-left: none;
  border-right: 4px solid #fe8e19;
}

.journey-item-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(254, 142, 25, 0.15);
}

.journey-year {
  font-size: 24px;
  font-weight: 700;
  color: #fe8e19;
  margin-bottom: 15px;
}

.journey-title {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.journey-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
}

.journey-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: #fe8e19;
  border: 4px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fe8e19;
  z-index: 2;
}

/* Founder's Word Section */
.founder-section {
  padding: 100px 20px;
  background: #ffffff;
}

.founder-container {
  max-width: 1400px;
  margin: 0 auto;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.founder-card {
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.05), rgba(253, 177, 43, 0.05));
  padding: 60px;
  border-radius: 20px;
  border-left: 6px solid #fe8e19;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(254, 142, 25, 0.15);
}

.founder-quote {
  font-size: 24px;
  font-style: italic;
  color: #1f2937;
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
  padding-left: 40px;
}

.founder-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 80px;
  color: #fe8e19;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.founder-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.founder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fe8e19;
  object-fit: cover;
}

.founder-details h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 5px;
}

.founder-details p {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

/* Team Section */
.team-section {
  padding: 100px 20px;
  background: #f8fafc;
}

.team-container {
  max-width: 1400px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(254, 142, 25, 0.2);
}

.team-member-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.1), rgba(253, 177, 43, 0.1));
}

.team-member-info {
  padding: 30px 20px;
}

.team-member-name {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.team-member-role {
  font-size: 16px;
  color: #fe8e19;
  font-weight: 600;
  margin-bottom: 15px;
}

.team-member-bio {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* CTA Parallax Section */
.cta-parallax-section {
  position: relative;
  padding: 100px 20px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.cta-parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 41, 55, 0.7);
  z-index: 1;
}

.cta-parallax-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.cta-parallax-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.cta-parallax-text {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-parallax-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fe8e19, #fdb12b);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(254, 142, 25, 0.3);
}

.cta-parallax-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(254, 142, 25, 0.4);
  color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .page-container,
  .journey-container,
  .founder-container,
  .team-container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .about-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .journey-timeline::before {
    left: 30px;
  }
  
  .journey-item {
    flex-direction: row !important;
    padding-left: 60px;
  }
  
  .journey-item-content {
    margin: 0;
    border-left: 4px solid #fe8e19;
    border-right: none;
  }
  
  .journey-dot {
    left: 30px;
  }
  
  .founders-grid {
    gap: 30px;
  }
  
  .founder-card {
    padding: 50px 35px;
  }
}

@media (max-width: 768px) {
  .page-section,
  .journey-section,
  .founder-section,
  .team-section {
    padding: 70px 15px;
  }
  
  .cta-parallax-section {
    padding: 70px 15px;
  }
  
  .page-container,
  .journey-container,
  .founder-container,
  .team-container {
    max-width: 100%;
    padding: 0;
  }
  
  .page-title,
  .section-title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 25px;
  }
  
  .page-title::after,
  .section-title::after {
    width: 60px;
    height: 3px;
    bottom: -15px;
  }
  
  .page-subtitle {
    font-size: 16px;
    margin-top: 20px;
    padding: 0 10px;
  }
  
  .page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
  
  .page-featured-image {
    height: 250px;
    border-radius: 15px;
    margin-bottom: 30px;
  }
  
  .page-content {
    font-size: 15px;
    line-height: 1.7;
  }
  
  .page-content h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    padding-bottom: 8px;
  }
  
  .page-content h3 {
    font-size: 20px;
    margin: 30px 0 15px;
  }
  
  .page-content p {
    margin-bottom: 20px;
  }
  
  .page-content ul,
  .page-content ol {
    margin: 20px 0;
    padding-left: 25px;
  }
  
  .about-intro {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 40px 0;
  }
  
  .about-intro-image {
    border-radius: 15px;
  }
  
  .about-intro-image img {
    border-radius: 15px;
  }
  
  .about-intro-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
  }
  
  .about-feature-card {
    padding: 25px 20px;
  }
  
  .about-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    font-size: 28px;
  }
  
  .about-feature-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .about-feature-text {
    font-size: 14px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 25px;
    margin: 40px 0;
    border-radius: 15px;
  }
  
  .about-stat-number {
    font-size: 32px;
  }
  
  .about-stat-label {
    font-size: 14px;
  }
  
  .about-mission {
    padding: 30px 20px;
    margin: 40px 0;
    border-radius: 15px;
  }
  
  .journey-section {
    padding: 70px 15px;
  }
  
  .journey-timeline {
    padding: 15px 0;
  }
  
  .journey-timeline::before {
    left: 20px;
    width: 3px;
  }
  
  .journey-item {
    flex-direction: row !important;
    padding-left: 50px;
    margin-bottom: 30px;
  }
  
  .journey-item-content {
    padding: 20px 18px;
    border-radius: 12px;
    border-left: 3px solid #fe8e19;
  }
  
  .journey-dot {
    left: 20px;
    width: 16px;
    height: 16px;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px #fe8e19;
  }
  
  .journey-year {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .journey-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .journey-description {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .founder-section {
    padding: 70px 15px;
  }
  
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  
  .founder-card {
    padding: 30px 20px;
    border-radius: 15px;
    border-left: 4px solid #fe8e19;
  }
  
  .founder-quote {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 25px;
  }
  
  .founder-quote::before {
    font-size: 50px;
    top: -5px;
    left: -5px;
  }
  
  .founder-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
  }
  
  .founder-avatar {
    width: 60px;
    height: 60px;
    border: 3px solid #fe8e19;
  }
  
  .founder-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  
  .founder-details p {
    font-size: 14px;
  }
  
  .team-section {
    padding: 70px 15px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  
  .team-member {
    border-radius: 15px;
  }
  
  .team-member-image {
    height: 250px;
  }
  
  .team-member-info {
    padding: 25px 18px;
  }
  
  .team-member-name {
    font-size: 18px;
  }
  
  .team-member-role {
    font-size: 14px;
  }
  
  .team-member-bio {
    font-size: 13px;
  }
  
  .cta-parallax-section {
    padding: 70px 15px;
    background-attachment: scroll;
  }
  
  .cta-parallax-content {
    max-width: 100%;
    padding: 0 10px;
  }
  
  .cta-parallax-title {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  .cta-parallax-text {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
  }
  
  .cta-parallax-button {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 10px;
    gap: 10px;
  }
  
  .cta-parallax-button svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .page-section,
  .journey-section,
  .founder-section,
  .team-section {
    padding: 60px 12px;
  }
  
  .cta-parallax-section {
    padding: 60px 12px;
  }
  
  .page-title,
  .section-title {
    font-size: 28px;
  }
  
  .page-subtitle {
    font-size: 15px;
  }
  
  .page-content {
    font-size: 14px;
  }
  
  .page-content h2 {
    font-size: 22px;
  }
  
  .page-content h3 {
    font-size: 18px;
  }
  
  .about-feature-card {
    padding: 20px 15px;
  }
  
  .about-stats {
    padding: 25px 15px;
    gap: 20px;
  }
  
  .about-stat-number {
    font-size: 28px;
  }
  
  .journey-item {
    padding-left: 45px;
  }
  
  .journey-item-content {
    padding: 18px 15px;
  }
  
  .founder-card {
    padding: 25px 18px;
  }
  
  .founder-quote {
    font-size: 15px;
    padding-left: 20px;
  }
  
  .founder-quote::before {
    font-size: 40px;
  }
  
  .cta-parallax-title {
    font-size: 24px;
  }
  
  .cta-parallax-text {
    font-size: 15px;
  }
  
  .cta-parallax-button {
    padding: 12px 24px;
    font-size: 14px;
  }
}

