/* =====================================================
   Md. Abdur Rahaman – Portfolio
   Modern dark theme | Local assets only
   ===================================================== */

:root {
  --bg: #0a0e17;
  --bg-2: #0f1520;
  --bg-card: #141b2d;
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.35);
  --accent: #06b6d4;
  --teal: #14b8a6;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.12);
  --gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Tech particle canvas – mouse follow background */
#tech-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Content above canvas */
.page-wrap {
  position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
  transition: var(--transition);
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.section-pad {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 55px;
}

.section-title .badge-soft {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
  background: rgba(59, 130, 246, 0.12);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Navbar ---------- */
.navbar {
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.btn-hire {
  background: var(--gradient);
  color: #fff !important;
  border: none;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-hire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--primary-glow);
  color: #fff !important;
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(226, 232, 240, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 60px;
  position: relative;
}

.hero-content h1 {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-content h1 .name {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .role {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-content .lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.btn-primary-glow {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 28px var(--primary-glow);
  transition: var(--transition);
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--primary-glow);
  color: #fff;
}

.btn-outline-soft {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-outline-soft:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(59, 130, 246, 0.08);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stats .stat h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.hero-stats .stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Laptop mockup with typing code */
.laptop-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.laptop {
  background: #1a2235;
  border-radius: 12px 12px 4px 4px;
  border: 2px solid #2a3548;
  box-shadow: var(--shadow), 0 0 60px rgba(59, 130, 246, 0.15);
  overflow: hidden;
  position: relative;
}

.laptop-top {
  background: #0f1520;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #2a3548;
}

.laptop-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.laptop-dot.r { background: #ef4444; }
.laptop-dot.y { background: #eab308; }
.laptop-dot.g { background: #22c55e; }

.laptop-title {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
}

.laptop-screen {
  padding: 18px 20px 22px;
  min-height: 280px;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #a5b4c8;
  background: linear-gradient(180deg, #0d121c 0%, #111827 100%);
  position: relative;
}

.code-line {
  white-space: pre-wrap;
  word-break: break-all;
}

.code-line .kw { color: #c084fc; }      /* keywords */
.code-line .fn { color: #60a5fa; }      /* functions */
.code-line .str { color: #34d399; }     /* strings */
.code-line .cm { color: #64748b; }      /* comments */
.code-line .var { color: #fbbf24; }     /* variables */
.code-line .num { color: #f472b6; }     /* numbers */

.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.9s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.laptop-base {
  height: 12px;
  background: #1e293b;
  border-radius: 0 0 8px 8px;
  margin: 0 20px;
  position: relative;
}

.laptop-base::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: #334155;
  border-radius: 0 0 4px 4px;
}

.floating-tag {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatY 4s ease-in-out infinite;
}

.floating-tag i {
  color: var(--primary);
}

.floating-tag.t1 {
  top: -12px;
  right: -10px;
  animation-delay: 0s;
}

.floating-tag.t2 {
  bottom: 40px;
  left: -20px;
  animation-delay: 1.5s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- About ---------- */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}

.about-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.about-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.about-card h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.about-photo {
  width: 100%;
  max-width: 280px;
  border-radius: 20px;
  border: 3px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.about-text .highlight {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Skills ---------- */
.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  height: 100%;
  transition: var(--transition);
}

.skill-group:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.skill-group h5 {
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-group h5 i {
  color: var(--primary);
  font-size: 1.1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tags span {
  background: rgba(59, 130, 246, 0.1);
  color: var(--text);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  transition: var(--transition);
}

.skill-tags span:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--primary);
}

/* ---------- Experience timeline ---------- */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: var(--transition);
}

.timeline-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateX(4px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.timeline-item .date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.timeline-item .company {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.timeline-item ul {
  margin: 0;
  padding-left: 18px;
}

.timeline-item li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* ---------- Projects ---------- */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  color: inherit;
}

.project-card .proj-icon {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #fff;
  background: var(--gradient);
}

.project-card .proj-body {
  padding: 22px;
}

.project-card h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.project-card .tags span {
  font-size: 0.72rem;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 6px;
  margin-right: 6px;
}

/* ---------- Contact ---------- */
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
}

.contact-box h4 {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item h6 {
  font-size: 0.85rem;
  margin-bottom: 2px;
  color: var(--text-muted);
}

.contact-item p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-form .form-control {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
}

.contact-form .form-control:focus {
  background: var(--bg-2);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  color: var(--text);
}

.contact-form .form-control::placeholder {
  color: var(--text-muted);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Back to top ---------- */
#backTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.15rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 6px 24px var(--primary-glow);
  cursor: pointer;
  transition: var(--transition);
}

#backTop:hover {
  transform: translateY(-4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .laptop-wrap {
    margin-top: 50px;
  }
  .floating-tag.t2 {
    left: 0;
  }
  .section-title h2 {
    font-size: 1.9rem;
  }
}

@media (max-width: 767.98px) {
  .hero-content {
    text-align: center;
  }
  .hero-content .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .section-pad {
    padding: 70px 0;
  }
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.theme-toggle:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- GitHub repo cards ---------- */
.repo-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
  transition: var(--transition);
  color: inherit;
}

.repo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  color: inherit;
}

.repo-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.repo-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.repo-header h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text);
}

.repo-lang {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.repo-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
  line-height: 1.55;
}

.repo-card code {
  font-size: 0.8rem;
  background: rgba(59, 130, 246, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent);
}

.repo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.repo-meta i {
  margin-right: 4px;
  color: var(--primary);
}

.repo-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.repo-card:hover .repo-link {
  color: var(--accent);
}

/* ---------- LIGHT THEME ---------- */
body.light-theme {
  --bg: #f1f5f9;
  --bg-2: #e2e8f0;
  --bg-card: #ffffff;
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.25);
  --accent: #0891b2;
  --teal: #0d9488;
  --text: #0f172a;
  --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

body.light-theme .navbar.scrolled {
  background: rgba(241, 245, 249, 0.95);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

body.light-theme .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 23, 42, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.light-theme .laptop {
  border-color: #cbd5e1;
  box-shadow: var(--shadow), 0 0 40px rgba(37, 99, 235, 0.1);
}

body.light-theme .laptop-top {
  background: #e2e8f0;
  border-bottom-color: #cbd5e1;
}

body.light-theme .laptop-screen {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #a5b4c8;
}

body.light-theme .laptop-base {
  background: #cbd5e1;
}

body.light-theme .laptop-base::after {
  background: #94a3b8;
}

body.light-theme .floating-tag {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

body.light-theme .timeline::before {
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

body.light-theme .timeline-item::before {
  border-color: var(--bg);
}

body.light-theme #tech-canvas {
  opacity: 0.45;
}

body.light-theme .footer {
  background: var(--bg-2);
  border-top-color: var(--border);
}

body.light-theme .contact-form .form-control {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--text);
}

body.light-theme .contact-form .form-control:focus {
  background: #fff;
  border-color: var(--primary);
}

body.light-theme .contact-form .form-control::placeholder {
  color: #94a3b8;
}

body.light-theme .skill-tags span {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
}

body.light-theme .project-card .tags span {
  background: rgba(8, 145, 178, 0.1);
}

a.project-card { color: inherit; }
a.project-card:hover { color: inherit; }
a.project-card h5 { color: var(--text); }


/* ---------- Services ---------- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  height: 100%;
  position: relative;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(20, 184, 166, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.service-num {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.5px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 28px 0 16px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--teal);
  color: #fff;
}

.service-card h5 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.35;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Development Process ---------- */
.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  height: 100%;
  text-align: center;
  transition: var(--transition);
}

.process-card:hover {
  border-color: rgba(20, 184, 166, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.process-num {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background-color: #14b8a6;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto 18px auto;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
}

.process-card:hover .process-num {
  background-color: #0d9488;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
  transform: scale(1.06);
}

.process-card h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
  text-align: center;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
  text-align: center;
}

body.light-theme .service-icon {
  background: rgba(13, 148, 136, 0.12);
}

body.light-theme .process-num {
  background-color: #0d9488;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

body.light-theme .process-card:hover .process-num {
  background-color: #0f766e;
}
