/* ============================================================
   ABOUT PAGE — Reset & Base
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #08080b;
  --line: #ffffff1a;
  --muted: #a1a1aa;
  --y: #facc15;
  --yd: #ca8a04;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   Layout primitives
   ============================================================ */
section {
  padding: 90px 8vw;
  position: relative;
}

section.alt {
  background: #0d0d11;
}

.wrap {
  max-width: 1150px;
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* ============================================================
   Typography
   ============================================================ */
.tag {
  color: var(--y);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 span,
h1 span {
  color: var(--y);
}

.lead {
  color: var(--muted);
  max-width: 660px;
  margin: 16px 0 0;
  font-size: 1.05rem;
}

.center .lead {
  margin-inline: auto;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 15px 38px;
  border-radius: 999px;
  background: var(--y);
  color: #111;
  font-weight: 700;
  box-shadow: 0 10px 30px #facc1540;
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px #facc1566;
}

.btn.ghost {
  background: none;
  color: #fff;
  border: 1px solid #ffffff40;
  box-shadow: none;
}

.btn.ghost:hover {
  border-color: var(--y);
  color: var(--y);
}

.btn.dark {
  background: #111;
  color: var(--y);
  box-shadow: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: block !important;
  grid-template-columns: none !important;
  background-image: none !important;
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(245, 197, 24, 0.10), transparent 60%),
    radial-gradient(700px 350px at 90% 100%, rgba(245, 197, 24, 0.06), transparent 60%),
    #0a0a0a !important;
  padding: 70px 20px 80px !important;
  min-height: auto !important;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 197, 24, 0.15);
}

.hero::before,
.hero::after {
  display: none !important;
}

.hero > div:first-child {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.hero .tag {
  display: inline-block;
  margin: 0 0 18px 0 !important;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5c518;
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.25);
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem) !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  letter-spacing: -0.8px;
  margin: 0 0 22px 0 !important;
  color: #ffffff;
  max-width: 900px;
}

.hero h1 span {
  color: #f5c518;
  position: relative;
  display: inline-block;
}

.hero .lead {
  max-width: 820px !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 34px 0 !important;
}

.hero .btn {
  display: inline-block;
  padding: 14px 32px !important;
  font-weight: 600;
  border-radius: 999px !important;
  box-shadow: 0 10px 30px rgba(245, 197, 24, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(245, 197, 24, 0.5);
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  padding: 80px 6vw;
  color: #111;
  position: relative;
  overflow: hidden;
}

/* Soft decorative glow */
.cta::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 60px;
  align-items: center;
}

/* --- LEFT: content --- */
.cta-left h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #111;
  margin: 0 0 16px;
}

.cta-left p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1a1a1a;
  max-width: 720px;
  margin: 0;
}

/* --- RIGHT: CTA button --- */
.cta-right {
  flex-shrink: 0;
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 34px;
  border-radius: 999px;
  background: #111;
  color: #facc15;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.btn-cta-main i {
  transition: transform 0.3s ease;
}

.btn-cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  background: #000;
}

.btn-cta-main:hover i {
  transform: translateX(6px);
}

/* ============================================================
   CTA — RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cta {
    padding: 60px 6vw;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .cta-left h2 {
    font-size: 1.6rem;
  }

  .cta-left p {
    font-size: 0.95rem;
    margin: 0 auto;
  }

  .cta-right {
    display: flex;
    justify-content: center;
  }

  .btn-cta-main {
    padding: 15px 28px;
    font-size: 0.95rem;
  }
}

/* ============================================================
   Reveal animation
   ============================================================ */
[data-r] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--d, 0s);
}

[data-r].in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Founder block
   ============================================================ */
.founder {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #2a2410, #0c0c10);
  border: 1px solid #facc1544;
  display: grid;
  place-items: center;
}

.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph.tall {
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  box-shadow: 0 0 60px #facc1526;
}

.ph.round {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
}

.ph.wide {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  margin-bottom: 18px;
}

.role {
  color: var(--y);
  font-weight: 600;
  margin-top: 6px;
}

.stat {
  display: inline-block;
  margin-top: 28px;
  padding: 18px 32px;
  border-radius: 18px;
  background: #facc1514;
  border: 1px solid #facc1544;
}

.stat b {
  display: block;
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--y);
}

.stat small {
  color: #ddd;
}


@media (max-width: 900px) {

  .founder {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
    align-items: center;
  }

  .founder .ph.tall {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;              
    border-radius: 22px;
  }

  .founder > div:not(.ph) {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }

  .founder h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }

  .founder .role {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .founder .lead {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;               
    margin: 0 auto;
  }

  .founder .stat {
    display: inline-block;
    padding: 14px 26px;
    margin-top: 22px;
  }

  .founder .stat b {
    font-size: 2.1rem;
  }

  .founder .stat small {
    font-size: 0.85rem;
  }
}




/* ============================================================
   Cards & grids
   ============================================================ */
.grid {
  display: grid;
  gap: 22px;
  margin-top: 48px;
}

.g2 {
  grid-template-columns: repeat(2, 1fr);
}

.g3 {
  grid-template-columns: repeat(3, 1fr);
}

.g4 {
  grid-template-columns: repeat(4, 1fr);
}

.left .card {
  text-align: left;
}

.card {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px;
  text-align: left;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s, opacity 0.8s;
  position: relative;
  overflow: hidden;
  color: #0a192f;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--y), var(--yd));
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #facc1588;
  box-shadow: 0 18px 50px #facc1526;
}

.card:hover::before {
  transform: scaleX(1);
}

.card .ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fef9c3;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: 0.3s;
}

.card:hover .ic {
  transform: rotate(-8deg) scale(1.1);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #0a192f;
}

.card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* Project cards */
.proj .ic {
  width: 64px;
  height: 64px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, var(--y), var(--yd));
}

.proj h3 {
  margin: 0;
}

.tm {
  text-align: center;
}

/* ============================================================
   Approach — Steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--y), var(--yd));
  box-shadow: 0 0 12px var(--y);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s ease 0.3s;
}

.steps.in::before {
  transform: scaleX(1);
}

.step b {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0c0c10;
  border: 2px solid var(--y);
  color: var(--y);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================================
   Certifications — Responsive Image Grid
   ============================================================ */

.certifications {
  padding: 90px 20px;
  overflow: hidden;
}

.certifications .lead {
  max-width: 720px;
  margin: 16px auto 0;
  line-height: 1.8;
}

/* Responsive grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 50px auto 0;
  max-width: 1100px;
}

/* Card */
.cert-card {
  position: relative;
  padding: 28px 22px;
  border: 1px solid #facc1533;
  border-radius: 20px;
  background: #ffffff05;
  text-align: center;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

/* Subtle background glow */
.cert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    #facc1518,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: #facc15aa;
  box-shadow: 0 16px 38px #00000018;
  background: #facc1508;
}

.cert-card:hover::before {
  opacity: 1;
}

/* Image container */
.cert-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 190px;
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

/* Image hover effect */
.cert-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    transform 0.45s ease,
    filter 0.35s ease;
}

.cert-card:hover .cert-image img {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 10px #00000015);
}

/* Card text */
.cert-card h3 {
  position: relative;
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.cert-card p {
  position: relative;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
}

/* Tablet */
@media (max-width: 900px) {
  .certifications {
    padding: 70px 20px;
  }

  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
  }

  .cert-image {
    height: 180px;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .certifications {
    padding: 55px 16px;
  }

  .cert-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .cert-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .cert-image {
    height: 200px;
    margin-bottom: 18px;
  }

  .cert-card h3 {
    font-size: 17px;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .cert-card,
  .cert-card::before,
  .cert-image img {
    transition: none;
  }

  .cert-card:hover,
  .cert-card:hover .cert-image img {
    transform: none;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 40px 6vw 70px;
}

.fglass {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding: 50px;
  border-radius: 32px;
  background: #ffffff08;
  border: 1px solid #ffffff14;
}

.flogo {
  height: 56px;
  width: auto;
  background: #fff;
  border-radius: 12px;
  padding: 5px 12px;
}

.fglass h4 {
  margin-bottom: 16px;
}

.fglass a {
  display: block;
  margin-bottom: 10px;
  transition: 0.3s;
}

.fglass a:hover {
  color: var(--y);
  transform: translateX(4px);
}

.dim {
  color: #ffffffb3;
  margin-top: 16px;
  max-width: 320px;
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 1000px) {
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .g3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   Responsive — Mobile (Hero → phone)
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    padding: 50px 18px 60px !important;
  }
  .hero .lead {
    font-size: 0.98rem !important;
  }
  .hero .btn {
    padding: 12px 26px !important;
  }
}

/* ============================================================
   Responsive — Mobile (Layout)
   ============================================================ */
@media (max-width: 900px) {
  section {
    padding: 70px 6vw;
  }

  .hero,
  .fglass {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .steps::before {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
  }

  .menu-btn {
    display: flex;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .only-m {
    display: block;
  }

  .dd::after {
    display: none;
  }

  .dd-menu {
    display: block;
    position: static;
    min-width: 0;
    padding: 6px 0 0 14px;
    background: none;
    border: 0;
  }

}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  [data-r] {
    opacity: 1;
    transform: none;
  }
  .steps::before {
    transform: none;
  }
}
