/* ====================================
   ABOUT PAGE - MATCHING OLD SITE STYLING
   ==================================== */

/* About Hero Section - Modern Design */
.hero.hero-about {
  position: relative;
  background: url('/assets/images/about-bg.png') center/cover no-repeat;
  color: #ffffff;
  padding: 10rem 0 8rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero.hero-about h1 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 68px;
  line-height: 1.1;
  margin: 0 0 16px 0;
  color: #ffffff;
}

.hero.hero-about h3 {
  font-family: var(--font-family-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  margin: 0;
  color: #ffffff;
}

/* Mission Section */
#aboutMission {
  padding: 100px 0;
}

/* Mission content styling - matching fleet-membership page */
.partner-content {
  padding-right: 40px;
}

.partner-description {
  color: var(--color-black);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
  font-family: var(--font-family-body);
}

.partner-tagline {
  color: var(--color-primary);
  font-size: 20px;
  font-style: italic;
  margin-bottom: 24px;
  font-family: var(--font-family-body);
}

.mission-statement {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 32px;
  font-family: var(--font-family-body);
}

.cta-buttons {
  justify-content: start;
}

.phone-image-container {
  height: 100%;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  min-height: 500px;
}

#aboutMission h3 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  color: var(--color-primary);
}

#aboutMission p {
  font-family: var(--font-family-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-black);
  margin-bottom: 20px;
}

/* History Section */
#ourHistory {
  padding: 3rem 0;
  color: var(--white);
  background: var(--color-primary);
}

#ourHistory h3 {
  text-align: center;
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  color: white;
  margin-bottom: 60px;
}

#ourHistory .row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 200px;
}

#ourHistory .row:first-of-type {
  align-items: flex-end;
}

#ourHistory .row:last-of-type {
  align-items: flex-start;
  min-height: 200px;
}

.timeline-event {
  padding: 2rem 1rem;
  position: relative;
}

.timeline-event-bottom h5 {
  margin-top: 0;
  order: -1;
}

.timeline-event h5 {
  text-align: center;
  font-family: var(--font-family-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  margin-top: 0;
}

.timeline-event p {
  font-family: var(--font-family-body);
  font-size: 18px;
  line-height: 1.5;
  color: white;
  text-align: center;
}

/* Timeline Container and Line */
#ourHistory {
  position: relative;
}

#ourHistory .line {
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Timeline Circles */
.timeline-event:after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color-secondary);
  border: 3px solid white;
  border-radius: 50%;
  left: calc(50% - 10px);
  z-index: 10;
}

/* Top 4 years - circles below content */
.timeline-event-top:after {
  bottom: -30px;
}

/* Bottom 3 years - circles above content */
.timeline-event-bottom:after {
  top: -30px;
}

/* Dotted connectors */
.timeline-event:before {
  content: '';
  position: absolute;
  width: 2px;
  border-left: 2px dotted rgba(255, 255, 255, 0.6);
  left: calc(50% - 1px);
  z-index: 5;
}

/* Top events - dotted line from content to circle */
.timeline-event-top:before {
  bottom: -10px;
  height: 40px;
}

/* Bottom events - dotted line from circle to content */
.timeline-event-bottom:before {
  top: -10px;
  height: 40px;
}

/* Spacing adjustments */
.timeline-event-top {
  margin-bottom: 20px;
}

.timeline-event-bottom {
  margin-top: 20px;
}

/* Responsive for mobile timeline */
@media (max-width: 767px) {
  #aboutHero {
    padding: 15% 0 10% 0;
  }

  #aboutMission h3 {
    font-size: 2.5rem;
  }

  #ourHistory h3 {
    font-size: 2.5rem;
  }

  #ourHistory .timeline-event h5 {
    text-align: left;
    margin-top: 0;
  }

  #ourHistory .timeline-event {
    padding: 0;
    padding-left: 4rem;
    margin-left: 0.5rem;
  }

  #ourHistory .container {
    position: relative;
  }

  .timeline-event:after {
    left: 10px;
    top: 0;
  }

  .timeline-event:before {
    width: 15px;
    height: 0;
    left: 34px;
    top: 11px;
  }

  #ourHistory .line {
    position: absolute;
    left: 29px;
    top: 3.5rem;
    bottom: 1rem;
    height: auto;
    border-left: 1px solid var(--gray-400);
    border-bottom: none;
  }
}

/* Additional styling to match old site */
.hide-on-mobile {
  display: block;
}

.hide-on-desktop {
  display: none;
}

@media (max-width: 767px) {
  .hide-on-mobile {
    display: none;
  }

  .hide-on-desktop {
    display: block;
  }
}

/* Brand font class */
.brand-nubolts {
  font-family: var(--font-family-heading) !important;
  font-weight: 400;
  font-size: 4.3rem;
  line-height: 1.1;
}

/* CSS Variables for old site compatibility */
:root {
  --white: #ffffff;
  --gray-400: #ced4da;
}

/* Button with arrow styling */
.btn-with-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-with-arrow span {
  flex: 1;
}

.btn-with-arrow svg {
  flex-shrink: 0;
  margin-left: auto;
}

/* Top News from EverWash Section */
.top-news-section {
  padding: 100px 0;
  background: var(--color-white);
}

.top-news-section h2 {
  color: var(--color-primary);
  font-size: 48px;
  font-weight: 700;
  margin: 0;
  font-family: var(--font-family-heading);
}

.visit-newsroom-link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-family-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.visit-newsroom-link:hover {
  color: var(--color-secondary);
}

.news-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  display: block;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-image-container {
  height: 200px;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image {
  transform: scale(1.05);
}

.news-content {
  padding: 24px;
}

.news-date {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-family: var(--font-family-body);
}

.news-card h4 {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  font-family: var(--font-family-heading);
}

.news-excerpt {
  color: var(--color-black);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  font-family: var(--font-family-body);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero.hero-about {
    padding: 12rem 0 12rem;
    min-height: 100vh;
  }

  .hero.hero-about h1 {
    font-size: 42px;
  }

  .hero.hero-about h3 {
    font-size: 20px;
  }

  #aboutMission,
  #ourHistory {
    padding: 80px 0;
  }

  #aboutMission h3 {
    font-size: 2.5rem;
  }

  #ourHistory h3 {
    font-size: 2.5rem;
  }

  /* Mobile responsive for news section */
  .top-news-section {
    padding: 80px 0;
  }

  .top-news-section h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .visit-newsroom-link {
    font-size: 18px;
  }

  .news-image-container {
    height: 160px;
  }

  .news-content {
    padding: 20px;
  }

  .news-card h4 {
    font-size: 18px;
  }
}

.btn__primary {
  width: fit-content;
  height: fit-content;
  background: var(--color-secondary);
  color: #000000;
  border: 1px solid #000000;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  transition: all 0.3s ease;
  opacity: 1;
}
.newsroom_btn {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn__primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 241, 131, 0.3);
}

.btn__secondary {
  width: fit-content;
  height: fit-content;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  transition: all 0.3s ease;
  opacity: 1;
}

.btn__secondary.outline {
  width: fit-content;
  height: fit-content;
  background: var(--color-primary);
  color: #ffffff;
  border: 1px solid #000000;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  transition: all 0.3s ease;
  opacity: 1;
  white-space: nowrap;
}
