﻿:root {
      --bg-1: #070510;
      --bg-2: #0f0a1f;
      --bg-3: #140d29;
      --surface: rgba(12, 11, 24, 0.7);
      --surface-strong: rgba(15, 14, 28, 0.9);
      --line: rgba(255, 255, 255, 0.1);
      --text: #f8f7ff;
      --muted: #b9b3d9;
      --accent: #ff6b2c;
      --accent-2: #00e5ff;
      --accent-3: #ff2fb3;
      --accent-4: #9cff2e;
      --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
      --radius-xl: 34px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --container: min(1240px, calc(100% - 28px));
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: "Cairo", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 10% 10%, rgba(255, 107, 44, 0.15), transparent 20%),
        radial-gradient(circle at 84% 18%, rgba(0, 229, 255, 0.15), transparent 24%),
        radial-gradient(circle at 50% 110%, rgba(255, 47, 179, 0.12), transparent 24%),
        linear-gradient(135deg, var(--bg-1), var(--bg-2) 52%, var(--bg-3));
      overflow-x: hidden;
    }

    body::before,
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    body::before {
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
      background-size: 52px 52px;
      mask-image: radial-gradient(circle at center, black 28%, transparent 88%);
      opacity: 0.45;
    }

    body::after {
      background:
        radial-gradient(circle at 14% 30%, rgba(255, 107, 44, 0.08), transparent 24%),
        radial-gradient(circle at 84% 58%, rgba(0, 229, 255, 0.08), transparent 22%),
        radial-gradient(circle at 44% 72%, rgba(255, 47, 179, 0.08), transparent 18%);
      mix-blend-mode: screen;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    textarea {
      font: inherit;
    }

    .container {
      width: var(--container);
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .energy-canvas,
    .cursor-glow,
    .scroll-progress,
    .ambient-orb {
      position: fixed;
      z-index: 0;
      pointer-events: none;
    }

    .energy-canvas {
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0.9;
      filter: saturate(1.2) blur(0.2px);
    }

    .cursor-glow {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: opacity 0.25s ease;
    }

    .scroll-progress {
      top: 0;
      right: 0;
      left: 0;
      height: 4px;
      background: rgba(255, 255, 255, 0.08);
      z-index: 5;
    }

    .scroll-progress span {
      display: block;
      width: 0;
      height: 100%;
      background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
      box-shadow: 0 0 18px rgba(255, 107, 44, 0.5);
    }

    .ambient-orb {
      border-radius: 50%;
      filter: blur(55px);
      opacity: 0.45;
      animation: orbDrift 14s ease-in-out infinite;
    }

    .orb-a {
      width: 260px;
      height: 260px;
      top: 8%;
      left: -70px;
      background: rgba(255, 107, 44, 0.55);
    }

    .orb-b {
      width: 320px;
      height: 320px;
      top: 22%;
      right: -120px;
      background: rgba(0, 229, 255, 0.35);
      animation-delay: -4s;
    }

    .orb-c {
      width: 240px;
      height: 240px;
      bottom: 8%;
      left: 34%;
      background: rgba(255, 47, 179, 0.28);
      animation-delay: -8s;
    }

    .site-shell {
      position: relative;
      z-index: 1;
    }

    .topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
      padding: 18px 22px;
      margin-top: 20px;
      border-radius: 24px;
      background: rgba(10, 9, 20, 0.62);
      backdrop-filter: blur(18px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: var(--shadow);
      position: sticky;
      top: 16px;
      z-index: 4;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 16px;
      font-weight: 900;
    }

    .brand-mark {
      width: 58px;
      height: 58px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      font-family: "Changa", sans-serif;
      font-size: 1.2rem;
      background:
        linear-gradient(145deg, rgba(255, 107, 44, 0.95), rgba(255, 47, 179, 0.85));
      box-shadow: 0 18px 40px rgba(255, 47, 179, 0.2);
    }

    .brand-copy strong {
      display: block;
      font-size: 1.08rem;
    }

    .brand-copy small {
      color: var(--muted);
    }

    .nav-links {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .nav-links a,
    .nav-cta,
    .hero-actions a,
    .project-link,
    .contact-card a {
      transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    }

    .nav-links a {
      padding: 10px 14px;
      border-radius: 999px;
      color: var(--muted);
      border: 1px solid transparent;
    }

    .nav-links a.active,
    .nav-links a:hover {
      color: var(--text);
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.1);
    }

    .nav-cta,
    .hero-actions a,
    .form-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 22px;
      border-radius: 16px;
      border: 1px solid transparent;
      font-weight: 800;
      cursor: pointer;
      text-align: center;
    }

    .nav-cta,
    .hero-actions .primary,
    .form-button {
      background: linear-gradient(135deg, var(--accent), #ffb000, var(--accent-3));
      color: #160915;
      box-shadow: 0 22px 40px rgba(255, 107, 44, 0.28);
    }

    .hero-actions .secondary {
      background: rgba(255, 255, 255, 0.06);
      color: var(--text);
      border-color: rgba(255, 255, 255, 0.12);
    }

    .hero {
      padding: 26px 0 32px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.08fr 0.92fr;
      gap: 28px;
      align-items: center;
      min-height: calc(100vh - 150px);
      padding: 44px 0 26px;
    }

    .eyebrow,
    .section-kicker,
    .tag,
    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.06);
      color: #ffe5d0;
      backdrop-filter: blur(14px);
    }

    .eyebrow::before,
    .section-kicker::before,
    .status-badge::before {
      content: "";
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      box-shadow: 0 0 16px rgba(255, 107, 44, 0.6);
    }

    .hero-copy h1,
    .section-title,
    .contact-copy h2 {
      margin: 16px 0 14px;
      font-family: "Changa", sans-serif;
      line-height: 1.12;
    }

    .hero-copy h1 {
      font-size: clamp(2.7rem, 7vw, 5.7rem);
      font-weight: 500;
    }

    .hero-copy h1 span {
      color: #fff2db;
      text-shadow:
        0 0 18px rgba(255, 107, 44, 0.35),
        0 0 35px rgba(0, 229, 255, 0.2);
    }

    .hero-copy p,
    .section-copy,
    .card p,
    .timeline-card p,
    .project-card p,
    .testimonial-card p,
    .contact-card p,
    .contact-copy p,
    .form-note {
      color: var(--muted);
      line-height: 1.9;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 28px;
    }

    .roles-strip {
      margin-top: 18px;
      min-height: 34px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: #fff0dc;
      font-weight: 800;
    }

    .roles-strip strong {
      color: var(--accent-2);
      min-width: 190px;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 28px;
    }

    .panel,
    .card,
    .project-card,
    .timeline-card,
    .skill-card,
    .testimonial-card,
    .contact-card,
    .contact-form,
    .contact-copy {
      position: relative;
      overflow: hidden;
      background: var(--surface);
      border: 1px solid rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(18px);
      box-shadow: var(--shadow);
    }

    .panel::before,
    .card::before,
    .project-card::before,
    .timeline-card::before,
    .skill-card::before,
    .testimonial-card::before,
    .contact-card::before,
    .contact-form::before,
    .contact-copy::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 36%, transparent 62%, rgba(255, 255, 255, 0.04));
      pointer-events: none;
    }

    .stat-box {
      padding: 20px 16px;
      border-radius: 22px;
      text-align: center;
    }

    .stat-box strong {
      display: block;
      font-size: clamp(1.6rem, 4vw, 2.8rem);
      color: #fff2db;
    }

    .stat-box span {
      color: var(--muted);
      font-size: 0.95rem;
    }

    .hero-visual {
      display: grid;
      gap: 18px;
      order: -1;
    }

    .profile-panel {
      border-radius: var(--radius-xl);
      padding: 26px;
    }

    .profile-stage {
      position: relative;
      min-height: 520px;
      display: grid;
      place-items: center;
    }

    .orbit-ring {
      position: absolute;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.1);
      animation: spin 16s linear infinite;
    }

    .orbit-ring.one {
      width: 420px;
      height: 420px;
      border-style: dashed;
    }

    .orbit-ring.two {
      width: 320px;
      height: 320px;
      animation-direction: reverse;
      animation-duration: 12s;
    }

    .orbit-ring.three {
      width: 500px;
      height: 500px;
      border-style: dotted;
      animation-duration: 22s;
    }

    .profile-frame {
      position: relative;
      width: min(360px, 100%);
      aspect-ratio: 0.92;
      border-radius: 38px;
      overflow: hidden;
      background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.16), transparent 22%),
        linear-gradient(145deg, rgba(255, 107, 44, 0.18), rgba(255, 47, 179, 0.16) 54%, rgba(0, 229, 255, 0.18));
      border: 1px solid rgba(255, 255, 255, 0.14);
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 30px 80px rgba(0, 0, 0, 0.36),
        0 0 55px rgba(255, 107, 44, 0.16);
      display: grid;
      place-items: center;
      isolation: isolate;
    }

    .profile-frame::after {
      content: "";
      position: absolute;
      inset: -20%;
      background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.12), transparent 34%, transparent 58%, rgba(0, 229, 255, 0.12), transparent);
      animation: spin 10s linear infinite;
      z-index: -1;
    }

    .profile-image {
      width: calc(100% - 26px);
      height: calc(100% - 26px);
      border-radius: 30px;
      object-fit: cover;
      display: none;
    }

    .profile-frame.has-image .profile-image {
      display: block;
    }

    .profile-frame.has-image .profile-placeholder {
      display: none;
    }

    .profile-placeholder {
      width: calc(100% - 26px);
      height: calc(100% - 26px);
      border-radius: 30px;
      display: grid;
      place-items: center;
      text-align: center;
      padding: 24px;
      background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(8, 8, 18, 0.9), rgba(18, 12, 30, 0.92));
      border: 1px dashed rgba(255, 255, 255, 0.18);
    }

    .profile-placeholder strong {
      display: block;
      font-family: "Changa", sans-serif;
      font-size: 1.9rem;
      margin-bottom: 6px;
    }

    .upload-chip {
      position: absolute;
      bottom: 22px;
      left: 22px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      cursor: pointer;
      backdrop-filter: blur(14px);
      z-index: 2;
    }

    .upload-chip input {
      display: none;
    }

    .status-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .status-card {
      padding: 20px;
      border-radius: 24px;
    }

    .status-card h3,
    .card h3,
    .project-card h3,
    .timeline-card h3,
    .skill-card h3,
    .testimonial-card h3,
    .contact-card h3 {
      margin: 0 0 8px;
      font-size: 1.08rem;
    }

    .section {
      padding: 34px 0;
      position: relative;
      z-index: 1;
    }

    .section-head {
      max-width: 760px;
      margin-bottom: 24px;
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .cards-grid,
    .learn-grid,
    .projects-grid,
    .services-grid,
    .testimonials-grid,
    .contact-grid {
      display: grid;
      gap: 18px;
    }

    .cards-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .learn-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .projects-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .services-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .testimonials-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .card,
    .project-card,
    .timeline-card,
    .skill-card,
    .testimonial-card,
    .contact-card {
      padding: 24px;
      border-radius: var(--radius-lg);
    }

    .card-icon,
    .learn-index,
    .service-mark {
      width: 60px;
      height: 60px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      font-weight: 900;
      font-size: 1.1rem;
      background:
        linear-gradient(145deg, rgba(255, 107, 44, 0.24), rgba(0, 229, 255, 0.18));
      border: 1px solid rgba(255, 255, 255, 0.12);
      margin-bottom: 18px;
      color: #fff2db;
      box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.04);
    }

    .service-card {
      cursor: pointer;
      transition: transform 0.22s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    }

    .service-card .service-mark {
      cursor: pointer;
      padding: 0;
      appearance: none;
      -webkit-appearance: none;
      outline: none;
    }

    .service-card.active {
      border-color: rgba(0, 229, 255, 0.42);
      background:
        linear-gradient(145deg, rgba(0, 229, 255, 0.12), rgba(255, 47, 179, 0.08)),
        var(--surface);
      box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 229, 255, 0.14),
        0 0 34px rgba(0, 229, 255, 0.16);
    }

    .service-card.active .service-mark {
      background:
        linear-gradient(145deg, rgba(0, 229, 255, 0.34), rgba(255, 47, 179, 0.22));
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.06),
        0 0 24px rgba(0, 229, 255, 0.18);
      transform: scale(1.04);
    }

    .service-card:hover,
    .service-card:focus-within {
      border-color: rgba(255, 255, 255, 0.18);
    }

    .learn-card {
      position: relative;
      min-height: 250px;
      padding-top: 82px;
    }

    .learn-card .learn-index {
      position: absolute;
      top: 22px;
      right: 22px;
    }

    .chip-row,
    .stack-list,
    .tool-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .tag,
    .stack-list span,
    .tool-cloud span {
      color: #fce8ff;
      border-color: rgba(255, 255, 255, 0.1);
    }

    .skills-layout {
      display: grid;
      grid-template-columns: 0.94fr 1.06fr;
      gap: 18px;
      align-items: start;
    }

    .skill-bars {
      display: grid;
      gap: 16px;
    }

    .skill-row {
      display: grid;
      gap: 10px;
    }

    .skill-head {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      font-weight: 700;
    }

    .skill-track {
      height: 14px;
      border-radius: 999px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.08);
      position: relative;
    }

    .skill-fill {
      width: 0;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
      box-shadow: 0 0 22px rgba(255, 107, 44, 0.32);
      position: relative;
      transition: width 1.3s cubic-bezier(.2,.8,.2,1);
    }

    .skill-fill::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.42) 50%, transparent 82%);
      transform: translateX(-100%);
      animation: shine 3.4s linear infinite;
    }

    .tool-cloud {
      margin-top: 18px;
    }

    .tool-cloud span {
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      animation: floatSoft 5s ease-in-out infinite;
    }

    .tool-cloud span:nth-child(2n) {
      animation-delay: -1s;
    }

    .tool-cloud span:nth-child(3n) {
      animation-delay: -2s;
    }

    .projects-grid .project-card {
      min-height: 280px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .project-card .project-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .project-badge {
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      color: #ffe7d6;
      font-size: 0.9rem;
    }

    .project-link {
      margin-top: auto;
      width: fit-content;
      padding: 12px 16px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .timeline-wrap {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }

    .timeline-card {
      min-height: 220px;
    }

    .timeline-year {
      display: inline-flex;
      padding: 10px 14px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(255, 107, 44, 0.25), rgba(0, 229, 255, 0.16));
      color: #fff4e2;
      margin-bottom: 14px;
    }

    .marquee {
      margin-top: 24px;
      overflow: hidden;
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.05);
    }

    .marquee-track {
      display: flex;
      gap: 18px;
      width: max-content;
      padding: 14px 18px;
      animation: marquee 20s linear infinite;
    }

    .marquee-track span {
      padding: 10px 16px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      color: #ffe7da;
      white-space: nowrap;
    }

    .contact-grid {
      grid-template-columns: 0.86fr 1.14fr;
    }

    .contact-copy,
    .contact-form {
      border-radius: var(--radius-xl);
      padding: 28px;
    }

    .contact-cards {
      display: grid;
      gap: 14px;
      margin-top: 18px;
    }

    .contact-card a {
      color: #fff2db;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .form-grid label,
    .contact-form .full {
      display: grid;
      gap: 8px;
    }

    .contact-form span {
      font-weight: 700;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.05);
      color: var(--text);
      outline: none;
      transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      transform: translateY(-2px);
      border-color: rgba(255, 107, 44, 0.7);
      box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.12);
    }

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

    .form-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 18px;
    }

    .form-note {
      min-height: 28px;
      font-weight: 700;
      color: #ffe7d0;
    }

    .site-footer {
      padding: 16px 0 40px;
      position: relative;
      z-index: 1;
    }

    .footer-box {
      padding: 24px;
      border-radius: 26px;
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: center;
      background: var(--surface-strong);
      border: 1px solid var(--line);
      backdrop-filter: blur(18px);
    }

    .footer-box p {
      margin: 0;
      color: var(--muted);
    }

    .reveal {
      opacity: 0;
      transform: translateY(26px) scale(0.98);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .tilt-card {
      transform-style: preserve-3d;
      transition: transform 0.22s ease;
    }

    .magnetic {
      position: relative;
    }

    .click-spark {
      position: fixed;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      box-shadow: 0 0 12px rgba(255, 107, 44, 0.55);
      pointer-events: none;
      z-index: 3;
      animation: spark 0.8s ease-out forwards;
    }

    @keyframes orbDrift {
      0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
      }
      50% {
        transform: translate3d(24px, -28px, 0) scale(1.08);
      }
    }

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

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    @keyframes shine {
      to {
        transform: translateX(100%);
      }
    }

    @keyframes marquee {
      to {
        transform: translateX(-50%);
      }
    }

    @keyframes spark {
      to {
        transform: translate(var(--spark-x), var(--spark-y)) scale(0);
        opacity: 0;
      }
    }

    @media (max-width: 1120px) {
      .hero-grid,
      .skills-layout,
      .contact-grid,
      .cards-grid,
      .learn-grid,
      .projects-grid,
      .services-grid,
      .testimonials-grid,
      .timeline-wrap {
        grid-template-columns: 1fr 1fr;
      }

      .hero-grid,
      .skills-layout,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .profile-stage {
        min-height: 460px;
      }
    }

    @media (max-width: 760px) {
      .topbar,
      .footer-box {
        flex-direction: column;
        align-items: flex-start;
      }

      .nav-links,
      .hero-actions,
      .hero-stats,
      .status-grid,
      .cards-grid,
      .learn-grid,
      .projects-grid,
      .services-grid,
      .testimonials-grid,
      .timeline-wrap,
      .form-grid {
        grid-template-columns: 1fr;
      }

      .hero-grid {
        min-height: auto;
        padding-top: 28px;
      }

      .hero-copy h1 {
        font-size: clamp(2.2rem, 12vw, 3.6rem);
      }

      .profile-stage {
        min-height: 360px;
      }

      .orbit-ring.one {
        width: 320px;
        height: 320px;
      }

      .orbit-ring.two {
        width: 250px;
        height: 250px;
      }

      .orbit-ring.three {
        width: 380px;
        height: 380px;
      }

      .orb-b {
        opacity: 0.18;
        right: -180px;
      }

      .cursor-glow {
        display: none;
      }

      .upload-chip {
        left: 12px;
        bottom: 12px;
        padding: 10px 12px;
        font-size: 0.88rem;
        max-width: calc(100% - 24px);
      }

      .contact-copy,
      .contact-form,
      .card,
      .project-card,
      .timeline-card,
      .skill-card,
      .testimonial-card,
      .contact-card,
      .profile-panel {
        padding: 20px;
      }
    }
