:root {
  /* PRIMARY BRAND COLORS */
  --primary-blue-dark: #1e3c72;
  --primary-blue-medium: #2a5298;
  --secondary-blue-light: #667eea;
  --secondary-blue-purple: #764ba2;
  --color-headings: #1b0760;
  --brand-primary: #008fb7;
  --brand-primary-light: #009ec9;
  --brand-primary-dark: #004d61;
  --brand-main: #073e60;

  /* ACTION COLORS */
  --primary-orange: #ff6b35;
  --primary-orange-hover: #e55a2b;
  --secondary-orange: #f7931e;
  --ai-purple: #8b5cf6;
  --gold-accent: #f59e0b;

  /* NEUTRAL COLORS */
  --white: #ffffff;
  --gray-lightest: #f8f9fa;
  --gray-light: #f0f0f0;
  --gray-medium: #666666;
  --gray-dark: #333333;
  --charcoal: #1a1a1a;
  --border-light: #dddddd;

  /* GRADIENT DEFINITIONS */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-blue-dark) 0%,
    var(--primary-blue-medium) 100%
  );
  --gradient-hero: linear-gradient(135deg, #006c8a 0%, #2a5298 100%);
  --gradient-orange: linear-gradient(
    135deg,
    var(--primary-orange) 0%,
    var(--secondary-orange) 100%
  );

  /* SHADOW COLORS */
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-dark: rgba(0, 0, 0, 0.3);

  /* SEMANTIC COLORS */
  --success-color: #27ca3f;
  --warning-color: #ffbd2e;
  --error-color: #ff5f56;
  --info-color: var(--secondary-blue-light);
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

html {
  /* 62.5% of 16px = 10px */
  font-size: 62.5%;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--gray-dark);
  line-height: 1.6;
  /* background: var(--gray-dark); */
  font-size: 2.4rem;
}

h1,
h2,
h3 {
  margin-bottom: 1rem;
  color: var(--color-headings);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 7rem);
}
h2 {
  font-size: clamp(2rem, 3.5vw, 4rem);
}
h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

/* Navigation Bar */

/* blocks */
.block {
  --padding-vertical: 6rem;
  padding: var(--padding-vertical) 2rem;
}

.block__header {
  text-align: center;
  margin-bottom: 4rem;
}

/* hero */
.hero-about {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-repeat: no-repeat;
  text-align: center;
  background-size: cover;
  overflow: hidden;
  min-height: 60vh;
  position: relative;

  /* Background image with responsive sets */
  background: url("../images/about.jpg") center / cover no-repeat;
  background-image: -webkit-image-set(
    url("../images/hero-about@1x.jpg") 1x,
    url("../images/hero_about@2x.jpg") 2x,
    url("../images/hero-about@3x.jpg") 3x
  );
  background-image: image-set(
    url("../images/hero-about@1x.jpg") 1x,
    url("../images/hero_about@2x.jpg") 2x,
    url("../images/hero-about@3x.jpg") 3x
  );
}

.hero-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.6; /* adjust overlay strength */
  z-index: 0; /* ✅ ensures overlay stays behind content */
}

/* Hero */
.hero-content {
  max-width: 900px; /* keep text readable */
  margin-left: 5%; /* push it away from the edge a little */
  padding: 20px; /* breathing room */
  color: white; /* assuming text should stand out */
  background: rgba(0, 0, 0, 0.3); /* optional overlay for readability */
  border-radius: 8px; /* optional */
  position: relative;
  z-index: 1;
}

.hero__heading {
  margin: 0 auto;
  color: #fff;
  display: inline-block;
}

.hero__heading::before {
  content: "Our Mission"; /* the word you want to appear */
  display: block; /* puts it above the h1 */
  font-size: 2.3rem; /* smaller than heading */
  font-weight: bold;
  color: #ff6b35; /* highlight color (customize) */
  margin-bottom: 8px; /* spacing between "Mission" and the h1 text */
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media screen and (min-width: 768px) {
  .hero-about {
    min-height: 70vh; /* taller hero on tablets and up */
  }

  .hero__heading::before {
    font-size: 2.6rem;
  }
}

/* ===== Timeline Styles ===== */
.timeline {
  background-color: #f9f9f9; /* light background for contrast */
  padding: 4rem 2rem;
}

.timeline__content {
  max-width: 800px;
  margin: 0 auto;
}

.timeline__heading {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-headings);
}

.timeline__list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* vertical line */
.timeline__list::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ddd;
}

/* timeline items */
.timeline__item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 60px;
}

/* dots */
.timeline__item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0.3rem;
  width: 16px;
  height: 16px;
  background: #0077ff; /* brand color */
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #ddd;
}

.timeline__date {
  font-weight: 700;
  color: var(--primary-blue-medium);
  margin-bottom: 0.25rem;
  display: block;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.timeline__text {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.6;
  color: #444;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .timeline__list::before {
    left: 10px;
  }
  .timeline__item {
    padding-left: 40px;
  }
  .timeline__item::before {
    left: 2px;
  }
}

/* Grids */
.grid {
  display: grid;
}

@media screen and (min-width: 768px) {
  .grid--1x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .grid--1x3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Features */
.feature {
  gap: 4rem 2rem;
  margin: 12rem 0;
}

.feature:first-of-type {
  margin-top: 6rem;
}

.feature__heading {
  margin: 1rem 0;
}

@media screen and (min-width: 768px) {
  .feature:nth-of-type(even) .feature__content {
    order: 2;
  }
}

/* ===== Values Section ===== */
.values {
  background: var(--gray-lightest);
  padding: 4rem 2rem;
}

.values__content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.values__heading {
  font-size: clamp(2.4rem, 3vw, 4rem); /* scales from ~24px to 40px */
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-headings);
}

.values__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.values__item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 2rem;
  font-size: clamp(
    1.4rem,
    1.8vw,
    1.8rem
  ); /* 14px on mobile → 18px on large screens */
  line-height: 1.6;
  color: #444;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px var(--shadow-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center; /* helps with readability */
}

.values__item strong {
  display: block;
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--primary-blue-medium);
  margin-bottom: 1rem; /* space between title & description */
}

.values__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.values__icon {
  font-size: 2.8rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
  display: block;
  margin-bottom: 1.5rem; /* gap between icon & title */
  display: inline-block;
}

/* ===== Team Section ===== */
.team {
  background: #ffffff;
  padding: 4rem 2rem;
}

.team__content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.team__heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #222;
}

.team__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team__member {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.team__member:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team__name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: #222;
}

.team__role {
  font-size: 0.95rem;
  color: #0077ff;
  margin-bottom: 0.75rem;
}

.team__bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* ===== CTA Section ===== */
.cta {
  background: var(--brand-main); /* brand gradient */
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.cta__content {
  max-width: 700px;
  margin: 0 auto;
}

.cta__heading {
  font-size: clamp(2.4rem, 4vw, 3.6rem); /* scales smoothly */
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: var(--white);
}

.cta__content p {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: var(--gray-lightest); /* softer white for body text */
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta__button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: clamp(1.4rem, 1.8vw, 1.6rem);
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cta__button {
  background: var(--primary-orange);
  color: var(--white);
}

.cta__button:hover {
  background: var(--primary-orange-hover);
  transform: translateY(-3px);
}

/* Secondary button (Partner With Us) */
.cta__button--secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.cta__button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}



/* Features */
.feature__heading {
  margin: 1rem 0;
}
.feature {
  gap: 4rem 2rem;
}

.feature:first-of-type {
  margin-top: 6rem;
}
.feature__image {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .feature:nth-of-type(even) .feature__content {
    order: 2;
  }
}

/* Icons */
.icon {
  width: 40px;
  height: 40px;
}

.icon--small {
  width: 30px;
  height: 30px;
}

.icon--primary {
  fill: var(--color-primary);
}

.icon--white {
  fill: #fff;
}

.icon-container {
  background: #f3f9fa;
  width: 64px;
  height: 64px;
  border-radius: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.icon-container--accent {
  background: var(--color-accent);
}

/* Inquire Button */

.btn-inquire {
  display: inline-block;
  background-color: #f56433; /* bright orange */
  color: #fff;
  font-weight: 600;
  font-size: 1.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px; /* rounded corners */
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-inquire:hover {
  background-color: #e55427; /* darker orange on hover */
  transform: translateY(-2px); /* subtle lift */
}

.btn-inquire:active {
  background-color: #cc4620; /* even darker on click */
  transform: translateY(0);
}
