/* ==========================================================
   PsyGioX CYBER UNIVERSE DESIGN SYSTEM
   Fully Optimized — No Cross-Block Hover Effects
========================================================== */

/* =========================
   VARIABLES
========================= */
:root {
  --bg-primary: #050511;
  --bg-secondary: #09091b;
  --surface: rgba(255, 255, 255, .06);
  --surface-hover: rgba(255, 255, 255, .1);
  --border: rgba(255, 255, 255, .12);
  --text-primary: #f8fafc;
  --text-secondary: #a5b4fc;
  --text-muted: #94a3b8;
  --purple: #8b5cf6;
  --purple-light: #c084fc;
  --blue: #38bdf8;
  --cyan: #22d3ee;
  --gradient-main: linear-gradient(135deg, #8b5cf6, #06b6d4);
  --gradient-text: linear-gradient(135deg, #ffffff, #c084fc, #38bdf8);
  --shadow-purple: 0 0 50px rgba(139, 92, 246, .35);
  --shadow-card: 0 25px 70px rgba(0, 0, 0, .45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --blur: 25px;
}

/* =========================
   GLOBAL RESET
========================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text-primary);
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050511; }
::-webkit-scrollbar-thumb { background: linear-gradient(#8b5cf6, #06b6d4); border-radius: 20px; }

/* =========================
   SHARED SECTION BASE
========================= */
.blocks-container,
.process-section,
.why-section,
.hero-service-section,
.projects-section,
.resume-section,
.faq-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem;
  background: var(--bg-primary);
  margin: 0;
}

.hero + .blocks-container,
.hero + .hero-service-section {
  border-radius: 40px 40px 0 0;
  margin-top: -60px;
  padding-top: calc(6rem + 40px);
  z-index: 3;
}

.blocks-container + .process-section,
.process-section + .why-section,
.why-section + .projects-section,
.projects-section + .resume-section,
.resume-section + .faq-section {
  margin-top: 0;
}

/* =========================
   SECTION CONTAINERS
========================= */
.blocks-container .block,
.process-container,
.why-container,
.hero-service-container,
.projects-container,
.resume-container,
.faq-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* =========================
   DECORATIVE GLOW
========================= */
.resume-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
}

/* =========================
   HEADERS
========================= */
.services-header,
.process-header,
.why-header,
.projects-header,
.faq-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.services-header h2,
.process-header h2,
.why-header h2,
.projects-header h2 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.services-header p,
.process-header p,
.why-header p,
.projects-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* =========================
   HERO SERVICE SECTION
========================= */
.hero-service-section { padding: 7rem 1.5rem; }
.hero-service-content { text-align: center; }

.hero-service-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.4rem;
  border-radius: 50px;
  background: rgba(139, 92, 246, .15);
  border: 1px solid rgba(139, 92, 246, .35);
  color: #ddd6fe;
  font-weight: 600;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 30px rgba(139, 92, 246, .3);
}

.hero-service-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 950;
  line-height: 1.05;
  margin: 1.5rem auto;
  max-width: 1000px;
}

.hero-service-title .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-service-description {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.hero-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.hero-service-card {
  padding: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--blur));
  transition: transform .4s, border-color .4s, box-shadow .4s;
}

.hero-service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(139, 92, 246, .7);
  box-shadow: var(--shadow-purple);
  z-index: 5;
}

.card-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.hero-service-card h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.hero-service-card p { color: var(--text-muted); line-height: 1.7; }

.feature-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.feature-list li { position: relative; padding-left: 1.5rem; margin: .7rem 0; color: #cbd5e1; }
.feature-list li::before { content: "✦"; position: absolute; left: 0; color: var(--cyan); }

/* =========================
   HERO SERVICE EXTRA
========================= */
.hero-service-extra {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 3rem auto 0;
  padding: 2rem 2.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.hero-service-extra:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, .5);
  box-shadow: var(--shadow-purple);
}

.extra-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, .15);
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 16px;
  transition: transform .3s, background .3s;
}

.hero-service-extra:hover .extra-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(139, 92, 246, .25);
}

.extra-content { flex: 1; }
.extra-content p { color: #cbd5e1; font-size: 1rem; line-height: 1.7; margin: 0 0 1rem; }

.extra-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(139, 92, 246, .2), rgba(6, 182, 212, .15));
  border: 1px solid rgba(139, 92, 246, .4);
  color: white;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .3s, background .3s, border-color .3s, box-shadow .3s, gap .3s;
}

.extra-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(139, 92, 246, .35), rgba(6, 182, 212, .25));
  border-color: rgba(139, 92, 246, .7);
  box-shadow: 0 10px 30px rgba(139, 92, 246, .3);
  gap: .8rem;
}

/* =========================
   SERVICES (BLOCKS)
========================= */
.blocks-container { padding: 6rem 1.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  padding: 2rem 2rem 4rem;
  min-height: 350px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--blur));
  transition: transform .4s, background .4s, border-color .4s, box-shadow .4s;
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--surface-hover);
  border-color: rgba(139, 92, 246, .5);
  box-shadow: var(--shadow-card);
  z-index: 5;
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(139, 92, 246, .3), rgba(34, 211, 238, .25));
  border: 1px solid rgba(255, 255, 255, .15);
  margin-bottom: 1.5rem;
}

.service-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.service-card p { color: #cbd5e1; line-height: 1.7; }

.service-link {
  position: absolute;
  bottom: 25px;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
  transition: gap .3s;
}

.service-link:hover { gap: 1.2rem; }

/* =========================
   PROCESS SECTION
========================= */
.process-section { padding: 6rem 1.5rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  transition: transform .4s, box-shadow .4s;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-purple);
  z-index: 5;
}

.process-number {
  font-size: 4rem;
  font-weight: 950;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.process-card h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.process-card p { color: #cbd5e1; line-height: 1.7; }

/* =========================
   WHY SECTION
========================= */
.why-section { padding: 6rem 1.5rem; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  padding: 1.5rem;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  transition: transform .4s, box-shadow .4s;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-purple);
  z-index: 5;
}

.why-icon { font-size: 3rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.why-card p { color: #cbd5e1; line-height: 1.7; }

/* =========================
   PROJECTS SECTION
========================= */
.projects-section { padding: 6rem 1.5rem; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .45s, box-shadow .45s;
  backdrop-filter: blur(20px);
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(139, 92, 246, .8);
  box-shadow: 0 30px 80px rgba(139, 92, 246, .3);
  z-index: 5;
}

.project-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #080817; }
.project-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s, transform .6s; }
.project-image img.loaded { opacity: 1; }
.project-card:hover .project-image img { transform: scale(1.1); }

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, .85), rgba(6, 182, 212, .85));
  backdrop-filter: blur(8px);
  transition: opacity .4s;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-overlay span {
  padding: .8rem 1.8rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .4);
  color: white;
  font-weight: 700;
  letter-spacing: .3px;
  backdrop-filter: blur(15px);
}

.project-info { padding: 1.8rem; }
.project-info h3 { font-size: 1.4rem; font-weight: 850; margin-bottom: .7rem; }
.project-info p { color: #cbd5e1; line-height: 1.7; margin-bottom: 1.3rem; }

.project-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.project-tags span {
  padding: .35rem 1rem;
  border-radius: 50px;
  background: rgba(139, 92, 246, .18);
  border: 1px solid rgba(139, 92, 246, .35);
  font-size: .75rem;
  color: #ddd6fe;
  font-weight: 600;
}

/* =========================
   PROJECT MODAL — Fixed Centered
========================= */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility .3s ease, opacity .3s ease;
}

.project-modal.active { visibility: visible; opacity: 1; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(20px);
  z-index: 1;
}

.modal-container {
  position: relative;
  width: calc(100% - 3rem);
  max-width: 1100px;
  max-height: calc(80vh - 6rem);
  margin: auto;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, .5) transparent;
}

.modal-container::-webkit-scrollbar { width: 6px; }
.modal-container::-webkit-scrollbar-track { background: transparent; }
.modal-container::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, .5); border-radius: 10px; }

.modal-content {
  width: 100%;
  background: linear-gradient(145deg, #0f0f23, #08081a);
  border: 1px solid rgba(255, 255, 255, .15);
  overflow: hidden;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .8), 0 0 80px rgba(139, 92, 246, .15);
  animation: modalCyber .5s cubic-bezier(.4, 0, .2, 1);
  margin: auto;
}

@keyframes modalCyber {
  from { opacity: 0; transform: translateY(60px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .5);
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .3s, border-color .3s;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(139, 92, 246, .6);
  border-color: rgba(139, 92, 246, .8);
  transform: rotate(90deg) scale(1.1);
}

.modal-body {
  display: flex;
  flex-wrap: wrap;
  min-height: 400px;
}

.modal-image {
  flex: 1 1 45%;
  min-width: 300px;
  max-height: 70vh;
  overflow: hidden;
  background: #050510;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-info {
  flex: 1 1 55%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 300px;
}

.modal-info h2 {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.modal-info > p {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.modal-details {
  margin-top: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, .03);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .06);
}

.modal-details h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
}

.modal-details ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.modal-details li {
  position: relative;
  padding: .6rem 0 .6rem 1.8rem;
  color: #cbd5e1;
  font-size: .9rem;
  line-height: 1.5;
}

.modal-details li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: .6rem;
  color: var(--cyan);
  font-size: .8rem;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.5rem 0;
}

.modal-tags span {
  padding: .45rem 1.1rem;
  border-radius: 50px;
  background: rgba(56, 189, 248, .1);
  border: 1px solid rgba(56, 189, 248, .25);
  color: #bae6fd;
  font-size: .8rem;
  font-weight: 600;
  transition: background .3s, border-color .3s;
}

.modal-tags span:hover {
  background: rgba(56, 189, 248, .2);
  border-color: rgba(56, 189, 248, .5);
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.modal-btn-primary {
  padding: .9rem 2rem;
  border-radius: 50px;
  background: var(--gradient-main);
  color: white;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(139, 92, 246, .35);
  transition: transform .3s, box-shadow .3s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.modal-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(139, 92, 246, .5);
}

.modal-btn-outline {
  padding: .9rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .25);
  color: white;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
  transition: border-color .3s, background .3s, transform .3s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.modal-btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, .1);
  transform: translateY(-3px);
}

/* =========================
   MODAL RESPONSIVE
========================= */
@media(max-width:768px) {
  .modal-container {
    width: calc(100% - 2rem);
    max-height: calc(100vh - 4rem);
  }

  .modal-content {
    border-radius: 24px;
  }

  .modal-body {
    flex-direction: column;
  }

  .modal-image {
    max-height: 40vh;
    min-width: 100%;
  }

  .modal-info {
    padding: 2rem;
    min-width: 100%;
  }

  .modal-info h2 {
    font-size: 1.6rem;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .modal-details {
    padding: 1.2rem;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .modal-btn-primary,
  .modal-btn-outline {
    justify-content: center;
    text-align: center;
  }
}

@media(max-width:480px) {
  .modal-container {
    width: calc(100% - 1rem);
    max-height: calc(100vh - 2rem);
  }

  .modal-content {
    border-radius: 20px;
  }

  .modal-info {
    padding: 1.5rem;
  }

  .modal-info h2 {
    font-size: 1.4rem;
  }

  .modal-info > p {
    font-size: .9rem;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .modal-details {
    padding: 1rem;
    border-radius: 16px;
  }

  .modal-tags {
    gap: .4rem;
    margin: 1rem 0;
  }

  .modal-tags span {
    padding: .35rem .8rem;
    font-size: .75rem;
  }

  .modal-btn-primary,
  .modal-btn-outline {
    padding: .75rem 1.5rem;
    font-size: .9rem;
  }
}

/* =========================
   SKELETON LOADING
========================= */
.skeleton-line {
  height: 16px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .2), rgba(255, 255, 255, .08));
  background-size: 200% 100%;
  animation: skeletonMove 1.5s infinite;
}

.skeleton-tag {
  display: inline-block;
  height: 28px;
  width: 70px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .1);
  animation: skeletonMove 1.5s infinite;
}

@keyframes skeletonMove {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =========================
   RESUME SECTION
========================= */
.resume-section { padding: 6rem 1.5rem; }

.resume-container { max-width: 1280px; margin: auto; position: relative; z-index: 2; }

.resume-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(25px);
  box-shadow: var(--shadow-card);
}

.resume-title-block { flex: 1; min-width: 280px; }

.resume-name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 950;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.resume-tagline { color: var(--cyan); font-weight: 700; margin: .6rem 0 1rem; font-size: 1rem; }
.resume-badges { display: flex; flex-wrap: wrap; gap: .6rem; }

.resume-badges .badge {
  padding: .4rem 1rem;
  border-radius: 50px;
  background: rgba(139, 92, 246, .15);
  border: 1px solid rgba(139, 92, 246, .35);
  color: #ddd6fe;
  font-size: .8rem;
  font-weight: 600;
}

.resume-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

.resume-btn {
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  white-space: nowrap;
}

.resume-btn:hover { transform: translateY(-4px); }

.export-word {
  background: var(--gradient-main);
  color: white;
  border: none;
  box-shadow: 0 15px 40px rgba(139, 92, 246, .35);
}

.copy-contacts {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .2);
  color: white;
}

.resume-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; }
.resume-left, .resume-right { display: flex; flex-direction: column; gap: 2rem; }

.resume-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.resume-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, .5);
  box-shadow: var(--shadow-purple);
  z-index: 5;
}

.resume-card h3 {
  font-size: 1.3rem;
  font-weight: 850;
  margin-bottom: 1.3rem;
  color: white;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.resume-card h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  flex-shrink: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem;
  border-radius: 14px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .02);
  transition: background .3s;
}

.contact-item + .contact-item { margin-top: .6rem; }
.contact-item:hover { background: rgba(139, 92, 246, .1); }

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, .2);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-item a { color: var(--cyan); text-decoration: none; font-weight: 500; transition: color .3s; word-break: break-all; }
.contact-item a:hover { color: #fff; }

.education-item { padding: .5rem 0; }
.edu-place { color: white; font-weight: 700; margin-bottom: .4rem; font-size: 1rem; line-height: 1.4; }
.edu-spec { color: var(--text-muted); font-size: .9rem; line-height: 1.4; }

.skills-list { display: flex; flex-wrap: wrap; gap: .6rem; }

.skill-tag {
  padding: .5rem 1rem;
  border-radius: 50px;
  background: rgba(56, 189, 248, .12);
  border: 1px solid rgba(56, 189, 248, .3);
  color: #bae6fd;
  font-size: .85rem;
  font-weight: 500;
  transition: background .3s, transform .3s;
}

.skill-tag:hover { background: rgba(56, 189, 248, .22); transform: translateY(-2px); }

.availability { display: flex; flex-wrap: wrap; gap: .6rem; }

.avail-badge {
  padding: .55rem 1.1rem;
  border-radius: 50px;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .3);
  color: #bbf7d0;
  font-size: .85rem;
  font-weight: 600;
}

.additional-info { display: flex; flex-direction: column; gap: .8rem; }
.additional-info p { color: #cbd5e1; font-size: .9rem; line-height: 1.6; }
.additional-info strong { color: white; font-weight: 700; }

.short-bio { color: #cbd5e1; line-height: 1.8; font-size: .95rem; }

.projects-list { display: flex; flex-direction: column; gap: 1rem; }

.project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s, transform .3s, border-color .3s;
}

.project-item:hover { background: rgba(139, 92, 246, .12); transform: translateX(8px); border-color: rgba(139, 92, 246, .3); }
.project-item .project-info { flex: 1; min-width: 0; }
.project-item .project-info h4 { color: white; margin-bottom: .3rem; font-size: 1rem; font-weight: 700; }
.project-item .project-info p { color: var(--text-muted); font-size: .85rem; line-height: 1.5; }

.project-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  transition: color .3s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.project-link:hover { color: #fff; gap: .6rem; }

.achievements-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .3rem; }

.achievements-list li {
  position: relative;
  padding: .75rem 0 .75rem 1.8rem;
  color: #cbd5e1;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.achievements-list li:last-child { border-bottom: none; padding-bottom: 0; }
.achievements-list li::before { content: "✦"; position: absolute; left: 0; top: .75rem; color: var(--purple-light); font-size: .8rem; }

/* =========================
   FAQ SECTION
========================= */
.faq-section { padding: 6rem 1.5rem; }
.faq-container { max-width: 900px; margin: auto; position: relative; z-index: 2; }

.faq-header { text-align: center; margin-bottom: 3.5rem; }

.faq-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.faq-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.faq-grid { display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: border-color .3s, box-shadow .3s, background .3s;
}

.faq-item:hover { border-color: rgba(139, 92, 246, .5); background: rgba(255, 255, 255, .06); }
.faq-item.active { border-color: rgba(139, 92, 246, .6); box-shadow: 0 0 30px rgba(139, 92, 246, .15); background: rgba(255, 255, 255, .06); }

.faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.8rem;
  cursor: pointer;
  user-select: none;
  transition: background .3s;
}

.faq-question:hover { background: rgba(139, 92, 246, .08); }

.faq-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, .15);
  border-radius: 12px;
  transition: background .3s, transform .3s;
}

.faq-item.active .faq-icon { background: rgba(139, 92, 246, .3); transform: scale(1.1); }
.faq-question h3 { flex: 1; font-size: 1.05rem; color: white; font-weight: 700; line-height: 1.4; margin: 0; }

.faq-arrow {
  color: var(--cyan);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  flex-shrink: 0;
  font-size: .8rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 211, 238, .1);
  border-radius: 50%;
}

.faq-item.active .faq-arrow { transform: rotate(180deg); background: rgba(34, 211, 238, .2); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.4, 0, .2, 1); }
.faq-item.active .faq-answer { max-height: 400px; border-top: 1px solid #8b5cf6; }
.faq-answer p { padding: 1.8rem 1.8rem 1.8rem 4.8rem; margin: 0; color: #cbd5e1; line-height: 1.8; font-size: .95rem; }

.faq-footer {
  margin-top: 3.5rem;
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(139, 92, 246, .12), rgba(56, 189, 248, .12));
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(20px);
  transition: border-color .3s, box-shadow .3s;
}

.faq-footer:hover { border-color: rgba(139, 92, 246, .4); box-shadow: 0 0 40px rgba(139, 92, 246, .15); }
.faq-footer p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; margin: 0; }

.faq-footer a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
  transition: color .3s, text-shadow .3s;
  position: relative;
}

.faq-footer a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.faq-footer a:hover { color: #fff; text-shadow: 0 0 15px rgba(34, 211, 238, .5); }
.faq-footer a:hover::after { transform: scaleX(1); }

/* =========================
   FOOTER SECTION
========================= */
.footer-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem 2rem;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 0;
  min-height: 400px;
}

.footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: .3;
  animation: footerGridFloat 20s linear infinite;
  pointer-events: none;
}

@keyframes footerGridFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-50px); }
}

.footer-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -150px;
  top: -150px;
  background: radial-gradient(circle, rgba(236, 72, 153, .15), transparent 70%);
  filter: blur(50px);
  animation: footerLightFloat 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes footerLightFloat {
  from { transform: translate(0, 0); }
  to { transform: translate(-30px, -30px); }
}

.footer-cubes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

.cube {
  position: absolute;
  background: rgba(124, 58, 237, .15);
  border: 1px solid rgba(124, 58, 237, .3);
  border-radius: 4px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px rgba(124, 58, 237, .2);
  animation: cubeFloatUp 8s ease-in infinite;
  opacity: 0;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.cube:nth-child(1) { left: 5%; top: 60%; width: 15px; height: 15px; animation-delay: 0s; }
.cube:nth-child(2) { left: 12%; top: 75%; width: 22px; height: 22px; animation-delay: 1.2s; }
.cube:nth-child(3) { left: 22%; top: 45%; width: 18px; height: 18px; animation-delay: 2.4s; }
.cube:nth-child(4) { left: 35%; top: 80%; width: 25px; height: 25px; animation-delay: 3.6s; }
.cube:nth-child(5) { left: 48%; top: 55%; width: 16px; height: 16px; animation-delay: 4.8s; }
.cube:nth-child(6) { left: 58%; top: 70%; width: 20px; height: 20px; animation-delay: 6s; }
.cube:nth-child(7) { left: 70%; top: 40%; width: 14px; height: 14px; animation-delay: 1.5s; }
.cube:nth-child(8) { left: 80%; top: 85%; width: 24px; height: 24px; animation-delay: 3s; }
.cube:nth-child(9) { left: 90%; top: 50%; width: 17px; height: 17px; animation-delay: 4.5s; }
.cube:nth-child(10) { left: 95%; top: 65%; width: 21px; height: 21px; animation-delay: 6.5s; }

.cube:nth-child(odd) { background: rgba(37, 99, 235, .15); border-color: rgba(37, 99, 235, .3); box-shadow: 0 0 15px rgba(37, 99, 235, .2); }
.cube:nth-child(3n) { background: rgba(236, 72, 153, .12); border-color: rgba(236, 72, 153, .25); box-shadow: 0 0 15px rgba(236, 72, 153, .15); }

@keyframes cubeFloatUp {
  0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
  15% { opacity: 0.9; }
  50% { transform: translateY(-60px) rotate(180deg) scale(1); opacity: 1; }
  85% { opacity: 0.9; }
  100% { transform: translateY(0) rotate(360deg) scale(0.8); opacity: 0; }
}

.footer-container { max-width: 1280px; margin: auto; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 3rem; }

.footer-col {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}

.footer-col:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, .5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), 0 0 30px rgba(124, 58, 237, .15);
  z-index: 5;
}

.footer-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.footer-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  box-shadow: 0 0 15px #8b5cf6;
  flex-shrink: 0;
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-links li { margin: 0; }

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .7rem;
  border-radius: 10px;
  transition: color .3s, background .3s, transform .3s;
  font-size: .9rem;
  line-height: 1.4;
}

.footer-links a::before { content: "→"; color: #8b5cf6; font-size: .8rem; flex-shrink: 0; transition: transform .3s, color .3s; }
.footer-links a:hover { color: white; background: rgba(139, 92, 246, .1); transform: translateX(6px); }
.footer-links a:hover::before { transform: translateX(3px); color: var(--cyan); }

.footer-links-bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-links-bottom a { color: #94a3b8; font-size: .85rem; text-decoration: none; transition: color .3s; position: relative; }

.footer-links-bottom a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s;
}

.footer-links-bottom a:hover { color: #38bdf8; }
.footer-links-bottom a:hover::after { transform: scaleX(1); transform-origin: left; }

.footer-bottom { padding-top: 1.5rem; text-align: center; }
.footer-bottom p { color: #64748b; font-size: .85rem; margin: 0; line-height: 1.5; }

/* =========================
   GLOBAL RESPONSIVE
========================= */
@media(max-width:900px) {
  .resume-grid { grid-template-columns: 1fr; }
  .resume-left, .resume-right { gap: 1.5rem; }
  .resume-header { text-align: center; justify-content: center; flex-direction: column; gap: 1.5rem; }
  .resume-title-block { text-align: center; }
  .resume-badges { justify-content: center; }
  .resume-actions { justify-content: center; }
  .project-item { flex-direction: column; align-items: flex-start; }
  .project-link { align-self: flex-end; }
}

@media(max-width:768px) {
  .hero-service-section, .blocks-container, .process-section, .why-section, .projects-section, .resume-section, .faq-section { padding: 4rem 1rem; }
  .hero-service-grid, .projects-grid, .services-grid, .process-grid, .why-grid { grid-template-columns: 1fr; }
  .modal-body { flex-direction: column; }
  .modal-info { padding: 1.5rem; }
  .resume-grid { gap: 1.5rem; }
  .hero-service-extra { flex-direction: column; align-items: center; text-align: center; padding: 1.8rem; margin-top: 2.5rem; gap: 1rem; }
  .extra-icon { width: 48px; height: 48px; font-size: 1.8rem; border-radius: 14px; }
  .extra-content p { font-size: .95rem; }
  .extra-btn { justify-content: center; }
  .faq-section { padding: 4rem 1rem; }
  .faq-header { margin-bottom: 2.5rem; }
  .faq-question { padding: 1.2rem 1.3rem; gap: .8rem; }
  .faq-icon { width: 36px; height: 36px; font-size: 1.2rem; border-radius: 10px; }
  .faq-question h3 { font-size: .95rem; }
  .faq-answer p { padding: 1.3rem 1.3rem 1.5rem 4rem; font-size: .9rem; }
  .faq-footer { margin-top: 2.5rem; padding: 1.5rem; }
  .footer-section { padding: 4rem 1rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
  .footer-col { padding: 1.5rem; text-align: center; }
  .footer-title { justify-content: center; }
  .footer-links a { justify-content: center; padding: .6rem .8rem; }
  .footer-links a:hover { transform: none; }
  .footer-links-bottom { gap: 1rem; padding: 1.2rem 0; }
  .cube:nth-child(n+7) { display: none; }
}

@media(max-width:480px) {
  .hero-service-title { font-size: 2.2rem; }
  .services-header h2, .projects-header h2, .process-header h2, .why-header h2 { font-size: 2rem; }
  .resume-section { padding: 4rem 1rem; }
  .resume-header { padding: 1.5rem; margin-bottom: 2rem; }
  .resume-card { padding: 1.5rem; }
  .resume-name { font-size: 1.8rem; }
  .resume-tagline { font-size: .9rem; }
  .resume-btn { padding: .75rem 1.5rem; font-size: .85rem; }
  .contact-item { padding: .7rem; }
  .contact-icon { width: 36px; height: 36px; }
  .project-item { padding: .9rem 1rem; }
  .resume-left, .resume-right { gap: 1.2rem; }
  .skills-list { gap: .5rem; }
  .skill-tag { padding: .4rem .8rem; font-size: .8rem; }
  .hero-service-extra { padding: 1.5rem; margin-top: 2rem; border-radius: var(--radius-lg); }
  .extra-icon { width: 44px; height: 44px; font-size: 1.6rem; border-radius: 12px; }
  .extra-content p { font-size: .9rem; line-height: 1.6; }
  .extra-btn { padding: .6rem 1.2rem; font-size: .85rem; width: 100%; justify-content: center; }
  .faq-section { padding: 3rem 1rem; }
  .faq-header h2 { font-size: 1.8rem; }
  .faq-header p { font-size: .95rem; }
  .faq-grid { gap: .8rem; }
  .faq-question { padding: 1rem; gap: .7rem; }
  .faq-icon { width: 32px; height: 32px; font-size: 1rem; border-radius: 8px; }
  .faq-question h3 { font-size: .9rem; }
  .faq-arrow { width: 24px; height: 24px; font-size: .7rem; }
  .faq-answer p { padding: 1.1rem 1rem 1.2rem 3.5rem; font-size: .85rem; line-height: 1.6; }
  .faq-footer { margin-top: 2rem; padding: 1.3rem; }
  .faq-footer p { font-size: .9rem; }
  .footer-section { padding: 3rem 1rem 1rem; }
  .footer-grid { gap: 1.2rem; }
  .footer-col { padding: 1.3rem; border-radius: var(--radius-md); }
  .footer-title { font-size: 1.1rem; margin-bottom: 1.2rem; }
  .footer-links a { font-size: .85rem; padding: .5rem .6rem; }
  .footer-links-bottom { flex-direction: column; align-items: center; gap: .8rem; padding: 1rem 0; }
  .footer-links-bottom a { font-size: .8rem; }
  .footer-bottom p { font-size: .8rem; }
  .cube:nth-child(n+5) { display: none; }
}