/* ============================================================
   OUR COMPANY PAGE STYLES
   ============================================================ */

/* ------------------------------------------------------------
   0. HERO SECTION
   ------------------------------------------------------------ */
.company-hero {
  position: relative;
  min-height: 100vh;
  background-image: url('../images/Our_Company_Banner.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
}

.company-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: #121C27;
  opacity: 0.6;
}

.company-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.company-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.company-hero__desc {
  color: #DBDBDB;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 550px;
  margin-bottom: 1.5rem;
}

/* ------------------------------------------------------------
   1. WHO WE ARE (Section 2)
   ------------------------------------------------------------ */
.who-we-are {
  display: flex;
  flex-direction: column;
  background-color: #E7E7E7;
}

@media (min-width: 992px) {
  .who-we-are {
    flex-direction: row;
    min-height: 80vh;
  }
}

.who-we-are__left {
  flex: 1;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .who-we-are__left {
    padding: 6rem 4rem 6rem 10%;
  }
}

.who-we-are__right {
  flex: 1;
  background-image: url('../images/team-hero.jpg');
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.who-we-are__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #0A1119;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.who-we-are__text {
  font-size: 1.125rem;
  color: #4A5568;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.who-we-are__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   2. ABOUT TABS (Section 3)
   ------------------------------------------------------------ */
.about-tabs-section {
  padding: 6rem 2rem;
  background-color: #fff;
}

.about-tabs-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-tabs-header {
  margin-bottom: 3rem;
}

.about-tabs-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #0A1119;
  line-height: 1.2;
  margin-top: 1rem;
}

.about-tabs-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.about-tab-btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  background-color: #fff;
  color: #0A1119;
  border: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}

.about-tab-btn.active {
  background-color: #0A1119;
  color: #fff;
  border-color: #0A1119;
}

.about-tab-pane {
  display: none;
}

.about-tab-pane.active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  animation: fadeIn 0.5s ease;
}

@media (min-width: 992px) {
  .about-tab-pane.active {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}

.about-tab-image {
  grid-area: image;
  width: 100%;
  height: auto;
  margin-bottom: 0;
  object-fit: cover;
  min-height: 300px;
}

.about-tab-heading {
  grid-area: heading;
  align-self: start;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #0A1119;
  line-height: 1.3;
}

.about-tab-text {
  grid-area: text;
  font-size: 1.0625rem;
  color: #4A5568;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-tab-separator {
  height: 1px;
  background-color: #E2E8F0;
  margin-bottom: 2rem;
  width: 100%;
}

.about-tabs-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}
/* ------------------------------------------------------------
   3. OUR PHILOSOPHY (Section 5)
   ------------------------------------------------------------ */
.philosophy-section {
  padding: 8rem 2rem;
  background-color: #121C27;
  color: #fff;
  text-align: center;
}

.philosophy-section__inner {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.philosophy-section__text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

/* ------------------------------------------------------------
   4. CORE VALUES (Section 6)
   ------------------------------------------------------------ */
.core-values {
  padding: 6rem 2rem;
  background-color: #F6F5F3;
}

.core-values__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.core-values__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: #0A1119;
  margin-bottom: 1rem;
}

.core-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .core-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .core-values__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background-color: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card__icon {
  font-size: 2.5rem;
  color: var(--color-green, #E86A2E);
  margin-bottom: 1.5rem;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #0A1119;
  margin-bottom: 1rem;
}

.value-card__desc {
  color: #4A5568;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   5. ACTION OVER ADVICE (Section 7)
   ------------------------------------------------------------ */
.action-advice {
  padding: 8rem 2rem;
  background-color: #fff;
}

.action-advice__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 992px) {
  .action-advice__inner {
    grid-template-columns: 40% 1fr;
    align-items: center;
  }
}

.action-advice__quote {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #0A1119;
  line-height: 1.2;
}

.action-advice__content {
  font-size: 1.125rem;
  color: #4A5568;
  line-height: 1.8;
}

.action-advice__content p {
  margin-bottom: 1.5rem;
}

.action-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.action-pill {
  background-color: var(--color-green);
  color: var(--color-navy);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------
   6. THREE PILLARS (Section 8)
   ------------------------------------------------------------ */
.three-pillars {
  padding: 8rem 2rem;
  background-color: #F6F5F3;
}

.three-pillars__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.three-pillars__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #0A1119;
  margin-bottom: 1rem;
}

.three-pillars__subtitle {
  font-size: 1.125rem;
  color: #4A5568;
}

.three-pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .three-pillars__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background-color: #121C27;
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-card__icon {
  font-size: 3rem;
  color: var(--color-green, #61CE70);
  margin-bottom: 1.5rem;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.pillar-card__desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   7. CLOSING CTA (Section 10)
   ------------------------------------------------------------ */
.closing-cta {
  padding: 8rem 2rem;
  background-color: #0A1119;
  color: #fff;
  text-align: center;
}

.closing-cta__inner {
  max-width: 800px;
  margin: 0 auto;
}

.closing-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.closing-cta__subtitle {
  font-size: 1.25rem;
  color: var(--color-green, #E86A2E);
  margin-bottom: 3rem;
  font-style: italic;
}

/* ------------------------------------------------------------
   8. OUR JOURNEY (Section 8)
   ------------------------------------------------------------ */
.our-journey {
  background-color: #121A25;
  padding: 6rem 2rem;
  color: #fff;
}

.our-journey__header {
  text-align: center;
  margin-bottom: 4rem;
}

.our-journey__header .label {
  display: inline-block;
  background-color: #fff !important;
  color: #0A1119 !important;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.our-journey__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  line-height: 1.3;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
}

.journey-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
}

.journey-timeline::before {
  display: none;
}

.journey-item {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding-top: 2.5rem;
  width: 100%;
}

.journey-item:last-child {
  margin-bottom: 0;
}

/* Reset any odd/even alignment */
.journey-item:nth-child(odd),
.journey-item:nth-child(even) {
  left: 0;
  padding-right: 0;
  padding-left: 0;
  text-align: left;
}

/* Horizontal continuous line segment for each item */
.journey-item::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

/* Central Dot positioned at the start */
.journey-item::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 24px;
  height: 24px;
  background-color: var(--color-green, #E86A2E);
  border: 5px solid #121A25;
  border-radius: 50%;
  z-index: 1;
}

/* Hide odd/even overrides */
.journey-item:nth-child(odd)::after,
.journey-item:nth-child(even)::after {
  right: auto;
  left: 0;
}

.journey-item__year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-green, #E86A2E);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.journey-item__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.journey-item__line {
  display: none; /* Hide the old horizontal line */
}

.journey-item__desc {
  font-size: 1rem;
  color: #A0AEC0;
  line-height: 1.6;
}

/* Responsive Tablet */
@media (max-width: 992px) {
  .journey-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 2rem;
  }
  .journey-item:nth-child(odd),
  .journey-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Responsive Mobile - Switch to Vertical */
@media (max-width: 768px) {
  .journey-timeline {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 3rem;
  }
  
  /* Vertical line container */
  .journey-timeline::before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 0;
  }
  
  .journey-item,
  .journey-item:nth-child(odd),
  .journey-item:nth-child(even) {
    padding-top: 0;
    padding-left: 3.5rem;
  }
  
  /* Hide the individual horizontal lines */
  .journey-item::before {
    display: none;
  }
  
  /* Adjust dot for vertical line */
  .journey-item::after,
  .journey-item:nth-child(odd)::after,
  .journey-item:nth-child(even)::after {
    top: 0;
    left: -1px; /* Centers the 24px dot on the 10px line */
  }
}

/* ------------------------------------------------------------
   9. WHY WE'RE DIFFERENT GRID
   ------------------------------------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 2.5rem;
  margin-top: 3rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem;
  border-radius: 12px;
  background: transparent;
}

.feature-item:hover {
  background: #fdfdfd;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.feature-item__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background-color: var(--color-navy, #121A25);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(18, 26, 37, 0.15);
}

.feature-item__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0A1119;
  line-height: 1.3;
}

.feature-item__desc {
  font-size: 0.95rem;
  color: #4A5568;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-item {
    padding: 1rem 0;
  }
  .feature-item:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
  }
}

/* ------------------------------------------------------------
   10. TEAM BEHIND US
   ------------------------------------------------------------ */
.team-behind-us {
  position: relative;
  background: linear-gradient(135deg, #121C26 0%, #1A2838 50%, #121C26 100%);
  padding: 6rem 0;
  color: #fff;
  overflow: hidden;
}

/* Background Swoosh Effect */
.team-behind-us::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30%;
  width: 150%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.03) 0%, transparent 60%);
  transform: rotate(-15deg);
  pointer-events: none;
}

.team-behind-us__inner {
  position: relative;
  z-index: 1;
}

.team-behind-us__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 2rem;
}

.team-behind-us__header {
  max-width: 650px;
}

.team-behind-us__header .label {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.team-behind-us__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: #fff;
}

.team-behind-us__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  padding-bottom: 0.5rem;
}

.team-behind-us__actions .btn:hover {
  background-color: #f1f1f1 !important;
  color: var(--color-green) !important;
}

.team-behind-us__link {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.team-behind-us__link:hover {
  color: var(--color-green);
}

.team-behind-us__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 2.5rem 0;
}

.team-behind-us__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.team-behind-us__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.team-behind-us__list li i {
  color: #fff;
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

.team-behind-us__list li strong {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 992px) {
  .team-behind-us__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .team-behind-us {
    padding: 4rem 0;
  }
  .team-behind-us__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* ------------------------------------------------------------
   11. NEW CLOSING CTA
   ------------------------------------------------------------ */
.new-closing-cta {
  background-image: url('../images/2151305323.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}



.new-closing-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.new-closing-cta__content {
  max-width: 1000px;
}

.new-closing-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  white-space: nowrap;
}

.new-closing-cta__desc {
  font-size: 1.1rem;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.btn--dark {
  background-color: #0A1119;
  color: #fff;
  font-weight: 600;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.btn--dark:hover {
  background-color: var(--color-green, #E86A2E);
  color: #fff;
}

.new-closing-cta__arrow {
  flex-shrink: 0;
}

.arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 40px;
  background-color: #0A1119;
  color: #fff;
  border-radius: 4px;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.arrow-btn:hover {
  background-color: var(--color-green, #E86A2E);
  color: #fff;
}

@media (max-width: 768px) {
  .new-closing-cta {
    padding: 3rem 0;
  }
  .new-closing-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .new-closing-cta__title {
    white-space: normal;
  }
  .about-tabs-nav {
    flex-direction: column;
  }
  .about-tab-btn {
    width: 100%;
    text-align: center;
  }
}

/* Revolving Text Animation */
.revolving-text {
  display: grid;
  align-items: center;
  position: relative;
}

.revolving-text__item {
  grid-area: 1 / 1;
  opacity: 0;
  animation: revolve 9s infinite;
  display: block;
}

.revolving-text__item:nth-child(1) {
  animation-delay: 0s;
}

.revolving-text__item:nth-child(2) {
  animation-delay: 3s;
}

.revolving-text__item:nth-child(3) {
  animation-delay: 6s;
}

@keyframes revolve {
  0% { opacity: 0; transform: translateY(20px); }
  5%, 28% { opacity: 1; transform: translateY(0); }
  33.33%, 100% { opacity: 0; transform: translateY(-20px); }
}
