/* ===== Custom Skill Bar Widths + Percentage Labels ===== */

/* Web Development Skills - widths */
.bar .progress-line.WordPress span  { width: 98%; }
.bar .progress-line.Laravel span    { width: 95%; }
.bar .progress-line.nextjs span     { width: 92%; }
.bar .progress-line.React span      { width: 90%; }
.bar .progress-line.php span        { width: 95%; }

/* Hosting & Server Skills - widths */
.bar .progress-line.cpanel span     { width: 97%; }
.bar .progress-line.linux span      { width: 93%; }
.bar .progress-line.dns span        { width: 96%; }
.bar .progress-line.mysql span      { width: 92%; }
.bar .progress-line.cloudflare span { width: 95%; }

/* Percentage labels — must include the animation so opacity goes from 0 → 1 */
.bar .progress-line.WordPress span::after  { content: "98%"; position:absolute; top:-28px; right:0; font-weight:500; background:#fdfdfd; color:#ff651c; padding:1px 8px; font-size:12px; border-radius:3px; opacity:0; animation: showText2 1s 3s linear forwards; }
.bar .progress-line.Laravel span::after    { content: "95%"; position:absolute; top:-28px; right:0; font-weight:500; background:#fdfdfd; color:#ff651c; padding:1px 8px; font-size:12px; border-radius:3px; opacity:0; animation: showText2 1s 3s linear forwards; }
.bar .progress-line.nextjs span::after     { content: "92%"; position:absolute; top:-28px; right:0; font-weight:500; background:#fdfdfd; color:#ff651c; padding:1px 8px; font-size:12px; border-radius:3px; opacity:0; animation: showText2 1s 3s linear forwards; }
.bar .progress-line.React span::after      { content: "90%"; position:absolute; top:-28px; right:0; font-weight:500; background:#fdfdfd; color:#ff651c; padding:1px 8px; font-size:12px; border-radius:3px; opacity:0; animation: showText2 1s 3s linear forwards; }
.bar .progress-line.php span::after        { content: "95%"; position:absolute; top:-28px; right:0; font-weight:500; background:#fdfdfd; color:#ff651c; padding:1px 8px; font-size:12px; border-radius:3px; opacity:0; animation: showText2 1s 3s linear forwards; }

.bar .progress-line.cpanel span::after     { content: "97%"; position:absolute; top:-28px; right:0; font-weight:500; background:#fdfdfd; color:#ff651c; padding:1px 8px; font-size:12px; border-radius:3px; opacity:0; animation: showText2 1s 3s linear forwards; }
.bar .progress-line.linux span::after      { content: "93%"; position:absolute; top:-28px; right:0; font-weight:500; background:#fdfdfd; color:#ff651c; padding:1px 8px; font-size:12px; border-radius:3px; opacity:0; animation: showText2 1s 3s linear forwards; }
.bar .progress-line.dns span::after        { content: "96%"; position:absolute; top:-28px; right:0; font-weight:500; background:#fdfdfd; color:#ff651c; padding:1px 8px; font-size:12px; border-radius:3px; opacity:0; animation: showText2 1s 3s linear forwards; }
.bar .progress-line.mysql span::after      { content: "92%"; position:absolute; top:-28px; right:0; font-weight:500; background:#fdfdfd; color:#ff651c; padding:1px 8px; font-size:12px; border-radius:3px; opacity:0; animation: showText2 1s 3s linear forwards; }
.bar .progress-line.cloudflare span::after { content: "95%"; position:absolute; top:-28px; right:0; font-weight:500; background:#fdfdfd; color:#ff651c; padding:1px 8px; font-size:12px; border-radius:3px; opacity:0; animation: showText2 1s 3s linear forwards; }

/* Tooltip arrow — same fix */
.bar .progress-line.WordPress span::before,
.bar .progress-line.Laravel span::before,
.bar .progress-line.nextjs span::before,
.bar .progress-line.React span::before,
.bar .progress-line.php span::before,
.bar .progress-line.cpanel span::before,
.bar .progress-line.linux span::before,
.bar .progress-line.dns span::before,
.bar .progress-line.mysql span::before,
.bar .progress-line.cloudflare span::before {
  position: absolute;
  content: "";
  top: -10px;
  right: 0;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-bottom-width: 0;
  border-right-width: 0;
  border-top-color: #fff;
  opacity: 0;
  animation: showText2 1s 3s linear forwards;
}


/* ===== Glitch profile image (home + about) — same as original, no stretch crop ===== */
#home .home-profile {
  width: 100%;
  height: auto !important;
  max-width: 100%;
}

#home .home-profile .glitch-img-warp {
  position: relative;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 25px rgb(0 0 0 / 85%);
  line-height: 0;
}

#home .glitch-img-warp img,
#about .glitch-img-warp img,
#about .main-img-mobile {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  display: block;
  position: relative;
  z-index: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
}

#home .glitch-img-warp .glitch-img,
.home-glitch-img,
.about-glitch-img {
  background-size: cover !important;
  background-position: center top !important;
}

#home .glitch-img-warp .glitch-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
}


/* ===== Blog single post content fixes ===== */
.post-html h1,
.post-html h2,
.post-html h3,
.post-html h4,
.post-html h5,
.post-html h6 {
  color: #ffffff !important;
  margin-top: 24px;
  margin-bottom: 10px;
}

.post-html p {
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.8;
  margin-bottom: 14px;
}

.post-html ul,
.post-html ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.post-html ul li,
.post-html ol li {
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.8;
  margin-bottom: 6px;
  list-style: disc;
}

.post-html ol li {
  list-style: decimal;
}

.post-html strong {
  color: #ffffff !important;
  font-weight: 700;
}

.post-html a {
  color: #ff651c !important;
  text-decoration: underline;
}

.post-html blockquote {
  border-left: 3px solid #ff651c;
  padding-left: 16px;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.7) !important;
  font-style: italic;
}


/* ===== Hero enhancements ===== */
.home-content {
  text-align: left;
}

.home-content .common-title.hero-title {
  text-align: left;
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 101, 28, 0.15);
  border: 1px solid rgba(255, 101, 28, 0.45);
  color: #ff651c;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.hero-badge i {
  margin-right: 6px;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 560px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 10px;
}

.hero-stat {
  background: #232323;
  border: 1px solid rgba(255, 101, 28, 0.35);
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 120px;
  flex: 1 1 auto;
  box-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

.hero-stat strong {
  display: block;
  color: #ff651c;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-stat span {
  color: #aaa;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-btn {
  flex-wrap: wrap;
  gap: 10px;
}

.clickbtn.cv-download {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.clickbtn.cv-download:hover {
  border-color: #ff651c;
  color: #fff;
}


/* ===== Trust & process sections ===== */
.trust-card {
  background: #232323;
  border: 1px solid rgba(255, 101, 28, 0.25);
  border-radius: 12px;
  padding: 22px 18px;
  height: 100%;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: #ff651c;
}

.trust-card i {
  font-size: 1.75rem;
  color: #ff651c;
  margin-bottom: 12px;
}

.trust-card h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}

.trust-card p {
  color: #999;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.service-card-enhanced {
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 60%);
}

.service-card-enhanced p {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #999;
  margin-top: 8px;
}

.service-cta {
  display: inline-block;
  margin-top: 12px;
  color: #ff651c;
  font-size: 0.85rem;
  font-weight: 600;
}

.service-cta:hover {
  color: #fff;
}

.service-cta i {
  font-size: 0.7rem;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.service-cta:hover i {
  transform: translateX(4px);
}

.process-step {
  background: #232323;
  border-radius: 12px;
  padding: 22px 18px;
  height: 100%;
  text-align: left;
  border-left: 3px solid #ff651c;
  box-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

.process-num {
  display: inline-block;
  color: #ff651c;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step h5 {
  color: #fff;
  margin-bottom: 8px;
}

.process-step p {
  color: #999;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.tech-badge {
  background: #ff651c;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin: 3px;
  display: inline-block;
}

.funfacts-box.counter-dollar h3::after {
  content: '';
  right: auto;
}

.funfacts-box.counter-dollar h3::before {
  content: '$';
  position: absolute;
  left: -18px;
  font-size: 28px;
  font-weight: 300;
  color: #ff651c;
}

.project-card {
  padding: 25px;
  height: 100%;
  background: #232323;
  border-radius: 12px;
  border: 1px solid rgba(255, 101, 28, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #ff651c;
}

.project-card .project-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #ff651c;
  display: block;
}

.project-card .project-badge {
  display: inline-block;
  margin-bottom: 8px;
}

.availability-banner {
  background: linear-gradient(135deg, rgba(255, 101, 28, 0.2), rgba(35, 35, 35, 0.95));
  border: 1px solid rgba(255, 101, 28, 0.4);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 30px 0 10px;
  text-align: center;
}

.availability-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== Desktop: larger, readable hero typography ===== */
@media only screen and (min-width: 992px) {
  #home .home-profile {
    align-self: center;
  }

  #home .home-content .common-title.hero-title {
    font-size: 3.25rem;
    text-align: left;
  }

  #home .hero-tagline {
    font-size: 1.2rem;
    max-width: 640px;
  }

  #home .hero-badge {
    font-size: 0.95rem;
    padding: 8px 16px;
  }

  #home .animated-text {
    height: 52px;
    margin: 28px 0;
  }

  #home .animated-text h3 {
    font-size: 1.65rem;
    line-height: 52px;
  }

  @keyframes text-move-home-desktop {
    0% { margin-top: 0; }
    25% { margin-top: -52px; }
    50% { margin-top: -104px; }
    75% { margin-top: -156px; }
    100% { margin-top: 0; }
  }

  #home .animated-text h3:nth-child(1) {
    animation: text-move-home-desktop 6s infinite;
  }

  #home .lorem-text {
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 620px;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  #home .hero-stat strong {
    font-size: 1.5rem;
  }

  #home .hero-stat span {
    font-size: 0.8rem;
  }

  #home .clickbtn {
    font-size: 1rem;
    padding: 12px 22px;
  }

  #home .fixed-block .social-icons a {
    font-size: 2rem;
  }

}

@media only screen and (min-width: 1400px) {
  #home .home-content .common-title.hero-title {
    font-size: 3.6rem;
  }

  #home .hero-tagline {
    font-size: 1.3rem;
  }

  #home .animated-text h3 {
    font-size: 1.85rem;
  }

  #home .lorem-text {
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 991px) {
  .home-content .common-title.hero-title {
    font-size: 2rem;
    text-align: center;
  }

  .hero-tagline,
  .hero-badge {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stat {
    min-width: 45%;
  }

  #home .lorem-text {
    text-align: center;
  }
}
