 body {
            margin: 0;
            font-family: Questrial, sans-serif;
            overflow-x: hidden;
          background: #0a0a0f;
        }
 html, body {
  overflow-x: hidden;
        scroll-behavior: smooth;
              cursor: none !important; /* Force hide default cursor */

}

* {
    margin: 0;
    padding: 0;
  box-sizing: border-box;
    font-family: Questrial, sans-serif;
                cursor: none !important; /* Force hide default cursor */



}
/* Loader Background */
#orion-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0f; /* Dark grey */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Logo Container */
.orion-loader-logo {
  position: relative;
  width: 120px;
  height: 120px;
  max-width: 80vw;
  overflow: hidden;
}

/* Logo Image */
.orion-loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.7; /* Light grey */
  pointer-events: none;
  user-select: none;
}



/* Shine Animation */
@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

/* Hide Loader After Page Load */
#orion-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Main Content Hidden During Load */
body.loading #main-content {
  opacity: 0;
  pointer-events: none;
}

body.loaded #main-content {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.8s ease;
}
body {
    background-color: #0e1415;
    color: #e0e0e0;
    line-height: 1.6;
  width: auto;
}
.custom-cursor {
      position: fixed;
      width: 24px;
      height: 24px;
      pointer-events: none;
      z-index: 1000;
      transform: translate(-10%, -10%); /* Adjust to align the pointer tip */
      display: block; /* Ensure cursor is visible by default */
    }
    .custom-cursor img {
      width: 100%;
      height: 100%;
      display: block; /* Ensure the image is visible */
    }
    .custom-cursor.hidden {
      display: none;
    }
    /* Hide cursor on mobile devices (screen width <= 768px) */
    @media (max-width: 768px) {
      .custom-cursor {
        display: none !important;
      }
      html, body, * {
        cursor: auto !important; /* Restore default cursor on mobile */
      }
    }
        /* Custom Scrollbar Styling for Webkit browsers */
        html::-webkit-scrollbar {
            width: 17px;
        }

        /* Scrollbar Track - Changed to dark gray */
        html::-webkit-scrollbar-track {
            background: #1a1a1a;
            border-radius: 6px;
        }

        /* Scrollbar Thumb */
        html::-webkit-scrollbar-thumb {
            background: #008bfb;
            border-radius: 10px;
            border: 5px solid #374151; /* Match border to track */
        }

        /* Scrollbar Thumb on Hover */
        html::-webkit-scrollbar-thumb:hover {
            background: #3a88ed;
        }

        /* Optional: Scrollbar Button (arrows) */
        html::-webkit-scrollbar-button {
            display: none;
        }

        /* For Firefox compatibility */
        html {
            scrollbar-width: thin;
            scrollbar-color: #0177cc #343434; /* Updated dark track color */
        }


        /* Navbar Styles */
/* Navbar Styles */
.navbar {
   display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(28, 28, 28, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 15px 30px;
  border-radius: 50px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 100;
  box-sizing: border-box;
}
/* Glow layer */
.navbar::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 30px;
  width: calc(100% - 60px);
  height: 3px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 125, 215, 0.3) 15%,
    rgba(0, 125, 215, 0.4) 50%,
    rgba(0, 140, 215, 0.3) 85%,
    transparent 100%
  );
  filter: blur(4px);
  z-index: -1;
}

/* Main line */
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30px;
  width: calc(100% - 60px);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 125, 215, 0.8) 30%,
    rgb(0, 125, 215) 50%,
    rgba(0, 140, 215, 0.8) 70%,
    transparent 100%
  );
  border-radius: 1px;
}

.navbar.scrolled {
    background: rgba(9, 9, 9, 0.6);
}

.logo img {
    height: 45px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-60%); /* Adjusted to move 2% to the left */
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.nav-links a:hover {
    color: #00b7d7;
}

.arrow {
    font-size: 12px;
    margin-left: 5px;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2a2a2a;
    min-width: 250px;
    border-radius: 8px;
    padding: 10px 0;
    top: 100%;
    left: 0;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
}

.dropdown-content a span {
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
}

.dropdown-content a:hover {
    background-color: #3a3a3a;
}

.nav-actions {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.nav-actions a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.nav-actions .book-demo {
    background-color: #fff;
    color: #000;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.nav-actions .book-demo:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.nav-actions .book-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transition: 0.5s;
}

.nav-actions .book-demo:hover::before {
    left: 100%;
    animation: shine 1s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    left: 20px;
    z-index: 1001;
    background: rgba(28, 28, 28, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 5px;
    border-radius: 5px;
}

.hamburger-grid {
    display: flex;
    flex-direction: column;
    width: 20px;
    height: 14px;
    gap: 4px;
}

.hamburger-grid span {
    width: 100%;
    height: 2px;
    background-color: #007dd5;
    border-radius: 1px;
}

.close-icon {
    display: none;
    font-size: 24px;
    color: #00b7d7;
}

.hamburger.active .hamburger-grid {
    display: none;
}

.hamburger.active .close-icon {
    display: block;
}

.nav-container.active {
    top: 0;
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll link styling */
.smooth-scroll {
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links .smooth-scroll {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

.nav-links .smooth-scroll:hover {
    color: #00b7d7;
}

/* Responsive Design for Navbar */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
        width: 95%;
        top: 10px;
        justify-content: space-between;
    }

    .hamburger {
        display: block;
    }

    .logo {
        margin: 0 auto;
    }

    .nav-container {
        display: none;
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(28, 28, 28, 0.8);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-sizing: border-box;
        z-index: 999;
        transition: top 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
        opacity: 0;
        transform: translateY(-20px);
        border-radius: 20px;
    }

    .nav-container.active {
        display: block;
        top: 0;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        align-items: center;
        padding-left: 0;
        position: static;
        transform: none;
    }

    .nav-links a {
        font-size: 20px;
    }

    .nav-links .dropdown .dropbtn .arrow {
        display: inline-block;
    }

    .dropdown-content {
        position: static;
        background-color: transparent;
        min-width: 100%;
        width: 100%;
        text-align: center;
        border-radius: 0;
        padding: 0;
        margin-top: 10px;
        margin-left: 0;
    }

    .dropdown-content a {
        align-items: center;
        padding: 10px 0;
    }

    .dropdown-content a span {
        display: block;
        font-size: 14px;
        margin-top: 5px;
        color: #aaa;
    }

    .nav-actions {
        position: absolute;
        bottom: 40px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0 20px;
        gap: 0;
    }

    .nav-actions a {
        font-size: 16px;
    }

    .nav-actions .book-demo {
        background-color: #fff;
        color: #000;
        padding: 10px 20px;
        border-radius: 50px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
        width: 90%;
    }

    .nav-links {
        gap: 25px;
        padding-left: 0;
    }

    .nav-links a {
        font-size: 18px;
    }

    .dropdown-content {
        margin-left: 0;
    }

    .dropdown-content a span {
        font-size: 12px;
    }

    .nav-actions a {
        font-size: 14px;
    }
}







        .heading{
 font-size: 92px; /* lg:text-7xl */
    font-weight: bold;
    max-width: 1024px; /* max-w-4xl */
    margin: 0 auto;
    font-family: Questrial, sans-serif;
    background: linear-gradient(90deg, #b8b8b8, #ffffff, #a0a0a0, #dcdcdc, #7f7f7f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite,
         fadeInUp 0.8s ease forwards, /* Initial animation */
    float 3s ease-in-out infinite 0.8s/* Floating animation starts after 0.8s */;        }
        @keyframes shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }}
          /* Fade In Up Animation (assumed to be defined elsewhere, included for clarity) */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0); /* Starting and ending position */
  }
  50% {
    transform: translateY(-10px); /* Move up 10px at the midpoint */
  }
}



        .hero-parallax {
            min-height: 300vh;
            padding: 20px 0;
            overflow: hidden;
            position: relative;
            display: flex;
            flex-direction: column;
            perspective: 1000px;
            transform-style: preserve-3d;
        }

        .header {
            max-width: 1280px;
            margin: 0 auto;
            padding: 50px 16px;
            position: relative;
            z-index: 1;
        }

        .header h1 {
            font-size: 48px;
            font-weight: bold;
            line-height: 1.2;
            margin: 0;
        }

        .header p {
            max-width: 672px;
            font-size: 18px;
            margin-top: 32px;
            color: #ffffff;
        }

        .parallax-container {
            transform-style: preserve-3d;
            will-change: transform, opacity;
            transition: transform 0.1s ease-out, opacity 0.1s ease-out;
        }

        .row {
            display: flex;
            margin-bottom: 80px;
            gap: 80px;
            will-change: transform;
            transition: transform 0.1s ease-out;
        }

        .row.reverse {
            flex-direction: row-reverse;
        }

        .product-card {
            height: 384px;
            width: 480px;
            position: relative;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .product-card:hover {
            transform: translateY(-20px);
        }

        .product-card a {
            display: block;
            height: 100%;
            width: 100%;
            position: relative;
        }

        .product-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: left top;
            position: absolute;
            top: 0;
            left: 0;
        }

        .product-card .overlay {
            position: absolute;
            inset: 0;
            transition: background 0.3s ease;
            pointer-events: none;
        }

        .product-card:hover .overlay {
            background: rgba(0, 0, 0, 0.8);
        }

        .product-card h2 {
            position: absolute;
            bottom: 16px;
            left: 16px;
            color: white;
            margin: 0;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .product-card:hover h2 {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .header h1 {
                font-size: 24px;
            }

            .header p {
                font-size: 14px;
            }

            .product-card {
                width: 300px;
                height: 240px;
            }

            .row {
                gap: 40px;
                margin-bottom: 40px;
            }
        }
        .button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #111111, #1e1e1e);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
          font-family: Questrial,sans-serif;
}

.button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.6s ease-in-out;
    transform: translate(-50%, -50%) scale(0);
}

.button:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.button:hover {
    box-shadow: 0 0 15px rgba(34, 37, 37, 0.8);
    transform: scale(1.05);
}
    /* Base styles */
    :root {
      --bg-color: #0a0a0f;
      --text-color: #ffffff;
      --card-bg: #171717;
      --card-hover: #262626;
      --modal-bg: #0a0a0a;
      --modal-border: #262626;
      --highlight-bg: #262626;
      --highlight-border: #404040;
      --footer-bg: #171717;
      --image-bg: #262626;
      --image-border: #404040;
      --feature-text: #d4d4d4;
      --feature-icon: #a3a3a3;
      --btn-cancel-bg: #000000;
      --btn-cancel-text: #ffffff;
      --btn-cancel-border: #000000;
      --btn-confirm-bg: #ffffff;
      --btn-confirm-text: #000000;
      --btn-confirm-border: #ffffff;
      --close-icon: #ffffff;
      --accent-color: #3b82f6;
      --primary-color: #00b2d2;
      --secondary-color: #0056ab;
    }

    body {
      font-family: Questrial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: var(--bg-color);
      color: var(--text-color);
      line-height: 1.6;
    }

    /* Portfolio section */
    .portfolio-section {
      position: relative;
      padding: 8rem 2rem;
      max-width: 1400px;
      margin: 0 auto;
      overflow: hidden;
    }

    /* Gradient background elements */
    .gradient-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      overflow: hidden;
    }

    .radial-gradient-oval {
      position: absolute;
      width: 800px;
      height: 800px;
      border-radius: 50%;
      background: radial-gradient(circle at center,
          rgba(59, 130, 246, 0.15) 0%,
          rgba(124, 58, 237, 0.1) 50%,
          transparent 70%);
      filter: blur(60px);
      top: -200px;
      right: -200px;
      transform: rotate(45deg);
    }

    .radial-gradient-oval.secondary {
      background: radial-gradient(circle at center,
          rgba(59, 130, 246, 0.1) 0%,
          transparent 60%);
      width: 600px;
      height: 600px;
      bottom: -150px;
      left: -150px;
      top: auto;
      right: auto;
      filter: blur(40px);
    }

    .section-heading {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 3rem;
      text-align: center;
      position: relative;
      display: inline-block;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .section-heading::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, var(--accent-color), transparent);
      border-radius: 2px;
    }

    /* Projects grid */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 2rem;
    }

    /* Project card */
    .project-card {
        background: var(--card-bg);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
      position: relative;
      cursor: pointer;
      transform: perspective(1000px) rotateX(0) rotateY(0) scale(1);
      animation: fadeIn 0.5s ease forwards;
      opacity: 0;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transform-style: preserve-3d;
    }

    . .project-card:hover {
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
      border-color: rgba(59, 130, 246, 0.3);
    }


    /* Restored 3D shine effect */
    .project-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(
        circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.1),
        transparent 70%
      );
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 1;
      pointer-events: none;
      border-radius: 12px;
    }

     .project-card:hover::after {
      opacity: 1;
    }


    .project-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), transparent);
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 1;
      pointer-events: none;
      border-radius: 12px;
    }

    .project-card:hover::before {
      opacity: 1;
    }

    .project-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.5s ease;
      clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }

    .project-card:hover .project-image {
      transform: scale(1.05);
    }

    .project-content {
      padding: 1.5rem;
      position: relative;
      z-index: 2;
      background: linear-gradient(to top, rgba(23, 23, 23, 0.9), transparent);
    }

    .project-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

    .project-category {
      display: inline-block;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 500;
      margin-bottom: 1rem;
    }

    .project-description {
      font-size: 0.875rem;
      color: var(--feature-text);
      margin-bottom: 1.5rem;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .project-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.875rem;
      color: var(--feature-icon);
    }

    .project-link {
      color: var(--accent-color);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .project-link:hover {
      text-decoration: underline;
      color: var(--secondary-color);
    }

    .project-link i {
      transition: transform 0.3s ease;
    }

    .project-link:hover i {
      transform: translateX(3px);
    }

    /* Experience badge */
    .experience-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      font-size: 0.75rem;
      font-weight: 600;
      z-index: 2;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    /* Professional statement */
    .professional-statement {
      max-width: 800px;
      margin: 4rem auto 0;
      text-align: center;
      padding: 2rem;
      border-radius: 1rem;
      background: rgba(23, 23, 23, 0.7);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
    }

    .professional-statement p {
      font-size: 1.25rem;
      line-height: 1.75;
      color: var(--text-color);
      position: relative;
    }

    .professional-statement p::before,
    .professional-statement p::after {
      content: '"';
      font-size: 2rem;
      color: var(--primary-color);
      opacity: 0.5;
      position: absolute;
    }

    .professional-statement p::before {
      top: -1rem;
      left: -1.5rem;
    }

    .professional-statement p::after {
      bottom: -2rem;
      right: -1.5rem;
    }

    /* Modal styles */
    .modal-overlay {
      position: fixed;
      inset: 0;
      height: 100%;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 100;
      backdrop-filter: blur(10px);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .modal-overlay.active {
      opacity: 1;

    }

    .modal-container {
      position: fixed;
      perspective: 800px;
      transform-style: preserve-3d;
      inset: 0;
      height: 100%;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 101;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .modal-container.active {
      opacity: 1;
      pointer-events: all;
    }

    .modal-content {
      min-height: 50%;
      max-height: 90vh;
      width: 90%;
      max-width: 900px;
      background-color: var(--modal-bg);
      border: 1px solid var(--modal-border);
      border-radius: 12px;
      position: relative;
      z-index: 102;
      overflow: hidden;
      transform: translateY(20px) scale(0.95);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .modal-container.active .modal-content {
      transform: translateY(0) scale(1);
    }

    .modal-body {
      display: flex;
      flex-direction: column;
      flex: 1;
      padding: 2rem;
      overflow-y: auto;
      max-height: calc(90vh - 60px);
    }

    .modal-header {
      margin-bottom: 1.5rem;
    }

    .modal-title {
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .modal-subtitle {
      display: flex;
      align-items: center;
      gap: 1rem;
      color: var(--feature-text);
      font-size: 0.875rem;
      margin-bottom: 1.5rem;
    }

    .modal-tag {
      background: var(--highlight-bg);
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-size: 0.75rem;
    }

    .modal-media {
      margin-bottom: 4rem;
      border-radius: 8px;
      overflow: visible;
      position: relative;

    }

    .modal-media::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
      z-index: 1;
    }

    .modal-media img {
      width: 100%;
      max-height: 400px;
      object-fit: cover;
      display: block;
    }

    .video-container {
      position: relative;
      padding-bottom: 56.25%; /* 16:9 aspect ratio */
      height: 0;
      overflow: hidden;
      background: #000;
      border-radius: 8px;
    }

    .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }

    .modal-description {
      margin-bottom: 2rem;
      color: var(--feature-text);
      line-height: 1.8;
    }

    .modal-features {
      margin-bottom: 2rem;
    }

    .features-title {
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }

    .features-title::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem;
    }

    .feature-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.875rem;
      padding: 0.5rem;
      border-radius: 6px;
      transition: all 0.2s ease;
      background: rgba(59, 130, 246, 0.05);
    }

    .feature-item:hover {
      background: rgba(59, 130, 246, 0.1);
    }

    .feature-icon {
      color: var(--accent-color);
    }

    .modal-footer {
      display: flex;
      justify-content: flex-end;
      padding: 1rem 2rem;
      background-color: var(--footer-bg);
      gap: 1rem;
      border-top: 1px solid var(--modal-border);
    }

    /* Close button */
    .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.19);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Higher than everything else */
    transition: all 0.3s ease;
  }


    .close-btn:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: rotate(90deg);
    }

    .close-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: white;
}

    /* Buttons */
    .btn {
      padding: 0.5rem 1.25rem;
      border-radius: 6px;
      font-size: 0.875rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-outline {
      background: transparent;
      color: var(--text-color);
      border: 1px solid var(--modal-border);
    }

    .btn-outline:hover {
      background: rgba(255, 255, 255, 0.05);
    }

    .btn-primary {
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      color: white;
      border: none;
    }

    .btn-primary:hover {
      background: linear-gradient(90deg, #2563eb, #6d28d9);
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }

    /* NEW FILTER STYLES */
    .filter-nav {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 2rem;
      flex-wrap: wrap;
    }

    .filter-btn {
      padding: 0.5rem 1.5rem;
      border-radius: 2rem;
      background: var(--highlight-bg);
      color: var(--feature-text);
      border: 1px solid var(--highlight-border);
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.875rem;
      font-family: Questrial, sans-serif;
    }

    .filter-btn:hover {
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      color: white;
      border-color: transparent;
      transform: translateY(-2px);
    }

    .filter-btn.active {
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      color: white;
      border-color: transparent;
      box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }

    .project-card.hidden {
      opacity: 0;
      transform: scale(0.9);
      height: 0;
      margin: 0;
      padding: 0;
      border: none;
      pointer-events: none;
    }

    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .project-card {
      animation: fadeIn 0.5s ease forwards;
      opacity: 0;
    }

    .project-card:nth-child(1) { animation-delay: 0.1s; }
    .project-card:nth-child(2) { animation-delay: 0.2s; }
    .project-card:nth-child(3) { animation-delay: 0.3s; }
    .project-card:nth-child(4) { animation-delay: 0.4s; }
    .project-card:nth-child(5) { animation-delay: 0.5s; }
    .project-card:nth-child(6) { animation-delay: 0.6s; }
    .project-card:nth-child(7) { animation-delay: 0.7s; }
    .project-card:nth-child(8) { animation-delay: 0.8s; }
    .project-card:nth-child(9) { animation-delay: 0.9s; }
    .project-card:nth-child(10) { animation-delay: 1s; }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .portfolio-section {
        padding: 4rem 1rem;
      }

      .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      }

      .section-heading {
        font-size: 2rem;
      }

      .modal-content {
        width: 95%;
      }

      .features-grid {
        grid-template-columns: 1fr;
      }

      .filter-nav {
        gap: 0.5rem;
      }

      .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
      }
    }

    @media (max-width: 480px) {
      .portfolio-section {
        padding: 3rem 1rem;
      }

      .section-heading {
        font-size: 1.75rem;
      }

      .projects-grid {
        grid-template-columns: 1fr;
      }

      .modal-body {
        padding: 1.5rem;
      }

      .modal-footer {
        flex-direction: column;
      }

      .btn {
        width: 100%;
      }
    }
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8); /* Slightly translucent white */
    border-radius: 50%;
    opacity: 0;
}

@keyframes moveParticle {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(50vw, 50vh); /* Move diagonally across the navbar */
        opacity: 0;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  #orion-footer {
            width: 100%;
            background-color: #030303;
            position: relative;
            isolation: isolate;
            overflow: hidden;
            cursor: default !important;
        }

        #orion-footer a,
        #orion-footer button {
            cursor: pointer !important;
        }

        #orion-footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            height: 150px;
            background: radial-gradient(ellipse at center top, rgba(1, 115, 198, 0.15) 0%, transparent 60%);
            z-index: -1;
            pointer-events: none;
        }

        #orion-footer .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        #orion-footer .contact-card {
            background-color: rgba(24, 24, 27, 0.5);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(55, 65, 81, 0.4);
            position: relative;
            overflow: hidden;
            transition: border-color 0.3s ease;
        }

        #orion-footer .spotlight-card {
            background: transparent;
        }

        #orion-footer .spotlight-card::before,
        #orion-footer .spotlight-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: inherit;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        #orion-footer .spotlight-card::before {
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 2rem 2rem;
            z-index: 0;
            -webkit-mask-image: radial-gradient(circle 200px at var(--x) var(--y), white, transparent);
            mask-image: radial-gradient(circle 200px at var(--x) var(--y), white, transparent);
        }

        #orion-footer .spotlight-card::after {
            background: radial-gradient(circle 200px at var(--x) var(--y), rgba(190, 220, 255, 0.2), transparent);
            opacity: 0;
        }

        #orion-footer .spotlight-card:hover::after {
            opacity: 1;
        }

        #orion-footer .contact-card > * {
            position: relative;
            z-index: 2;
        }

        /* ============================================= */
        /* SHARED BUTTON STYLES (UPDATED)       */
        /* ============================================= */
        .btn-glass-hover {
            position: relative;
            overflow: hidden;
            background-color: rgba(255, 255, 255, 0.05); /* Frosted glass background */
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
            transition: background-color 0.3s ease, border-color 0.3s ease;
            color: #E5E7EB; /* Default text color (Tailwind gray-200) */
        }

        /* Span inside the button for text styling */
        .btn-glass-hover span {
            position: relative;
            z-index: 2; /* Ensure text is above the glow */
            transition: color 0.4s ease;
        }

        .btn-glass-hover:hover {
            background-color: rgba(255, 255, 255, 0.1); /* Slightly brighter on hover */
            border-color: rgba(255, 255, 255, 0.2);
        }

        /* Gradient text on hover */
        .btn-glass-hover:hover span {
            background: linear-gradient(180deg, #ffffff, #d1d5db); /* White to light gray gradient */
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        /* The elliptical glow from the bottom */
        .btn-glass-hover::after {
            content: '';
            position: absolute;
            bottom: -75%; /* Start further below the button */
            left: 50%;
            transform: translateX(-50%);
            width: 200%; /* Make it wide */
            height: 150%; /* Make it tall */
            border-radius: 50%;
            background: radial-gradient(ellipse, rgba(176, 225, 251, 0.15) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: 1; /* Below the text span */
        }

        .btn-glass-hover:hover::after {
            opacity: 1;
        }


.line-separator.glowing-linefooter {
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(250, 252, 252, 0.5), transparent);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  margin: 0 0;
}
.line-separator.glowing-linefooter:hover {
  background: linear-gradient(to right, transparent, rgba(0, 147, 255, 0.76), transparent);
  box-shadow: 0 0 15px rgb(69, 110, 150);
}

.animated-gradient-effect{
   position: relative;
      display: inline-block;
      cursor: pointer;
      background-image: linear-gradient(90deg, #007ecd, #22d3ee, #c8fa8b, #109ab9);
      background-size: 200% auto;
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      animation: gradient 4s linear infinite;
    }
    @keyframes gradient {
      to {
        background-position: 200% center;
      }
    }

    .text-gradient-gray {
        background: linear-gradient(180deg, #ffffff, #686868);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        }

