  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(94, 234, 212, 0.3);
    color: #fff;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 6px;
  }
  ::-webkit-scrollbar-track {
    background: #0a1628;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(94, 234, 212, 0.3);
    border-radius: 3px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(94, 234, 212, 0.5);
  }

  /* Navbar */
  #navbar {
    background: transparent;
  }

  #navbar.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Floating Cards Animation */
  .floating-card {
    animation: float 6s ease-in-out infinite;
  }

  .floating-card:nth-child(1) {
    animation-delay: 0s;
  }
  .floating-card:nth-child(2) {
    animation-delay: -1.5s;
  }
  .floating-card:nth-child(3) {
    animation-delay: -3s;
  }
  .floating-card:nth-child(4) {
    animation-delay: -4.5s;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  /* Scroll Down Animation */
  @keyframes scrollDown {
    0% { top: -16px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 48px; opacity: 0; }
  }

  .animate-scroll-down {
    animation: scrollDown 1.5s ease-in-out infinite;
  }

  /* Service Cards */
  .service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .service-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Gallery */
  .gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .gallery-item.visible {
    opacity: 1;
    transform: scale(1);
  }

  /* Mobile Menu */
  #mobileMenu.open {
    opacity: 1;
    pointer-events: all;
  }

  #mobileMenu.open .mobile-link {
    animation: fadeUp 0.4s ease forwards;
    opacity: 0;
  }

  #mobileMenu.open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
  #mobileMenu.open .mobile-link:nth-child(2) { animation-delay: 0.15s; }
  #mobileMenu.open .mobile-link:nth-child(3) { animation-delay: 0.2s; }
  #mobileMenu.open .mobile-link:nth-child(4) { animation-delay: 0.25s; }
  #mobileMenu.open .mobile-link:nth-child(5) { animation-delay: 0.3s; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Menu Button Active State */
  #menuBtn.active .menu-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
  }
  #menuBtn.active .menu-line:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    width: 16px;
    margin-left: 0;
  }

  /* Hero text reveal */
  #hero h1 {
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1s ease forwards 0.3s;
  }

  #hero p {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s ease forwards 0.5s;
  }

  #hero .flex-wrap {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s ease forwards 0.7s;
  }

  #hero .inline-flex {
    opacity: 0;
    animation: heroReveal 0.8s ease forwards 0.1s;
  }

  @keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
  }

  /* Section headers */
  .section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
