/*-----------------------------------*\
  #ABOUT HERO
\*-----------------------------------*/

.about-hero {
  position: relative;
  background-color: var(--ocean-blue-light);
  padding: 160px 20px 80px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  mix-blend-mode: luminosity;
  opacity: 0.15;
  z-index: 0;
}

.about-hero > * {
  position: relative;
  z-index: 1;
}

.about-subtitle {
  color: var(--deep-sky-blue);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-block-end: 10px;
}

.about-title {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: var(--fw-700);
  line-height: 1.1;
  margin-block-end: 20px;
}

.about-description {
  max-width: 700px;
  margin-inline: auto;
  font-size: var(--fs-6);
  color: var(--matte-silver);
  line-height: 1.6;
}


/*-----------------------------------*\
  #STORY BLOCKS (The Beginning, Finding Our Purpose)
\*-----------------------------------*/

.story-section {
  background-color: var(--matte-white-smoke);
}

.story-block {
  display: flex;
  align-items: center;
  gap: var(--section-padding, 60px);
  flex-wrap: wrap;
  margin-block-end: var(--section-padding, 80px);
}

.story-block:last-child {
  margin-block-end: 0;
}

.story-block:nth-child(even) {
  flex-direction: row-reverse;
}

.story-visual, .story-text {
  flex: 1 1 400px;
}

.story-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.story-text h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--fw-700);
  color: var(--matte-charcoal);
  margin-block-end: 20px;
  line-height: 1.2;
}

.story-text p {
  color: var(--matte-gray);
  font-size: 1.6rem;
  line-height: 1.8;
}


/*-----------------------------------*\
  #THE RAMNET WAY (Value Cards Grid)
\*-----------------------------------*/

.values-section {
  background-color: var(--white);
}

.section-title {
  text-align: center;
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: var(--fw-700);
  color: var(--matte-charcoal);
  margin-block-end: 60px;
}

.section-subtitle {
  text-align: center;
  color: var(--matte-gray);
  max-width: 600px;
  margin: -40px auto 60px;
  font-size: 1.6rem;
}

.value-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.value-card {
  flex: 1 1 300px;
  max-width: 380px;
  background-color: var(--white);
  border: 1px solid var(--light-blue);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition-2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 15px 40px 0px hsla(210, 58%, 25%, 0.1);
}

.value-card ion-icon {
  font-size: 40px;
  color: var(--deep-sky-blue);
  background-color: var(--soft-blue);
  padding: 15px;
  border-radius: var(--radius-circle);
}

.value-card h3 {
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  color: var(--matte-charcoal);
  line-height: 1.3;
}

.value-card p {
  color: var(--matte-gray);
  line-height: 1.6;
}


/*-----------------------------------*\
  #TWO DECADES OF TRUST
\*-----------------------------------*/

.trust-section {
  background-color: var(--matte-white-smoke);
  text-align: center;
  padding-block: var(--section-padding, 100px);
}

.trust-section .section-title {
  margin-block-end: 20px;
}

.trust-section p {
  max-width: 800px;
  margin-inline: auto;
  color: var(--matte-gray);
  font-size: 1.6rem;
  line-height: 1.8;
}


/*-----------------------------------*\
  #CTA SECTION
\*-----------------------------------*/

.cta-section {
  background-color: var(--ocean-blue-light);
  padding-block: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/offer-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-title {
  color: var(--white);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--fw-700);
  margin-block-end: 40px;
}

.cta-section .btn-primary {
  margin-inline: auto;
}


/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

@media (min-width: 768px) {
  .about-hero {
    padding-block: 200px 100px;
  }
}
