  /* ===== BASE STYLES ===== */
  @font-face {
      font-family: 'NeueMachina';
      src: url('../fonts/PPNeueMachina-PlainRegularItalic.otf') format('opentype');
      font-weight: 300;
      /* Light */
      font-style: normal;
  }

  :root {
      /* 🎨 Color variables */
      --color-dark-1: #0a0a0a;
      --color-dark-2: #1a2f1a;
      --color-dark-3: #2a4a2a;
      --color-dark-4: #0f1f0f;
      --color-dark-5: #2d5a2d;
      --color-dark-6: #1a3a1a;
      --color-dark-7: #0a1a0a;

      --color-green-1: #00ff88;
      --color-green-2: #66ffaa;
      --color-green-3: #10b981;
      --color-green-4: #34d399;

      --glass-bg: rgba(255, 255, 255, 0.05);
      --glass-border: rgba(255, 255, 255, 0.2);

      /* Blur */
      --blur-strength: 12px;
  }

  * {
      font-family: 'Inter', sans-serif;
  }

  html,
  body {
      margin: 0;
      padding: 0;
      overflow-x: hidden;
  }

  body {
      background: linear-gradient(290deg,
              var(--color-dark-1) 0%,
              var(--color-dark-2) 30%,
              var(--color-dark-3) 60%,
              var(--color-dark-1) 100%);
      transition: all 0.5s ease;
      min-height: 100vh;
      transition: all 0.3s ease;
      user-select: none;
      padding: 0;
      margin: 0;
  }

  /* ===== NAVIGATION ===== */
  #mainNav {
      position: fixed;
      top: 0;
      transform: translateY(0);
      transition: transform 0.4s ease;
      /* smooth effect */
      z-index: 50;
  }

  #mainNav.hide {
      transform: translateY(-100%);
  }

  #mainNav.show {
      transform: translateY(0);
  }

  .glass-effect {
      /* background: var(--glass-bg); */
      backdrop-filter: blur(var(--blur-strength));
      -webkit-backdrop-filter: blur(var(--blur-strength));
      /* border-bottom: 1px solid var(--glass-border); */
  }

  .company-logo {
      filter: brightness(0.7) contrast(1.2);
      transition: all 0.3s ease;
  }

  .nav-link {
      position: relative;
      transition: all 0.3s ease;
  }

  .nav-link::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 2px;
      transition: width 0.3s ease;
  }

  .nav-link:hover::after {
      width: 100%;
  }

  /* Mobile menu */
  #manu-icon {
      display: none;
      position: relative;
      /* ensure z-index works */
      z-index: 10000;
  }

  .manu-icon {
      --gap: 5px;
      --height-bar: 2.5px;
      --pos-y-bar-one: 0;
      --pos-y-bar-three: 0;
      --scale-bar: 1;
      --rotate-bar-one: 0;
      --rotate-bar-three: 0;
      width: 25px;
      display: flex;
      flex-direction: column;
      gap: var(--gap);
      cursor: pointer;
      position: relative;
      z-index: 999;
  }

  .manu-bar {
      position: relative;
      height: var(--height-bar);
      /* width: 100%; */
      border-radius: .5rem;
      background-color: #9941fc;
  }

  .manu-bar--1 {
      top: var(--pos-y-bar-one);
      transform: rotate(var(--rotate-bar-one));
      transition: top 200ms 100ms, transform 100ms;
  }

  .manu-bar--2 {
      transform: scaleX(var(--scale-bar));
      transition: transform 150ms 100ms;
  }

  .manu-bar--3 {
      bottom: var(--pos-y-bar-three);
      transform: rotate(var(--rotate-bar-three));
      transition: bottom 200ms 100ms, transform 100ms;
  }

  .manu-check:checked+.manu-icon>.manu-bar--1 {
      transition: top 200ms, transform 200ms 100ms;
  }

  .manu-check:checked+.manu-icon>.manu-bar--3 {
      transition: bottom 200ms, transform 200ms 100ms;
  }

  .manu-check:checked+.manu-icon {
      --pos-y-bar-one: calc(var(--gap) + var(--height-bar));
      --pos-y-bar-three: calc(var(--gap) + var(--height-bar));
      --scale-bar: 0;
      --rotate-bar-one: 45deg;
      --rotate-bar-three: -45deg;
  }

  #manu-mobileMenu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100%;
      padding-top: 20px;
      padding-left: 0px;
      padding-right: 50px;
      display: block;
      /* We'll show it via JS */
      /* Transparent + blur effect */
      background: rgba(0, 0, 0);
      /* semi-transparent black */
  }

  #manu-mobileMenu a {
      font-size: 14px;
      margin-left: 10px;
  }

  /* Show mobile menu when checked */
  .manu-check:checked~#manu-mobileMenu {
      display: flex;
  }

  /* ===== HERO SECTION ===== */
  .hero-title {
      margin-top: 0.8em;
      font-family: "NeueMachina";
      font-weight: 100;
      font-size: 6.5rem;
      user-select: none;
  }

  .hero-title span {
      display: inline-block;
      font-family: "NeueMachina";
      font-weight: 300;
  }

  .hero-title-2 {
      font-family: 'NeueMachina', sans-serif;
      font-style: italic;
      font-size: 3rem;
      margin-top: -0.4em;
      margin-bottom: 0.2em;
      user-select: none;
  }

  .wave {
      display: inline-block;
      animation: waveAnim 2s infinite;
      transform-origin: 70% 70%;
      /* pivot from hand base */
  }

  @keyframes waveAnim {
      0% {
          transform: rotate(0deg);
      }

      10% {
          transform: rotate(14deg);
      }

      20% {
          transform: rotate(-8deg);
      }

      30% {
          transform: rotate(14deg);
      }

      40% {
          transform: rotate(-4deg);
      }

      50% {
          transform: rotate(10deg);
      }

      60% {
          transform: rotate(0deg);
      }

      100% {
          transform: rotate(0deg);
      }
  }

  .hero-slogan {
      font-size: 1.2rem;
      font-family: cursive;
  }

  .hero-slogan span {
      font-family: 'NeueMachina';
  }

  .hero-left {
      width: 700px;
  }

  .hero-right {
      margin-top: 200px;
      width: 700px;
  }

  .hero-right p {
      font-family: 'NeueMachina';
      margin-right: 100px;
  }

  .hero-right p span {
      font-family: 'NeueMachina';
  }

  .mobile-hire-me {
      display: none;
      margin-top: 40px;
  }

  /* Stats */
  .hero-stats {
      margin-top: 3em;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 5rem;
      max-width: 100%;
      flex-wrap: wrap;
      /* allows wrapping on small screens */
      padding: 1rem;
      text-align: center;
  }

  .stat-item {
      flex: 1 1 80px;
      /* grow & shrink nicely */
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .stat-number {
      font-size: 3rem;
      font-weight: bold;
  }

  .stat-label {
      font-size: 1rem;
      color: white;
  }

  /* ===== ABOUT SECTION ===== */
  .about_me {
      font-family: "NeueMachina";
      font-weight: 300;
      word-spacing: 5px;
  }

  .header-2 {
      font-family: "NeueMachina";
  }

  .header-2 span:first {
      font-family: "NeueMachina";
  }

  .who_i {
      font-family: "Gilroy", sans-serif;
      font-weight: 300;
      line-height: 1.2;
  }

  .who_i p {
      text-align: justify;
  }

  .about-secondry-img {
      width: 10em;
      border-radius: 15px;
      justify-self: center;
  }

  .social-media-button {
      margin-top: 2rem;
      justify-self: center;
  }

  .about-details {
      font-family: cursive;
      text-align: justify;
      font-size: 1.2rem;
      font-weight: 100;
      line-height: 1.3em;
  }

  .about-details span {
      font-family: "NeueMachina";
  }

  /* ===== EXPERIENCE & EDUCATION ===== */
  .pahase-main {
      margin-bottom: 20em;
      margin-left: 0px;
      margin-right: 0px;
  }

  /* Slider base */
  #phase-slider {
      margin-top: 2em;
      display: flex;
      transition: transform 0.6s ease-in-out;
      padding: 0 30px;
      /* 👈 adds space so first & last card also peek */
  }

  /* Container */
  .exp-edu-container {
      font-family: "Segoe UI", Roboto, sans-serif;
      line-height: 1.6;
      color: #e5e7eb;
      padding: 4rem 1rem;
  }

  .text-deco {
      background: linear-gradient(90deg, #ffffff, #fce7f3, #fbcfe8d8);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-align: center;
  }

  .text-deco-2 {
      background: linear-gradient(90deg, #ffffff, #d1fae5, #a7f3d0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-align: center;
  }

  /* Section Title */
  .experience-title {
      margin-top: 0.5em;
      font-family: "NeueMachina";
      font-weight: 500;
      width: 12ch;
      justify-self: center;
      line-height: 1em;
      word-spacing: 3px;
      font-size: 7rem;
      background: linear-gradient(90deg, #14b8a6, #10b981, #84cc16);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-align: center;
  }

  .gradient-line {
      width: 100px;
      height: 3px;
      border-radius: 9999px;
      margin: 0.5rem auto;
  }

  .intro-text {
      margin-top: 1.5rem;
      font-size: 1.4rem;
      color: #c5c9cf;
      text-align: center;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
  }

  /* Layout */
  .desktop-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
  }

  .mobile-layout {
      display: none;
  }

  /* Timeline */
  .timeline-line {
      position: absolute;
      left: -1em;
      top: 0;
      bottom: 0;
      width: 3px;
      border-radius: 9999px;
  }

  .timeline-line.work {
      background: linear-gradient(180deg, #6366f1, #8b5cf6, #ec4899);
  }

  .timeline-line.edu {
      background: linear-gradient(180deg, #10b981, #14b8a6);
  }

  .timeline-dot {
      position: absolute;
      left: -1.5rem;
      top: 1;
      width: 1rem;
      height: 1rem;
      border-radius: 50%;
      border: 3px solid #0f172a;
      box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
  }

  .timeline-dot.work {
      background: #6366f1;
  }

  .timeline-dot.edu {
      background: #10b981;
  }

  /* Cards */
  .experience-card,
  .education-card {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 1.5rem;
      border-radius: 1rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .experience-card:hover,
  .education-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  }

  .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .company {
      color: white;
      font-family: "NeueMachina";
      font-size: 1.2em;
      font-weight: 300;
  }

  .badge {
      background: #66ffabc0;
      color: rgba(0, 0, 0, 0.774);
      font-weight: bold;
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      font-size: 0.9rem;
  }

  .card-text {
      font-family: cursive;
      word-spacing: 0.2em;
      color: rgba(255, 255, 255, 0.696);
  }

  /* Skills */
  .skills {
      margin-top: 1rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
  }

  .skill-tag {
      background: #334155;
      color: #f1f5f9;
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      font-size: 0.75rem;
      transition: all 0.3s ease;
  }

  .skill-tag:hover {
      background: #6366f1;
      transform: translateY(-2px);
  }

  /* Animations */
  .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease-out;
  }

  .animate-on-scroll.animate {
      opacity: 1;
      transform: translateY(0);
  }

  .no-scrollbar::-webkit-scrollbar {
      display: none;
  }

  .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
  }

  [x-cloak] {
      display: none !important;
  }

  .view-more {
      width: 5rem;
      justify-self: right;
      margin: 0;
  }

  .work-card {
      width: 21rem;
  }

  .view-more-mobile {
      width: 5rem;
      justify-self: center;
      margin-top: 1em;
  }

  /* ===== SOCIAL CONNECT ===== */
  .text-center-connect {
      font-family: "NeueMachina";
      font-size: 2.5em;
      font-weight: 700;
      justify-self: center;
  }

  .social-icon {
      width: 35px;
      height: 35px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      background: #f3f4f6;
      /* gray-100 */
      color: #4b634f;
      /* gray-600 */
      transition: all 0.3s ease;
      font-size: 18px;
      z-index: 999;
  }

  .social-icon.facebook:hover {
      background: #1877f2;
      /* Facebook Blue */
      color: white;
  }

  .social-icon.twitter:hover {
      background: #1da1f2;
      /* Twitter Sky */
      color: white;
  }

  .social-icon.instagram:hover {
      background: #e4405f;
      /* Instagram Pink */
      color: white;
  }

  .social-icon.linkedin:hover {
      background: #0077b5;
      /* LinkedIn Blue */
      color: white;
  }

  .social-icon.youtube:hover {
      background: #ff0000;
      /* YouTube Red */
      color: white;
  }

  .social-icon.whatsapp:hover {
      background: #25d366;
      /* WhatsApp Green */
      color: white;
  }

  /* Hover effects */
  .hover-twitter:hover {
      color: #1DA1F2;
  }

  .hover-insta:hover {
      color: #E4405F;
  }

  .hover-yt:hover {
      color: #FF0000;
  }

  .hover-facebook:hover {
      color: #1877F2;
  }

  .hover-what:hover {
      color: #25D366;
  }

  /* Text effects */
  .text-gradient {
      background: linear-gradient(135deg, var(--color-green-1), var(--color-green-2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
  }

  .glow-text {
      text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  }

  .text-gradient-sunset {
      background: linear-gradient(135deg, #f6d365, #fda085);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
  }

  .glow-text-sunset {
      text-shadow: 0 0 20px rgba(253, 160, 133, 0.4);
  }

  /* Glass card effect */
  .glass-card {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .glass-card:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
  }

  /* ===== WAVE EFFECT ===== */
  /* Wave Container */
  .w {
      position: relative;
      width: 100%;
      height: 40vh;
      overflow: hidden;
      transform: translateZ(0);
      cursor: pointer;
      transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      margin-top: -9em;
  }

  /* Shimmer Overlay */
  .w::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.03) 50%, transparent 51%);
      opacity: 0;
      transition: opacity 1.2s ease;
      pointer-events: none;
      z-index: 10;
  }

  .w:hover::before {
      opacity: 1;
      animation: shimmer 2s ease-in-out infinite;
  }

  /* Wave SVG */
  .w svg {
      position: absolute;
      width: 200%;
      height: 100%;
      top: 0;
      left: 0;
      will-change: transform;
      transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Wave Layer Animations */
  .w1 {
      animation: w1 12s ease-in-out infinite;
  }

  .w2 {
      animation: w2 16s ease-in-out infinite -2s;
  }

  .w3 {
      animation: w3 20s ease-in-out infinite -4s;
  }

  .w4 {
      animation: w4 24s ease-in-out infinite -6s;
  }

  /* Hover State */
  .w:hover .w1 {
      animation: choppy1 3s ease-in-out infinite;
  }

  .w:hover .w2 {
      animation: choppy2 4s ease-in-out infinite -0.5s;
  }

  .w:hover .w3 {
      animation: choppy3 3.5s ease-in-out infinite -1s;
  }

  .w:hover .w4 {
      animation: choppy4 4.5s ease-in-out infinite -1.5s;
  }

  .w:hover {
      filter: brightness(1.1) saturate(1.2);
  }

  /* Keyframes: Smooth */
  @keyframes w1 {

      0%,
      100% {
          transform: translateX(0);
      }

      25% {
          transform: translateX(-12.5%) translateY(-3px);
      }

      50% {
          transform: translateX(-25%);
      }

      75% {
          transform: translateX(-37.5%) translateY(2px);
      }
  }

  @keyframes w2 {

      0%,
      100% {
          transform: translateX(0);
      }

      33% {
          transform: translateX(-16.7%) translateY(4px);
      }

      66% {
          transform: translateX(-33.3%) translateY(-2px);
      }
  }

  @keyframes w3 {

      0%,
      100% {
          transform: translateX(-5%);
      }

      50% {
          transform: translateX(-30%) translateY(-4px);
      }
  }

  @keyframes w4 {

      0%,
      100% {
          transform: translateX(-2%);
      }

      40% {
          transform: translateX(-22%) translateY(5px);
      }

      80% {
          transform: translateX(-42%) translateY(-3px);
      }
  }

  /* Keyframes: Choppy Hover */
  @keyframes choppy1 {

      0%,
      100% {
          transform: translateX(0);
      }

      20% {
          transform: translateX(-10%) translateY(-8px);
      }

      40% {
          transform: translateX(-20%) translateY(6px);
      }

      60% {
          transform: translateX(-30%) translateY(-4px);
      }

      80% {
          transform: translateX(-40%) translateY(8px);
      }
  }

  @keyframes choppy2 {

      0%,
      100% {
          transform: translateX(0);
      }

      25% {
          transform: translateX(-12.5%) translateY(7px);
      }

      50% {
          transform: translateX(-25%) translateY(-5px);
      }

      75% {
          transform: translateX(-37.5%) translateY(9px);
      }
  }

  @keyframes choppy3 {

      0%,
      100% {
          transform: translateX(-3%);
      }

      33% {
          transform: translateX(-18%) translateY(-9px);
      }

      66% {
          transform: translateX(-35%) translateY(7px);
      }
  }

  @keyframes choppy4 {

      0%,
      100% {
          transform: translateX(-1%);
      }

      30% {
          transform: translateX(-16%) translateY(11px);
      }

      70% {
          transform: translateX(-35%) translateY(-6px);
      }
  }

  /* Shimmer Effect */
  @keyframes shimmer {

      0%,
      100% {
          transform: translateX(-100%) skewX(-15deg);
          opacity: 0;
      }

      50% {
          transform: translateX(100%) skewX(-15deg);
          opacity: 1;
      }
  }

  /* Content Section */
  .c {
      position: relative;
      z-index: 5;
      padding: 3rem 2rem;
      color: #fff;
      text-align: center;
      transition: transform 0.3s ease;
  }

  .w:hover+.c {
      transform: translateY(-5px);
  }

  .c h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      font-weight: 700;
  }

  .c p {
      font-size: 1.1rem;
      opacity: 0.9;
      margin-bottom: 2rem;
  }

  /* Grid Cards */
  .g {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      max-width: 1000px;
      margin: 0 auto;
  }

  .b {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border-radius: 12px;
      padding: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .b:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }

  .b h3 {
      font-size: 1.2rem;
      margin-bottom: 0.8rem;
      font-weight: 600;
  }

  .b p {
      opacity: 0.85;
      line-height: 1.5;
  }

  /* ===== RESPONSIVE STYLES ===== */
  /* Desktop: 1280px – 1500px */
  @media (min-width: 1280px) and (max-width: 1500px) {
      .hero-title {
          font-size: 5rem;
      }

      #about .text-center {
          font-size: 2em;
      }

      .about-secondry-img {
          width: 5em;
          height: 5em;
      }

      #about p {
          font-size: 0.5em;
      }

      #about button {
          font-size: 0.4em;
      }

      #phase-slider h3 {
          font-size: 1em !important;
      }
  }

  /* Desktop: 1024px – 1280px */
  @media (min-width: 1024px) and (max-width: 1280px) {
      .hero-title {
          font-size: 3.7rem;
      }

      .hero-title-2 {
          font-size: 2rem;
      }

      #about .text-center {
          font-size: 1.8em;
      }

      .about-secondry-img {
          width: 4em;
          height: 4em;
      }

      #about p {
          font-size: 0.4em;
      }

      #about button {
          font-size: 0.4em;
      }

      .social-media-button i {
          width: 1em;

      }

      #phase-slider h3 {
          font-size: 1em !important;
      }

      .experties {
          margin-bottom: 0;
      }
  }

  /* Desktop keep grid */
  @media (min-width: 1024px) {
      #phase-slider {
          display: grid !important;
          padding: 0 !important;
          overflow: visible !important;
          transform: none !important;
          margin-bottom: 0;
      }

  }

  /* Tablets (768px – 1024px) */
  @media (min-width: 768px) and (max-width: 1024px) {
      #hero {
          display: flex !important;
      }

      .hero-left {
          display: none;
      }

      .hero-title {
          margin-top: 1em;
          font-size: 6em;
      }

      .hero-title-2 {
          font-size: 3.5em;
      }

      .hero-slogan {
          font-size: 18px;
      }

      .stat-number {
          font-size: 2.2rem;
      }

      .stat-label {
          font-size: 1.1rem;
      }

      #my-image {
          display: block;
          /* show image on tablets */
          max-width: 300px;
      }

      .hero-right {
          display: none;
          /* bring back side content */
      }

      .about-me-card-mobile {
          width: 40em;
      }

      #about .text-center {
          font-size: 1.5em;
      }

      .about-secondry-img {
          width: 3.5em;
          height: 3.5em;
      }

      #about p {
          font-size: 0.3em;
      }

      #about button {
          font-size: 0.4em;
      }

      .social-media-button a {
          width: 1em;
      }

      .pahase-main {
          margin: 0;
      }

      #phase-slider {
          padding-right: 5em;
      }

      .experties {
          margin-bottom: 0px;
      }

      #phase-slider p {
          font-size: 0.7em;
      }

      .experience-title {
          font-size: 2em;
      }

      #about .work-expe {
          font-size: 2.5em;
      }
  }

  /* Tablet: 2 cards centered with peek */
  @media (min-width: 768px) and (max-width: 1023px) {
      #phase-slider>.about_cads {
          flex: 0 0 55%;
          max-width: 55%;
          margin: 0 20px;
      }

      #phase-slider>.about_cads:last-child {
          margin-right: 50em;
      }
  }

  /* Mobile devices (max-width: 768px) */
  @media (max-width: 768px) {
      #manu-icon {
          display: inline;
      }

      #my-image {
          display: none;
      }

      #manu-mobileMenu {
          display: inline-block;
      }

      .hero-title {
          margin-top: 50px;
          font-size: 5em;
      }

      .text-gradient {
          display: inline-block;
      }

      .hero-slogan {
          font-size: 16px;
      }

      .italic {
          font-size: 30px;
          margin-left: 30px;
      }

      .hero-left {
          display: none;
      }

      .hero-right {
          display: none;
      }

      #about .text-center {
          font-size: 2em;
          margin-top: 1em;
      }

      #about button {
          font-size: 0.7em;
          margin-top: 2em;
      }

      .stat-number {
          font-size: 2rem;
      }

      .stat-label {
          font-size: 1rem;
      }

      .about-me button:hover {
          background: #00ff88;
          color: black;
          cursor: pointer;
      }

      #phase-slider {
          display: flex;
          gap: 0;
      }

      .about_cads {
          width: 100vw;
          padding: 0;
          margin: 0;
      }

      .desktop-grid {
          display: flex;
          flex-direction: column;
      }

      /* Wave effect adjustments */
      .w {
          height: 30vh;
      }

      .c {
          padding: 2rem 1rem;
      }

      .c h1 {
          font-size: 2rem;
      }

      .experience-title {
          font-size: 2em;
      }

      .experience-card .card-header h3 {
          margin: 0;
          font-size: 1.7em;
      }
      .experience-card .card-text{
        font-size: 0.9em;
      }
      .card .work-card{
        min-width: 20em !important;
        max-width: 28em !important;
      }

  }

  /* Mobile: 1 card centered with peek */
  @media (max-width: 767px) {
      #phase-slider>.about_cads {
          flex: 0 0 95%;
          /* card takes ~80% */
          max-width: 100%;
          margin: 0 10px;
          /* spacing on both sides */
      }
      .pahase-main{
        margin-bottom:0 ;
      }
      .experience-title{
        font-size: 6em;
      }
  }

  /* Mobile: 650px and below */
  @media (max-width: 650px) {
      .hero-title {
          margin-top: 50px;
          font-size: 3.4rem;
      }

      .hero-title-2 {
          font-size: 2rem;
      }
      .about-secondry-img{
        width: 6em;
      }
      #about button{
        font-size: 0.5em;
      }
      .glass-card h3{
        margin-top: 0 !important;
        font-size: 1.6em !important;
      }
      .glass-card  p{
        font-size: 0.7em !important;
      }
      .pahase-main{
        margin-bottom:0 ;
      }
      .experience-title{
        font-size: 4em;
      }
      .exp-edu-container .about-details{
        font-size: 1em;
        margin-top: 0;
      }
      .exp-edu-container .header-2{
        font-size: 3.4em;
      }
      .card-header .who_i{
        font-size: 1.6em;
      }

  }

  /* Mobile: 450px and below */
  @media (max-width: 460px) {
      .hero-title {
          margin-top: 50px;
          font-size: 3rem;
      }

      .hero-title-2 {
          font-size: 1.6rem;
      }

      #about h1 {
          font-size: 2.5em;
      }

      .pahase-main {
          margin-bottom: 0;
      }

      #about .text-center {
          font-size: 1.8em;
      }

      .glass-card h3 {
          font-size: 1em !important;
          margin-top: 0 !important;
      }

      .glass-card p {
          font-size: 0.5em;
      }

      #experience .experience-title {
          font-size: 3.8em;
      }

      #experience p {
          font-size: 0.8em;
      }

      #experience .header-2 {
          font-size: 2em;
      }

      .exp-edu-container {
          margin: 0;
          padding: 0;
          width: 100%;
      }
      .about-secondry-img{
        width: 5em;
      }
.about-details{
    font-family: "NeueMachina";
    text-align: center;
    font-size: 0.5em;
    word-spacing: 3px;
}
.about-details span{
    font-size: 1.2em;
}
.who_i_main button{
    font-size: 0.5em !important;
}
.glass-card .who_i{
    font-size: 1em !important;
}
.phase-slider{
    padding: 0 !important;
}
#experience .experience-title{
    margin-top: 1.6em;
}
#experience .about-details{
    margin-top: 0;
    font-size: 0.9em
}
#experience .header-2{
    font-size: 2.8em;
}
#experience .experience-card{
    padding: 10px;
}
#experience .experience-card .card-header h3{
    font-size: 1.4em;
}
#experience .experience-card .card-header .badge {
    font-size: 0.6em;
}
#experience .experience-card .company{
    font-size: 0.9em;
}
#experience .experience-card .card-text{
    font-family: 'Roboto', sans-serif;
    font-size: 0.7em;
}
.section-header h2{
    font-size: 5em;
}
.education-card{
    padding: 10px;
}
.education-card .card-header h3{
    font-size: 1.18em;
}
.education-card .card-header .company{
    font-size: 0.9em;
}
 .card-header .badge{
    font-size: 0.58em !important;
    
}
.education-card .education-card p{
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.8em !important;
}
#mobileView p{
    width: 19em;
} 
.work-card p{
    width: 19em;
    font-size: 0.88em;

} 
.hero-stats{
    gap: 1rem;
}
.hero-stats .stat-item .stat-number {
    font-size: 2em;
}
.hero-stats .stat-item .stat-label{
    font-size: 0.8em;
}
.f-link{
    font-size: 0.9em !important;
}

  }

  /* Mobile: 400px and below */
  @media (max-width: 400px) {
      .hero-title {
          font-size: 2.5rem;
          margin-top: 0.em;
      }
      #about h1 {
          font-size: 2em;
          margin-top: 10px;
      }

      .first-stat-item {
          margin-right: 40px;
      }

      .second-stat-item {
          margin-left: 40px;
      }

      #about .header-2{
        font-size: 1.6em;
      }
      .glass-card p{
        font-size: 0.5em !important;
      }
    #experience .experience-title{
        font-size: 3.2em;
      }
      #experience .about-details{
        font-size: 0.7em;
      }
      .dotted_line {
          display: none;
      }

      .hero-stats {
          margin-top: 2em;
          padding: 0;
          gap: 30px;
      }

      .hero-stats .stat-item {
          padding: 0;
          margin: 0;
      }

      .hero-stats .stat-number {
          font-size: 2em;
      }

      .hero-stats .stat-label {
          font-size: 1em;
      }

      .about-me-card-mobile {
          margin: auto !important;
          width: 20em !important;
          height: 26em !important;
      }

      .about-me-card-mobile .info {
          font-weight: 400;
          font-size: 0.5em;
          margin: 0;
      }

      .about-me-card-mobile .share {
          margin-top: 0.3em;
          gap: 0.2em !important;
      }

      /* Wave effect adjustments */
      .w {
          height: 25vh;
      }

      .c h1 {
          font-size: 1.5rem;
      }

      .c p {
          font-size: 1rem;
      }

      #experience .experience-title {
          font-size: 2.9em;
      }

      .experience-card .badge{
        font-size: 0.1em !important;
        margin: 1px;
      }
      .education-card .card-header h3{
        font-size: 1.1em;
      }
      .education-card .card-header .badge{
        font-size: 0.1em !important;
        margin: 1px;
      }
      .education-card  .company{
        font-size: 0.7em;
      }
      #mobileView .h-40{
        height: 7.8rem;
      }
      .text-lg {
    font-size: 1rem;
    line-height: 1.75rem;
}
.p-4 .work-card{
    width: 4em;
}
    #mobileView  p{
    font-size: 0.78em;
}
    #contact .text-8xl {
        font-size: 5em;
        line-height: 1;
    }
       #contact .max-w-sm {
    width: 90%;
}
  }

  /* Very small devices (max-width: 350px) */
  @media (max-width: 350px) {
      .hero-title {
          font-size: 2rem;
          margin-top: 10px;
      }
      #about .text-center {
          font-size: 1.6em;
          margin-top: 0;
      }

      .hero-title-2 {
          font-size: 1.3rem;
      }

      .hero-slogan {
          font-size: 14px;
      }

      .italic {
          font-size: 20px;
          margin-left: 10px;
      }

      .hero-stats {
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: center;
          padding: 0;
          gap: 10px;
      }

      .hero-stats .stat-item {
          padding: 0;
          margin: 0;
      }

      .hero-stats .stat-number {
          font-size: 1.5em;
          margin: 0;
          padding: 0;
      }

      .hero-stats .stat-label {
          font-size: 0.7em;
      }

      #manu-icon {
          font-size: 20px;
          /* smaller menu icon */
      }

      .dotted_line {
          display: none;
      }

      .about-me-card-mobile {
          margin: auto !important;
          width: 16em !important;
          height: 26em !important;
      }

      .about-me-card-mobile .info {
          font-weight: 400;
          font-size: 0.5em;
          margin: 0;
      }

      .about-me-card-mobile .share {
          margin-top: 0.3em;
          gap: 0.2em !important;
          font-size: 1.5em !important;
      }

      #experience .experience-title {
          font-size: 2.6em;
      }
      #experience .work-expe {
          font-size:2em;
          
      }
          #experience .experience-card .card-header h3 {
        font-size: 1em;
    }
        #experience .experience-card .company {
        font-size: 0.6em;
    }
        .education-card .card-header h3 {
        font-size: 1em;
    }
    #my_work .text-7xl {
    font-size: 3.2rem;
    line-height: 1;
}
    #mobileView .h-40 {
        height: 7rem;
    }
   #cardSlider .text-lg {
        font-size: 0.8rem;
        line-height: 1.75rem;
    }
        #mobileView p {
        font-size: 0.6em;
    }
    #contact .text-8xl {
    font-size: 4em;
    line-height: 1;
}
    #contact .max-w-sm {
    width: 90%;
}
  }

  /* Touch device adjustments */
  @media (hover: none) {
      .w:active .w1 {
          animation: choppy1 3s ease-in-out infinite;
      }

      .w:active .w2 {
          animation: choppy2 4s ease-in-out infinite -0.5s;
      }

      .w:active .w3 {
          animation: choppy3 3.5s ease-in-out infinite -1s;
      }

      .w:active .w4 {
          animation: choppy4 4.5s ease-in-out infinite -1.5s;
      }
  }