* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html,
  body {
    height: auto;
    min-height: 100%;
  }
  
  body {
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    /* Fallback colour only — background image lives on ::after */
    background-color: #040814;
    overflow-x: hidden;
  }
  
  /* =====================
     BACKGROUND IMAGE — fixed pseudo-element
     Using ::after instead of body background-image
     fixes the iOS Safari / mobile scroll bug where
     background-attachment:fixed is not supported and
     background-attachment:scroll only paints once at
     the top of the page leaving solid colour below.
     A position:fixed pseudo-element always fills the
     viewport, scrolls with the page visually, and
     works on every browser including iOS Safari.
  ===================== */
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: url("assets/images/hero-bg.png");
    background-repeat: no-repeat;
    background-color: #040814;
    /* Desktop: centred split — red left / blue right */
    background-position: center center;
    background-size: cover;
    pointer-events: none;
  }
  
  /* very light contrast control only */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(3, 6, 18, 0.18) 0%,
      rgba(3, 6, 18, 0.06) 42%,
      rgba(3, 6, 18, 0.02) 100%
    );
    pointer-events: none;
    z-index: -1;
  }
  
  /* =====================
     NAVBAR
     Fixed top, 90px tall.
     Every section gets padding-top to clear it.
  ===================== */
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 60px;
    z-index: 100;
  }
  
  .brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: -40px;
    margin-top: 8.5px;
  }
  
  .brand img {
    display: block;
    width: 210px;
    height: auto;
  }
  
  .nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 8px;
  }
  
  .nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.95;
    transition: all 0.2s ease;
    cursor: pointer;
  }
  
  .nav a:hover {
    color: #ffd76a;
    text-shadow: 0 2px 6px rgba(255, 200, 120, 0.35);
    transform: translateY(-1px);
  }
  
  .nav a.active {
    color: #ffd76a;
    text-shadow: 0 2px 6px rgba(255, 200, 120, 0.35);
  }
  
  .resume-link {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
  }
  
  .nav a,
  .cta-btn {
    cursor: pointer;
  }
  
  /* =====================
     HERO SECTION
     min-height: 100svh fills the first screen.
     height: auto so it can grow if needed.
     padding-top: 90px clears the fixed navbar.
  ===================== */
  .hero-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    min-height: 100svh;
    height: auto;
    padding-top: 90px;
    padding-bottom: 60px;
    overflow: visible;
  }
  
  .hero-copy {
    position: absolute;
    left: 70px;
    top: 280px;
    width: 500px;
  }
  
  .hero-copy h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
  }
  
  .hero-copy p {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.04em;
    -webkit-text-stroke: 0;
  }
  
  .cta-btn {
    display: inline-block;
    margin-top: 36px;
    padding: 18px 32px;
    min-width: 250px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 14px;
    border: 1px solid rgba(120, 160, 255, 0.35);
    background: linear-gradient(
        135deg,
        #050f24 0%,
        #142a5c 35%,
        #1e40af 60%,
        #0a1f4d 100%
      ),
      radial-gradient(
        circle at 30% 30%,
        rgba(120, 160, 255, 0.18),
        transparent 60%
      );
    background-blend-mode: overlay;
    box-shadow: 0 12px 35px rgba(10, 30, 80, 0.7),
      0 0 20px rgba(255, 200, 120, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
    outline: 1px solid rgba(120, 160, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
  }
  
  .cta-btn:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 14px 38px rgba(10, 30, 80, 0.75),
      0 0 25px rgba(80, 140, 255, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
  
  .cta-btn:hover::before {
    left: 100%;
  }
  
  /* =====================
     ABOUT SECTION
     Full-width section wrapper — no max-width here.
     Inner content centred with max-width container.
     Auto height: grows with content, no fixed height.
     padding-top: 90px (navbar) + 50px extra = 140px.
  ===================== */
  .about-section {
    position: relative;
    z-index: 1;
    width: 100%;
    /* min-height: 100svh — about section owns its full viewport screen */
    min-height: 100svh;
    /* padding-top: 90px clears fixed navbar, centred vertically by flex */
    padding: 90px 24px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    height: auto;
  }
  
  /* Glass card — max-width constrains inner content */
  .about-card {
    width: 100%;
    max-width: 740px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 40px 44px;
    border-radius: 20px;
    background: rgba(8, 14, 36, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(180, 220, 255, 0.3);
    border-right: 1px solid rgba(140, 180, 240, 0.12);
    border-bottom: 1px solid rgba(100, 140, 220, 0.08);
    border-left: 1px solid rgba(160, 210, 255, 0.18);
    box-shadow:
      -4px -4px 25px rgba(100, 160, 255, 0.08),
      4px -6px 30px rgba(100, 160, 255, 0.08),
      0 0 40px rgba(80, 130, 255, 0.1),
      0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
  }
  
  /* top-right ambient bloom */
  .about-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(100, 160, 255, 0.07) 0%,
      transparent 65%
    );
    pointer-events: none;
  }
  
  /* top highlight line */
  .about-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(140, 200, 255, 0.15) 20%,
      rgba(180, 220, 255, 0.55) 65%,
      rgba(200, 230, 255, 0.35) 100%
    );
    pointer-events: none;
  }
  
  .about-text {
    max-width: 340px;
    position: relative;
    z-index: 1;
    flex: 1;
  }
  
  .about-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
  }
  
  .about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
  }
  
  .about-btn {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(135deg, #1e40af, #0a1f4d);
    border: 1px solid rgba(120, 160, 255, 0.3);
    box-shadow: 0 8px 25px rgba(80, 140, 255, 0.35);
    transition: all 0.25s ease;
  }
  
  .about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(80, 140, 255, 0.5);
  }
  
  /* Profile image box */
  .about-image {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    border-radius: 18px;
    padding: 6px;
    align-self: center;
    margin-top: 8px;
    background: rgba(8, 14, 36, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(180, 220, 255, 0.35);
    border-right: 1px solid rgba(160, 200, 255, 0.2);
    border-bottom: 1px solid rgba(100, 140, 220, 0.08);
    border-left: 1px solid rgba(100, 140, 220, 0.08);
    box-shadow:
      6px -6px 25px rgba(100, 160, 255, 0.12),
      0 0 30px rgba(80, 130, 255, 0.1),
      0 12px 30px rgba(0, 0, 0, 0.3);
  }
  
  .about-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(140, 200, 255, 0.15) 20%,
      rgba(180, 220, 255, 0.55) 65%,
      rgba(200, 230, 255, 0.35) 100%
    );
    pointer-events: none;
  }
  
  .about-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
  }
  
  /* =====================
     CONTACT SECTION
     Full-width section wrapper — no max-width here.
     Inner card centred with max-width.
     Auto height, no fixed or min-height.
     padding-top: 90px navbar + 50px = 140px.
  ===================== */
  .contact-section {
    position: relative;
    z-index: 1;
    width: 100%;
    /* Contact + footer planets share one viewport together.
       padding-top: 90px clears fixed navbar.
       No min-height — footer planets below push it naturally. */
    padding: 90px 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: auto;
  }
  
  .contact-card {
    width: 100%;
    max-width: 480px;
    padding: 32px;
    border-radius: 18px;
    background: rgba(8, 16, 40, 0.52);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(140, 180, 255, 0.2);
    box-shadow:
      0 0 40px rgba(80, 130, 255, 0.15),
      inset 0 0 25px rgba(255, 255, 255, 0.03),
      0 4px 30px rgba(0, 0, 0, 0.25);
  }
  
  .contact-heading {
    text-align: center;
    margin-bottom: 24px;
  }
  
  .contact-heading h2 {
    font-size: 34px;
    margin-bottom: 10px;
    line-height: 1.1;
  }
  
  .contact-heading p {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    max-width: 450px;
    margin: 0 auto;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  
   .contact-form input,
   .contact-form select,
   .contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(140, 180, 255, 0.18);
    background: rgba(12, 20, 45, 0.45);
    color: white;
    font-size: 15px;
    outline: none;
  }
  
  .contact-form select {
  font: inherit;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
 }
 
 .contact-form select:valid {
  color: white;
 }
  
  
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color: rgba(90, 170, 255, 0.65);
    box-shadow: 0 0 14px rgba(90, 170, 255, 0.18);
  }
  
  .contact-form textarea {
    min-height: 100px;
    resize: vertical;
  }
  
  .contact-btn {
    width: 200px;
    align-self: center;
    margin-top: 8px;
    padding: 14px 28px;
    border: 1px solid rgba(120, 160, 255, 0.35);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: linear-gradient(
      135deg,
      #050f24 0%,
      #142a5c 35%,
      #1e40af 60%,
      #0a1f4d 100%
    );
    cursor: pointer;
    outline: 1px solid rgba(120, 160, 255, 0.2);
    transition: 0.25s ease;
  }
  
  .contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 30, 80, 0.7),
      0 0 20px rgba(80, 140, 255, 0.25);
  }
  
  /* =====================
     FOOTER — PLANETS
     Natural document flow after contact.
     Auto height, no fixed or min-height.
  ===================== */
  .footer-planets {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 56px 20px 64px;
    width: 100%;
    height: auto;
  }
  
  .planet {
    position: relative;
    width: clamp(50px, 7vw, 75px);
    height: clamp(50px, 7vw, 75px);
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      0 0 15px rgba(214, 41, 118, 0.15),
      0 0 30px rgba(214, 41, 118, 0.08),
      inset 0 0 15px rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
  }
  
  .planet::after {
    content: "";
    position: absolute;
    top: 12%;
    left: 18%;
    width: 45%;
    height: 30%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    filter: blur(10px);
    pointer-events: none;
  }
  
  .planet-inner {
    position: absolute;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    background: radial-gradient(
      circle at 30% 30%,
      #feda75,
      #fa7e1e,
      #d62976,
      #962fbf,
      #4f5bd5
    );
    filter: blur(4px);
    opacity: 0.9;
    pointer-events: none;
  }
  
  .planet-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
  }
  
  .planet:hover {
    transform: translateY(-20px);
    box-shadow:
      0 0 40px rgba(214, 41, 118, 0.4),
      0 0 80px rgba(214, 41, 118, 0.2);
  }
  
  .planet.github img {
    width: 115%;
    height: 115%;
  }
  
  .planet.github {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(140, 170, 255, 0.25);
    box-shadow:
      0 0 25px rgba(120, 160, 255, 0.25),
      0 0 50px rgba(120, 160, 255, 0.12),
      inset 0 0 20px rgba(0, 0, 0, 0.6);
  }
  
  .planet.github .planet-inner {
    display: none;
  }
  
  .planet.github:hover {
    transform: translateY(-20px);
    box-shadow:
      0 0 40px rgba(120, 160, 255, 0.4),
      0 0 80px rgba(120, 160, 255, 0.2);
  }
  
  .planet.x {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      0 0 30px rgba(255, 255, 255, 0.12),
      0 0 60px rgba(0, 0, 0, 0.7);
  }
  
  .planet.x img {
    width: 120%;
    height: 120%;
  }
  
  .planet.x .planet-inner {
    display: none;
  }
  
  .planet.x:hover {
    transform: translateY(-20px);
    box-shadow:
      0 0 25px rgba(255, 255, 255, 0.15),
      0 0 60px rgba(0, 0, 0, 0.6);
  }
  
  .planet.linkedin {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  
  .planet.linkedin img {
    width: 115%;
    height: 115%;
    filter: brightness(0.9);
  }
  
  .planet.linkedin .planet-inner {
    display: none;
  }
  
  .planet.linkedin:hover {
    transform: translateY(-20px);
    box-shadow:
      0 0 40px rgba(0, 180, 255, 0.4),
      0 0 80px rgba(0, 120, 255, 0.2);
  }
  
  /* =====================
     TABLET — 1100px
     Background: zoom out slightly, nudge right
     so the energy burst stays visible as
     the viewport narrows.
  ===================== */
  @media (max-width: 1100px) {
    body::after {
      background-position: 60% center;
      background-size: cover;
    }
  
    .hero-shell {
      max-width: 100%;
      padding-left: 40px;
      padding-right: 40px;
    }
  
    .brand img {
      width: 180px;
    }
  
    .nav {
      gap: 24px;
    }
  
    .hero-copy {
      left: 48px;
      top: 240px;
      width: 460px;
    }
  
    .hero-copy h1 {
      font-size: 54px;
    }
  }
  
  /* =====================
     TABLET — 768px
     Background: centre the focal energy burst,
     zoom slightly so neither edge crops badly.
     About section: stack card vertically.
  ===================== */
  @media (max-width: 768px) {
    /* Background fix: keep energy centre visible.
       body::after is already position:fixed so no
       attachment property needed — it always covers
       the full viewport on all screen sizes. */
    body::after {
      background-position: 45% center;
      background-size: 160%;
    }
  
    .topbar {
      padding: 16px 28px;
      height: 90px;
    }
  
    .brand {
      margin-left: 0;
    }
  
    .brand img {
      width: 160px;
    }
  
    .nav {
      gap: 16px;
      margin-top: 0;
    }
  
    .nav a {
      font-size: 15px;
    }
  
    .hero-shell {
      max-width: 100%;
      padding-left: 24px;
      padding-right: 24px;
      padding-top: 90px;
      padding-bottom: 60px;
    }
  
    .hero-copy {
      position: static;
      width: 100%;
      max-width: 480px;
      margin: 0 auto;
      text-align: center;
      padding-top: 80px;
    }
  
    .hero-copy h1 {
      font-size: 42px;
      line-height: 1.1;
    }
  
    .hero-copy p {
      font-size: 16px;
    }
  
    .cta-btn {
      width: 100%;
      min-width: auto;
      margin-top: 24px;
    }
  
    /* About section — keeps full viewport at tablet */
    .about-section {
      min-height: 100svh;
      padding: 90px 20px 40px;
    }
  
    .about-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 36px 28px;
      gap: 28px;
    }
  
    .about-text {
      max-width: 100%;
    }
  
    .about-text h2 {
      font-size: 30px;
    }
  
    .about-text p {
      font-size: 15px;
    }
  
    .about-image img {
      width: 200px;
      height: 200px;
    }
  
    /* Contact section — shares viewport with footer at tablet */
    .contact-section {
      padding: 90px 20px 30px;
    }
  
    .contact-card {
      padding: 24px 20px;
    }
  
    .contact-heading h2 {
      font-size: 28px;
    }
  
    .contact-heading p {
      font-size: 14px;
    }
  
    .footer-planets {
      gap: 28px;
      padding: 48px 20px 48px;
    }
  }
  
  /* =====================
     MOBILE — 600px
     Background: scroll mode, zoom in on the
     centre burst so the red/blue energy stays
     the visual anchor on narrow screens.
  ===================== */
  @media (max-width: 600px) {
    /* Background fix: position::fixed pseudo-element
       means no attachment issues on iOS Safari.
       Zoom into the energy burst centre for mobile. */
    body::after {
      background-position: center top;
      background-size: cover;
      background-repeat: no-repeat;;
    }
  
    /* Navbar becomes in-flow on mobile */
    .topbar {
      position: relative;
      flex-direction: column;
      align-items: center;
      height: auto;
      padding: 14px 20px 10px;
      gap: 10px;
    }
  
    .brand {
      margin: 0;
    }
  
    .brand img {
      width: 125px;
    }
  
    .nav {
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-top: 0;
    }
  
    .nav a {
      font-size: 13px;
    }
  
    /* Hero: navbar is in-flow so no extra top offset needed */
    .hero-shell {
      min-height: 48svh;
      padding-top: 20px;
      padding-left: 0;
      padding-right: 0;
      padding-bottom: 40px;
      overflow: visible;
    }
  
    .hero-copy {
      position: static;
      width: 100%;
      max-width: 100%;
      text-align: center;
      padding: 60px 24px 60px;
    }
  
    .hero-copy h1 {
      font-size: 30px;
      line-height: 1.2;
    }
  
    .hero-copy p {
      font-size: 14px;
      margin-top: 20px;
    }
  
    .cta-btn {
      width: 78%;
      max-width: 320px;
      min-width: 0;
      margin-top: 24px;
      margin-left: auto;
      margin-right: auto;
      font-size: 16px;
      padding: 16px 24px;
    }
  
    /* About section — full viewport on mobile, navbar is in-flow */
    .about-section {
      min-height: auto;
      padding: 40px 16px 40px;
    }
  
    .about-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 24px 16px;
      gap: 24px;
    }
  
    .about-text {
      max-width: 100%;
    }
  
    .about-text h2 {
      font-size: 26px;
    }
  
    .about-text p {
      font-size: 14px;
    }
  
    .about-image img {
      width: 160px;
      height: 160px;
    }
  
    /* Contact section — shares viewport with footer on mobile */
    .contact-section {
      padding: 40px 16px 20px;
    }
  
    .contact-card {
      padding: 20px 16px;
    }
  
    .contact-heading h2 {
      font-size: 28px;
    }
  
    .contact-heading p {
      font-size: 14px;
    }
  
    .contact-form input,
    .contact-form textarea {
      padding: 12px 14px;
      font-size: 14px;
    }
  
    .contact-btn {
      width: 100%;
      padding: 14px 20px;
    }
  
    .footer-planets {
      gap: 20px;
      padding: 40px 16px 40px;
    }
  
    .planet {
      width: 52px;
      height: 52px;
    }
  }

/* =====================
   PROJECTS SECTION
===================== */
.projects-section {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  padding: 100px 6% 60px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
  height: auto;
}

.projects-card {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 18px;
  background: rgba(5, 10, 25, 0.7);
  border: 1px solid rgba(100, 160, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow:
    0 0 25px rgba(80, 130, 255, 0.12),
    inset 0 0 30px rgba(50, 100, 180, 0.04);
}

.projects-card h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
  text-shadow: 0 0 12px rgba(80, 150, 255, 0.25);
}

.project-runway {
  display: flex;
  flex-direction: column;
  gap: 20px;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.project-card {
  position: relative;
  padding: 24px 28px;
  min-height: 140px;
  border-radius: 12px;

  background: linear-gradient(
    135deg,
    rgba(12, 18, 35, 0.92),
    rgba(8, 14, 28, 0.88)
  );

  border: 1px solid rgba(60, 140, 255, 0.3);
  box-shadow:
    0 0 12px rgba(0, 150, 255, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.1);

  -webkit-transform: rotateX(8deg);
  -moz-transform: rotateX(8deg);
  -ms-transform: rotateX(8deg);
  transform: rotateX(8deg);

  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;

  -webkit-transition: all 0.35s ease-out;
  -moz-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;

  will-change: transform;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 180, 255, 0.7) 0%,
    rgba(255, 100, 200, 0.5) 100%
  );
  border-radius: 12px 12px 0 0;
  opacity: 0.8;
  transition: all 0.35s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 100, 200, 0.5) 0%,
    rgba(0, 180, 255, 0.7) 100%
  );
  border-radius: 0 0 12px 12px;
  opacity: 0.6;
  transition: all 0.35s ease;
}

.project-card:hover {
  -webkit-transform: rotateX(2deg) translateY(-8px) scale(1.008);
  -moz-transform: rotateX(2deg) translateY(-8px) scale(1.008);
  -ms-transform: rotateX(2deg) translateY(-8px) scale(1.008);
  transform: rotateX(2deg) translateY(-8px) scale(1.008);

  border-color: rgba(80, 180, 255, 0.5);
  box-shadow:
    0 0 20px rgba(0, 180, 255, 0.3),
    0 0 32px rgba(255, 100, 200, 0.15),
    0 6px 16px rgba(0, 0, 0, 0.35),
    0 12px 24px rgba(0, 0, 0, 0.15);
}

.project-card:hover::before {
  opacity: 1;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(0, 200, 255, 0.9) 0%,
    rgba(255, 120, 220, 0.7) 100%
  );
}

.project-card:hover::after {
  opacity: 0.8;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 120, 220, 0.7) 0%,
    rgba(0, 200, 255, 0.9) 100%
  );
}

.project-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.project-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #6ec6ff;
  min-width: 45px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 180, 255, 0.4);
}

.project-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.008em;
  line-height: 1.25;
  flex: 1;
}

.project-description {
  max-width: 720px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  font-size: 0.9rem;
  transition: all 0.35s ease;
}

.project-card:hover .project-description {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.55;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.project-tech span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 14px;
  color: #cce4ff;
  background: rgba(0, 120, 220, 0.18);
  border: 1px solid rgba(0, 160, 255, 0.25);
  letter-spacing: 0.015em;
}

.project-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 8px 16px;
  border-radius: 9px;
  min-width: 95px;

  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;

  background: rgba(0, 80, 180, 0.35);
  border: 1px solid rgba(0, 140, 255, 0.4);
  box-shadow: 0 0 8px rgba(0, 100, 200, 0.15);

  transition: all 0.25s ease;
}

.project-btn:hover {
  background: rgba(0, 120, 255, 0.55);
  border-color: rgba(0, 180, 255, 0.6);
  box-shadow: 0 0 14px rgba(0, 140, 255, 0.35);
  transform: translateY(-2px);
}

.project-btn.secondary {
  background: rgba(0, 60, 100, 0.25);
  border: 1px solid rgba(0, 120, 200, 0.3);
  box-shadow: none;
}

.project-btn.secondary:hover {
  background: rgba(0, 80, 140, 0.4);
  border-color: rgba(0, 140, 220, 0.45);
  box-shadow: 0 0 10px rgba(0, 100, 180, 0.25);
}

@media (max-width: 430px) {
  .topbar {
    padding: 18px 14px 12px;
    gap: 8px;
  }

  .brand img {
    width: 110px;
  }

  .nav {
    width: 100%;
    gap: 12px;
    row-gap: 12px;
  }

  .nav a {
    font-size: 13px;
  }

  .resume-link {
    padding: 9px 14px;
  }

  .hero-copy {
    padding: 36px 20px 28px;
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.15;
  }

  .cta-btn {
    margin-top: 20px;
  }
}

.thank-you-section {
  min-height: 100vh;
  padding: 20px;
}

.thank-you-section .contact-card {
  margin: auto;
}

.thank-you-section .contact-btn {

  display: block;

  margin: 20px auto 0;

}

@media (max-width: 600px) {

  .thank-you-section .contact-card {
    max-width: 340px;
    padding: 24px 18px;
  }

  .thank-you-section .contact-heading h2 {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .thank-you-section .contact-heading p {
    font-size: 15px;
    line-height: 1.5;
  }

  .thank-you-section .contact-btn {
    width: 100%;
    max-width: 260px;
    margin-top: 16px;
  }

}

@media (max-width: 600px) {
  .projects-card {
    padding: 24px 16px;
  }

  .project-card {
    padding: 22px 18px;
    transform: none;
  }

  .project-card:hover {
    transform: none;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .project-number {
    min-width: auto;
  }

  .project-actions {
    flex-direction: column;
    gap: 12px;
  }

  .project-btn {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
  }
}


@media (max-width: 900px) and (max-height: 430px) and (orientation: landscape) {
  .topbar {
    position: relative !important;
    height: auto !important;
    padding: 10px 16px !important;
  }

  .hero-shell {
    min-height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 30px !important;
  }

  .hero-copy {
    position: static !important;
    max-width: 680px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 16px 24px 30px !important;
    text-align: center !important;
  }

  .hero-copy h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }

  .cta-btn {
    min-width: 220px !important;
    max-width: 260px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
  }
}
  @media (max-width: 600px) {

  .hero-copy p {

    white-space: nowrap;

  }

}

}

 