/* -------------------------------------------------------------
 * ShahaneTech About Us Page Stylesheet (about.css)
 * ------------------------------------------------------------- */

/* Company Overview */
.about-overview-section {
  padding: 80px 25px;
  background-color: #ffffff;
}

.about-overview-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark-navy);
  margin-bottom: 18px;
  line-height: 1.6;
}

.about-text-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-item i {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 3px;
}

.highlight-item h4 {
  font-size: 1rem;
  color: var(--dark-navy);
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Image & Experience Badge */
.about-media-content {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 5px solid #ffffff;
}

.about-img-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background-color: var(--dark-navy);
  color: #ffffff;
  padding: 20px 25px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--primary-color);
}

.experience-badge h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 4px;
}

.experience-badge p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}

/* -------------------------------------------------------------
 * Vision, Mission & Values (Stacked Row Cards with Alternating Layout)
 * ------------------------------------------------------------- */
.vmv-section {
  padding: 80px 25px;
  background-color: var(--bg-light);
}

.vmv-container {
  max-width: 1240px;
  margin: 0 auto;
}

.vmv-rows-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.vmv-row-card {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 5px;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 15px;
}

/* Reverse class flips image to right side for alternating effect */
.vmv-row-card.reverse {
  grid-template-columns: 1fr 400px;
  gap: 5px;
}

.vmv-row-card.reverse .vmv-row-img {
  order: 2;
}

.vmv-row-card.reverse .vmv-row-text {
  order: 1;
  padding: 20px 0 20px 25px;
}

.vmv-row-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(13, 110, 253, 0.12);
  border-color: rgba(13, 110, 253, 0.3);
}

/* Image Container */
.vmv-row-img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.vmv-row-img img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

.vmv-row-card:hover .vmv-row-img img {
  transform: scale(1.05);
}

/* Text Container */
.vmv-row-text {
  padding: 20px 25px 20px 0;
}

.vmv-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(13, 110, 253, 0.08);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  border: 1px solid rgba(13, 110, 253, 0.15);
}

.vmv-row-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.vmv-row-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Point List */
.vmv-point-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vmv-point-list li {
  font-size: 0.94rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.vmv-point-list li i {
  color: var(--accent-green);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Responsive Media Queries for Stacked VMV Cards */
@media (max-width: 992px) {
  .vmv-row-card,
  .vmv-row-card.reverse {
    grid-template-columns: 1fr !important;
  }
  .vmv-row-card.reverse .vmv-row-img {
    order: 1 !important;
  }
  .vmv-row-card.reverse .vmv-row-text {
    order: 2 !important;
  }
  .vmv-row-img {
    min-height: 260px;
    max-height: 320px;
  }
  .vmv-row-text {
    padding: 30px 25px;
  }
}

@media (max-width: 576px) {
  .vmv-row-text h3 {
    font-size: 1.4rem;
  }
  .vmv-row-text {
    padding: 24px 18px;
  }
}

/* -------------------------------------------------------------
 * Timeline & Milestones Track
 * ------------------------------------------------------------- */
.timeline-section {
  padding: 80px 25px;
  background-color: #ffffff;
}

.timeline-container {
  max-width: 1100px;
  margin: 0 auto;
}

.timeline-track {
  position: relative;
  padding: 20px 0;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 40px;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 40px;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 0 0 4px #ffffff, 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -20px;
}

.timeline-content {
  background-color: var(--bg-light);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.timeline-year {
  display: inline-block;
  background-color: var(--dark-navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1.15rem;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------------------------
 * 5-Step Methodology
 * ------------------------------------------------------------- */
.methodology-section {
  padding: 80px 25px;
  background-color: var(--dark-navy);
  color: #ffffff;
}

.methodology-container {
  max-width: 1240px;
  margin: 0 auto;
}

.methodology-section .section-title {
  color: #ffffff;
}

.methodology-section .section-subtitle {
  color: var(--text-light);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.method-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: var(--transition);
}

.method-card:hover {
  background-color: rgba(13, 110, 253, 0.15);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.method-step {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(13, 110, 253, 0.6);
  margin-bottom: 10px;
}

.method-card h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.method-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .about-overview-container {
    grid-template-columns: 1fr;
  }
  .timeline-track::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-dot {
    left: 0 !important;
  }
}
