/* ==========================================================================
   DHOLERA ABOUT PAGE EXCLUSIVES STYLESHEET
   Developed by Expert UI/UX Designer & Developer
   ========================================================================== */

.dh-aboutpage-hero {
  background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.96) 90%), url('../images/hero-bg.png') no-repeat center center/cover;
  padding: 60px 5%;
  color: #ffffff;
  text-align: center;
  border-bottom: 3px solid var(--dh-orange, #ef7d00);
}

.dh-aboutpage-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.dh-aboutpage-hero p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: #cbd5e1;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 🔷 1. SECTION: VISION & STORY */
.dh-aboutpage-story {
  padding: 80px 5%;
  background-color: #ffffff;
}

.dh-aboutpage-story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.dh-aboutpage-subtitle {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--dh-orange, #ef7d00);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.dh-aboutpage-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1c1d1f;
  margin: 0 0 20px 0;
  line-height: 1.25;
}

.dh-aboutpage-text {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 24px 0;
}

.dh-aboutpage-graphic-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.dh-aboutpage-graphic {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.dh-aboutpage-graphic-container:hover .dh-aboutpage-graphic {
  transform: scale(1.02);
}

/* 🔷 2. SECTION: CORE PILLARS */
.dh-aboutpage-pillars {
  padding: 80px 5%;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.dh-pillars-grid {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dh-pillar-card {
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.dh-pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--dh-green, #2b6009);
  box-shadow: 0 10px 20px rgba(43, 96, 9, 0.03);
}

.dh-pillar-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background-color: rgba(43, 96, 9, 0.08);
  color: var(--dh-green, #2b6009);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.dh-pillar-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1c1d1f;
  margin: 0 0 12px 0;
}

.dh-pillar-card p {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* 🔷 3. SECTION: COUNTERS & STATS */
.dh-aboutpage-stats {
  padding: 80px 5%;
  background-color: #ffffff;
}

.dh-stats-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.dh-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 40px;
  border-radius: 24px;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dh-about-stat-item {
  text-align: center;
  position: relative;
}

.dh-about-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -15px;
  width: 1px;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.1);
}

.dh-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dh-orange, #ef7d00);
  margin-bottom: 6px;
  display: block;
}

.dh-stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}

/* ==========================================================================
   STORY HIGHLIGHTS LIST
   ========================================================================== */
.dh-story-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dh-story-highlights li {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dh-story-highlights li i {
  color: var(--dh-green, #2b6009);
  font-size: 1rem;
  flex-shrink: 0;
}

.dh-about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--dh-orange, #ef7d00), #f59d30);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(239, 125, 0, 0.3);
}

.dh-about-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 125, 0, 0.4);
}

/* ==========================================================================
   STORY IMAGE BADGE
   ========================================================================== */
.dh-aboutpage-graphic-container {
  position: relative;
}

.dh-about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dh-badge-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--dh-orange, #ef7d00);
  line-height: 1;
}

.dh-badge-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
}

/* ==========================================================================
   STAT SUFFIX STYLING
   ========================================================================== */
.dh-stat-suffix {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dh-orange, #ef7d00);
  margin-left: 2px;
  vertical-align: baseline;
}

/* ==========================================================================
   SECTION 5 · TIMELINE (PREMIUM HORIZONTAL ALTERNATING DESIGN)
   ========================================================================== */
.dh-aboutpage-timeline {
  padding: 80px 5%;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  overflow: hidden;
}

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

.kavya-timeline-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 8px;
  background-color: var(--dh-green, #2b6009);
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 4px;
}

.kavya-timeline-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  height: 460px;
}

.kavya-timeline-item {
  position: relative;
  width: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge centered exactly on the timeline line */
.kavya-tl-badge-wrapper {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.kavya-tl-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.kavya-tl-badge:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.badge-green {
  border: 7px solid var(--dh-green, #2b6009);
  color: var(--dh-green, #2b6009);
}

.badge-dark {
  border: 7px solid #1e293b;
  color: #1e293b;
}

/* Arrow indicators */
.kavya-tl-arrow {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  position: absolute;
  z-index: 6;
}

/* For nodes whose text is at the bottom: arrow is at the bottom of the badge pointing down to the text */
.kavya-tl-bottom .kavya-tl-arrow {
  border-top: 9px solid var(--dh-green, #2b6009);
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
}

/* For nodes whose text is at the top: arrow is at the top of the badge pointing up to the text */
.kavya-tl-top .kavya-tl-arrow {
  border-bottom: 9px solid #1e293b;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
}

/* Text blocks */
.kavya-tl-text-block {
  position: absolute;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  width: 210px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  text-align: center;
}

.kavya-timeline-item:hover .kavya-tl-text-block {
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: var(--dh-orange, #ef7d00);
}

/* Positioning text blocks */
.kavya-tl-bottom .kavya-tl-text-block {
  bottom: 10px; /* Pushed fully down */
}

.kavya-tl-top .kavya-tl-text-block {
  top: 10px; /* Pushed fully up */
}

.kavya-tl-year {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: var(--dh-orange, #ef7d00);
  background: rgba(239, 125, 0, 0.08);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.kavya-tl-text-block h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.kavya-tl-text-block p {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}


/* ==========================================================================
   SECTION 6 · CTA BANNER
   ========================================================================== */
.dh-about-cta-section {
  padding: 80px 5%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  border-top: 3px solid var(--dh-orange, #ef7d00);
}

.dh-about-cta-inner {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.dh-about-cta-inner h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.dh-about-cta-inner p {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 34px 0;
}

.dh-about-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.dh-about-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--dh-orange, #ef7d00), #f59d30);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(239, 125, 0, 0.35);
}

.dh-about-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 125, 0, 0.5);
}

.dh-about-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.25);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dh-about-cta-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 991px) {
  .dh-aboutpage-story-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dh-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .dh-about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .dh-about-stat-item:nth-child(2)::after {
    display: none;
  }

  /* Collapse timeline to vertical list layout on mobile */
  .kavya-timeline-line {
    left: 45px !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 6px !important;
    height: 100% !important;
    transform: none !important;
  }

  .kavya-timeline-items {
    flex-direction: column !important;
    height: auto !important;
    gap: 40px !important;
  }

  .kavya-timeline-item {
    width: 100% !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-left: 90px !important;
    box-sizing: border-box !important;
  }

  .kavya-tl-badge-wrapper {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 84px !important;
    height: 84px !important;
  }

  .kavya-tl-arrow {
    display: none !important; /* Hide arrows on mobile for a clean vertical timeline flow */
  }

  .kavya-tl-text-block {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    text-align: left !important;
  }

  .kavya-tl-bottom .kavya-tl-text-block,
  .kavya-tl-top .kavya-tl-text-block {
    margin: 0 !important;
  }
}

@media (max-width: 640px) {
  .dh-pillars-grid {
    grid-template-columns: 1fr;
  }
  .dh-about-stats-grid {
    grid-template-columns: 1fr;
  }
  .dh-about-stat-item::after {
    display: none;
  }
  .dh-aboutpage-title {
    font-size: 1.7rem;
  }
  .dh-about-cta-inner h2 {
    font-size: 1.5rem;
  }
  .dh-aboutpage-hero h1 {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   RERA ADVISORY CARD & DOWNLOAD STYLING
   ========================================================================== */
.dh-about-rera-card {
  display: flex;
  gap: 20px;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-left: 5px solid var(--dh-orange, #ef7d00);
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
  transition: all 0.3s ease;
  text-align: left;
}

.dh-about-rera-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.dh-rera-card-icon {
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.dh-rera-card-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.dh-rera-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.dh-rera-card-no {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #475569;
  margin: 0;
}

.dh-rera-card-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.dh-rera-download-btn-about {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1.5px solid var(--dh-orange, #ef7d00);
  color: var(--dh-orange, #ef7d00);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  width: fit-content;
  transition: all 0.3s ease;
}

.dh-rera-download-btn-about i {
  font-size: 13.5px;
  transition: transform 0.2s ease;
}

.dh-rera-download-btn-about:hover {
  background-color: var(--dh-orange, #ef7d00);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 125, 0, 0.2);
}

.dh-rera-download-btn-about:hover i {
  transform: translateY(2px);
}

@media (max-width: 640px) {
  .dh-about-rera-card {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    align-items: center;
    text-align: center;
  }
  .dh-rera-card-details {
    align-items: center;
  }
}
