/*=========================================================
  PAGE BREADCRUMB HERO
=========================================================*/

.page-breadcrumb {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background image */
.breadcrumb-bg {
  position: absolute;
  inset: 0;
  background: url("../Images/hero/about-1.webp") center center / cover no-repeat;
  z-index: 0;
}

.breadcrumb-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(237, 89, 0, 0.92) 0%,
    rgba(237, 89, 0, 0.85) 40%,
    rgba(20, 20, 20, 0.70) 55%,
    rgba(10, 10, 10, 0.55) 100%
  );
  clip-path: polygon(0 0, 55% 0, 42% 100%, 0 100%);
}

.page-breadcrumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 10, 10, 0.60);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 42% 100%);
}

/* Content wrapper */
.breadcrumb-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 70px; 
}

/* Title */
.breadcrumb-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--rs-ff-title);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1;
}

/* Red vertical bar accent */
.breadcrumb-bar {
  /* display: inline-block; */
  display: none;
  width: 5px;
  height: 1.1em;
  background: #ed5900;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Breadcrumb nav row */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--rs-ff-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-left: 0.1rem;
}

.breadcrumb-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.25s ease;
}

.breadcrumb-link:hover {
  color: black;
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
}

.breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}

/*=========================================================
  ABOUT PAGE 
=========================================================*/

/* ---- Section wrapper ---- */
.hmv-section {
  padding: 3vw 0;
  background: var(--white);
}

.hmv-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  /* align-items: flex-start; */
  align-items: center;
}

/* ====================================================
   LEFT — overlapping images
==================================================== */
.hmv-images {
  position: relative;
  height: 650px;
}

.hmv-img-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  height: 90%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hmv-img-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
/* 
.hmv-img-bg:hover img {
  transform: scale(1.04);
} */

.hmv-img-front {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 60%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
}

.hmv-img-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
/* 
.hmv-img-front:hover img {
  transform: scale(1.04);
} */

/* Experience badge */
.hmv-badge {
  position: absolute;
  bottom: 40px;
  left: -18px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 8px 24px rgba(237, 89, 0, 0.35);
}

.hmv-badge-number {
  font-family: var(--rs-ff-title);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.hmv-badge-number sup {
  font-size: 1rem;
}

.hmv-badge-label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ====================================================
   RIGHT — content
==================================================== */
.hmv-content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hmv-tagline {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hmv-heading {
  color: var(--gray-900);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-top: 1vw;
  line-height: 1.2;
  font-family: var(--rs-ff-title);
}

.hmv-highlight {
  color: var(--primary);
}

/* Sub-description — matches .about-new-desc */
.hmv-sub {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
  /* max-width: 520px; */
}

/* ---- Tabs ---- */
.hmv-tabs {
  display: flex;
  gap: 0;
  background-color: #f4f4f4;
  margin-top: 0.25rem;
  border-radius: 4px;
  overflow: hidden;
}

.hmv-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem 1.35rem;
  font-family: var(--rs-ff-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  white-space: nowrap;
  border-top: 3px solid transparent;
}

.hmv-tab.active {
  color: var(--primary);
  background: #ffffff;
  border-top: 3px solid var(--primary);
}

.hmv-tab:hover {
  color: var(--primary);
}

/* ---- Panels ---- */
.hmv-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
  animation: fadeTabIn 0.35s ease;
}

.hmv-panel.active {
  display: flex;
}

@keyframes fadeTabIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Panel body text — matches .about-new-lead / .about-new-desc */
.hmv-panel > p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* Checklist */
.hmv-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 2rem;
  list-style: none;
  padding: 0;
}

.hmv-checklist li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}

.hmv-checklist li i {
  color: #ed5900;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---- CTA button ---- */
.hmv-cta {
  margin-top: 0.5rem;
}

.btn-primary-hmv {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 2rem;
  /* border-radius: 2rem; */
  font-family: var(--rs-ff-body);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 6px 20px rgba(237, 89, 0, 0.3);
}

.btn-primary-hmv:hover {
  background: #c94d00;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(237, 89, 0, 0.38);
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1024px) {
  .hmv-wrapper {
    gap: 3rem;
  }

  .hmv-images {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .hmv-wrapper {
    grid-template-columns: 1fr;
  }

  .hmv-images {
    height: 360px;
  }

  .hmv-badge {
    left: 8px;
    bottom: 8px;
  }

  .hmv-tabs {
    flex-wrap: wrap;
  }
  .hmv-section {
    padding-top: 50px;
  }
}

@media (max-width: 480px) {
  .hmv-images {
    height: 300px;
  }

  .hmv-img-bg {
    width: 80%;
    height: 82%;
  }

  .hmv-img-front {
    width: 60%;
    height: 55%;
  }
}

/*=========================================================
  COMPANY JOURNEY — TABBED TIMELINE SECTION
=========================================================*/

.journey-section {
  position: relative;
  padding:    3vw 0;
  background: #f5f5f5;
  overflow: hidden;
}

/* --- Decorative background: industrial cityscape silhouette --- */
.journey-bg-decor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'%3E%3Cpath d='M0 200V140l30-10V80l10-5V50h20v25l10 5v50l20 10V200zM80 200V120l15-8V90h30v22l15 8V200zM150 200V100l10-5V70h10V50h30V70h10v25l10 5V200zM230 200V130l20-10V90h25v30l20 10V200zM320 200V110l10-5V80h20v25l10 5V200zM380 200V140l30-10V80l10-5V50h20v25l10 5v50l20 10V200zM460 200V120l15-8V90h30v22l15 8V200zM530 200V100l10-5V70h10V50h30V70h10v25l10 5V200zM610 200V130l20-10V90h25v30l20 10V200zM700 200V110l10-5V80h20v25l10 5V200zM760 200V140l30-10V80l10-5V50h20v25l10 5v50l20 10V200zM840 200V120l15-8V90h30v22l15 8V200zM910 200V100l10-5V70h10V50h30V70h10v25l10 5V200zM990 200V130l20-10V90h25v30l20 10V200zM1080 200V110l10-5V80h20v25l10 5V200zM1140 200V140l30-10V80l10-5V50h20v25l10 5v50M0 200h1200' fill='none' stroke='%23ddd' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  opacity: 0.6;
  pointer-events: none;
}

/* --- Section Header --- */
.journey-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.journey-tagline {
  font-family: var(--rs-ff-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.journey-title {
  font-family: var(--rs-ff-title);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  
}

/* --- Tabs Bar --- */
.journey-tabs-wrapper {
  margin-bottom: 2.5rem;
}

.journey-tabs {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  width: fit-content;
  margin: 0 auto;
}

.journey-tab {
  flex: 1;
  padding: 0.75rem 1.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--rs-ff-body);
  color: var(--gray-700);
  background: transparent;
  border: none;
  border-right: 1px solid #ddd;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}

.journey-tab:last-child {
  border-right: none;
}

.journey-tab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.journey-tab.active {
  color: var(--primary);
}

.journey-tab.active::after {
  transform: scaleX(1);
}

.journey-tab:hover {
  color: var(--primary);
}

/* --- Panels --- */
.journey-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  animation: journeyFadeIn 0.4s ease;
}

.journey-panel.active {
  display: grid;
}

@keyframes journeyFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Panel Image --- */
.journey-panel-img {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.journey-panel-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}



/* --- Panel Content --- */
.journey-panel-content {
  padding: 1rem 0;
}

.journey-panel-content h3 {
  font-family: var(--rs-ff-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.journey-panel-content p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* --- List with orange dashes --- */
.journey-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.journey-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
  color: var(--gray-900);
  font-weight: 600;
  font-family: var(--rs-ff-body);
}

.journey-list li span {
  display: inline-block;
  width: 22px;
  height: 2.5px;
  background: var(--primary, #e0580c);
  border-radius: 2px;
  flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .journey-panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .journey-tabs {
    flex-wrap: wrap;
    width: 100%;
  }

  .journey-tab {
    flex: 1 1 auto;
    padding: 0.75rem 1.2rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .journey-panel-img img {
    height: 220px;
  }
   .journey-title{
  text-align: left;}
}

/*=========================================================
  ABOUT PAGE — CLIENTS & PARTNERS SECTION
=========================================================*/

.about-partners-section {
  position: relative;
  padding: 3vw 0;
  background: #fff;
  overflow: hidden;
}

.about-partners-wrapper {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  align-items: center;
}

/* ---- LEFT ---- */
.about-partners-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-partners-title {
  font-family: var(--rs-ff-title);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.15;
  margin: 0;
}

.about-partners-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 440px;
}

/* ---- RIGHT — Logo Grid ---- */
.about-partners-right {
  padding-left: 1rem;
}

.about-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ap-logo-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  aspect-ratio: 3 / 2;
}

.ap-logo-card:hover {
  border-color: var(--primary, #ed5900);
  box-shadow: 0 6px 20px rgba(237, 89, 0, 0.12);
  transform: translateY(-3px);
}

.ap-logo-card img {
  max-width: 100%;
  max-height: 50px;
  scale: 1.8;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.ap-logo-card:hover img {
  opacity: 1;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .about-partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .about-partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
}

/* ==========================================
   ABOUT PAGE RESPONSIVENESS PATCH
   ========================================== */

/* 1. Breadcrumb Hero Section */
@media (max-width: 768px) {
  .page-breadcrumb {
    height: 280px;
  }
  .breadcrumb-content {
    padding-top: 50px;
  }
}
@media (max-width: 480px) {
  .page-breadcrumb {
    height: 280px;
  }
  .breadcrumb-content {
    padding-top: 90px;
  }
}

/* 2. HMV (History, Mission, Vision) Section */
@media (max-width: 768px) {
  .hmv-heading br {
    display: none;
  }
}
@media (max-width: 576px) {
  .hmv-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none; /* Hide scrollbar for clean UI */
    border-bottom: 2px solid var(--border-color);
    display: flex;
  }
  .hmv-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for clean UI */
  }
  .hmv-tab {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    flex: 0 0 auto;
  }
}

/* 3. Journey Timeline Section */
@media (max-width: 768px) {
  .journey-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    scrollbar-width: none;
    display: flex;
    justify-content: flex-start;
    border-radius: 4px;
  }
  .journey-tabs::-webkit-scrollbar {
    display: none;
  }
  .journey-tab {
    flex: 0 0 auto;
    border-right: 1px solid #ddd;
  }
}

/* 4. Clients & Partners Section Stacking */
@media (max-width: 991px) {
  .about-partners-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-partners-left {
    text-align: left;
    align-items: left;
  }
  .about-partners-desc {
    max-width: 100%;
  }
  .about-partners-right {
    padding-left: 0;
  }
}

