:root {
  --blue: #0081CC;
  --dark: #0f172a;
  --gray: #325483;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
}

/* HERO */
#about-hero {
  padding: 120px 0;
  background: linear-gradient(135deg, #e8f0ff, #ffffff);
  position: relative;
  overflow: hidden;
}

#about-hero .blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: #dbe4ff;
  border-radius: 50%;
  filter: blur(100px);
  top: -100px;
  right: -150px;
  opacity: .6;
}

#about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
}

#about-hero p {
  color: var(--gray);
  max-width: 650px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* SECTION TITLES */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
}

/* ABOUT IMAGE */
.about-img img {
  border-radius: 20px;
  width: 100%;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

/* INFO LIST */
.info-list li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--gray);
}

.info-list i {
  color: var(--blue);
  margin-right: 10px;
}

/* STATS */
.stats-box {
  background: #f8fbff;
  padding: 35px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.stats-box h2 {
  color: var(--blue);
  font-size: 2.7rem;
  font-weight: 700;
}

.stats-box p {
  font-size: 1rem;
  color: var(--gray);
  margin: 0;
}

/* WHY CHOOSE US */
.why-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, .07);
  transition: .3s;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
}

.why-card i {
  color: var(--blue);
  font-size: 32px;
  margin-bottom: 15px;
}

/* TEAM */
.team-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, .07);
  transition: .3s;
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card h5 {
  font-size: 1.3rem;
  margin-top: 15px;
}

.team-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

#service-hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: linear-gradient(135deg, rgba(40, 40, 70, 0.9), rgba(60, 50, 110, 0.85)),
    url("/wp-content/themes/arame/assets/images/about/headimg.jpg") center/cover no-repeat;
  padding: 7rem 20px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  max-width: 850px;
  line-height: 1.2;
  margin: auto;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: rgb(255, 255, 255);
  max-width: 700px;
  margin: auto;
  margin-top: 20px;
}

.team-grid-container {
  margin-top: 220px;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px 0;
}

.member-card {
  width: 320px;
  background-color: #e6f0f1;
  padding: 100px 30px 40px 30px;
  text-align: center;
  position: relative;
  border-radius: 5px;
}

.member-photo-wrapper {
  position: absolute;
  top: -155px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.5);
  border: 5px solid white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.member-role {
  font-size: 0.9rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.member-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 0;
  margin-bottom: 15px;
}

.member-description {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.member-social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.member-social-links a {
  color: var(--gray);
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.member-social-links a:hover {
  color: var(--blue);
}

#executive-leadership {
    background: url('https://static.vecteezy.com/system/resources/previews/000/544/107/non_2x/blue-honeycomb-with-blue-wave-curve-abstract-background-wallpaper-and-texture-concept-minimal-theme-vector-illustration.jpg') center center/cover no-repeat fixed;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    background-blend-mode: multiply;
    padding: 30px 0;
    overflow: hidden;
}

.leadership-content-wrapper {
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 20px;
}

.section-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
    padding-top: 20px;
}

.leader-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 400px;
    position: relative;
}

.quote-card {
    background: #ffffff;
    padding: 40px 50px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
    max-width: 600px;
    width: 100%;
    border-radius: 5px;
}

.quote-text {
    font-size: 1.35rem;
    font-style: italic;
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
}

.quote-text::before {
    content: "\201C";
    font-size: 4rem;
    font-weight: 900;
    color: #0081CC;
    position: absolute;
    left: -20px;
    top: -30px;
    opacity: 0.15;
    line-height: 1;
}

.leader-signature {
    text-align: right;
}

.leader-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.leader-title {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.leader-portrait {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    object-fit: cover;
    z-index: 5;
    transform: translateX(10%) scale(1.1); 
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
}

@media (max-width: 992px) {

  #about-hero {
    padding: 90px 20px;
  }

  #about-hero h1 {
    font-size: 2.4rem;
  }

  #about-hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .team-grid-container {
    flex-wrap: wrap;
    margin-top: 160px;
    gap: 25px;
  }

  .member-card {
    width: 300px;
  }

  #service-hero {
    padding: 5.5rem 20px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }
}

/* Mobile */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  #about-hero {
    padding: 70px 16px;
    text-align: center;
  }

  #about-hero .blob {
    width: 300px;
    height: 300px;
    top: -120px;
    right: -150px;
    filter: blur(80px);
  }

  #about-hero h1 {
    font-size: 2rem;
  }

  #about-hero p {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .section-title {
    font-size: 1.9rem;
    text-align: center;
  }

  .about-img img {
    border-radius: 16px;
  }

  .stats-box {
    padding: 25px;
  }

  .stats-box h2 {
    font-size: 2.1rem;
  }

  .why-card {
    padding: 25px;
  }

  /* TEAM */
  .team-grid-container {
    flex-direction: column;
    margin-top: 120px;
    padding: 40px 0;
  }

  .member-card {
    width: 90%;
    max-width: 340px;
    padding: 90px 25px 35px;
  }

  .member-photo-wrapper {
    width: 200px;
    height: 200px;
    top: -120px;
  }

  .member-name {
    font-size: 1.4rem;
  }

  .member-description {
    font-size: 0.95rem;
  }

  /* SERVICE HERO */
  #service-hero {
    padding: 4.5rem 16px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* EXECUTIVE LEADERSHIP */
  #executive-leadership {
    background-attachment: scroll;
  }

  .leader-area {
    flex-direction: column;
    min-height: auto;
  }

  .leader-portrait {
    position: static;
    width: 100%;
    height: 260px;
    object-fit: contain;
    transform: none;
    margin-bottom: 20px;
  }

  .quote-card {
    padding: 25px;
    margin-top: 0;
    max-width: 100%;
  }

  .quote-text {
    font-size: 1.05rem;
  }

  .section-heading {
    font-size: 1.9rem;
    margin-bottom: 30px;
  }
}

/* Small Phones */
@media (max-width: 480px) {

  #about-hero h1 {
    font-size: 1.8rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .member-photo-wrapper {
    width: 180px;
    height: 180px;
    top: -110px;
  }

  .member-card {
    padding-top: 80px;
  }
}

/* ABOUT ANIMATION */
.animate-hero {
  overflow: hidden;
}

/* Initial state */
.content-animate {
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.98);
  transition: opacity 1s ease, transform 1s ease;
  will-change: transform, opacity;
}

.image-animate {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: transform, opacity;
}

/* Active state */
.animate-hero.animate-in .content-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.animate-hero.animate-in .image-animate {
  opacity: 1;
  transform: scale(1);
}

/* Optional: soft image settle */
.service-image {
  transform: scale(1.04);
  transition: transform 1.4s ease;
}

.animate-hero.animate-in .service-image {
  transform: scale(1);
}
