    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: #0a0a0a;
      color: #fff;
      font-family: 'Inter', sans-serif;
      overflow-x: hidden;
      cursor: none;
    }

    /* ===== NAVBAR ===== */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      padding: 20px 60px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.4s, padding 0.4s;
    }

    nav.scrolled {
      background: rgba(10, 10, 10, 0.95);
      padding: 20px 60px;
      -webkit-backdrop-filter: blur(20px);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .logo {
      font-family: 'Playfair Display', serif;
      font-size: 24px;
      font-weight: 900;
      letter-spacing: 2px;
    }

    .logo span {
      color: rgba(255,255,255,0.4);
      font-weight: 400;
      font-size: 14px;
      letter-spacing: 4px;
      display: block;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      gap: 40px;
      list-style: none;
    }

    .nav-links a {
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      font-size: 14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      transition: color 0.3s;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 1px;
      background: #fff;
      transition: width 0.3s;
    }

    .nav-links a:hover {
      color: #fff;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    /* ===== PARALLAX SECTIONS ===== */
    .parallax-section {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .parallax-bg {
      position: absolute;
      top: -30%;
      left: 0;
      width: 100%;
      height: 160%;
      background-size: cover;
      background-position: center;
      will-change: transform;
      filter: grayscale(100%) brightness(0.4);
    }

    .parallax-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 100%);
      z-index: 1;
    }

    /* ===== HERO ===== */
    #hero .parallax-bg {
    background-image: url('./images/hero.jpg');
    }

    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 0 20px;
    }

    .hero-subtitle {
      font-size: 14px;
      letter-spacing: 8px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.6);
      margin-bottom: 30px;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeUp 1s 0.3s forwards;
    }

    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(42px, 9vw, 110px);
      font-weight: 900;
      line-height: 1;
      margin-bottom: 30px;
      opacity: 0;
      transform: translateY(40px);
      animation: fadeUp 1s 0.6s forwards;
    }

    .hero-title .outline-text {
    color: #fff;
    font-weight: 700;
    }

    .hero-desc {
      font-size: 18px;
      color: rgba(255,255,255,0.5);
      max-width: 550px;
      margin: 0 auto 50px;
      line-height: 1.8;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeUp 1s 0.9s forwards;
    }

    .hero-tools {
      display: flex;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
      opacity: 0;
      animation: fadeUp 1s 1.1s forwards;
    }

    .hero-tool {
      font-size: 11px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
      padding: 8px 16px;
      border: 1px solid rgba(255,255,255,0.1);
    }

    .scroll-indicator {
      position: absolute;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      opacity: 0;
      animation: fadeUp 1s 1.3s forwards;
    }

    .scroll-indicator span {
      font-size: 11px;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
    }

    .scroll-line {
      width: 1px;
      height: 60px;
      background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
      animation: scrollPulse 2s infinite;
    }

    @keyframes scrollPulse {
      0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
      50% { opacity: 1; transform: scaleY(1); }
    }

    @keyframes fadeUp {
      to { opacity: 1; transform: translateY(0); }
    }

    /* ===== SHOWREEL STRIP ===== */
    .reel-strip {
      background: #111;
      padding: 20px 0;
      overflow: hidden;
      border-top: 1px solid rgba(255,255,255,0.05);
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .reel-strip-inner {
      display: flex;
      gap: 60px;
      animation: marquee 20s linear infinite;
      white-space: nowrap;
    }

    .reel-strip-inner span {
      font-family: 'Playfair Display', serif;
      font-size: 18px;
      color: rgba(255,255,255,0.15);
      letter-spacing: 4px;
      text-transform: uppercase;
      flex-shrink: 0;
    }

    .reel-strip-inner span::after {
      content: '◆';
      margin-left: 60px;
      font-size: 8px;
      vertical-align: middle;
    }

    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* ===== ABOUT ===== */
    #about {
      background: #0a0a0a;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 120px 60px;
      position: relative;
    }

    .about-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 100px;
      align-items: center;
    }

    .about-image-wrap {
      position: relative;
      overflow: hidden;
    }

    .about-image-wrap img {
      width: 100%;
      height: 600px;
      object-fit: cover;
      filter: grayscale(100%);
      transition: filter 0.6s;
    }

    .about-image-wrap:hover img {
      filter: grayscale(60%);
    }

    .about-image-border {
      position: absolute;
      top: 20px;
      left: 20px;
      right: -20px;
      bottom: -20px;
      border: 1px solid rgba(255,255,255,0.15);
      pointer-events: none;
    }

    .about-image-tag {
      position: absolute;
      bottom: 30px;
      left: 30px;
      background: rgba(0,0,0,0.8);
      padding: 10px 20px;
      font-size: 11px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.6);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }

    .section-label {
      font-size: 12px;
      letter-spacing: 6px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-bottom: 20px;
    }

    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(36px, 5vw, 56px);
      font-weight: 700;
      margin-bottom: 30px;
      line-height: 1.2;
    }

    .about-text {
      color: rgba(255,255,255,0.6);
      line-height: 2;
      font-size: 16px;
      margin-bottom: 40px;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }

    .stat-number {
      font-family: 'Playfair Display', serif;
      font-size: 48px;
      font-weight: 700;
      display: block;
    }

    .stat-label {
      font-size: 12px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-top: 5px;
    }

    /* ===== WORKS PARALLAX ===== */
    #works-parallax .parallax-bg {
    background-image: url('./images/work.png');
    }

    .works-parallax-content {
      position: relative;
      z-index: 2;
      text-align: center;
      width: 100%;
    }

    .skills-parallax-content {
      position: relative;
      z-index: 2;
      text-align: center;
      width: 100%;
    }

    .works-parallax-content .section-title {
      font-size: clamp(40px, 7vw, 80px);
      margin-bottom: 10px;
    }

    /* ===== PORTFOLIO ===== */
    #portfolio {
      background: #0e0e0e;
      padding: 120px 60px;
      position: relative;
    }

    #portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(255,255,255,0.04);
    transform: translateX(-50%);
    }

    .portfolio-grid {
      max-width: 1500px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 50px;
      position: relative;
    }

    .portfolio-grid::after {
      content: '';
      position: absolute;
      top: 45%;
      left: 50%;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(255,255,255,0.03), transparent 70%);
      transform: translate(-50%, -50%);
      pointer-events: none;
    } 

    .portfolio-item {
      position: relative;
      overflow: hidden;
      cursor: pointer;
      height: 700px;
      margin-bottom: 40px;
    }

    .portfolio-item:nth-child(2) {
    margin-top: 80px;
    }

    .portfolio-item:nth-child(3) {
    margin-top: -40px;
    }

    .portfolio-item iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    transform: scale(1);
    }

    .portfolio-item:hover img {
      transform: scale(1.08);
      filter: grayscale(50%);
    }

    .portfolio-item-overlay {
      position: absolute;
      left: 0;
      right: 0;
      bottom: -15px;
      padding: 25px 30px;
      background: linear-gradient(transparent, rgba(0,0,0,0.95));
      transform: translateY(40px);
      opacity: 0;
      transition: all 0.5s;
      pointer-events: none;
    }
    
    .portfolio-item iframe {
     pointer-events: none;
    }

    .portfolio-item:hover .portfolio-item-overlay {
      transform: translateY(0);
      opacity: 1;
    }

    .portfolio-item-title {
      font-family: 'Playfair Display', serif;
      font-size: 28px;
      margin-bottom: 8px;
    }

    .portfolio-item-cat {
      font-size: 12px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.5);
    }

    .portfolio-item-number {
      position: absolute;
      top: -10px;
      right: 25px;
      font-family: 'Playfair Display', serif;
      font-size: 72px;
      font-weight: 900;
      color: rgba(255,255,255,0.05);
      line-height: 1;
    }


    /* ===== SKILLS PARALLAX ===== */
    #skills-parallax .parallax-bg {
    background-image: url('./images/skills.png');
    }

    /* ===== SKILLS ===== */
    #skills {
    background: #0a0a0a;
    padding: 120px 60px;
    }

    /*#skills {
    position: relative;
    z-index: 2;
    }*/

    .skills-container {
      max-width: 900px;
      margin: 0 auto;
    }

    .skills-header {
      text-align: center;
      margin-bottom: 80px;
    }

    .skill-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 30px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      transition: all 0.3s;
    }

    .skill-row:hover {
      padding-left: 20px;
      border-bottom-color: rgba(255,255,255,0.3);
    }

    .skill-name {
      font-family: 'Playfair Display', serif;
      font-size: 28px;
    }

    .skill-tag {
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      margin-left: 15px;
      font-family: 'Inter', sans-serif;
    }

    .skill-bar-wrap {
      width: 300px;
      height: 3px;
      background: rgba(255,255,255,0.1);
      position: relative;
      overflow: hidden;
    }

    .skill-bar {
      height: 100%;
      background: #fff;
      width: 0;
      transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* ===== EXPERIENCE SECTION ===== */
    #experience {
      background: #0e0e0e;
      padding: 120px 60px;
    }

    .experience-container {
      max-width: 900px;
      margin: 0 auto;
    }

    .experience-header {
      text-align: center;
      margin-bottom: 80px;
    }

    .timeline-item {
      display: grid;
      grid-template-columns: 120px 1fr;
      gap: 40px;
      padding: 40px 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      transition: all 0.3s;
    }

    .timeline-item:hover {
      padding-left: 15px;
    }

    .timeline-year {
      font-family: 'Playfair Display', serif;
      font-size: 20px;
      color: rgba(255,255,255,0.3);
      padding-top: 5px;
    }

    .timeline-content h3 {
      font-family: 'Playfair Display', serif;
      font-size: 24px;
      margin-bottom: 10px;
    }

    .timeline-content p {
      color: rgba(255,255,255,0.5);
      line-height: 1.8;
      font-size: 15px;
    }

    /* ===== CONTACT PARALLAX ===== */
    #contact-parallax .parallax-bg {
    background-image: url('./images/contact.png');
    }

    /* ===== CONTACT ===== */
    #contact {
      background: #0a0a0a;
      padding: 120px 60px;
    }

    .contact-container {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }

    .contact-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(40px, 6vw, 72px);
      margin-bottom: 20px;
    }

    .contact-desc {
      color: rgba(255,255,255,0.5);
      font-size: 18px;
      line-height: 1.8;
      margin-bottom: 60px;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 30px;
      max-width: 600px;
      margin: 0 auto;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }

    .contact-form input,
    .contact-form textarea {
      background: transparent;
      border: none;
      border-bottom: 1px solid rgba(255,255,255,0.2);
      padding: 15px 0;
      font-size: 16px;
      color: #fff;
      font-family: 'Inter', sans-serif;
      outline: none;
      transition: border-color 0.3s;
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
      color: rgba(255,255,255,0.3);
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      border-bottom-color: #fff;
    }

    .contact-form textarea {
      resize: none;
      height: 60px;
    }

    .submit-btn {
      align-self: flex-start;
      background: #fff;
      color: #0a0a0a;
      border: none;
      padding: 18px 60px;
      font-size: 14px;
      letter-spacing: 3px;
      text-transform: uppercase;
      cursor: pointer;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      transition: all 0.3s;
      margin: 0 auto;
    }

    .submit-btn:hover {
      background: rgba(255,255,255,0.85);
      transform: translateY(-2px);
      box-shadow: 0 10px 40px rgba(255,255,255,0.1);
    }

    /* ===== FOOTER ===== */
    footer {
      background: #050505;
      padding: 60px;
      text-align: center;
      border-top: 1px solid rgba(255,255,255,0.05);
    }

    .footer-name {
      font-family: 'Playfair Display', serif;
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 5px;
    }

    .footer-role {
      font-size: 12px;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      margin-bottom: 30px;
    }

    .social-links {
      display: flex;
      justify-content: center;
      gap: 40px;
      margin-bottom: 40px;
    }

    .social-links a {
      color: rgba(255,255,255,0.4);
      text-decoration: none;
      font-size: 13px;
      letter-spacing: 3px;
      text-transform: uppercase;
      transition: color 0.3s;
    }

    .social-links a:hover {
      color: #fff;
    }

    .copyright {
      color: rgba(255,255,255,0.2);
      font-size: 13px;
      letter-spacing: 2px;
    }

    /* ===== FADE IN ANIMATIONS ===== */
    .reveal {
      opacity: 0;
      transform: translateY(60px);
      transition: opacity 0.8s, transform 0.8s;
    }

    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }

    /* ===== FLOATING PARTICLES ===== */
    #particles-canvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 999;
      opacity: 0.3;
    }

    /* ===== CURSOR ===== */
    .custom-cursor {
      width: 20px;
      height: 20px;
      border: 1px solid rgba(255,255,255,0.5);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 10000;
      transition: transform 0.15s, width 0.3s, height 0.3s, margin 0.3s;
      margin-left: -10px;
      margin-top: -10px;
    }

    a,
button,
.portfolio-item {
  cursor: none !important;
}

input,
textarea {
  cursor: text !important;
}

    .custom-cursor.hover {
      width: 50px;
      height: 50px;
      margin-left: -25px;
      margin-top: -25px;
      border-color: rgba(255,255,255,0.8);
    }

    /* ===== GLITCH HOVER TEXT ===== */
    .glitch-wrap {
      position: relative;
      display: inline-block;
    }

    .glitch-wrap:hover .glitch-text {
      animation: glitch 0.3s infinite;
    }

    @keyframes glitch {
      0% { text-shadow: 2px 0 #fff, -2px 0 rgba(255,255,255,0.3); }
      25% { text-shadow: -2px -1px #fff, 2px 1px rgba(255,255,255,0.3); }
      50% { text-shadow: 1px 2px #fff, -1px -2px rgba(255,255,255,0.3); }
      75% { text-shadow: -1px 1px #fff, 1px -1px rgba(255,255,255,0.3); }
      100% { text-shadow: 2px -2px #fff, -2px 2px rgba(255,255,255,0.3); }
    }

    /* ===== INLINE STYLES MOVED ===== */
    #works-parallax, #skills-parallax {
      min-height: 60vh;
    }

    #contact-parallax {
      min-height: 50vh;
    }

    .works-parallax-content .section-label,
    .works-parallax-content .section-title,
    .skills-parallax-content .section-label,
    .skills-parallax-content .section-title {
      position: relative;
      z-index: 2;
    }

    #skills-parallax .section-title {
      font-size: clamp(40px, 7vw, 80px);
    }

    #contact-parallax .section-title {
      font-size: clamp(36px, 6vw, 70px);
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      nav { padding: 15px 25px; }
      nav.scrolled { padding: 12px 25px; }
      .nav-links { display: none; }

      #about { padding: 80px 25px; }
      .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
      }
      .about-image-wrap img { height: 400px; }

      #portfolio { padding: 80px 25px; }
      .portfolio-grid {
        grid-template-columns: 1fr;
      }
      .portfolio-item:nth-child(2),
      .portfolio-item:nth-child(3) {
        margin-top: 0;
      }
      .portfolio-item img { height: 350px; }

      #skills { padding: 80px 25px; }
      .skill-bar-wrap { width: 120px; }
      .skill-name { font-size: 20px; }
      .skill-tag { display: none; }

      #experience { padding: 80px 25px; }
      .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      #contact { padding: 80px 25px; }
      .form-row {
        grid-template-columns: 1fr;
      }

      footer { padding: 40px 25px; }
      .social-links { gap: 20px; flex-wrap: wrap; justify-content: center; }
      .custom-cursor { display: none; }
      .hero-tools { gap: 10px; }
      .hero-tool { font-size: 9px; padding: 6px 10px; }
    }

    #preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  }

.loader-content {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: #fff;
  letter-spacing: 4px;
  }

  .success-message {
  text-align: center;
  padding: 60px 20px;
}

.success-message h3 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin-bottom: 15px;
}

.success-message p {
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.resend-btn {
  margin-top: 30px;
}