/* About Section CSS - Prefix: .about- */

.about-section {
  position: relative;
  height: 300vh;
  z-index: 1;
  overflow-x: hidden;
}

.about-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F8FAFC;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  padding-top: 90px; /* Offsets sticky header */
  padding-bottom: 30px;
}

.about-container {
  max-width: 1280px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px; /* Reduced from 60px for tighter fit */
  align-items: center;
}

.about-col-left {
  flex: 1;
  min-width: 320px;
  opacity: 0;
  transform: translateX(-150px);
  transition: opacity 0.2s cubic-bezier(0.25, 1, 0.5, 1), transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-col-right {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
  position: relative;
  opacity: 0;
  transform: translateX(150px);
  transition: opacity 0.2s cubic-bezier(0.25, 1, 0.5, 1), transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #A31D24;
  letter-spacing: 2px;
  margin-bottom: 12px; /* Reduced from 16px */
  display: inline-block;
}

.about-title {
  font-family: 'Outfit', sans-serif;
  font-size: 38px; /* Slightly reduced from 40px */
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 20px; /* Reduced from 24px */
}

.about-description {
  font-size: 15.5px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px; /* Reduced from 36px */
}

/* Tabs UI Navigation */
.about-tabs-nav {
  display: flex;
  border-bottom: 2px solid #E2E8F0;
  gap: 24px;
  margin-bottom: 20px; /* Reduced from 30px */
  padding: 0;
  list-style: none;
}

.about-tab-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #64748B;
  background: none;
  border: none;
  padding: 12px 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.about-tab-btn:hover {
  color: #A31D24;
}

.about-tab-btn-active {
  color: #A31D24;
}

.about-tab-btn-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #A31D24;
}

/* Tab contents */
.about-tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-tab-panel-active {
  display: block;
  opacity: 1;
}

.about-panel-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.about-panel-text {
  font-size: 14px;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
}

.about-values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.about-value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

.about-value-icon {
  color: #A31D24;
  font-size: 16px;
}

/* Right side image styling */
.about-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px; /* Reduced from 500px for better vertical fitting */
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #E2E8F0;
  display: block;
}

.about-img-border {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid #A31D24;
  border-radius: 4px;
  z-index: -1;
  transition: all 0.4s ease;
}

.about-img-wrapper:hover .about-img-border {
  transform: translate(5px, 5px);
}

.about-stats-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background-color: #111827;
  color: #FFFFFF;
  padding: 20px 24px; /* Reduced padding from 24px 30px */
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
  border-left: 4px solid #A31D24;
}

.about-badge-num {
  font-family: 'Outfit', sans-serif;
  font-size: 32px; /* Reduced from 36px */
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.about-badge-lbl {
  font-size: 10px; /* Reduced from 11px */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94A3B8;
}

/* Responsive */
@media (max-width: 991.98px) {
  .about-grid {
    gap: 40px;
  }
  .about-section {
    height: auto;
    min-height: 100vh;
    padding: 0;
  }
  .about-sticky-wrapper {
    position: relative; /* Disable sticky pinning on tablets/mobile */
    top: auto;
    height: auto;
    min-height: auto;
    overflow: visible;
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .about-stats-badge {
    left: 10px;
    bottom: -20px;
    padding: 16px 24px;
  }
}

@media (max-width: 575.98px) {
  .about-title {
    font-size: 32px;
  }
  .about-tabs-nav {
    gap: 12px;
  }
  .about-tab-btn {
    font-size: 13px;
  }
  .about-values-list {
    grid-template-columns: 1fr;
  }
}
