/* ═══════════════════════════════════════════════════════════
   PREMIUM PORTFOLIO — Avishka Madushan
   Advanced Animations, Glassmorphism & Premium Effects
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --p-orange:     #F96D00;
  --p-orange-dim: rgba(249, 109, 0, 0.18);
  --p-orange-lo:  rgba(249, 109, 0, 0.06);
  --p-dark:       #08080f;
}

/* ── Global Smooth Scroll ── */
html { scroll-behavior: smooth; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SPLASH SCREEN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #08080f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity .8s ease, visibility .8s ease;
}
#splash-screen.splash-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#splash-particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.splash-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: splashIn .9s cubic-bezier(.22,1,.36,1) both;
}
@keyframes splashIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.splash-logo {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -3px;
  line-height: 1;
}
.splash-logo span { color: var(--p-orange); }
.splash-name {
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 300;
  color: rgba(255,255,255,.5);
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-top: .3rem;
}
.splash-tagline {
  color: rgba(255,255,255,.35);
  font-size: .9rem;
  letter-spacing: 2px;
  margin: 1.6rem 0 2rem;
}
.splash-progress-wrap {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  margin: 0 auto 1.2rem;
  overflow: hidden;
}
.splash-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--p-orange), #ff8c38);
  border-radius: 99px;
  box-shadow: 0 0 10px var(--p-orange);
  transition: width linear;
}
.splash-hint {
  display: block;
  color: rgba(255,255,255,.2);
  font-size: .75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: splashBlink 1.4s step-end infinite;
}
@keyframes splashBlink { 50% { opacity: 0; } }

/* confetti canvas — full viewport, pointer-events off */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 99998;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CUSTOM CURSOR  (pointer / desktop only)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
}

.p-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 9px; height: 9px;
  background: var(--p-orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
  box-shadow: 0 0 10px var(--p-orange), 0 0 20px var(--p-orange);
  will-change: left, top;
}

.p-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(249, 109, 0, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .3s;
  will-change: left, top;
}

.p-cursor-dot.hovered {
  width: 13px; height: 13px;
  box-shadow: 0 0 14px var(--p-orange), 0 0 28px var(--p-orange);
}

.p-cursor-ring.hovered {
  width: 54px; height: 54px;
  border-color: rgba(249, 109, 0, 0.7);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SCROLL PROGRESS BAR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.p-scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--p-orange);
  z-index: 100001;
  box-shadow: 0 0 10px var(--p-orange);
  transition: width .08s linear;
  pointer-events: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PREMIUM NAVBAR — Full Design (Top + Pill)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Smooth base transition */
.ftco_navbar {
  transition: top .45s cubic-bezier(.25,.46,.45,.94),
              padding .45s ease,
              background .4s ease !important;
}

/* ════════════════════════════════════════
   TOP STATE  (before scroll)
════════════════════════════════════════ */
.ftco-navbar-light:not(.scrolled) {
  background: linear-gradient(
    180deg,
    rgba(6, 6, 18, 0.78) 0%,
    rgba(6, 6, 18, 0.30) 70%,
    transparent 100%
  ) !important;
  padding: 1.4rem 0 !important;
}

/* Larger brand at top */
.ftco-navbar-light:not(.scrolled) .navbar-brand {
  font-size: 1.5rem !important;
  padding: 0.55rem 0 !important;
}

/* Larger nav links at top */
.ftco-navbar-light:not(.scrolled) .navbar-nav > .nav-item > .nav-link {
  font-size: 1rem !important;
  padding: 0.55rem 1.1rem !important;
}

/* ════════════════════════════════════════
   SCROLLED STATE  (floating pill)
════════════════════════════════════════ */
.ftco-navbar-light.scrolled {
  position: fixed !important;
  top: 14px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 48px) !important;
  max-width: 1160px !important;
  border-radius: 100px !important;
  background: rgba(8, 8, 16, 0.82) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border: 1px solid rgba(249, 109, 0, 0.2) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(249, 109, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  padding: 0.15rem 1.2rem !important;
}

/* ════════════════════════════════════════
   BRAND  (shared — dot always visible)
════════════════════════════════════════ */
.ftco-navbar-light .navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 1.05rem !important;   /* scrolled default; top overrides above */
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  color: #fff !important;
  padding: 0.5rem 0 !important;
  text-decoration: none !important;
  transition: opacity .3s, font-size .4s !important;
}

/* Glowing orange dot */
.ftco-navbar-light .navbar-brand::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--p-orange);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pBrandPulse 2s ease infinite alternate;
}
@keyframes pBrandPulse {
  from { box-shadow: 0 0 4px var(--p-orange), 0 0 8px rgba(249,109,0,0.3); }
  to   { box-shadow: 0 0 12px var(--p-orange), 0 0 26px rgba(249,109,0,0.55); }
}
.ftco-navbar-light .navbar-brand:hover,
.ftco-navbar-light .navbar-brand:focus { opacity: .8 !important; color: #fff !important; }

/* ════════════════════════════════════════
   NAV LINKS  (shared pill-hover)
════════════════════════════════════════ */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  font-size: 0.875rem !important;  /* scrolled default; top overrides above */
  font-weight: 500 !important;
  letter-spacing: 0.25px !important;
  padding: 0.42rem 0.95rem !important;
  border-radius: 50px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  transition: color .25s, background .25s !important;
  margin: 0 1px;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
  color: #fff !important;
  background: rgba(249, 109, 0, 0.14) !important;
}

/* Active page link */
.ftco-navbar-light.scrolled .nav-item.active > .nav-link,
.ftco-navbar-light.scrolled .nav-item > .nav-link.active {
  color: var(--p-orange) !important;
  background: rgba(249, 109, 0, 0.1) !important;
}

/* Remove original underline decoration */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link span::before { display: none !important; }
.site-navbar-target .nav-link span::after { display: none !important; }

/* ════════════════════════════════════════
   HAMBURGER TOGGLER
════════════════════════════════════════ */
.ftco_navbar .navbar-toggler {
  border: 1.5px solid rgba(249, 109, 0, 0.45) !important;
  border-radius: 10px !important;
  padding: 5px 10px !important;
  color: rgba(255,255,255,.9) !important;
  transition: background .3s, border-color .3s, box-shadow .3s !important;
}
.ftco_navbar .navbar-toggler:hover {
  background: rgba(249, 109, 0, 0.1) !important;
  border-color: var(--p-orange) !important;
  box-shadow: 0 0 14px rgba(249, 109, 0, 0.25) !important;
}

/* ════════════════════════════════════════
   MOBILE  (< 992px)
════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .ftco-navbar-light:not(.scrolled) {
    padding: 0.8rem 0 !important;
  }
  .ftco-navbar-light:not(.scrolled) .navbar-brand {
    font-size: 0.85rem !important;
  }
  .ftco-navbar-light:not(.scrolled) .navbar-nav > .nav-item > .nav-link {
    font-size: 0.95rem !important;
  }
  .ftco-navbar-light.scrolled {
    border-radius: 20px !important;
    top: 10px !important;
    width: calc(100% - 24px) !important;
    padding: 0.3rem 1rem !important;
  }
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    border-radius: 10px !important;
    padding: 0.6rem 1rem !important;
    margin: 1px 0;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO — Floating Shapes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.p-float-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.p-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--p-orange);
  filter: blur(3px);
  animation: pFloat linear infinite;
}

.p-shape:nth-child(1) {
  width: 360px; height: 360px;
  opacity: 0.06;
  top: -130px; left: -110px;
  animation-duration: 22s;
}
.p-shape:nth-child(2) {
  width: 230px; height: 230px;
  opacity: 0.04;
  top: 42%; right: -75px;
  animation-duration: 28s;
  animation-delay: -9s;
}
.p-shape:nth-child(3) {
  width: 170px; height: 170px;
  opacity: 0.05;
  bottom: -60px; left: 38%;
  animation-duration: 18s;
  animation-delay: -13s;
}

@keyframes pFloat {
  0%   { transform: translateY(0)    rotate(0deg);   }
  33%  { transform: translateY(-48px) rotate(120deg); }
  66%  { transform: translateY(24px)  rotate(240deg); }
  100% { transform: translateY(0)    rotate(360deg); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TYPING CURSOR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.p-type-cursor {
  display: inline-block;
  width: 2px; height: .85em;
  background: var(--p-orange);
  vertical-align: middle;
  margin-left: 3px;
  animation: pBlink .75s step-end infinite;
}
@keyframes pBlink { 50% { opacity: 0; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ABOUT — Image Glow + Info Hover
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.img-about .img {
  border-radius: 18px !important;
  box-shadow: 0 0 0 3px var(--p-orange-dim), 0 24px 64px rgba(0,0,0,.45) !important;
  transition: box-shadow .45s ease !important;
}
.img-about:hover .img {
  box-shadow: 0 0 0 3px rgba(249,109,0,.45), 0 0 45px rgba(249,109,0,.18), 0 24px 64px rgba(0,0,0,.45) !important;
}

.about-info li {
  transition: transform .3s ease !important;
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 8px 0;
}
.about-info li:hover { transform: translateX(10px) !important; }
.about-info li > span:first-child {
  color: var(--p-orange);
  font-weight: 600;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   COUNTER — Large Orange Number
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.counter-wrap .number {
  font-size: 6rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: var(--p-orange) !important;
  filter: drop-shadow(0 0 20px rgba(249,109,0,.35));
  display: block !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESUME — Timeline Glow + Slide
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.resume-wrap { transition: transform .3s ease !important; }
.resume-wrap:hover { transform: translateX(8px) !important; }
.resume-wrap::before {
  background: var(--p-orange) !important;
  box-shadow: 0 0 12px rgba(249,109,0,.4) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SERVICES — 3D Hover + Glow + Spotlight
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.services-1 {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(249,109,0,.1) !important;
  transition: transform .4s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s, border-color .4s !important;
}

/* Spotlight via pseudo-element — does not override original background */
.services-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(249,109,0,.08) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 0;
}
.services-1:hover::before { opacity: 1; }

/* Keep text/icon above the pseudo-element */
.services-1 .icon,
.services-1 .desc { position: relative; z-index: 1; }
.services-1:hover {
  transform: translateY(-14px) scale(1.02) !important;
  box-shadow: 0 22px 58px rgba(249,109,0,.2), 0 0 0 1px rgba(249,109,0,.32) !important;
  border-color: rgba(249,109,0,.38) !important;
}
.services-1 .icon i { transition: transform .4s ease, filter .4s ease !important; }
.services-1:hover .icon i {
  transform: scale(1.25) rotate(8deg) !important;
  filter: drop-shadow(0 0 12px var(--p-orange)) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SKILLS — Shimmer Progress Bars
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.progress {
  border-radius: 50px !important;
  background: rgba(255,255,255,.06) !important;
  overflow: hidden;
}
.progress-bar {
  border-radius: 50px !important;
  position: relative;
  overflow: hidden;
}
.progress-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  animation: pShimmer 2.5s ease-in-out infinite;
}
@keyframes pShimmer { to { left: 200%; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SOFT SKILLS — Bounce Hover
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.soft-skills-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.soft-skills-list li {
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(60, 60, 120, 0.12);
  transition: transform .3s cubic-bezier(.175,.885,.32,1.275), box-shadow .3s !important;
}
.soft-skills-list li:hover {
  transform: translateY(-8px) scale(1.07) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.32) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROJECT CARDS — 3D Tilt + Spotlight + Image Zoom
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.project-card {
  border: 1px solid rgba(249,109,0,.1) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: box-shadow .4s ease !important;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(249,109,0,.08) 0%, transparent 60%);
  will-change: transform;
}
.project-card:hover {
  box-shadow: 0 28px 68px rgba(0,0,0,.55), 0 0 0 1px rgba(249,109,0,.3) !important;
}
.project-card .project-img {
  transition: transform .6s cubic-bezier(.25,.46,.45,.94) !important;
}
.project-card:hover .project-img { transform: scale(1.09) !important; }

/* Badge pulse — orange for both types */
.project-badge.group,
.project-badge.individual {
  animation: pBadgePulse 2s ease infinite alternate;
}
@keyframes pBadgePulse {
  from { box-shadow: 0 0 6px rgba(249,109,0,.2); }
  to   { box-shadow: 0 0 20px rgba(249,109,0,.55); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BLOG ENTRIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.blog-entry {
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: rgba(255,255,255,.02) !important;
  transition: transform .4s ease, box-shadow .4s, border-color .4s !important;
}
.blog-entry:hover {
  transform: translateY(-11px) !important;
  box-shadow: 0 22px 52px rgba(249,109,0,.15) !important;
  border-color: rgba(249,109,0,.22) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS — Ripple + Lift
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(249,109,0,.32) !important;
  transition: transform .3s ease, box-shadow .3s !important;
  letter-spacing: .4px;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .55s ease, height .55s ease;
}
.btn-primary:hover::after  { width: 300px; height: 300px; }
.btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 32px rgba(249,109,0,.48) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT — Glass Cards Enhanced
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.glass-card {
  background: rgba(255,255,255,.03) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 20px !important;
  transition: transform .4s ease, box-shadow .4s, border-color .4s !important;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249,109,0,.05), transparent);
  transition: left .5s ease;
}
.glass-card:hover::before { left: 160%; }
.glass-card:hover {
  transform: translateY(-9px) !important;
  box-shadow: 0 22px 52px rgba(249,109,0,.15), 0 0 0 1px rgba(249,109,0,.2) !important;
  border-color: rgba(249,109,0,.2) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SOCIAL ICONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ftco-footer-social li a {
  transition: transform .3s cubic-bezier(.175,.885,.32,1.275), box-shadow .3s !important;
}
.ftco-footer-social li a:hover {
  transform: translateY(-6px) scale(1.15) !important;
  box-shadow: 0 10px 26px rgba(249,109,0,.32) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER — Premium Modern
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pf-footer {
  position: relative;
  background: linear-gradient(175deg, #08080f 0%, #0d0d1a 100%);
  border-top: 1px solid rgba(249,109,0,.15);
  overflow: hidden;
  padding-top: 70px;
}

/* ambient glow blob */
.pf-footer-glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(249,109,0,.08) 0%, transparent 70%);
  pointer-events: none;
}

.pf-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 3rem 4rem;
  padding-bottom: 60px;
}

/* ── Brand block ── */
.pf-footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}
.pf-footer-logo span { color: var(--p-orange); }

.pf-footer-tagline {
  color: rgba(255,255,255,.5);
  font-size: .95rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
  max-width: 280px;
}

.pf-footer-socials {
  display: flex;
  gap: .75rem;
}
.pf-footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(249,109,0,.3);
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: background .3s, border-color .3s, color .3s, transform .3s;
  text-decoration: none;
}
.pf-footer-socials a:hover {
  background: var(--p-orange);
  border-color: var(--p-orange);
  color: #fff;
  transform: translateY(-4px);
}

/* ── Nav columns ── */
.pf-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pf-footer-col h4 {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(249,109,0,.2);
}
.pf-footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.pf-footer-col ul li,
.pf-footer-col ul li a {
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  text-decoration: none;
  transition: color .25s, transform .25s;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pf-footer-col ul li a:hover { color: var(--p-orange); transform: translateX(4px); }
.pf-footer-col ul li i { color: var(--p-orange); font-size: .85rem; flex-shrink: 0; }

/* ── Bottom bar ── */
.pf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.1rem 0;
}
.pf-footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.pf-footer-bottom span {
  color: rgba(255,255,255,.35);
  font-size: .82rem;
}
.pf-footer-bottom-tag strong { color: var(--p-orange); }

/* ── Mobile ── */
@media (max-width: 767.98px) {
  .pf-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 40px;
  }
  .pf-footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .pf-footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .pf-footer-cols { grid-template-columns: 1fr; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SCROLL-TO-TOP BUTTON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.p-top-btn {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--p-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  transform: translateY(22px) scale(.8);
  transition: opacity .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(249,109,0,.38);
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
}
.p-top-btn.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.p-top-btn:hover {
  box-shadow: 0 10px 32px rgba(249,109,0,.62);
  transform: translateY(-4px) scale(1.1);
  color: #fff;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SPARKLE CLICK EFFECT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.p-sparkle {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 99998;
  transform: translate(-50%, -50%);
  animation: pSparkle .6s ease forwards;
}
@keyframes pSparkle {
  0%   { width: 6px;  height: 6px;  opacity: .9; }
  100% { width: 30px; height: 30px; opacity: 0;  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   AMBIENT RADIAL GLOWS  (orange only)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#home-section,
#about-section,
#projects-section,
#skills-section { position: relative; overflow: hidden; }


#about-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(249,109,0,.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
#projects-section::before {
  content: '';
  position: absolute;
  bottom: -22%; left: -8%;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(249,109,0,.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
#skills-section::before {
  content: '';
  position: absolute;
  top: 18%; left: -12%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(249,109,0,.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   COUNTER POP ANIMATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes pCounterPop {
  0%   { opacity: 0; transform: scale(.7); filter: drop-shadow(0 0 0 rgba(249,109,0,0)); }
  60%  { transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1);  filter: drop-shadow(0 0 20px rgba(249,109,0,.4)); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BLOG IMAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.blog-img {
  height: 220px;
  border-radius: 1.2rem;
  background-size: cover;
  background-position: center;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROJECT MODAL DETAILS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#modal-project-details {
  width: 100%;
  margin-top: 2rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE RESPONSIVE FIXES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Guarantee page is always scrollable on mobile */
@media (max-width: 991.98px) {
  html, body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  /* Owl Carousel sets touch-action:none on its inner elements which blocks
     the browser from handling vertical scroll. Override it so the browser
     can scroll the page when the user swipes vertically on the hero. */
  .home-slider,
  .home-slider .owl-stage-outer,
  .home-slider .owl-stage,
  .home-slider .owl-item,
  .home-slider .slider-item,
  .home-slider .slider-text {
    touch-action: pan-y !important;
  }
}

/*
 * NAVBAR — Complete Mobile Fix
 *
 * Problem 1 ("two navbars"): style.css uses `position:relative` on mobile,
 *   so the navbar becomes a separate solid bar above the hero section.
 *   On desktop it's `position:absolute` so it overlaps the hero seamlessly.
 *   We force `position:fixed` on all mobile states to match desktop intent.
 *
 * Problem 2 (orange dot crash): style.css hardcodes `.container { width:1110px }`
 *   which overflows the viewport on mobile, pushing the toggler off-screen.
 *
 * Problem 3 (toggler alignment): the scrolled pill state (`left:50%`,
 *   `transform:translateX(-50%)`, `border-radius:100px`) stays active on
 *   mobile alongside the non-scrolled flat bar, causing conflicting layouts.
 */

@media (max-width: 991.98px) {

  /* ── Force fixed position on ALL scroll states ── */
  .ftco-navbar-light,
  .ftco-navbar-light:not(.scrolled),
  .ftco-navbar-light.scrolled,
  .ftco-navbar-light.scrolled.awake,
  .ftco-navbar-light.scrolled.sleep {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;          /* cancel the scrolled `right:auto` */
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;  /* cancel 100px pill radius */
    transform: none !important;   /* cancel translateX(-50%) */
    margin-top: 0 !important;     /* cancel sleep/awake -130px trick */
    z-index: 9990 !important;
    padding: 0.6rem 1rem !important;
    background: rgba(8, 8, 16, 0.96) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.45) !important;
  }

  /* ── Container: reset 1110px fixed width so toggler stays on-screen ── */
  .ftco-navbar-light .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;   /* wrap allows collapse to go onto its own row */
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* ── Brand: keep the orange dot ::before visible, no clipping ── */
  .ftco-navbar-light .navbar-brand {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important; /* must NOT be hidden — clips the dot */
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.2px !important;
    max-width: calc(100% - 100px) !important; /* leave room for toggler */
  }

  /* ── Toggler: pinned right, visible color on dark background ── */
  .ftco_navbar .navbar-toggler,
  .ftco-navbar-light .navbar-toggler,
  .ftco-navbar-light.scrolled .navbar-toggler {
    flex: 0 0 auto !important;
    margin-left: 0.5rem !important;
    color: #F96D00 !important;          /* orange — visible on dark bg */
    border-color: rgba(249, 109, 0, 0.5) !important;
  }

  /* style.css sets nav-link text to dark #0F0A1F when scrolled — fix for mobile */
  .ftco-navbar-light.scrolled .nav-item > .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
  }
  .ftco-navbar-light.scrolled .nav-item.active > .nav-link,
  .ftco-navbar-light.scrolled .nav-item > .nav-link.active {
    color: #F96D00 !important;
  }

  /* ── Expanded nav menu: full-width under the bar ── */
  .ftco-navbar-light .navbar-collapse {
    width: 100% !important;
    flex-basis: 100% !important;
    background: rgba(8, 8, 16, 0.98) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    padding-bottom: 0.75rem !important;
    border-top: 1px solid rgba(249, 109, 0, 0.12) !important;
    margin-top: 0.4rem !important;
  }
}

/* ── Extra-small phones: shrink brand text to fit ── */
@media (max-width: 380px) {
  .ftco-navbar-light .navbar-brand {
    font-size: 0.72rem !important;
    letter-spacing: 0 !important;
    gap: 4px !important;
  }
  .ftco_navbar .navbar-toggler {
    padding: 4px 7px !important;
    font-size: 0.76rem !important;
  }
}

/* ── Project Modal: proper responsive sizing (overrides inline styles on the div) ── */
.project-modal-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  overflow-y: auto !important;
  max-height: 90vh !important;
  min-height: 220px !important;
  margin: auto !important;
  max-width: 560px !important;
  width: calc(100% - 32px) !important;
  padding: 2.5rem 2rem 2rem !important;
  background: rgba(30, 41, 59, 0.98) !important;
  border-radius: 1.2rem !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
  position: relative !important;
  text-align: center !important;
  color: #e0e7ef !important;
}

@media (max-width: 576px) {
  .project-modal-content {
    width: calc(100% - 16px) !important;
    padding: 2.5rem 1rem 1.5rem !important;
    max-height: 92vh !important;
    border-radius: 1rem !important;
  }
  .modal-title {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
  }
  .modal-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .modal-btn {
    text-align: center !important;
    padding: 0.65rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .modal-features {
    text-align: left !important;
    width: 100% !important;
  }
  .tech-tag {
    font-size: 0.82rem !important;
    padding: 0.22rem 0.7rem !important;
  }
  .close-modal {
    top: 0.6rem !important;
    right: 0.8rem !important;
    font-size: 1.7rem !important;
    color: #38bdf8 !important;
  }
}

/* ── Vlog (Blog) Modal: fix tiny 0.3rem horizontal padding on mobile ── */
@media (max-width: 576px) {
  .vlog-modal-content {
    padding: 3rem 1.2rem 1.5rem !important;
    border-radius: 0.8rem !important;
    width: 100% !important;
  }
  .vlog-modal-content h2 {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }
  .vlog-modal-description {
    font-size: 0.95rem !important;
  }
  #vlog-modal-social {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    margin-top: 1.2rem !important;
  }
  #vlog-modal-social a {
    font-size: 1.4em !important;
    margin: 0 0.25em !important;
  }
  .vlog-modal-close {
    top: 0.6rem !important;
    right: 0.8rem !important;
    font-size: 1.9rem !important;
  }
}

/* ── Blog section: cards stack with breathing room ── */
@media (max-width: 767.98px) {
  .blog-entry {
    margin-bottom: 1.5rem !important;
  }
}

/* ── Hero section: push text below the fixed navbar ── */
@media (max-width: 991.98px) {
  .owl-carousel.home-slider .slider-item .slider-text .one-forth {
    padding-top: 72px !important; /* clear the fixed navbar height */
  }
}

@media (max-width: 576px) {
  .owl-carousel.home-slider .slider-item .slider-text .one-forth {
    width: 100% !important;
    padding: 72px 1rem 1.5rem !important; /* top clears navbar */
  }
  .owl-carousel.home-slider .slider-item .slider-text .one-forth .text h1 {
    font-size: 1.6rem !important;
  }
  .owl-carousel.home-slider .slider-item .slider-text .one-forth .text h2 {
    font-size: 1.1rem !important;
  }
}

/* ── Soft skills list: wrap cleanly on small screens ── */
@media (max-width: 576px) {
  .soft-skills-list {
    gap: 0.8rem !important;
  }
  .soft-skills-list li {
    font-size: 0.95rem !important;
    padding: 0.55rem 1.2rem !important;
  }
}

/* ── Contact cards: equal spacing on small screens ── */
@media (max-width: 767.98px) {
  .premium-contact-row .col-md-6 {
    margin-bottom: 1rem;
  }
  .glass-card {
    width: 100% !important;
  }

  /* Center Contact heading on mobile */
  #contact-section .col-md-7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  #contact-section .heading-section h2,
  #contact-section .heading-section p {
    text-align: center !important;
    width: 100%;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ABOUT SECTION — FIXES & PREMIUM MOBILE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Fix bottom shadow clipping (overflow:hidden + ftco-no-pb) */
#about-section {
  padding-bottom: 3rem !important;
}

@media (max-width: 767.98px) {

  /* ── Mobile heading row ── */
  #about-section .d-md-none .heading-section {
    text-align: center;
    padding-bottom: 0.5rem;
  }
  /* Decorative watermark h1.big doesn't scale to mobile — hide it */
  #about-section .d-md-none .heading-section h1.big {
    display: none !important;
  }
  #about-section .d-md-none .heading-section h2 {
    font-size: 1.8rem !important;
    margin-bottom: 0 !important;
    position: relative !important;
  }

  /* ── Premium image on mobile ── */
  .ftco-about .img-about {
    min-height: 360px !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow:
      0 0 0 3px rgba(249, 109, 0, 0.5),
      0 0 40px rgba(249, 109, 0, 0.2),
      0 20px 60px rgba(0, 0, 0, 0.5) !important;
  }
  .ftco-about .img-about .img {
    min-height: 360px !important;
    background-size: cover !important;
    background-position: center top !important;
    border-radius: 20px !important;
  }

  /* ── About-info list: fix email wrapping to 2 lines ── */
  .ftco-about ul.about-info li {
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    gap: 0 8px !important;
  }
  /* Label: natural width, never shrink, never wrap */
  .ftco-about ul.about-info li span:first-child {
    width: auto !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
  }
  /* Value: override style.css width:calc(100%-130px) — use flex-grow instead */
  .ftco-about ul.about-info li span:last-child {
    width: 0 !important;         /* kills style.css calc() */
    flex: 1 1 0% !important;     /* grow to fill all remaining space */
    min-width: 0 !important;
    font-size: 0.82rem !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  /* ── Counter: scale down the giant number ── */
  .counter-wrap .number {
    font-size: 4rem !important;
  }
  .counter-wrap {
    justify-content: center !important;
    text-align: center !important;
  }

  /* ── Download CV button: full width ── */
  .counter-wrap .btn {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PREMIUM MOBILE — ADDITIONAL COMPREHENSIVE FIXES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── Fix: hero <p> gets 23px on mobile from style.css — far too large ── */
@media (max-width: 991.98px) {
  .owl-carousel.home-slider .slider-item .slider-text p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}

/* ── Fix: services heading row has py-5 mt-5 = 6 rem of top space on mobile ── */
@media (max-width: 767.98px) {
  #services-section .row.py-5.mt-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-top: 0.5rem !important;
  }
}

/* ── Fix: contact cards — 3 equal columns at medium screens ── */
@media (min-width: 576px) and (max-width: 991.98px) {
  .premium-contact-row .col-md-6 {
    flex: 0 0 calc(33.333% - 1.5rem) !important;
    max-width: calc(33.333% - 1.5rem) !important;
  }
}
@media (max-width: 575.98px) {
  .premium-contact-row .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .premium-contact-row .glass-card {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ── Fix: footer nav columns — 2-col grid with 3 items leaves orphan at 480–767px ── */
@media (max-width: 767.98px) {
  .pf-footer-cols {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }
}

/* ── Fix: scroll-to-top button can overlap mobile browser chrome ── */
@media (max-width: 576px) {
  .p-top-btn {
    bottom: 20px !important;
    right: 16px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 1.2rem !important;
  }
}

/* ── Fix: blog card text sizing on small phones ── */
@media (max-width: 576px) {
  .blog-entry .text h3 a {
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }
  .blog-entry .text p {
    font-size: 0.9rem !important;
  }
  .blog-entry .text .meta {
    font-size: 0.82rem !important;
  }
}

/* ── Fix: resume headings too large on very small phones ── */
@media (max-width: 576px) {
  .resume-wrap h2 {
    font-size: 1.05rem !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.35 !important;
  }
  .resume-wrap .date,
  .resume-wrap .position {
    font-size: 0.85rem !important;
  }
}

/* ── Fix: vlog modal close button position on very small screens ── */
@media (max-width: 380px) {
  .vlog-modal-close {
    top: 0.5rem !important;
    right: 0.6rem !important;
    font-size: 1.8rem !important;
  }
  .vlog-modal-description {
    font-size: 0.9rem !important;
  }
}

/* ── Fix: project grid gap too large on small phones ── */
@media (max-width: 576px) {
  .projects-grid {
    gap: 1.5rem !important;
  }
  .project-card .project-img {
    height: 180px !important;
  }
  .project-title {
    font-size: 1.05rem !important;
  }
}

/* ── Fix: skills progress bars label overflow on mobile ── */
@media (max-width: 576px) {
  .progress-wrap h3 {
    font-size: 0.95rem !important;
    margin-bottom: 0.4rem !important;
  }
  .progress {
    margin-bottom: 1rem !important;
  }
}

/* ── Fix: contact section heading center alignment on small phones ── */
@media (max-width: 575.98px) {
  #contact-section .heading-section h2 {
    font-size: 1.7rem !important;
  }
}

/* ── Fix: social icons in hero not overflowing on small screens ── */
@media (max-width: 380px) {
  .owl-carousel.home-slider .ftco-footer-social {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    padding: 0 !important;
  }
  .owl-carousel.home-slider .ftco-footer-social li {
    margin: 0 !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE HERO — PREMIUM UI
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 991.98px) {

  /* Fill any corner gap with the same dark base */
  .owl-carousel.home-slider .slider-item {
    background-color: #08080f !important;
  }

  /* Hide unused flat overlay */
  .owl-carousel.home-slider .slider-item > .overlay {
    display: none !important;
  }

  /* Premium gradient: image fully visible at top, fades to dark at bottom for text */
  .owl-carousel.home-slider .slider-item .slider-text .one-third .overlay {
    background: linear-gradient(
      to top,
      rgba(8, 8, 15, 0.96) 0%,
      rgba(8, 8, 15, 0.65) 30%,
      rgba(8, 8, 15, 0.20) 60%,
      rgba(8, 8, 15, 0.00) 100%
    ) !important;
    opacity: 1 !important;
  }

  /* Push text to the bottom of the hero where the gradient is darkest */
  .owl-carousel.home-slider .slider-item .slider-text .one-forth {
    z-index: 2 !important;
    align-items: flex-end !important;
    padding-bottom: 6.5rem !important;
  }

  /* Left-align text block — premium portfolio look */
  .owl-carousel.home-slider .slider-item .slider-text .one-forth .text {
    text-align: left !important;
    padding: 0 1.4rem !important;
    width: 100% !important;
  }

  /* Subheading: uppercase, wide letter-spacing */
  .owl-carousel.home-slider .slider-item .slider-text .subheading {
    display: block !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.28em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    text-shadow: none !important;
  }

  /* H1: large, bold, tight */
  .owl-carousel.home-slider .slider-item .slider-text h1 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 0.4rem !important;
    text-shadow: none !important;
  }

  /* H2: softer, elegant */
  .owl-carousel.home-slider .slider-item .slider-text h2 {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 1.2rem !important;
    opacity: 0.88 !important;
    text-shadow: none !important;
  }

  /* Buttons: compact and clean */
  .owl-carousel.home-slider .slider-item .slider-text .one-forth .text p {
    margin-bottom: 1rem !important;
  }

  .owl-carousel.home-slider .slider-item .slider-text .one-forth .btn {
    padding: 0.5rem 1.3rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    border-radius: 4px !important;
  }

  /* Social icons: circular glass-style */
  .owl-carousel.home-slider .slider-item .slider-text .ftco-footer-social {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.6rem !important;
    margin-top: 0.8rem !important;
    padding-left: 0 !important;
    justify-content: flex-start !important;
  }

  .owl-carousel.home-slider .slider-item .slider-text .ftco-footer-social li {
    margin: 0 !important;
    list-style: none !important;
  }

  .owl-carousel.home-slider .slider-item .slider-text .ftco-footer-social a {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    transition: background 0.25s, border-color 0.25s !important;
  }

  .owl-carousel.home-slider .slider-item .slider-text .ftco-footer-social a:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
  }
}

