/* =====================================================
   iOS 26 LIGHT GLASS — DARKER LEVEL 3 (FINAL)
   ✔ Same layout, spacing, sizes (no redesign)
   ✔ iOS Settings-style light glass with more depth
   ✔ Fixes white headings/text across template
   ✔ Fixes About counter box inner sharp white panel
   ===================================================== */

/* ---------- Page background (deeper, still iOS-light) ---------- */
body {
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(10,132,255,.18), transparent 55%),
    radial-gradient(900px 700px at 85% 15%, rgba(52,199,89,.15), transparent 55%),
    radial-gradient(1000px 800px at 50% 95%, rgba(255,159,10,.15), transparent 55%),
    linear-gradient(180deg, #e6e9ef 0%, #dfe3ea 55%, #d4d9e2 100%) !important;
}

/* ---------- Navbar ---------- */
.ftco-navbar-light {
  background: rgba(255,255,255,.66) !important;
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  border-bottom: 1px solid rgba(0,0,0,.10) !important;
}

/* ---------- Hero overlay (reduce whiteness) ---------- */
.hero-wrap .overlay {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.45),
    rgba(255,255,255,.82)
  ) !important;
}

/* ---------- Big background words (keep subtle) ---------- */
.heading-section .big,
.heading-section .big-2 {
  opacity: 0.03 !important;
  color: #000 !important;
}

/* ---------- Glass surfaces (more dense + defined) ---------- */
.resume-wrap,
.services-1,
.blog-entry,
.block-18,
.contact-info .box,
.contact-form,
.counter-wrap .text {
  background: rgba(255,255,255,0.72) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  backdrop-filter: blur(16px) saturate(165%);
  -webkit-backdrop-filter: blur(16px) saturate(165%);
}

/* ---------- About image overlay (more depth) ---------- */
.img-about .overlay {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.0),
    rgba(0,0,0,.18)
  ) !important;
}

/* ---------- Form controls ---------- */
.form-control {
  background: rgba(255,255,255,.88) !important;
  border-color: rgba(0,0,0,.14) !important;
  color: rgba(0,0,0,.84) !important;
}
.form-control::placeholder {
  color: rgba(0,0,0,.52) !important;
}

/* =====================================================
   TEXT & HEADING VISIBILITY (fix template forced whites)
   ===================================================== */

/* Hero text */
.hero-wrap .text h1,
.hero-wrap .text h2,
.hero-wrap .text .subheading,
.hero-wrap .text span {
  color: rgba(0,0,0,0.94) !important;
  text-shadow: 0 14px 32px rgba(0,0,0,0.14) !important;
}

/* Section headings */
.heading-section h1,
.heading-section h2,
.heading-section h3 {
  color: rgba(0,0,0,0.90) !important;
}
.heading-section p {
  color: rgba(0,0,0,0.74) !important;
}

/* Resume headings */
.page .heading,
#resume-section .heading {
  color: rgba(0,0,0,0.92) !important;
}

/* Resume left navigation */
#navi ul li a {
  color: rgba(0,0,0,0.80) !important;
}
#navi ul li a:hover {
  color: rgba(0,0,0,0.96) !important;
}

/* Text inside glass blocks */
.resume-wrap *,
.services-1 *,
.blog-entry *,
.block-18 *,
.contact-info .box *,
.contact-form *,
.counter-wrap .text * {
  color: rgba(0,0,0,0.80) !important;
}

/* Strong titles inside cards */
.resume-wrap h2,
.services-1 h3,
.blog-entry h3,
.contact-section h3,
.block-18 .number {
  color: rgba(0,0,0,0.94) !important;
}

/* Secondary text */
.resume-wrap .date,
.resume-wrap .position,
.services-1 p,
.blog-entry p {
  color: rgba(0,0,0,0.64) !important;
}

/* ---------- Icons (iOS blue, slightly stronger) ---------- */
.resume-wrap .icon,
.services-1 .icon,
.contact-info .icon {
  background: rgba(10,132,255,0.16) !important;
  color: #0a84ff !important;
}

/* ---------- About section explicit (some template overrides) ---------- */
#about-section h2,
#about-section p,
#about-section span,
#about-section li {
  color: rgba(0,0,0,0.82) !important;
}
#about-section .about-info span:first-child {
  color: rgba(0,0,0,0.66) !important;
}

/* ---------- Projects overlay (keep original but readable) ---------- */
.project .overlay {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.03),
    rgba(0,0,0,.42)
  ) !important;
}

/* ---------- Footer ---------- */
.ftco-footer {
  background: #111113 !important;
}

/* ---------- Links ---------- */
a {
  color: #0a84ff !important;
}
a:hover {
  color: #0054c7 !important;
}

/* =====================================================
   FIX: About "120 Projects completed" box
   Remove inner sharp white rectangle + blend with glass
   ===================================================== */

/* Make the outer counter-wrap look like other cards */
#about-section .counter-wrap {
  background: rgba(255,255,255,0.72) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 24px !important;
  padding: 28px 32px !important;
  box-shadow: 0 18px 60px rgba(0,0,0,0.18) !important;
  backdrop-filter: blur(16px) saturate(165%);
  -webkit-backdrop-filter: blur(16px) saturate(165%);
  overflow: hidden !important; /* prevents any inner edge showing */
}

/* Kill the inner “white box” look completely */
#about-section .counter-wrap .text,
#about-section .counter-wrap .mb-4,
#about-section .counter-wrap p {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Keep spacing consistent */
#about-section .counter-wrap .mb-4 {
  margin-bottom: 14px !important;
}

/* Counter number + label contrast */
#about-section .counter-wrap .number {
  color: rgba(0,0,0,0.94) !important;
}
#about-section .counter-wrap span {
  color: rgba(0,0,0,0.68) !important;
}

/* Download CV button – smooth pill */
#about-section .counter-wrap .btn {
  border-radius: 999px !important;
  padding: 12px 26px !important;
}


/* =====================================================
   REMOVE "120 Projects completed" BOX
   KEEP ONLY DOWNLOAD CV BUBBLE
   ===================================================== */

/* Hide the counter text completely */
#about-section .counter-wrap .number,
#about-section .counter-wrap span {
  display: none !important;
}

/* Remove the card look entirely */
#about-section .counter-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 18px;
}

/* Remove inner wrappers */
#about-section .counter-wrap .text,
#about-section .counter-wrap .mb-4,
#about-section .counter-wrap p {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* DOWNLOAD CV — iOS pill bubble */
#about-section .counter-wrap .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    135deg,
    #ff8a00,
    #ff9f0a
  ) !important;

  color: #000 !important;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 13px;

  border-radius: 999px !important;
  padding: 14px 30px !important;

  box-shadow:
    0 10px 30px rgba(255,140,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.35);

  border: 0 !important;
}

/* Hover / press like iOS */
#about-section .counter-wrap .btn:hover {
  transform: translateY(-1px);
}
#about-section .counter-wrap .btn:active {
  transform: translateY(0);
  box-shadow:
    0 6px 18px rgba(255,140,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
