@charset "utf-8";

/* About page – company profile */

.about-page-wrap {
  background: #fff;
  position: relative;
}

.about-page-wrap > :not(.about-bg-decor) {
  position: relative;
  z-index: 1;
}

/* Dynamic decorative background */
.about-bg-decor {
  position: absolute;
  inset: 0; height:800px; margin-top:30%;
  pointer-events: none;
  z-index: -10;
  overflow: hidden;
}

.about-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: #d8f0e4;
}

.about-bg-circle-lg {
  width: min(200px, 55vw);
  height: min(200px, 55vw);
  top: 50%;
  right: 10%;
  animation: aboutCircleFloat 9s ease-in-out infinite;
}

.about-bg-circle-sm {
  width: min(120px, 18vw);
  height: min(120px, 18vw);
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  animation: aboutCirclePulse 5s ease-in-out infinite;
}

.about-bg-circle-xs {
  background: #d8f0e4;
  animation: aboutCircleDrift 7s ease-in-out infinite;
}

.about-bg-circle-a {
  width: 48px;
  height: 48px;
  top: 22%;
  left: 8%;
  animation-delay: 0s;
  opacity: 0.7;
}

.about-bg-circle-b {
  width: 32px;
  height: 32px;
  top: 38%;
  left: 18%;
  animation-delay: 1.2s;
  animation-duration: 6s;
  opacity: 0.55;
}

.about-bg-circle-c {
  width: 64px;
  height: 64px;
  top: 55%;
  left: 5%;
  animation-delay: 2.4s;
  animation-duration: 8s;
  opacity: 0.65;
}

.about-bg-circle-d {
  width: 40px;
  height: 40px;
  top: 28%;
  right: 22%;
  animation-delay: 0.8s;
  animation-duration: 5.5s;
  opacity: 0.6;
}

.about-bg-circle-e {
  width: 56px;
  height: 56px;
  top: 48%;
  right: 12%;
  animation-delay: 1.8s;
  animation-duration: 7.5s;
  opacity: 0.5;
}

.about-bg-circle-f {
  width: 28px;
  height: 28px;
  top: 68%;
  right: 28%;
  animation-delay: 3s;
  animation-duration: 6.5s;
  opacity: 0.45;
}

.about-bg-circle-g {
  width: 36px;
  height: 36px;
  top: 72%;
  left: 32%;
  animation-delay: 2s;
  animation-duration: 5s;
  opacity: 0.55;
}

.about-bg-circle-h {
  width: 52px;
  height: 52px;
  top: 42%;
  left: 42%;
  animation-delay: 4s;
  animation-duration: 9s;
  opacity: 0.35;
}

.about-bg-sky {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #e8f4fc 40%, #cce8f8 100%);
  overflow: hidden;
}

.about-bg-sky::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: url(../images/cloundy.png) repeat-x left bottom;
  background-size: auto 100%;
  opacity: 0.85;
  animation: aboutSkyPan 40s linear infinite;
}

@keyframes aboutCircleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-18px, 22px) scale(1.04);
  }
}

@keyframes aboutCirclePulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translateX(-50%) scale(1.12);
    opacity: 1;
  }
}

@keyframes aboutCircleDrift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(10px, -14px) scale(1.08);
  }
  66% {
    transform: translate(-8px, 10px) scale(0.94);
  }
}

@keyframes aboutSkyPan {
  from {
    background-position: 0 bottom;
  }
  to {
    background-position: 1920px bottom;
  }
}

.about-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2%;
}

/* Hero banner */
.about-hero {
  position: relative;
  margin: 58px 0 0;
  border-radius: 18px;
  overflow: hidden;
  height: 280px;
  box-shadow: 0 12px 40px rgba(4, 96, 160, 0.15);
}

.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 8s ease;
}

.about-hero:hover img {
  transform: scale(1);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 96, 160, 0.72) 0%, rgba(45, 138, 78, 0.55) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 24px;
}

.about-hero-label {
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 10px;
}

.about-hero-overlay h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Sub navigation */
.about-subnav {
  background: #eef1f4;
  border-bottom: 1px solid #e0e4e8;
  margin-top: 28px;
}

.about-subnav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.about-subnav-links {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-subnav-links li a {
  display: block;
  padding: 16px 28px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.about-subnav-links li a:hover,
.about-subnav-links li.active a {
  color: #0460a0;
  font-weight: 600;
}

.about-subnav-links li.active a {
  border-bottom: 3px solid #0460a0;
  margin-bottom: -1px;
}

.about-breadcrumb {
  font-size: 13px;
  color: #888;
}

.about-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.about-breadcrumb a:hover {
  color: #0460a0;
}

.about-breadcrumb span {
  margin: 0 6px;
  color: #ccc;
}

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 48px 0 56px;
}

.about-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 16px 24px;
  text-align: center;
  border: 1px solid #e8ecf0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.35s, border-color 0.35s;
}

.about-stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-stat-card:hover {
  border-color: #0460a0;
  box-shadow: 0 10px 32px rgba(4, 96, 160, 0.14);
  transform: translateY(-6px);
}

.about-stat-card.visible:hover {
  transform: translateY(-6px);
}

.about-stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
}

.about-stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #0460a0;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 14px;
  color: #666;
  line-height: 1.45;
}

/* Intro – text top, image bottom */
.about-intro {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 56px;
}

.about-intro-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}


.about-intro-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-intro-text h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #0460a0;
}

.about-intro-text h3 {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.04em;
}

.about-intro-text p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.85;
  color: #555;
  text-align: justify;
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

.about-intro-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.about-intro-image.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-intro-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 480px;
}

/* Feature panels */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.about-feature-panel {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  border-left: 4px solid #0460a0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.35s;
}

.about-feature-panel:nth-child(2) {
  border-left-color: #2d8a4e;
}

.about-feature-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-feature-panel:hover {
  border-left-width: 6px;
  padding-left: 26px;
}

.about-feature-panel h4 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.about-feature-panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #555;
  text-align: justify;
}

.about-cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.about-cert-tag {
  background: #eef5fb;
  color: #0460a0;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-subnav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 4%;
  }

  .about-subnav-links {
    flex-wrap: wrap;
    width: 100%;
  }

  .about-subnav-links li a {
    padding: 10px 16px;
    font-size: 14px;
  }

  .about-breadcrumb {
    padding: 8px 0 4px;
  }

  .about-container {
    padding: 0 4% 48px;
  }

  .about-hero {
    height: 200px;
    border-radius: 12px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 32px 0 40px;
  }

  .about-stat-num {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .about-bg-circle-lg {
    width: 280px;
    height: 280px;
    top: -10%;
    right: -20%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-bg-circle-lg,
  .about-bg-circle-sm,
  .about-bg-circle-xs,
  .about-bg-sky::before {
    animation: none;
  }
}
