 
  :root {
    --bg-base: 5 7 13;
    --bg-surface: 11 15 26;
    --accent: 91 155 217;
    --accent-soft: 159 197 232;
    --text-primary: 255 255 255;
    --text-secondary: 203 213 225;
    --text-muted: 148 163 184;
  }

  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background: rgb(var(--bg-base));
    color: rgb(var(--text-primary));
    color-scheme: dark;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  ::selection {
    background: rgb(var(--accent) / 0.22);
    color: rgb(var(--text-primary));
  }

  a { text-decoration: none; }
  button { font: inherit; }
  #root { min-height: 100vh; }

  /* Navbar transition */
  #navbar-inner {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: background-color 0.25s ease-out, box-shadow 0.25s ease-out, border-radius 0.35s ease;
  }
  #navbar-inner.scrolled {
    background-color: rgba(5, 7, 13, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  /* Hero entrance animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-anim { opacity: 0; animation: fadeUp 0.55s ease-out forwards; }
  .hero-anim.d1 { animation-delay: 0.05s; }
  .hero-anim.d2 { animation-delay: 0.12s; }
  .hero-anim.d3 { animation-delay: 0.18s; }
  .hero-anim.d4 { animation-delay: 0.24s; }
  .hero-anim.d5 { animation-delay: 0.22s; }

  /* Scroll reveal for sections */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  }
  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }

  /* Service card hover lift */
  .service-card {
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out;
  }
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(17, 17, 17, 0.14);
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-anim, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  }

  /* FAQ accordion */
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
  }
  .faq-item.open .faq-answer {
    opacity: 1;
  }
  .faq-icon {
    transition: transform 0.3s ease;
  }
  .faq-item.open .faq-icon {
    transform: rotate(45deg);
  }

  /* Portfolio card image zoom */
  .work-card { overflow: hidden; }
  .work-card .work-img {
    transition: transform 0.4s ease;
  }
  .work-card:hover .work-img {
    transform: scale(1.06);
  }

  /* Mobile menu */
  .mobile-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
  }
  .mobile-panel.open {
    max-height: 420px;
    opacity: 1;
  }
  #mobile-menu-btn.open .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  #mobile-menu-btn.open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  #mobile-menu-btn.open .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
 

  .menu-item a{
    position: relative;
    display: inline-block;
    padding: 5px 0px;

}

.menu-item a::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width .35s ease;
}

.menu-item a:hover::after,
.current-menu-item a::after{
    width: 100%;
}



.portfolio-swiper {
    padding-bottom: 56px !important;
    padding-left: 4px;
    padding-right: 4px;
    overflow: visible;
  }

  .portfolio-swiper .swiper-slide {
    height: auto;
    opacity: 0.45;
    transform: scale(0.94);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }

  .portfolio-swiper .swiper-slide-active,
  .portfolio-swiper .swiper-slide-duplicate-active {
    opacity: 1;
    transform: scale(1);
  }

  /* Pagination bullets */
  .portfolio-swiper .swiper-pagination {
    bottom: 0 !important;
  }

  .portfolio-swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgb(var(--text-muted));
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 999px;
  }

  .portfolio-swiper .swiper-pagination-bullet-active {
    width: 22px;
    background: rgb(var(--accent));
  }

  /* Nav arrows */
  .portfolio-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgb(var(--accent) / 0.3);
    background: rgb(var(--bg-surface));
    color: rgb(var(--text-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    cursor: pointer;
  }

  .portfolio-nav-btn:hover {
    background: rgb(var(--accent) / 0.12);
    border-color: rgb(var(--accent) / 0.6);
    color: rgb(var(--accent-soft));
  }

  .portfolio-nav-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
  }

  /* Card glow on hover */
  .project-card {
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  .project-card:hover {
    border-color: rgb(var(--accent) / 0.5);
    box-shadow: 0 20px 60px -20px rgb(var(--accent) / 0.35);
  }

  .project-card:hover .project-thumb-overlay {
    opacity: 1;
  }

  .project-card:hover .project-thumb-img {
    transform: scale(1.06);
  }

  .tag-chip {
    background: rgb(var(--accent) / 0.1);
    border: 1px solid rgb(var(--accent) / 0.25);
    
  }




  