/* ============================================
   ABOUT PAGE — Dedicated Styles
   ============================================ */

/* ====== PROJECTS SECTION ====== */
.projects-section {
  padding: 72px 0;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line, rgba(10, 37, 64, 0.12));
}

.project-card:last-child {
  border-bottom: none;
}

.project-card-left .project-image {
  order: 1;
}

.project-card-left .project-content {
  order: 2;
}

.project-card-right .project-image {
  order: 2;
}

.project-card-right .project-content {
  order: 1;
}

.project-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy-deep, #03275b);
  aspect-ratio: 4 / 3;
  min-height: 300px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--orange, #E29A2E);
  color: var(--navy-deep, #03275b);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 20px;
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-logo {
  margin-bottom: 4px;
}

.project-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.project-tag {
  font-family: 'Google Sans', 'Roboto', 'Arial', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange, #E29A2E);
}

.project-content h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--navy-deep, #03275b);
  line-height: 1.15;
  margin: 0;
}

.project-content p {
  font-size: 15px;
  color: var(--ink-soft, #454C55);
  line-height: 1.7;
  margin: 0;
}

.project-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin: 4px 0 8px;
}

.project-stats div {
  display: flex;
  flex-direction: column;
}

.project-stats .stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--orange, #E29A2E);
  line-height: 1;
}

.project-stats .stat-label {
  font-size: 11px;
  color: var(--ink-soft, #454C55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* Project card responsive */
@media (max-width: 860px) {
  .project-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .project-card-left .project-image,
  .project-card-left .project-content,
  .project-card-right .project-image,
  .project-card-right .project-content {
    order: unset;
  }

  .project-image {
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }

  .project-content {
    gap: 10px;
  }

  .project-content h3 {
    font-size: clamp(20px, 4vw, 26px);
  }

  .project-stats {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .project-image {
    aspect-ratio: 4 / 3;
    min-height: 180px;
  }

  .project-content h3 {
    font-size: 18px;
  }

  .project-content p {
    font-size: 14px;
  }

  .project-stats .stat-number {
    font-size: 18px;
  }

  .project-stats {
    gap: 16px;
  }
}

/* ====== ACHIEVEMENTS SECTION - FULL WIDTH ALTERNATING ====== */

/* Achievement wrapper - full width container */
.achievements-wrapper {
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Achievement section header */
.achievements-header-wrap {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 72px 20px 0;
}

.achievements-header-wrap .manifest-tag {
  color: var(--orange, #E29A2E);
}

.achievements-header-wrap .manifest-tag::before {
  background: var(--orange, #E29A2E);
}

.achievements-header-wrap .section-title {
  color: var(--navy-deep, #03275b);
}

.achievements-header-wrap .section-desc {
  color: var(--ink-soft, #454C55);
}

/* Individual achievement items - FULL WIDTH, no container restriction */
.achievement-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 48px 0;
  margin: 0;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  max-width: 100%;
}

/* Center the content within the full-width row */
.achievement-item .achievement-content,
.achievement-item .achievement-image {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

/* For content left, image right */
.achievement-item .achievement-content {
  justify-self: end;
  margin-right: auto;
}

.achievement-item .achievement-image {
  justify-self: start;
  margin-left: auto;
}

/* For image left, content right (reverse) */
.achievement-item-reverse .achievement-content {
  justify-self: start;
  margin-left: auto;
}

.achievement-item-reverse .achievement-image {
  justify-self: end;
  margin-right: auto;
}

/* White background items (odd) - FULL WIDTH */
.achievement-item-white {
  background: #ffffff;
  width: 100%;
}

/* Blue background items (even) - FULL WIDTH */
.achievement-item-blue {
  background: #f5f7fa;
  width: 100%;
}

/* Content order - content left, image right (default) */
.achievement-item .achievement-content {
  order: 1;
}

.achievement-item .achievement-image {
  order: 2;
}

/* Reverse order for alternating layout (image left, content right) */
.achievement-item-reverse .achievement-content {
  order: 2;
}

.achievement-item-reverse .achievement-image {
  order: 1;
}

/* White item text colors */
.achievement-item-white .achievement-content h3 {
  color: var(--navy-deep, #03275b);
}

.achievement-item-white .achievement-content p {
  color: var(--ink-soft, #454C55);
}

/* Blue item text colors */
.achievement-item-blue .achievement-content h3 {
  color: #081f5c;
}

.achievement-item-blue .achievement-content p {
  color: rgb(75 79 85);
}

/* Achievement image */
.achievement-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
  aspect-ratio: 1.75/1;
  min-height: 200px;
  width: 100%;
  max-width: 520px;
}

/* Border for white items */
.achievement-item-white .achievement-image {
  border: 1px solid var(--line, rgba(10, 37, 64, 0.12));
}

/* Border for blue items */
.achievement-item-blue .achievement-image {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.achievement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.achievement-content {
  width: 100%;
  max-width: 520px;
}

.achievement-content h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.25;
}

.achievement-content p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ====== IMAGE SLIDER ====== */
.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  min-height: 200px;
}

.image-slider .slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-slider .slider-track img {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slider .slider-controls {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

/* White item slider dots */
.achievement-item-white .image-slider .slider-dot {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.achievement-item-white .image-slider .slider-dot.active {
  background: var(--orange, #E29A2E);
  border-color: var(--orange, #E29A2E);
}

/* Blue item slider dots */
.achievement-item-blue .image-slider .slider-dot {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement-item-blue .image-slider .slider-dot.active {
  background: var(--orange, #E29A2E);
  border-color: var(--orange, #E29A2E);
}

.image-slider .slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.image-slider .slider-dot.active {
  width: 28px;
  border-radius: 10px;
}

.image-slider .slider-prev,
.image-slider .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* White item slider buttons */
.achievement-item-white .image-slider .slider-prev,
.achievement-item-white .image-slider .slider-next {
  background: rgba(0, 0, 0, 0.4);
}

.achievement-item-white .image-slider .slider-prev:hover,
.achievement-item-white .image-slider .slider-next:hover {
  background: var(--orange, #E29A2E);
  color: #ffffff;
  border-color: var(--orange, #E29A2E);
}

/* Blue item slider buttons */
.achievement-item-blue .image-slider .slider-prev,
.achievement-item-blue .image-slider .slider-next {
  background: rgba(0, 0, 0, 0.5);
}

.achievement-item-blue .image-slider .slider-prev:hover,
.achievement-item-blue .image-slider .slider-next:hover {
  background: var(--orange, #E29A2E);
  color: var(--navy-deep, #03275b);
  border-color: var(--orange, #E29A2E);
}

.image-slider .slider-prev {
  left: 8px;
}

.image-slider .slider-next {
  right: 8px;
}

/* Achievements responsive */
@media (max-width: 860px) {
  .achievement-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 24px;
  }

  .achievement-item .achievement-content,
  .achievement-item .achievement-image,
  .achievement-item-reverse .achievement-content,
  .achievement-item-reverse .achievement-image {
    order: unset;
    max-width: 100%;
    justify-self: center;
    margin: 0 auto;
  }

  .achievement-image {
    aspect-ratio: 16 / 10;
    min-height: 180px;
    max-width: 100%;
  }

  .achievement-content {
    max-width: 100%;
  }

  .achievement-content h3 {
    font-size: 18px;
  }

  .achievement-content p {
    font-size: 14px;
  }

  .image-slider {
    min-height: 180px;
  }
}

@media (max-width: 480px) {
  .achievement-item {
    padding: 24px 16px;
  }

  .achievement-image {
    aspect-ratio: 4 / 3;
    min-height: 160px;
  }

  .achievement-content h3 {
    font-size: 16px;
  }

  .achievement-content p {
    font-size: 13px;
  }

  .image-slider {
    min-height: 160px;
  }

  .image-slider .slider-prev,
  .image-slider .slider-next {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .image-slider .slider-dot {
    width: 8px;
    height: 8px;
  }

  .image-slider .slider-dot.active {
    width: 20px;
  }
}

/* ====== MEMBERSHIPS CAROUSEL STYLES ====== */
.memberships-carousel {
  background: var(--white, #ffffff);
  padding: 72px 0;
  overflow: hidden;
  position: relative;
}

.memberships-carousel .section-head {
  text-align: center;
  margin-bottom: 48px;
}

.logo-track-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.logo-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollLogos 30s linear infinite;
  padding: 20px 0;
  will-change: transform;
}

.logo-track-wrapper:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  min-width: 160px;
  cursor: default;
}

.logo-item img {
  height: 300px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  filter: grayscale(0.1);
  transition: none;
}

.logo-item:hover img {
  filter: grayscale(0.1);
}

.logo-item .logo-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.logo-item:hover .logo-label {
  color: #64748b;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .logo-item {
    min-width: 140px;
    padding: 14px 20px;
  }
  .logo-item img {
    height: 200px;
    max-width: 160px;
  }
}

@media (max-width: 700px) {
  .logo-item {
    min-width: 120px;
    padding: 12px 16px;
  }
  .logo-item img {
    height: 120px;
    max-width: 90px;
  }
  .logo-track {
    gap: 24px;
    animation-duration: 25s;
  }
}

@media (max-width: 480px) {
  .logo-item {
    min-width: 100px;
    padding: 10px 12px;
  }
  .logo-item img {
    height: 80px;
    max-width: 70px;
  }
  .logo-item .logo-label {
    font-size: 9px;
  }
  .logo-track {
    gap: 16px;
    animation-duration: 20s;
  }
}

/* ====== CLIENT TWO-ROW GRID ====== */
.clients-2rows {
  background: var(--white, #ffffff);
  padding: 60px 0 70px;
}

.client-grid-2rows {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0px 40px;
  margin-top: 12px;
  max-width: 100%;
}

.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 8px 4px;
  text-align: center;
  width: 140px;
  flex: 0 0 auto;
  transition: transform 0.2s;
}

.client-item:hover {
  transform: scale(1.03);
}

.client-item img {
  max-width: 100%;
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(0.1);
  transition: filter 0.2s;
}

.client-item:hover img {
  filter: grayscale(0);
}

.client-item .client-label {
  font-size: 10px;
  font-weight: 600;
  color: #454C55;
  margin-top: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .client-item { width: 120px; }
  .client-item img { height: 70px; }
  .client-grid-2rows { gap: 24px 20px; }
}

@media (max-width: 640px) {
  .client-item { width: 100px; padding: 6px 2px; }
  .client-item img { height: 55px; }
  .client-item .client-label { font-size: 9px; margin-top: 8px; }
  .client-grid-2rows { gap: 20px 14px; }
}

@media (max-width: 420px) {
  .client-item { width: 80px; }
  .client-item img { height: 44px; }
  .client-item .client-label { font-size: 8px; margin-top: 6px; }
  .client-grid-2rows { gap: 16px 10px; }
}