/* ================= ABOUT PAGE ================= */

:root {
  --navy: #08163b;
  --navy-deep: #050f2d;
  --blue: #0647a8;
  --green: #18a96b;
  --green-dark: #0f8a55;
  --text: #111827;
  --muted: #667085;
  --border: rgba(8, 22, 59, 0.12);
  --shadow: 0 24px 70px rgba(8, 22, 59, 0.1);
}

.about-page {
  background: #ffffff;
}

.about-container {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
}

/* ================= HERO ================= */

.about-hero {
  min-height: 340px;
  background:
    linear-gradient(
      90deg,
      rgba(8, 22, 59, 0.76),
      rgba(8, 22, 59, 0.48)
    ),
    url("../images/ocean-beach.jpg") center/cover no-repeat;
}

.about-hero-overlay {
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 78px 0;
}

.about-hero-tag {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.about-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -1px;
}

.about-hero p {
  max-width: 620px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
}

/* ================= INTRO ================= */

.about-intro-section {
  padding: 90px 0;
  background:
    radial-gradient(circle at top left, rgba(24, 169, 107, 0.07), transparent 30%),
    #ffffff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 58px;
}

.about-intro-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-intro-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: 0.45s ease;
}

.about-intro-image:hover img {
  transform: scale(1.04);
}

.about-section-tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(24, 169, 107, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.about-section-tag i {
  color: var(--green);
}

.about-intro-content h2,
.about-section-heading h2 {
  color: var(--navy);
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -1px;
}

.about-intro-content p {
  margin-top: 18px;
  color: #344054;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 500;
}

.about-highlight {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f8fafc;
}

.about-highlight span {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.about-intro-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.about-btn-primary,
.about-btn-outline {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.25s ease;
}

.about-btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(6, 71, 168, 0.22);
}

.about-btn-primary:hover {
  background: var(--green);
  transform: translateY(-3px);
}

.about-btn-outline {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid rgba(8, 22, 59, 0.16);
}

.about-btn-outline:hover {
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ================= VALUES ================= */

.values-section {
  padding: 80px 0;
  background: #f6fbfc;
}

.about-section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.about-section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-section-heading p {
  max-width: 680px;
  margin: 16px auto 0;
  color: #475467;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.value-card {
  min-height: 250px;
  padding: 34px 30px;
  border-radius: 22px;
  color: #ffffff;
  text-align: center;
  transition: 0.28s ease;
  box-shadow: 0 24px 55px rgba(8, 22, 59, 0.12);
}

.value-card:hover {
  transform: translateY(-7px);
}

.green-card {
  background: linear-gradient(135deg, #058335, var(--green-dark));
}

.navy-card {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.maroon-card {
  background: linear-gradient(135deg, #3a0612, #5a1020);
}

.value-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 24px;
}

.value-card h3 {
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 12px;
}

.value-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 500;
}

/* ================= TEAM ================= */

.team-section {
  padding: 90px 0 105px;
  background: #f6fafc;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.team-card {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: 0 24px 65px rgba(8, 22, 59, 0.1);
  transition: 0.28s ease;
}

.team-card:hover {
  transform: translateY(-7px);
}

.team-image {
  width: 100%;
  height: 100%;
}

.team-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: 0.45s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}
.team-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  min-height: 76px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}
.team-info h3 {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.team-info span {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
}


/* Make 5th card align nicely */
.team-card:nth-child(4) {
  grid-column: 1 / 2;
}

.team-card:nth-child(5) {
  grid-column: 2 / 3;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {
  .about-intro-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-card:nth-child(4),
  .team-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .about-container {
    width: min(100% - 32px, 520px);
  }

  .about-hero,
  .about-hero-overlay {
    min-height: 300px;
  }

  .about-hero h1 {
    font-size: 38px;
  }

  .about-hero p {
    font-size: 15px;
  }

  .about-intro-section,
  .values-section,
  .team-section {
    padding: 65px 0;
  }

  .about-intro-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-image img {
    height: 300px;
  }

  .about-intro-content h2,
  .about-section-heading h2 {
    font-size: 32px;
  }

  .about-section-heading.center {
    text-align: left;
  }

  .about-section-heading p {
    margin-left: 0;
    margin-right: 0;
  }

  .about-btn-primary,
  .about-btn-outline {
    width: 100%;
  }

  .team-card,
  .team-image img {
    height: 340px;
    min-height: 340px;
  }
}

/* ================= ABOUT PAGE FONT SIZE FIX ================= */

/* About hero heading */
.about-hero h1 {
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.5px;
}

/* About hero paragraph */
.about-hero p {
  max-width: 560px;
  font-size: 14px;
  line-height: 1.65;
}

/* Why choose us heading */
.about-intro-content h2 {
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.5px;
}

/* Why choose us paragraph */
.about-intro-content p {
  font-size: 14px;
  line-height: 1.75;
}

/* Section headings: What Drives Us / Team */
.about-section-heading h2 {
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.5px;
}

/* Section paragraph text */
.about-section-heading p {
  max-width: 560px;
  font-size: 14px;
  line-height: 1.65;
}

/* Small green tags */
.about-section-tag,
.about-hero-tag {
  font-size: 11px;
  letter-spacing: 1.8px;
}

/* Highlight box text */
.about-highlight span {
  font-size: 13px;
  line-height: 1.65;
}

/* Value cards */
.value-card h3 {
  font-size: 17px;
}

.value-card p {
  font-size: 13px;
  line-height: 1.65;
}

/* Team card text */
.team-info h3 {
  font-size: 14px;
}

.team-info span {
  font-size: 12px;
}

/* Buttons */
.about-btn-primary,
.about-btn-outline {
  min-height: 42px;
  padding: 0 18px;
  font-size: 12px;
}

/* Mobile */
@media (max-width: 700px) {
  .about-hero h1 {
    font-size: 32px;
  }

  .about-intro-content h2,
  .about-section-heading h2 {
    font-size: 26px;
  }

  .about-hero p,
  .about-intro-content p,
  .about-section-heading p {
    font-size: 14px;
  }
}

/* ================= COMPANY STORY ================= */

.company-story-section {
  padding: 90px 0 100px;
  background:
    radial-gradient(
      circle at top right,
      rgba(24, 169, 107, 0.08),
      transparent 30%
    ),
    #f6fafc;
}

.company-story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 68px;
  align-items: start;
}

.company-story-heading {
  position: sticky;
  top: 120px;
}

.company-story-heading h2 {
  max-width: 490px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.7px;
  font-weight: 900;
}

.company-story-lead {
  max-width: 480px;
  margin-top: 18px;
  color: #475467;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}

.company-story-content {
  padding: 34px 36px;
  border: 1px solid rgba(8, 22, 59, 0.09);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(8, 22, 59, 0.08);
}

.company-story-content h3 {
  margin: 0 0 17px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 900;
}

.company-story-content p {
  margin: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.85;
  font-weight: 500;
}

.company-story-content p + p {
  margin-top: 16px;
}

/* ================= VISION AND MISSION ================= */

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 55px;
}

.purpose-card {
  min-height: 290px;
  padding: 34px;
  border-radius: 22px;
  color: #ffffff;
  box-shadow: 0 24px 55px rgba(8, 22, 59, 0.13);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.purpose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px rgba(8, 22, 59, 0.18);
}

.vision-card {
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.13),
      transparent 34%
    ),
    linear-gradient(135deg, #0c9d5c, #087845);
}

.mission-card {
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.1),
      transparent 34%
    ),
    linear-gradient(135deg, var(--navy-deep), #0c2a65);
}

.purpose-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 20px;
}

.purpose-card > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.purpose-card h3 {
  max-width: 440px;
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.purpose-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.8;
}

/* ================= PRINCIPLES ================= */

.principles-block {
  margin-top: 85px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.principle-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(8, 22, 59, 0.1);
  border-radius: 17px;
  background: #ffffff;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.principle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 169, 107, 0.32);
  box-shadow: 0 18px 42px rgba(8, 22, 59, 0.08);
}

.principle-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(24, 169, 107, 0.1);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.principle-card h3 {
  margin: 1px 0 8px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 900;
}

.principle-card p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}

/* ================= ACRESIDE GROUP ================= */

.acreside-group-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 45px;
  align-items: center;
  margin-top: 80px;
  padding: 42px;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(24, 169, 107, 0.22),
      transparent 36%
    ),
    linear-gradient(120deg, var(--navy-deep), #09295a);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(8, 22, 59, 0.2);
}

.group-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #5be0a7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.acreside-group-content h2 {
  max-width: 460px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.6px;
  font-weight: 900;
}

.acreside-group-content p {
  max-width: 480px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.8;
}

.group-businesses {
  display: grid;
  gap: 15px;
}

.group-business {
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.group-business-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 13px;
  background: rgba(91, 224, 167, 0.14);
  color: #5be0a7;
  font-size: 18px;
}

.group-business h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.group-business p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.7;
}

/* ================= COMPANY STORY RESPONSIVE ================= */

@media (max-width: 900px) {
  .company-story-grid,
  .acreside-group-card {
    grid-template-columns: 1fr;
  }

  .company-story-heading {
    position: static;
  }

  .vision-mission-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .company-story-section {
    padding: 65px 0 75px;
  }

  .company-story-grid {
    gap: 28px;
  }

  .company-story-content {
    padding: 26px 22px;
    border-radius: 17px;
  }

  .vision-mission-grid {
    margin-top: 35px;
  }

  .purpose-card {
    min-height: auto;
    padding: 27px 23px;
    border-radius: 18px;
  }

  .principles-block {
    margin-top: 60px;
  }

  .principle-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 20px;
  }

  .principle-number {
    width: 42px;
    height: 42px;
  }

  .acreside-group-card {
    gap: 30px;
    margin-top: 60px;
    padding: 29px 22px;
    border-radius: 19px;
  }
}


.group-business {
  position: relative;
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) 18px;
  gap: 16px;
  align-items: center;

  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);

  color: inherit;
  text-decoration: none;
  backdrop-filter: blur(8px);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.group-business:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(91, 224, 167, 0.35);
}

.group-business:focus-visible {
  outline: 3px solid rgba(91, 224, 167, 0.5);
  outline-offset: 3px;
}

.group-business-arrow {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.group-business:hover .group-business-arrow {
  color: #5be0a7;
  transform: translate(2px, -2px);
}