/* ======== Skills Section - Filter Buttons + Icon Grid ======== */

/* Filter buttons row */
.skills-filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.skill-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border: 2px solid color-mix(in srgb, var(--accent-color, #0563bb) 40%, transparent);
  background: transparent;
  color: var(--default-color, #272829);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.skill-filter-btn i {
  font-size: 14px;
}

.skill-filter-btn:hover {
  background: color-mix(in srgb, var(--accent-color, #0563bb) 12%, transparent);
  border-color: var(--accent-color, #0563bb);
  color: var(--accent-color, #0563bb);
}

.skill-filter-btn.active {
  background: var(--accent-color, #0563bb);
  border-color: var(--accent-color, #0563bb);
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent-color, #0563bb) 35%, transparent);
}

/* Skills icon grid */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Individual skill card */
.skill-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent-color, #0563bb) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 18%, transparent);
  border-radius: 12px;
  padding: 16px 14px;
  min-width: 84px;
  cursor: default;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.3s ease;
}

.skill-icon-item:hover {
  background: color-mix(in srgb, var(--accent-color, #0563bb) 15%, transparent);
  transform: translateY(-4px);
}

.skill-icon-item i {
  font-size: 36px;
  line-height: 1;
}

.skill-icon-item i.devicon-flask-original,
.skill-icon-item i.devicon-apachekafka-original {
  color: var(--default-color, #272829);
}

.skill-icon-item span {
  font-size: 12px;
  font-weight: 500;
  color: var(--default-color, #272829);
  text-align: center;
  white-space: nowrap;
}

/* Hidden / visible states via JS */
.skill-icon-item.sk-hidden {
  display: none;
}

.skill-icon-item.sk-visible {
  display: flex;
}


/* ======== Resume Section - Modern Timeline Design ======== */

/* Summary card */
.resume-summary-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent-color, #0563bb) 8%, transparent),
    color-mix(in srgb, var(--accent-color, #0563bb) 3%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 22%, transparent);
  border-left: 5px solid var(--accent-color, #0563bb);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.resume-summary-avatar {
  font-size: 64px;
  line-height: 1;
  color: var(--accent-color, #0563bb);
  opacity: 0.85;
  flex-shrink: 0;
}

.resume-summary-info {
  flex: 1;
  min-width: 200px;
}

.resume-summary-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color, #272829);
  margin-bottom: 4px;
}

.resume-summary-role {
  font-size: 14px;
  color: var(--accent-color, #0563bb);
  font-weight: 500;
  margin-bottom: 14px;
}

.resume-summary-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.resume-summary-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--default-color, #272829);
}

.resume-summary-contacts i {
  color: var(--accent-color, #0563bb);
  font-size: 13px;
}

.resume-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--accent-color, #0563bb);
  color: #fff !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent-color, #0563bb) 40%, transparent);
  flex-shrink: 0;
}

.resume-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color, #0563bb) 50%, transparent);
}

/* Column header (Education / Experience) */
.resume-col-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.resume-col-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color, #272829);
  margin: 0;
}

.resume-col-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-color, #0563bb);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resume-col-icon i {
  font-size: 20px;
  color: #fff;
}

/* Timeline container */
.resume-timeline {
  position: relative;
  padding-left: 28px;
}

.resume-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent-color, #0563bb),
    color-mix(in srgb, var(--accent-color, #0563bb) 20%, transparent)
  );
  border-radius: 2px;
}

/* Timeline item */
.resume-timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.resume-timeline-item:last-child {
  margin-bottom: 0;
}

/* Timeline dot */
.resume-timeline-dot {
  position: absolute;
  left: -25px;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-color, #0563bb);
  border: 3px solid color-mix(in srgb, var(--accent-color, #0563bb) 25%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color, #0563bb) 15%, transparent);
  z-index: 1;
}

/* Timeline card */
.resume-timeline-card {
  background: var(--surface-color, #fff);
  border: 1px solid color-mix(in srgb, var(--default-color, #272829) 10%, transparent);
  border-radius: 12px;
  padding: 20px 22px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.resume-timeline-card:hover {
  box-shadow: 0 6px 24px color-mix(in srgb, var(--accent-color, #0563bb) 12%, transparent);
  transform: translateX(4px);
}

/* Date badge */
.resume-badge {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color, #0563bb) 12%, transparent);
  color: var(--accent-color, #0563bb);
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 30%, transparent);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}

.resume-timeline-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color, #272829);
  margin-bottom: 6px;
}

.resume-institution {
  font-size: 13px;
  color: var(--accent-color, #0563bb);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.resume-institution i {
  font-size: 12px;
}

.resume-desc {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color, #272829) 75%, transparent);
  line-height: 1.6;
  margin: 0;
}

.resume-desc-list {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color, #272829) 75%, transparent);
  line-height: 1.7;
  margin: 0;
  padding-left: 18px;
}

.resume-desc-list li {
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 576px) {
  .resume-summary-card {
    flex-direction: column;
    text-align: center;
  }

  .resume-summary-contacts {
    justify-content: center;
  }
}


/* ======================================================
   EDUCATION SECTION — Modern Cards
   ====================================================== */

.education.section {
  background: color-mix(in srgb, var(--accent-color, #0563bb) 3%, var(--background-color, #fff));
}

/* Card wrapper */
.edu-card {
  background: var(--surface-color, #fff);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color, #272829) 8%, transparent);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--accent-color, #0563bb) 16%, transparent);
}

/* Colored top section */
.edu-card-top {
  background: linear-gradient(135deg, var(--accent-color, #0563bb), color-mix(in srgb, var(--accent-color, #0563bb) 70%, #000));
  padding: 28px 24px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.edu-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.edu-icon-wrap i {
  font-size: 26px;
  color: #fff;
}

.edu-year-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  letter-spacing: 0.4px;
}

/* Card body */
.edu-card-body {
  padding: 22px 24px 24px;
}

.edu-level-tag {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color, #0563bb) 12%, transparent);
  color: var(--accent-color, #0563bb);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.edu-card-body h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color, #272829);
  margin-bottom: 10px;
}

.edu-school {
  font-size: 13px;
  font-weight: 500;
  color: var(--default-color, #272829);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.edu-school i { color: var(--accent-color, #0563bb); }

.edu-location {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color, #272829) 55%, transparent);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}

.edu-location i { font-size: 11px; }

.edu-desc {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color, #272829) 70%, transparent);
  line-height: 1.65;
  margin-bottom: 16px;
}

.edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.edu-tags span {
  background: color-mix(in srgb, var(--accent-color, #0563bb) 8%, transparent);
  color: var(--accent-color, #0563bb);
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 25%, transparent);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 12px;
}


/* ======================================================
   EXPERIENCE SECTION — Modern Cards
   ====================================================== */

/* Card wrapper */
.exp-card {
  background: var(--surface-color, #fff);
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--default-color, #272829) 8%, transparent);
  padding: 24px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--accent-color, #0563bb) 14%, transparent);
}

/* Card header: logo + date + company */
.exp-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.exp-company-logo {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-color, #0563bb), color-mix(in srgb, var(--accent-color, #0563bb) 70%, #000));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exp-company-logo i {
  font-size: 22px;
  color: #fff;
}

.exp-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exp-date-badge {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color, #0563bb) 10%, transparent);
  color: var(--accent-color, #0563bb);
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 28%, transparent);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 11px;
  width: fit-content;
}

.exp-company {
  font-size: 13px;
  font-weight: 600;
  color: var(--default-color, #272829);
  margin: 0;
}

/* Job title */
.exp-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color, #272829);
  margin: 0;
  line-height: 1.3;
}

/* Tech tags */
.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.exp-tags span {
  background: color-mix(in srgb, var(--accent-color, #0563bb) 8%, transparent);
  color: var(--accent-color, #0563bb);
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 22%, transparent);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 12px;
}

/* Bullet list */
.exp-list {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color, #272829) 72%, transparent);
  line-height: 1.7;
  padding-left: 18px;
  margin: 0;
  flex: 1;
}

.exp-list li {
  margin-bottom: 5px;
}

.exp-list li:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 767px) {
  .edu-card-top {
    flex-direction: column;
    gap: 12px;
  }
}


/* ======================================================
   ABOUT SECTION — Modern Design
   ====================================================== */

/* ---- Photo Column ---- */
.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.about-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 300px;
}

/* Decorative accent shape behind photo */
.about-photo-deco {
  position: absolute;
  inset: -10px -10px auto auto;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color, #0563bb) 15%, transparent);
  z-index: 0;
  filter: blur(28px);
}

.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border: 4px solid color-mix(in srgb, var(--accent-color, #0563bb) 25%, transparent);
  box-shadow:
    0 20px 60px color-mix(in srgb, var(--accent-color, #0563bb) 18%, transparent),
    0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}

.about-photo:hover {
  transform: scale(1.02);
}

/* Floating "available" badge */
.about-available-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 20%, transparent);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--default-color, #272829);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  gap: 7px;
}

.about-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.22);
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.22); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); }
}

/* Mini stats row */
.about-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface-color, #fff);
  border: 1px solid color-mix(in srgb, var(--default-color, #272829) 10%, transparent);
  border-radius: 14px;
  padding: 16px 20px;
  width: 100%;
  max-width: 300px;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.about-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-color, #0563bb);
  line-height: 1;
}

.about-stat-label {
  font-size: 11px;
  color: color-mix(in srgb, var(--default-color, #272829) 55%, transparent);
  font-weight: 500;
  text-align: center;
}

.about-stat-divider {
  width: 1px;
  height: 36px;
  background: color-mix(in srgb, var(--default-color, #272829) 12%, transparent);
  flex-shrink: 0;
}

/* ---- Content Column ---- */
.about-content {
  padding-left: 8px;
}

.about-label {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color, #0563bb) 10%, transparent);
  color: var(--accent-color, #0563bb);
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 28%, transparent);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--heading-color, #272829);
  line-height: 1.25;
  margin-bottom: 18px;
}

.about-title em {
  font-style: normal;
  color: var(--accent-color, #0563bb);
}

.about-bio {
  font-size: 14.5px;
  color: color-mix(in srgb, var(--default-color, #272829) 72%, transparent);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Info grid — 2 columns */
.about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.about-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: color-mix(in srgb, var(--accent-color, #0563bb) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 14%, transparent);
  border-radius: 10px;
  padding: 10px 14px;
  transition: background 0.25s ease;
}

.about-info-item:hover {
  background: color-mix(in srgb, var(--accent-color, #0563bb) 10%, transparent);
}

.about-info-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-color, #0563bb);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-info-icon i {
  font-size: 15px;
  color: #fff;
}

.about-info-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.about-info-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: color-mix(in srgb, var(--default-color, #272829) 50%, transparent);
}

.about-info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--default-color, #272829);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-info-value.about-available {
  color: #22c55e;
}

/* CTA Buttons */
.about-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.about-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent-color, #0563bb);
  color: #fff !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color, #0563bb) 40%, transparent);
}

.about-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color, #0563bb) 50%, transparent);
}

.about-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--accent-color, #0563bb) !important;
  border: 2px solid var(--accent-color, #0563bb);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.about-btn-outline:hover {
  background: var(--accent-color, #0563bb);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
  .about-photo-col {
    align-items: center;
  }

  .about-content {
    padding-left: 0;
  }
}

@media (max-width: 576px) {
  .about-info-grid {
    grid-template-columns: 1fr;
  }

  .about-title {
    font-size: 24px;
  }
}


/* ======================================================
   PORTFOLIO SECTION — Modern Card Design
   ====================================================== */

/* Filter buttons */
.pf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin-bottom: 36px;
}

.pf-filters li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border: 2px solid color-mix(in srgb, var(--accent-color, #0563bb) 40%, transparent);
  background: transparent;
  color: var(--default-color, #272829);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pf-filters li i {
  font-size: 13px;
}

.pf-filters li:hover {
  background: color-mix(in srgb, var(--accent-color, #0563bb) 10%, transparent);
  border-color: var(--accent-color, #0563bb);
  color: var(--accent-color, #0563bb);
}

.pf-filters li.filter-active {
  background: var(--accent-color, #0563bb);
  border-color: var(--accent-color, #0563bb);
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent-color, #0563bb) 35%, transparent);
}

/* Card wrapper */
.pf-card {
  background: var(--surface-color, #fff);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color, #272829) 8%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px color-mix(in srgb, var(--accent-color, #0563bb) 14%, transparent);
}

/* Image area */
.pf-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.pf-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.pf-card:hover .pf-card-img img {
  transform: scale(1.07);
}

/* Hover overlay */
.pf-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color, #0563bb) 80%, #000 40%),
    color-mix(in srgb, var(--accent-color, #0563bb) 60%, #000 60%)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pf-card:hover .pf-card-overlay {
  opacity: 1;
}

.pf-overlay-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 18px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
  transform: translateY(10px);
  transition: transform 0.35s ease, background 0.2s ease;
}

.pf-card:hover .pf-overlay-btn {
  transform: translateY(0);
}

.pf-overlay-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Stagger the two buttons */
.pf-card:hover .pf-overlay-btn:nth-child(2) {
  transition-delay: 0.05s;
}

/* Category badge on image */
.pf-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-color, #0563bb);
  color: #fff;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  letter-spacing: 0.4px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* Card body */
.pf-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pf-card-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color, #272829);
  margin: 0;
  line-height: 1.3;
}

.pf-card-body p {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color, #272829) 65%, transparent);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Tech tags */
.pf-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.pf-tech-tags span {
  background: color-mix(in srgb, var(--accent-color, #0563bb) 8%, transparent);
  color: var(--accent-color, #0563bb);
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 22%, transparent);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 10px;
}

/* ===========================
   CONTACT SECTION — Modern (no form)
   =========================== */

/* ---- Shared info items ---- */
.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.contact-info-item .label {
  display: block;
  font-size: 0.72rem;
  opacity: 0.7;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.contact-info-item .value {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---- Solo Card ---- */
.contact-solo {
  background: linear-gradient(135deg, var(--accent-color, #0563bb) 0%, #4f46e5 100%);
  border-radius: 24px;
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-solo-left h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.contact-solo-left > p {
  font-size: 0.95rem;
  opacity: 0.82;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-solo-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-solo-cta {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 0.25rem;
}

.contact-solo-socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-solo-social-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.2rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.contact-solo-social-btn i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.contact-solo-social-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(6px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.contact-solo-email-btn {
  margin-top: 0.25rem;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.contact-solo-email-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.contact-info-decoration {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -90px;
  right: -90px;
  pointer-events: none;
}

.contact-info-decoration::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.07);
  top: -60px;
  left: -130px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-solo {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .contact-solo {
    padding: 1.5rem;
  }

  .contact-solo-left h3 {
    font-size: 1.5rem;
  }
}


/* ===========================
   HERO SECTION — Modern
   =========================== */

/* Neutralize default overlay */
.hero:before {
  display: none;
}

/* Custom gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(10, 10, 30, 0.78) 50%,
    rgba(5, 99, 187, 0.22) 100%
  );
  z-index: 2;
}

/* Grid container */
.hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 100px;
}

/* ---- Badge ---- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}

/* ---- Name ---- */
.hero-name {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 0.6rem;
  letter-spacing: -1px;
}

.hero-name-accent {
  background: linear-gradient(135deg, var(--accent-color, #0563bb), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Typed ---- */
.hero-typed-wrap {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.5rem;
  min-height: 2rem;
}

.hero-typed-wrap .typed {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid var(--accent-color, #0563bb);
}

/* ---- Bio ---- */
.hero-bio {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

/* ---- CTA Buttons ---- */
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, var(--accent-color, #0563bb), #4f46e5);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(5, 99, 187, 0.4);
}

.hero-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(5, 99, 187, 0.55);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero-btn-outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* ---- Social Links ---- */
.hero-socials {
  display: flex;
  gap: 0.7rem;
}

.hero-social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-social-link:hover {
  background: var(--accent-color, #0563bb);
  border-color: var(--accent-color, #0563bb);
  color: #fff;
  transform: translateY(-3px);
}

/* ---- Photo ---- */
.hero-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-ring {
  position: absolute;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  animation: heroRingSpin 20s linear infinite;
}

.hero-photo-ring::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-color, #0563bb);
  border-radius: 50%;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent-color, #0563bb);
}

.hero-photo-ring-2 {
  width: 420px;
  height: 420px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.05);
  animation-direction: reverse;
  animation-duration: 35s;
}

.hero-photo-ring-2::before {
  display: none;
}

@keyframes heroRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Floating stat cards */
.hero-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.75rem 1.2rem;
  text-align: center;
  z-index: 2;
}

.hero-stat-1 {
  left: -5px;
  bottom: 40px;
}

.hero-stat-2 {
  right: -5px;
  top: 40px;
}

.hero-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
  white-space: nowrap;
}

/* Scroll indicator */
.hero-scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1.2rem;
  animation: heroScrollBounce 2s ease-in-out infinite;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.hero-scroll-down:hover {
  background: var(--accent-color, #0563bb);
  border-color: var(--accent-color, #0563bb);
  color: #fff;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 130px;
    padding-bottom: 100px;
    gap: 2.5rem;
  }

  .hero-content { order: 2; }
  .hero-photo-wrap { order: 1; }

  .hero-badge,
  .hero-ctas,
  .hero-socials {
    justify-content: center;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-photo {
    width: 200px;
    height: 200px;
  }

  .hero-photo-ring { width: 240px; height: 240px; }
  .hero-photo-ring-2 { width: 285px; height: 285px; }

  .hero-stat-1 { left: 15px; bottom: 5px; }
  .hero-stat-2 { right: 15px; top: 5px; }
}

@media (max-width: 576px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn-primary,
  .hero-btn-outline {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .hero-stat { display: none; }
}


/* ===========================
   DARK / LIGHT MODE TOGGLE
   =========================== */

/* Toggle button */
.theme-toggle-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-color, #fff);
  border: 1px solid color-mix(in srgb, var(--default-color, #444) 18%, transparent);
  color: var(--default-color, #444);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
  background: var(--accent-color, #0563bb);
  border-color: var(--accent-color, #0563bb);
  color: #fff;
  transform: scale(1.1) rotate(15deg);
}

/* Dark Mode — global variable overrides */
body.dark-mode {
  --background-color: #0d0d0d;
  --default-color: #d8d8d8;
  --heading-color: #ffffff;
  --surface-color: #1a1a1a;
  --contrast-color: #ffffff;
  --nav-color: #c8c8c8;
  --nav-hover-color: #5ea3ff;
  --nav-mobile-background-color: #1a1a1a;
  --nav-dropdown-background-color: #1e1e1e;
  --nav-dropdown-color: #d0d0d0;
}

/* Light sections in dark mode */
body.dark-mode .light-background {
  --background-color: #141414;
  --surface-color: #222222;
}

/* Smooth theme transition on key properties */
body,
body * {
  transition: background-color 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Prevent transition on images */
body img,
body svg {
  transition: none !important;
}


/* ======================================================
   PROJECT DETAIL PAGES — Modern Design
   ====================================================== */

/* ---- Hero / Page Title Override ---- */
.portfolio-details-page .page-title {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent-color, #0563bb) 92%, #000) 0%,
    color-mix(in srgb, var(--accent-color, #0563bb) 55%, #1a1040) 100%);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}

.portfolio-details-page .page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(255,255,255,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.portfolio-details-page .page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

.portfolio-details-page .page-title h1 {
  color: #fff;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.portfolio-details-page .breadcrumbs ol li,
.portfolio-details-page .breadcrumbs ol li a {
  color: rgba(255,255,255,0.65);
}

.portfolio-details-page .breadcrumbs ol li.current {
  color: #fff;
}

/* Category badge in hero */
.pd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Hero meta row – duration, client, etc. */
.pd-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pd-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 15px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 50px;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 500;
}

.pd-hero-chip i {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

/* Back button */
.pd-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 50px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  margin-top: 18px;
  width: fit-content;
}

.pd-back-btn:hover {
  background: rgba(255,255,255,0.24);
  transform: translateX(-4px);
}

/* ---- Slider ---- */
.pd-slider-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.14);
}

/* ---- Main content wrapper ---- */
.pd-main-card {
  background: var(--surface-color, #fff);
  border: 1px solid color-mix(in srgb, var(--default-color, #272829) 8%, transparent);
  border-radius: 18px;
  padding: 32px 36px;
}

@media (max-width: 576px) {
  .pd-main-card { padding: 22px 18px; }
}

/* ---- Section title with left accent ---- */
.pd-section-title {
  position: relative;
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color, #272829);
  padding-left: 14px;
  margin-bottom: 16px;
  margin-top: 0;
}

.pd-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-color, #0563bb);
  border-radius: 4px;
}

/* ---- Overview lead text ---- */
.pd-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color, #272829) 82%, transparent);
  margin-bottom: 0;
}

/* ---- Quote block ---- */
.pd-quote {
  background: color-mix(in srgb, var(--accent-color, #0563bb) 6%, var(--surface-color, #fff));
  border-left: 4px solid var(--accent-color, #0563bb);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color, #272829) 78%, transparent);
}

/* ---- Feature cards grid ---- */
.pd-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.pd-feature-card {
  background: color-mix(in srgb, var(--accent-color, #0563bb) 5%, var(--surface-color, #fff));
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 16%, transparent);
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pd-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--accent-color, #0563bb) 14%, transparent);
}

.pd-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-color, #0563bb);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.pd-feature-icon i {
  font-size: 18px;
  color: #fff;
}

.pd-feature-card h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--heading-color, #272829);
  margin-bottom: 5px;
}

.pd-feature-card p {
  font-size: 12.5px;
  color: color-mix(in srgb, var(--default-color, #272829) 68%, transparent);
  margin: 0;
  line-height: 1.6;
}

/* ---- Styled list ---- */
.pd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pd-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color, #272829) 80%, transparent);
  line-height: 1.6;
}

.pd-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-color, #0563bb);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ---- Impact list (checkmarks) ---- */
.pd-impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pd-impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color, #272829) 80%, transparent);
  line-height: 1.6;
}

.pd-impact-list li .pd-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, #22c55e 14%, transparent);
  border: 1.5px solid #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pd-impact-list li .pd-check i {
  font-size: 11px;
  color: #22c55e;
}

/* ---- Tech stack row ---- */
.pd-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface-color, #fff);
  border: 1px solid color-mix(in srgb, var(--default-color, #272829) 12%, transparent);
  border-radius: 50px;
  transition: all 0.22s ease;
  text-decoration: none;
}

.pd-tech-pill:hover {
  border-color: var(--accent-color, #0563bb);
  box-shadow: 0 2px 14px color-mix(in srgb, var(--accent-color, #0563bb) 18%, transparent);
  transform: translateY(-2px);
}

.pd-tech-pill img {
  height: 20px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.pd-tech-pill span {
  font-size: 13px;
  font-weight: 600;
  color: var(--default-color, #272829);
  white-space: nowrap;
}

/* Colored badge (for text-only tech) */
.pd-tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* ---- Project info sidebar card ---- */
.pd-info-card {
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--accent-color, #0563bb) 8%, var(--surface-color, #fff)),
    color-mix(in srgb, var(--accent-color, #0563bb) 3%, var(--surface-color, #fff)));
  border: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 18%, transparent);
  border-top: 4px solid var(--accent-color, #0563bb);
  border-radius: 18px;
  padding: 26px 24px;
  position: sticky;
  top: 90px;
}

.pd-info-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading-color, #272829);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color, #0563bb) 14%, transparent);
}

.pd-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color, #272829) 7%, transparent);
}

.pd-info-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.pd-info-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-color, #0563bb);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pd-info-icon-wrap i {
  font-size: 14px;
  color: #fff;
}

.pd-info-text label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-color, #0563bb);
  margin-bottom: 2px;
}

.pd-info-text span {
  font-size: 13.5px;
  color: var(--default-color, #272829);
  font-weight: 500;
}

/* ---- Divider ---- */
.pd-divider {
  height: 1px;
  background: color-mix(in srgb, var(--default-color, #272829) 8%, transparent);
  margin: 24px 0;
  border: none;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .pd-info-card { position: static; }
}


/* ======================================================
   SERVICES SECTION — Modern Card Design
   ====================================================== */

/* Color variant via CSS custom property */
.svc-card { --svc-color: var(--accent-color, #0563bb); }
.svc-blue   { --svc-color: #0563bb; }
.svc-orange { --svc-color: #f97316; }
.svc-teal   { --svc-color: #0d9488; }
.svc-rose   { --svc-color: #e11d48; }
.svc-purple { --svc-color: #7c3aed; }
.svc-green  { --svc-color: #16a34a; }

/* Card shell */
.svc-card {
  background: var(--surface-color, #fff);
  border: 1px solid color-mix(in srgb, var(--default-color, #272829) 8%, transparent);
  border-radius: 22px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px color-mix(in srgb, var(--svc-color) 18%, transparent);
}

/* Accent left border on hover */
.svc-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--svc-color);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s ease;
}

.svc-card:hover::before {
  transform: scaleY(1);
}

/* ---- Top section (colored gradient) ---- */
.svc-card-top {
  padding: 26px 28px 20px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--svc-color) 12%, var(--surface-color, #fff)),
    color-mix(in srgb, var(--svc-color) 4%, var(--surface-color, #fff))
  );
  border-bottom: 1px solid color-mix(in srgb, var(--svc-color) 12%, transparent);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* Icon box */
.svc-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--svc-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--svc-color) 38%, transparent);
  transition: transform 0.3s ease;
}

.svc-card:hover .svc-icon-box {
  transform: scale(1.08) rotate(-3deg);
}

.svc-icon-box i {
  font-size: 26px;
  color: #fff;
}

/* Large decorative number */
.svc-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  color: color-mix(in srgb, var(--svc-color) 16%, transparent);
  user-select: none;
  transition: color 0.3s ease;
}

.svc-card:hover .svc-number {
  color: color-mix(in srgb, var(--svc-color) 28%, transparent);
}

/* ---- Card body ---- */
.svc-card-body {
  padding: 22px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.svc-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color, #272829);
  margin: 0;
  line-height: 1.3;
}

.svc-card-body p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color, #272829) 68%, transparent);
  line-height: 1.72;
  margin: 0;
  flex: 1;
}

/* Tech/tool tags */
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.svc-tags span {
  display: inline-block;
  background: color-mix(in srgb, var(--svc-color) 10%, transparent);
  color: var(--svc-color);
  border: 1px solid color-mix(in srgb, var(--svc-color) 25%, transparent);
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 12px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.svc-card:hover .svc-tags span {
  background: color-mix(in srgb, var(--svc-color) 16%, transparent);
}

/* ---- Divider line between top & body ---- */
.svc-card-divider {
  height: 1px;
  background: color-mix(in srgb, var(--svc-color) 10%, transparent);
  margin: 0 28px;
}

/* Responsive */
@media (max-width: 576px) {
  .svc-card-body { padding: 18px 20px 22px; }
  .svc-card-top  { padding: 20px 20px 16px; }
}

