/* =========================================
ABOUT PAGE
========================================= */

.about-company {
  padding: 120px 0;
}

.about-company-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-company-image {
  position: relative;
}

.about-company-image img {
  width: 100%;
  border-radius: 40px;
  position: relative;
  z-index: 2;
  animation: floatUpDown 6s ease-in-out infinite;
}

.about-shape {
  position: absolute;

  width: 100%;
  height: 100%;

  border: 2px solid rgba(37, 99, 235, 0.4);

  border-radius: 40px;
}

/* Two offset shapes layered like the hero's shape1/shape2,
   each rotating in opposite directions at different speeds */

.about-shape1 {
  top: -25px;
  left: -25px;
  animation: rotateShape 20s linear infinite;
}

.about-shape2 {
  top: 25px;
  left: 25px;
  animation: rotateShape 28s linear infinite reverse;
}

.about-company-content span,
.section-title span {
  color: #276cff;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-company-content h2,
.section-title h2 {
  font-size: 50px;
  margin: 20px 0;
}

.about-company-content p {
  color: #666;
  line-height: 1.9;
}

.about-why {
  padding-bottom: 120px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.about-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.about-why-card {
  background: white;

  padding: 40px 20px;

  border-radius: 25px;

  text-align: center;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition: 0.4s ease;
}

.about-why-card:hover {
  transform: translateY(-10px);
}

.about-why-card i {
  width: 80px;
  height: 80px;

  margin: auto auto 25px;

  border-radius: 22px;

  background: linear-gradient(135deg, #5d4dff, #288fff);

  color: white;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 30px;
}

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

/* =========================================
OUR SERVICES + WHY CHOOSE US
(simple two-column list layout — no card boxes)
========================================= */

.services-why-section {
  padding: 100px 0;
}

.services-why-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.section-title-left {
  margin-bottom: 30px;
}

.section-title-left span {
  color: #276cff;
  font-weight: 600;
  letter-spacing: 1px;
}

.section-title-left h2 {
  font-size: 36px;
  margin-top: 12px;
}

.simple-list {
  list-style: none;
}

.simple-list li {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 16px 0;

  border-bottom: 1px solid #e7ebf3;

  font-size: 16px;
  color: #333;
}

.simple-list li:last-child {
  border-bottom: none;
}

.simple-list li i {
  width: 22px;
  color: #276cff;
  font-size: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* Splits a longer list into two internal sub-columns so its height
   roughly matches a shorter list sitting next to it, instead of
   leaving a tall gap of empty space under the shorter column. */
.simple-list-balanced {
  column-count: 2;
  column-gap: 40px;
}

.simple-list-balanced li {
  break-inside: avoid;
}

/* RESPONSIVE */

@media(max-width:1100px) {

  .about-company-wrapper {
    grid-template-columns: 1fr;
  }

  .about-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-company-content h2,
  .section-title h2 {
    font-size: 42px;
  }

  .services-why-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .simple-list-balanced {
    column-count: 1;
  }

}

@media(max-width:700px) {

  .about-why-grid {
    grid-template-columns: 1fr;
  }

}

/* ===== TEAM SECTION (white theme, matches about-why-card box style) ===== */

.team-section {
  padding: 120px 0;
  background: #fff;
  overflow: hidden;
}

.team-subtitle {
  max-width: 620px;
  margin: 14px auto 0;
  color: #666;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.team-card {
  position: relative;
  background: #fff;
  border-radius: 25px;
  padding: 45px 30px 35px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(39, 108, 255, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.team-card.is-visible {
  animation: teamFadeUp 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.12s);
}

@keyframes teamFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(39, 108, 255, 0.16);
}

.team-avatar-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #5d4dff, #288fff);
  box-shadow: 0 8px 20px rgba(39, 108, 255, 0.25);
  transition: transform 0.4s ease;
}

.team-card:hover .team-avatar-wrap {
  transform: rotate(5deg) scale(1.06);
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  display: block;
}

.team-name {
  font-size: 20px;
  color: #111;
  margin-bottom: 6px;
}

.team-role {
  display: block;
  color: #276cff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
}

.team-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(39, 108, 255, 0.08);
  color: #276cff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.team-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 108, 255, 0.08);
  color: #276cff;
  font-size: 15px;
  transition: 0.35s ease;
}

.team-social-btn:hover {
  background: linear-gradient(135deg, #5d4dff, #288fff);
  color: #fff;
  transform: rotate(360deg);
  box-shadow: 0 6px 16px rgba(39, 108, 255, 0.35);
}

.team-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #5d4dff, #288fff);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-btn i {
  transition: transform 0.3s ease;
}

.team-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(39, 108, 255, 0.35);
}

.team-btn:hover i {
  transform: translateX(5px);
}

.team-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: teamRipple 0.6s linear;
  pointer-events: none;
}

@keyframes teamRipple {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-section {
    padding: 80px 0;
  }
}

/* Respect reduced-motion preference for the about-page animations
   (rotateShape and floatUpDown keyframes themselves live in style.css,
   which loads before this file on about.php) */
@media (prefers-reduced-motion: reduce) {

  .about-shape1,
  .about-shape2,
  .about-company-image img,
  .team-card {
    animation: none !important;
    transition: none !important;
  }
}