/* ===== Vars ===== */
:root {
  --about-hero-primary: #0077b6;
  --about-hero-accent: #ffe45c;
  --about-hero-light: #ffffff;
  --about-hero-dark: #0b2239;
}

/* ===== Base Section ===== */
.about-hero-section {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  color: var(--about-hero-light);
  overflow: hidden;
  isolation: isolate;
}

/* Background Image */
.about-hero-section__bg {
  position: absolute;
  inset: 0;
  background-image: url("images/bluecon1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  transform: translateZ(0);
}

/* Overlay for Readability */
.about-hero-section__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
}

/* Content Container */
.about-hero-section__hero-content {
  width: min(1100px, 92%);
  margin: 0 auto;
  text-align: center;
}

/* Text Content */
.about-hero-section__kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.about-hero-section__title {
  margin-top: 16px;
  font-weight: 800;
  line-height: 1.1;
  font-size: 1.2rem;  /* Set font size to 1.2rem for laptops */
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.about-hero-section__subtitle {
  margin-top: 14px;
  font-size: clamp(14px, 1.8vw, 18px);
  color: #eaf6ff;
  opacity: 0.96;
  max-width: 60ch;
  margin-inline: auto;
}

/* CTA Buttons */
.about-hero-section__cta {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.about-hero-section__btn {
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}

.about-hero-section__btn--primary {
  background: linear-gradient(90deg, var(--about-hero-accent), #ffd36a);
  color: #1a1a1a;
  box-shadow: 0 8px 24px rgba(255, 228, 92, 0.35);
}
.about-hero-section__btn--primary:hover {
  transform: translateY(-2px);
}

.about-hero-section__btn--ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.about-hero-section__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Responsive: tighter mobile height */
@media (max-width: 768px) {
  .about-hero-section {
    min-height: 46vh;
    padding-block: 36px 40px;
  }

  .about-hero-section__bg {
    background-position: center 60%;
  }

  .about-hero-section__content {
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
  }

  /* Set title size for mobile/tablet */
  .about-hero-section__title {
    font-size: 1.5rem;  /* Set font size to 1.5rem for mobile/tablet */
  }
}

/* ---------- FONT SIZE RULES ---------- */

/* Laptop & larger (>992px) */
@media (min-width: 993px) {
  .about-hero-section {
    font-size: 1.5rem;  /* Set font size to 1.5rem for laptop */
  }

  .about-hero-section__btn {
    font-size: 1em;
    padding: 0.7em 1.1em;
    border-radius: 0.75em;
  }

  /* Set title size to 1.2rem for laptops */
  .about-hero-section__title {
    font-size: 2rem;  /* Set font size to 1.2rem for laptop */
  }
}

/* Mobile & Tablet (<=992px) */
@media (max-width: 992px) {
  .about-hero-section {
    font-size: 1.5rem;  /* Set font size to 1.5rem for mobile/tablet */
  }

  .about-hero-section__btn {
    font-size: 1em;
    padding: 0.7em 1.1em;
    border-radius: 0.75em;
  }

  /* Title size adjustment for mobile and tablet */
  .about-hero-section__title {
    font-size: 1.5rem;  /* Set font size to 1.5rem for tablet */
  }
}

/* Even smaller phones */
@media (max-width: 420px) {
  .about-hero-section {
    min-height: 40vh;           /* a touch shorter */
    padding-block: 28px 34px;
  }

  /* Reduce title size on smaller phones */
  .about-hero-section__title {
    font-size: clamp(22px, 8vw, 30px);
  }
}




/* section 1 css */
/* =========================
   ABOUT SECTION — v2
========================= */

.about-section-1 {
  background: #fff;
  padding: clamp(40px, 6vw, 72px) 0;
  color: var(--bfc-ink);
  font-family: 'Roboto', sans-serif; /* Updated font */
}

.about-section-1__content {
  width: min(1180px, 92%);
  margin: 0 auto clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;   /* two columns on desktop */
  gap: clamp(22px, 4vw, 46px);
  align-items: start;               /* align to the top */
  justify-content: start;
}

/* ---------- Left (Text) ---------- */
.about-section-1__title {
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
  transition: transform 0.3s ease;  /* scale on hover */
  color: #0b1222;
}
.about-section-1__title:hover { transform: scale(1.05); }

.about-section-1__p {
  color: var(--bfc-muted);
  line-height: 1.85;
  margin: 0 0 12px;
  transition: transform 0.3s ease;
  text-align: justify;
}
.about-section-1__p:hover { transform: scale(1.05); }

.about-section-1__p--bold {
  font-weight: 700;
  color: #1f2937;
  transition: transform 0.3s ease;
  text-align: justify;
}
.about-section-1__p--bold:hover { transform: scale(1.05); }

/* ▶ CTA Button (Blue border + blue hover) */
.about-section-1__btn {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid #007bff;       /* Blue border */
  border-radius: 8px;
  font-weight: 700;
  color: #007bff;                   /* Blue text */
  text-decoration: none;
  background: transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.about-section-1__btn:hover {
  background: #007bff;             /* Blue background on hover */
  color: #ffffff;                   /* White text */
  border-color: #007bff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .06);
}

/* ---------- Right (Image) ---------- */
.about-section-1__media {
  margin: 0;
  justify-self: center;
  width: min(520px, 46vw);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .12);

  /* for smoother hover visuals */
  position: relative;
  transform: translateZ(0);
}
.about-section-1__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;

  /* hover zoom */
  transform-origin: center;
  transition: transform .35s ease;
  will-change: transform;
}
.about-section-1__media:hover img {
  transform: scale(1.06);
}
.about-section-1__media:hover{
  box-shadow: 0 22px 40px rgba(0,0,0,.16);
}

/* ---------- Features (Cards) ---------- */
.about-section-1__features {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.about-section-1__feature {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 6px;
  background-color: #f9f9f9;
  padding: 0;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-section-1__feature:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.about-section-1__num {
  grid-row: 1 / span 2;
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 40px);
  color: #00baff;
}

.about-section-1__feat-title {
  margin: 0;
  align-self: end;
  font-weight: 800;
  font-size: clamp(16px, 2.4vw, 15px);
  transition: transform 0.3s ease;
  color: black;
}
.about-section-1__feat-title:hover { transform: scale(1.05); }

.about-section-1__feat-text {
  margin: 7px;
  color: var(--bfc-muted);
  line-height: 1.75;
  transition: transform 0.3s ease;
  text-align: left;
  font-size: 12px;
}
.about-section-1__feat-text:hover { transform: scale(1.05); }

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce){
  .about-section-1__title,
  .about-section-1__p,
  .about-section-1__p--bold,
  .about-section-1__feat-title,
  .about-section-1__feat-text,
  .about-section-1__feature,
  .about-section-1__media img {
    transition: none !important;
    transform: none !important;
  }
}

/* =========================
   RESPONSIVE
========================= */

/* Stack layout & show image first on tablet/mobile */
@media (max-width: 980px) {
  .about-section-1__content {
    grid-template-columns: 1fr;  /* single column */
    gap: 18px;
  }

  /* move image to top */
  .about-section-1__media {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 620px;
    margin: 0 auto 8px;
  }

  .about-section-1__left {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Features single-column on small devices */
@media (max-width: 720px) {
  .about-section-1__features { grid-template-columns: 1fr; }
  .about-section-1__feature  { grid-template-columns: auto 1fr; }
}

/* Phones: avoid over-zoom */
@media (max-width: 600px) {
  .about-section-1__title { font-size: clamp(28px, 9vw, 40px); }
  .about-section-1__btn   { font-size: 14px; padding: 10px 18px; }

  /* disable text + image zoom on tiny screens */
  .about-section-1__p:hover,
  .about-section-1__p--bold:hover,
  .about-section-1__feat-title:hover,
  .about-section-1__feat-text:hover,
  .about-section-1__media:hover img {
    transform: none;
  }
  .about-section-1__media:hover{
    box-shadow: 0 18px 36px rgba(0,0,0,.12);
  }
}




  /* section 2 */
  .about-section-2{
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  /* padding: clamp(40px,6vw,80px) 0; */
  color: var(--as2-ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  width:100%;
  position: relative; /* needed for ::before divider */
}

/* gold accent divider on top */
.about-section-2::before{
  content:"";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, #e0a100 0%, #ffdd55 100%);
  opacity: .45;
}

.about-section-2__row{
  width:min(1180px,92%);
  margin:0 auto clamp(28px,6vw,64px);
  display:grid;
  grid-template-columns: 1.05fr .95fr; /* text a bit wider */
  gap: clamp(22px,4vw,46px);
  align-items:center;
}

.about-section-2__row--alt{ grid-template-columns: .95fr 1.05fr; }

/* text */
.about-section-2__text{ max-width: 680px; }
.about-section-2__eyebrow{
  font-weight:800;
  letter-spacing:.06em;
  color: var(--as2-accent);
  text-transform: uppercase;
  margin-top: 20px;


}

.about-section-2__title{
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(25px,4.6vw,40px);
  line-height:1.08;
  margin:0 0 10px;
  color: black;
}
.about-section-2__p{
  color: var(--as2-muted);
  line-height:1.85;
  margin:0 0 12px;
  text-align: justify;
}
.about-section-2__list{
  margin:0; padding:0 0 0 1.2em;
  color:#2a2f36;
  display:grid; gap:6px;
  justify-content: left;
}

/* image */
.about-section-2__media{
  margin:0; border-radius:12px; overflow:hidden;
  box-shadow:0 18px 36px rgba(0,0,0,.10);
}
.about-section-2__media img{
  display:block; width:100%; height:auto; object-fit:cover;
}

/* divider between rows (kept) */
.about-section-2__row + .about-section-2__row{
  border-top:1px solid var(--as2-stroke);
  padding-top: clamp(24px,4vw,40px);
}

/* responsive */
@media (max-width: 980px){
  .about-section-2__row,
  .about-section-2__row--alt{
    grid-template-columns: 1fr;
  }
  .about-section-2__text{ max-width: 100%; }
}

/* section 3 css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Merriweather:wght@800&display=swap');

/* =========================
   About Section 3 — Base
   ========================= */
:root{
  --as3-ink:#121212;
  --as3-muted:#556070;
  --as3-accent:#e0a100;          /* warm gold */
  --as3-card:#ffffff;
  --as3-bg:#ffffff;
  --as3-stroke:#e8e9ee;
  --as3-shadow: 0 18px 36px rgba(0,0,0,.08);
}

.about-section-3{
  background: var(--as3-bg);
  color: var(--as3-ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* =========================
   Header
   ========================= */
.about-section-3__header{
  width:min(1180px,92%);
  margin:0 auto clamp(22px,4.5vw,40px);
  text-align:center;
}
.about-section-3__eyebrow{
  display:inline-block;
  font-weight:800;
  letter-spacing:.08em;
  color: var(--as3-accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.about-section-3__title{
  font-family: Merriweather, Georgia, serif;

   
  line-height:1.06;
  margin: 0 0 8px;
  color: black;
}
.about-section-3__lead{
  max-width: 820px;
  margin: 0 auto;
  color: var(--as3-muted);
  line-height: 1.85;
}

/* =========================
   Grid
   ========================= */
.about-section-3__grid{
  width:min(1180px,100%);
  margin: clamp(20px,4vw,36px) auto 0;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px,2.4vw,24px);
}
@media (max-width: 1100px){
  .about-section-3__grid{ grid-template-columns: repeat(3, 1fr); padding: 10px; }
}
@media (max-width: 780px){
  .about-section-3__grid{ grid-template-columns: repeat(2, 1fr); padding: 10px; }
}
@media (max-width: 520px){
  .about-section-3__grid{ grid-template-columns: 1fr; }
}

/* =========================
   Card
   ========================= */
.about-section-3__card{
  background: var(--as3-card);
  border: 1px solid var(--as3-stroke);
  border-radius: 14px;
  padding: clamp(16px,2.4vw,22px);
  box-shadow: none; /* remove white halo */
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.about-section-3__card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(0,0,0,.08);
  border-color: #ddd;
}

/* Icon chip */
.about-section-3__icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(224,161,0,.12);
  color: var(--as3-accent);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 12px;
}
.about-section-3__icon svg{ width: 22px; height: 22px; }

/* =========================
   Typography — refined
   ========================= */
.about-section-3__card-title{
  font-family: Merriweather, Georgia, serif;  /* display serif for hierarchy */
  font-weight: 800;
  font-size: clamp(18px, 1.15vw, 20px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: #0b1222;
  margin: 2px 0 8px;
  text-wrap: balance;
}
.about-section-3__card-text{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(14.5px, 1.02vw, 16px);
  line-height: 1.9;
  color: #4a5568;
  margin: 0;
}
@media (max-width: 520px){
  .about-section-3__card-title{ font-size: 18px; line-height: 1.3; }
  .about-section-3__card-text{ font-size: 15px; line-height: 1.85; }
}

/* =========================
   Trust strip (counters)
   ========================= */
.about-section-3__strip{
  width:min(1180px,92%);
  margin: clamp(28px,5vw,44px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px,2vw,18px);
  text-align:center;
  padding-bottom: 20px;
}
.about-section-3__badge{
  background: #fafbfe;
  border: 1px solid var(--as3-stroke);
  border-radius: 10px;
  padding: 14px 10px;

  /* reveal baseline (will be overridden below to keep visible by default) */
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .6s ease, transform .6s ease, box-shadow .25s ease;
  will-change: opacity, transform;
}
.about-section-3__badge.in-view{
  opacity: 1;
  transform: translateY(0) scale(1);
}
.about-section-3__badge:nth-child(1){ transition-delay: .05s; }
.about-section-3__badge:nth-child(2){ transition-delay: .15s; }
.about-section-3__badge:nth-child(3){ transition-delay: .25s; }

.about-section-3__badge:hover{
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transform: translateY(-2px) scale(1.01);
}

.about-section-3__badge strong{
  display:block;
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(20px,3.6vw,28px);
  color:#0b1222;
}
.about-section-3__badge span{
  color: var(--as3-muted);
  font-weight: 600;
}

@media (max-width: 720px){
  .about-section-3__strip{ grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .about-section-3__badge{ opacity:1 !important; transform:none !important; transition:none !important; }
}

/* =========================
   ✅ Always-visible override (fix “gayab” issue)
   ========================= */
.about-section-3__badge{
  opacity: 1 !important;
  transform: none !important;
}

/* ===== Optional reveal mode =====
   If you want reveal-on-scroll, add class `.as3-animate` on the section:
   <section class="about-section-3 as3-animate"> … </section>
   and use IntersectionObserver to toggle `.in-view`.
*/
.about-section-3.as3-animate .about-section-3__badge{
  opacity: 0 !important;
  transform: translateY(12px) scale(.98) !important;
  transition: opacity .6s ease, transform .6s ease, box-shadow .25s ease;
}
.about-section-3.as3-animate .about-section-3__badge.in-view{
  opacity: 1 !important;
  transform: none !important;
}


/* section 4 */
.about-section-4{
  background: var(--as4-bg);
  padding: clamp(40px, 4vw, 82px) 0;
  color: var(--as4-ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Header */
.about-section-4__header{
  width:min(1180px,92%);
  margin:0 auto clamp(22px,4.5vw,40px);
  text-align:center;
}
.about-section-4__eyebrow{
  display:inline-block;
  font-weight:800;
  letter-spacing:.08em;
  color: var(--as4-accent);
  text-transform: uppercase;
  margin-bottom:6px;
}
.about-section-4__title{
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(30px,4.8vw,48px);
  line-height:1.06;
  margin:0 0 8px;
  color: black;
}
.about-section-4__lead{
  max-width: 820px;
  margin: 0 auto;
  color: var(--as4-muted);
  line-height: 1.85;
}

/* Grid */
.about-section-4__grid{
  width:min(1180px,92%);
  margin: clamp(20px,4vw,36px) auto 0;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px,2.6vw,26px);
}
@media (max-width: 1024px){
  .about-section-4__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .about-section-4__grid{ grid-template-columns: 1fr; }
}

/* Card */
.about-section-4__card{
  background: var(--as4-card);
  border: 2px solid #dcdfe6;     /* more visible border */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--as4-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, outline-color .18s ease;
}
.about-section-4__card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  border-color: var(--as4-accent); /* gold highlight on hover */
}

/* Photo */
.about-section-4__photo{
  margin:0; height: 260px; overflow:hidden;
}
.about-section-4__photo img{
  width:100%; height:100%; object-fit: cover; display:block;
}

/* Info */
.about-section-4__info{ padding: 16px 16px 18px; }
.about-section-4__name{
  font-weight: 800; font-size: 18px; margin: 4px 0 4px;
}
.about-section-4__role{
  margin: 0 0 8px; color: #334155; font-weight: 600;
}
.about-section-4__bio{
  margin: 0 0 12px; color: var(--as4-muted); line-height: 1.75;
}

/* Social (hidden completely as requested) */
.about-section-4__social{
  display: none !important;
}