@media screen and (max-width: 1024px) {
  .company__hero-content {
    padding: 3rem 0.5rem 2rem 0.5rem;
  }
  .company__hero-title-pro {
    font-size: 2rem;
  }
  .company__timeline--vertical {
    padding: 1rem 0.5rem;
  }
  .company__values {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .company__hero-content {
    padding: 2rem 0.25rem 1rem 0.25rem;
  }
  .company__hero-title-pro {
    font-size: 1.5rem;
  }
  .company__timeline--vertical {
    padding: 0.5rem 0.25rem;
  }
  .timeline__year {
    font-size: 1.1rem;
    min-width: 60px;
  }
  .company__values-title {
    font-size: 1.1rem;
  }
  .value-card {
    padding: 1rem 0.5rem;
  }
}

@media screen and (max-width: 480px) {
  .company__hero-title-pro {
    font-size: 1.1rem;
  }
  .company__hero-logo-pro {
    width: 70px;
  }
  .timeline__year {
    font-size: 0.9rem;
    min-width: 40px;
  }
  .value-card__icon-wrapper {
    width: 40px;
    height: 40px;
  }
  .value-card__icon {
    font-size: 1.5rem;
  }
}


/* Professional Company Page Styles */

.company--pro {
  background: #fff;
  padding: 0;
}

/* Hero Banner with Background */
.company__hero-pro {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f9;
  overflow: hidden;
}
.company__hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/brand1.png') center/cover no-repeat;
  opacity: 0.08;
  z-index: 1;
}
.company__hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem 3rem 1rem;
}
.company__hero-logo-pro {
  width: 120px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.07));
}
.company__hero-title-pro {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.company__hero-slogan-pro {
  font-size: 1.2rem;
  color: #555;
  font-weight: 400;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* Vertical Timeline */
.company__timeline--vertical {
  background: #fff;
  padding: 4rem 0 5rem 0;
  border-bottom: 1px solid #eee;
}
.timeline-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.timeline-vertical__item {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  width: 100%;
  position: relative;
}
.timeline-vertical__circle {
  min-width: 70px;
  min-height: 70px;
  background: #fff;
  border: 3px solid #c59d5f;
  color: #c59d5f;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-top: 0.5rem;
}
.timeline-vertical__card {
  background: #fafbfc;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 2rem 2rem 2rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1 1 0;
  border: 1px solid #f2f2f2;
}
.timeline-vertical__img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border: 1px solid #eee;
}
.timeline-vertical__desc {
  flex: 1 1 0;
}
.timeline-vertical__desc h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}
.timeline-vertical__desc p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

@media (max-width: 900px) {
  .timeline-vertical__card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }
  .timeline-vertical__img {
    width: 100%;
    height: 160px;
    max-width: 350px;
  }
  .timeline-vertical__item {
    gap: 1.2rem;
  }
}

/* Professional Values Section */
.company__values--pro {
  background: #fff;
  padding: 4rem 0 6rem 0;
}
.company__values-title-pro {
  font-size: 2.1rem;
  font-weight: 900;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}
.company__values-cards-pro {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.value-card-pro {
  background: #fafbfc;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2.2rem 1.5rem 2rem 1.5rem;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #f2f2f2;
  transition: box-shadow 0.3s;
}
.value-card-pro:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.value-card-pro__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  color: #c59d5f;
  font-size: 2rem;
  margin-bottom: 1rem;
  border: 2px solid #c59d5f;
}
.value-card-pro__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.value-card-pro__text {
  font-size: 0.98rem;
  color: #555;
  text-align: center;
}

/* Timeline Section */
.company__timeline {
  padding: 6rem 2rem;
  background: #fff;
}

.company__timeline-container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.timeline__period {
  margin-bottom: 4rem;
  padding: 2.5rem;
  border-radius: 1rem;
  border-left: 5px solid #000;
  background: #fafafa;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  animation: fadeInUp 0.6s ease-out forwards;
}

.timeline__period:nth-child(1) { animation-delay: 0.2s; }
.timeline__period:nth-child(2) { animation-delay: 0.4s; }
.timeline__period:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline__period::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: #fff;
  border: 5px solid #000;
  border-radius: 50%;
  z-index: 2;
}

.timeline__period:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-left-color: #333;
  transform: translateX(8px);
}

.timeline__period-header {
  margin-bottom: 2rem;
  display: flex;
  gap: 2rem;
  align-items: baseline;
  flex-wrap: wrap;
  border-bottom: 2px solid #eee;
  padding-bottom: 1.5rem;
}

.timeline__year {
  font-size: 2.8rem;
  font-weight: 800;
  color: #000;
  min-width: 140px;
  letter-spacing: -0.02em;
}

.timeline__location {
  font-size: 1.1rem;
  color: #777;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline__content {
  display: grid;
  grid-template-columns: minmax(320px, 2.2fr) 2fr;
  gap: 3.5rem;
  align-items: stretch;
}

.timeline__image-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  position: relative;
  aspect-ratio: 4/3;
  height: 100%;
  min-width: 320px;
  max-width: 100%;
}

.timeline__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), transparent);
  pointer-events: none;
}

.timeline__image {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  object-fit: cover;
  object-position: center center;
  aspect-ratio: 4/3;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline__period:hover .timeline__image {
  transform: scale(1.05);
}

.timeline__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.5rem 0;
}

.timeline__section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.timeline__description {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #555;
}

.timeline__description:first-of-type {
  font-weight: 500;
}

/* Values Section */
.company__values {
  background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
  padding: 6rem 2rem;
}

.company__values-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3.5rem;
  color: #000;
  letter-spacing: -0.01em;
}

.company__values-grid {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.value-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out forwards;
}

.value-card:nth-child(1) { animation-delay: 0.8s; }
.value-card:nth-child(2) { animation-delay: 1s; }
.value-card:nth-child(3) { animation-delay: 1.2s; }

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-12px);
}

.value-card__icon {
  font-size: 3.5rem;
  color: #000;
  margin: 0 auto;
  transition: transform 0.4s ease;
}

.value-card__icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 0.75rem;
  border-radius: 0.5rem;
  background: #f5f5f5;
  transition: all 0.4s ease;
}

.value-card:hover .value-card__icon-wrapper {
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.value-card:hover .value-card__icon-wrapper .value-card__icon {
  color: #fff;
}

.value-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.value-card__text {
  font-size: 0.98rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1118px) {
  .company__title {
    font-size: 3rem;
  }

  .timeline__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline__image {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .company__intro {
    padding: 5rem 1.5rem;
  }

  .company__title {
    font-size: 2.2rem;
    letter-spacing: 0;
  }

  .company__subtitle {
    font-size: 1rem;
  }

  .company__timeline {
    padding: 3rem 1rem;
  }

  .timeline__period {
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #000;
  }

  .timeline__period::before {
    left: -12px;
    width: 20px;
    height: 20px;
    border-width: 4px;
  }

  .timeline__period-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
  }

  .timeline__year {
    font-size: 2rem;
    min-width: 100px;
  }

  .timeline__location {
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.05em;
  }

  .timeline__content {
    gap: 1.5rem;
  }

  .timeline__image {
    min-height: 220px;
  }

  .timeline__section-title {
    font-size: 1.35rem;
  }

  .timeline__description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .company__values {
    padding: 3.5rem 1rem;
  }

  .company__values-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }

  .company__values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value-card {
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
  }

  .value-card__icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 0.75rem;
  }

  .value-card__icon {
    font-size: 2.8rem;
  }

  .value-card__title {
    font-size: 1.2rem;
  }

  .value-card__text {
    font-size: 0.93rem;
  }
}

@media (max-width: 480px) {
  .company__intro {
    padding: 3.5rem 1rem;
  }

  .company__title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }

  .company__subtitle {
    font-size: 0.95rem;
  }

  .timeline__period {
    padding: 1.5rem 1.25rem;
  }

  .timeline__period::before {
    left: -10px;
    width: 18px;
    height: 18px;
    border-width: 3px;
  }

  .timeline__year {
    font-size: 1.75rem;
    min-width: 80px;
  }

  .timeline__location {
    font-size: 0.85rem;
  }

  .timeline__section-title {
    font-size: 1.1rem;
  }

  .timeline__description {
    font-size: 0.9rem;
  }

  .company__values-title {
    font-size: 1.5rem;
  }

  .value-card {
    padding: 1.5rem 1.25rem;
  }

  .value-card__icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem;
  }

  .value-card__icon {
    font-size: 2.3rem;
  }

  .value-card__title {
    font-size: 1.05rem;
  }

  .value-card__text {
    font-size: 0.88rem;
  }
}
