/* Mobile-First Responsive Design */
/* iPhone 12/13/14 Pro Max and similar high-res mobile devices */
  @media (max-width: 428px) {
    html {
      font-size: 14px;
      -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
    }
    
    body {
      font-size: 16px;
      line-height: 1.4;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
  
  .container {
    padding: 0 20px;
    max-width: 100%;
  }
  
  .hero {
    padding: 60px 0 40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
    text-align: center;
  }
  
  .hero-title.polygon-text {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 25px;
    text-align: center;
    padding: 0 10px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    padding: 16px 24px;
    font-size: 16px;
  }
  
  .hero-logo-icon {
    width: 200px !important;
    height: 200px !important;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .about-text h2.polygon-text {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }
  
  .about-text p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .about-logo-centered {
    width: 180px !important;
    height: 180px !important;
  }
  
  .section-header h2.polygon-text {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }
  
  .section-header p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 25px 20px;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .portfolio-card {
    padding: 20px;
  }
  
  .portfolio-content h3 {
    font-size: 1.2rem;
  }
  
  .portfolio-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .contact-info h3.polygon-text {
    font-size: 1.6rem !important;
  }
  
  .contact-info p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .nav-logo-icon {
    width: 35px !important;
    height: 35px !important;
  }
  
  .navbar {
    padding: 15px 20px;
  }
  
  .nav-container {
    padding: 0;
  }
  
  .nav-menu {
    top: 60px;
    padding: 15px 20px;
  }
  
  .nav-link {
    font-size: 16px;
    padding: 12px 0;
  }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  
  /* Fusion Icon Styling */
  .fusion-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  /* Loading Screen Icon */
  .loading-logo .fusion-icon {
    width: 120px;
    height: 120px;
    animation: logoGlow 2s ease-in-out infinite alternate;
  }
  
  /* Navigation Logo Icon */
  .nav-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0, 252, 181, 0.3);
    transition: all 0.3s ease;
  }
  
  .nav-logo-icon:hover {
    border-color: rgba(0, 252, 181, 0.6);
    transform: scale(1.05);
  }
  
  /* Hero Logo Icon */
  .hero-logo-icon {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 8px solid rgba(0, 252, 181, 0.3);
    box-shadow: 0 20px 50px rgba(0, 252, 181, 0.3);
    animation: logoGlow 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
  }
  
  .hero-logo-icon:hover {
    border-color: rgba(0, 252, 181, 0.6);
    transform: scale(1.02);
  }
  
  /* About Logo Icon */
  .about-logo-icon {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 6px solid rgba(0, 252, 181, 0.2);
    box-shadow: 0 20px 50px rgba(0, 252, 181, 0.3);
    animation: logoGlow 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
  }
  
  .about-logo-icon:hover {
    border-color: rgba(0, 252, 181, 0.4);
    transform: scale(1.02);
  }
  
  /* Footer Logo Icon */
  .footer-logo-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid rgba(0, 252, 181, 0.3);
    transition: all 0.3s ease;
  }
  
  .footer-logo-icon:hover {
    border-color: rgba(0, 252, 181, 0.6);
    transform: scale(1.05);
  }
  
  /* Services Hero Icon */
  .services-hero-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(0, 252, 181, 0.3);
    box-shadow: 0 15px 40px rgba(0, 252, 181, 0.3);
    animation: logoGlow 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
  }
  
  .services-hero-icon:hover {
    border-color: rgba(0, 252, 181, 0.6);
    transform: scale(1.05);
  }
  
  /* Polygon Particles Background */
  .particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    will-change: transform; /* GPU acceleration */
  }
  
  .particle {
    position: absolute;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    border-radius: 50%;
    opacity: 0.08; /* Reduced opacity for better performance */
    animation: float 25s infinite linear; /* Slower animation */
    will-change: transform; /* GPU acceleration */
  }
  
  .particle.triangle {
    width: 0;
    height: 0;
    background: transparent;
    border-left: 6px solid transparent; /* Smaller size */
    border-right: 6px solid transparent;
    border-bottom: 10px solid #00fcb5;
    opacity: 0.1;
  }
  
  .particle.square {
    width: 8px; /* Smaller size */
    height: 8px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    transform: rotate(45deg);
    opacity: 0.08;
  }
  
  .particle.hexagon {
    width: 10px; /* Smaller size */
    height: 10px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.1;
  }
  
  /* Simplified float animation for better performance */
  @keyframes float {
    0% {
      transform: translateY(100vh) rotate(0deg);
      opacity: 0;
    }
    5% {
      opacity: 0.08;
    }
    95% {
      opacity: 0.08;
    }
    100% {
      transform: translateY(-50px) rotate(180deg); /* Reduced rotation */
      opacity: 0;
    }
  }
  
  /* Page Load Animations with Motion Blur */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
      filter: blur(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0px);
    }
  }
  
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
      filter: blur(10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
      filter: blur(0px);
    }
  }
  
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(30px);
      filter: blur(10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
      filter: blur(0px);
    }
  }
  
  @keyframes scaleIn {
    from {
      opacity: 0;
      transform: scale(0.8);
      filter: blur(8px);
    }
    to {
      opacity: 1;
      transform: scale(1);
      filter: blur(0px);
    }
  }
  
  @keyframes slideInFromTop {
    from {
      opacity: 0;
      transform: translateY(-50px);
      filter: blur(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0px);
    }
  }
  
  @keyframes glowPulse {
    0%,
    100% {
      box-shadow: 0 0 20px rgba(0, 252, 181, 0.3);
    }
    50% {
      box-shadow: 0 0 40px rgba(0, 252, 181, 0.6);
    }
  }
  
  @keyframes floating {
    0%,
    100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  
  @keyframes logoGlow {
    from {
      box-shadow: 0 10px 30px rgba(0, 252, 181, 0.3);
    }
    to {
      box-shadow: 0 15px 40px rgba(0, 145, 207, 0.4);
    }
  }
  
  /* Loading Screen */
  .loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  .loading-content {
    text-align: center;
    color: white;
  }
  
  .loading-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    animation: scaleIn 1s ease-out;
  }
  
  .loading-logo .fusion-logo-symbol {
    width: 120px;
    height: 120px;
  }
  
  .loading-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.5s both;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
  }
  
  .loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00fcb5, #0091cf);
    border-radius: 2px;
    animation: loadingProgress 2s ease-out 1s forwards;
  }
  
  @keyframes loadingProgress {
    to {
      width: 100%;
    }
  }
  
  .loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
  }
  
  /* Initial hidden state for animations */
  .animate-on-load {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }
  
  /* Animation classes with motion blur */
  .fade-in-up {
    animation: fadeInUp 1.2s ease-out forwards;
  }
  
  .fade-in-left {
    animation: fadeInLeft 1.2s ease-out forwards;
  }
  
  .fade-in-right {
    animation: fadeInRight 1.2s ease-out forwards;
  }
  
  .scale-in {
    animation: scaleIn 1.2s ease-out forwards;
  }
  
  .slide-in-top {
    animation: slideInFromTop 1.2s ease-out forwards;
  }
  
  .glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  /* Custom smooth scrolling for better control */
  .smooth-scroll {
    scroll-behavior: auto;
  }
  
  /* Motion blur effect for smooth scrolling */
  body {
    transition: filter 0.2s ease-out;
  }
  
  body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: white;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    min-height: 100vh;
  }
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Navigation */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 252, 181, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    /* Ensure navbar is always visible and not affected by body filters */
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    /* Additional isolation from animation effects */
    will-change: auto;
    isolation: isolate;
  }
  
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
  }
  
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
  }
  
  .nav-menu {
    display: flex;
    gap: 30px;
    /* Ensure desktop navigation is always visible */
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .nav-link:hover {
    color: #00fcb5;
  }
  
  .nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    transition: width 0.3s ease;
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  .nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
  }
  
  .nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
  }
  
  /* Hero Section */
  .hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: left;
  }
  
  .hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-logo .fusion-logo-symbol {
    animation: logoGlow 2s ease-in-out infinite alternate;
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    will-change: transform; /* GPU acceleration */
  }
  
  .btn-primary {
    background: linear-gradient(135deg, #00fcb5 0%, #0091cf 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 252, 181, 0.3), 0 4px 15px rgba(0, 145, 207, 0.4);
    border: 2px solid rgba(0, 252, 181, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
  }
  
  .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
  }
  
  .btn-primary:hover::before {
    left: 100%;
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 252, 181, 0.4), 0 8px 25px rgba(0, 145, 207, 0.6);
    background: linear-gradient(135deg, #00e6a3 0%, #0080b8 100%);
  }
  
  .btn-secondary {
    background: rgba(0, 252, 181, 0.1);
    color: white;
    border: 2px solid rgba(0, 252, 181, 0.3);
    backdrop-filter: blur(10px);
  }
  
  .btn-secondary:hover {
    background: rgba(0, 252, 181, 0.2);
    transform: translateY(-3px);
    border-color: rgba(0, 252, 181, 0.5);
  }
  
  .btn-large {
    padding: 20px 40px;
    font-size: 18px;
  }
  
  /* Section Headers */
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* Services Section */
  .services {
    padding: 80px 0;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
  }
  
  .service-card {
    background: rgba(0, 252, 181, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 252, 181, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    will-change: transform; /* GPU acceleration */
  }
  
  .service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 252, 181, 0.1), transparent);
    transition: left 0.5s;
  }
  
  .service-card:hover::before {
    left: 100%;
  }
  
  .service-card:hover {
    background: rgba(0, 252, 181, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 252, 181, 0.2);
    border-color: rgba(0, 252, 181, 0.3);
  }
  
  .service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
  }
  
  .service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
  }
  
  .service-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .service-features {
    list-style: none;
    text-align: left;
  }
  
  .service-features li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 252, 181, 0.1);
  }
  
  .service-features li:last-child {
    border-bottom: none;
  }
  
  .service-features li::before {
    content: "✓";
    color: #00fcb5;
    font-weight: bold;
    margin-right: 10px;
  }
  
  /* About Section */
  .about {
    padding: 80px 0;
    background: rgba(0, 252, 181, 0.03);
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .about-text {
    text-align: center;
    padding-right: 50px;
  }
  
  .about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .about-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.7;
    text-align: center;
  }
  
  .about-logo-column {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding-left: 0;
  }
  
  .about-logo-centered {
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0;
  }
  
  .about-logo-centered .fusion-logo-symbol {
    animation: logoGlow 2s ease-in-out infinite alternate;
  }
  
  .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    align-items: center;
    justify-items: center;
    text-align: center;
  }
  
  .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 252, 181, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 252, 181, 0.1);
    backdrop-filter: blur(10px);
    min-width: 120px;
    transition: all 0.3s ease;
  }
  
  .stat-item:hover {
    background: rgba(0, 252, 181, 0.08);
    border-color: rgba(0, 252, 181, 0.2);
    transform: translateY(-3px);
  }
  
  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00fcb5;
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.4;
  }
  
  /* Portfolio Section */
  .portfolio {
    padding: 80px 0;
  }
  
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
  }
  
  .portfolio-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 252, 181, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
  }
  
  .portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 252, 181, 0.3); /* Reduced from 0.5 */
    box-shadow: 0 10px 30px rgba(0, 252, 181, 0.1), /* Reduced from 0.2 */ 0 0 20px rgba(0, 252, 181, 0.05); /* Reduced from 0.1 */
    background: rgba(255, 255, 255, 0.08); /* Reduced from 0.1 */
  }
  
  .portfolio-card:hover .portfolio-image::after {
    opacity: 0.05; /* Reduced from 0.1 */
  }
  
  .portfolio-image {
    height: 250px;
    background: rgba(0, 252, 181, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    position: relative;
  }
  
  /* Text readability overlay removed - now using ::after for light sweep effect */
  
  .portfolio-placeholder {
    font-size: 64px;
  }
  
  .portfolio-project-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 20;
  }
  
  /* Ensure carousel images also fill the entire space */
  .portfolio-carousel .portfolio-project-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 20;
  }
  
  .portfolio-card:hover .portfolio-project-image {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.1) saturate(1.2) drop-shadow(0 0 15px rgba(0, 252, 181, 0.4));
    box-shadow: 0 0 25px rgba(0, 252, 181, 0.3);
  }
  
  .carousel-container {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
  }
  
  /* Removed duplicate rule to fix conflicts */
  
  /* Background image effect for carousel images */
  .portfolio-carousel::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: var(--carousel-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(30px) brightness(0.7);
    z-index: 0;
    opacity: 1;
    transition: all 0.3s ease;
  }
  
  /* Enhanced lighting effect on hover */
  .portfolio-card:hover .portfolio-carousel::before {
    filter: blur(25px) brightness(0.8);
    opacity: 1;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
  }
  
  /* Enhanced overlay on hover - removed, now using light sweep effect */
  
  /* Enhanced carousel styling with better contrast */
  .portfolio-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    z-index: 15;
    background: transparent;
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
  }
  
  /* Glow effect when hovering over portfolio card */
  .portfolio-card:hover .portfolio-carousel {
    box-shadow: 0 0 15px rgba(0, 252, 181, 0.2);
    background: transparent;
  }
  
  /* Removed ::after pseudo-element to fix image display issues */
  
  /* Shiny light sweep effect */
  .portfolio-carousel {
    position: relative;
  }
  
  .portfolio-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    transition: all 0.8s ease;
    opacity: 0;
    z-index: 6;
    pointer-events: none;
  }
  
  .portfolio-card:hover .portfolio-carousel::after {
    left: 100%;
    opacity: 1;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      rgba(0, 252, 181, 0.6),
      rgba(255, 255, 255, 0.8),
      transparent
    );
  }
  
  /* Carousel Arrows */
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #00c494;
    border: 2px solid #00c494;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .carousel-arrow:hover {
    background: transparent;
    color: #00fcb5;
    border-color: #00fcb5;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 252, 181, 0.4);
  }
  
  .carousel-prev {
    left: 10px;
  }
  
  .carousel-next {
    right: 10px;
  }
  
  /* Carousel Indicators */
  .carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 6;
  }
  
  /* All portfolio cards - dots visible above images */
  .portfolio-card .portfolio-project-image {
    z-index: 3;
  }
  
  .portfolio-card .carousel-indicators {
    z-index: 15;
  }
  
  .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .indicator.active {
    background: #00fcb5;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 252, 181, 0.6);
  }
  
  /* Glow effect for indicators on hover */
  .portfolio-card:hover .indicator {
    box-shadow: 0 0 8px rgba(0, 252, 181, 0.4);
  }
  
  .portfolio-card:hover .indicator.active {
    box-shadow: 0 0 15px rgba(0, 252, 181, 0.8);
  }
  
  /* Image Modal/Lightbox */
  .image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    animation: modalFadeIn 0.3s ease-out;
  }
  
  .modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
  }
  
  .close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }
  
  #modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    animation: imageSlideIn 0.4s ease-out;
  }
  
  #modalImage:hover {
    transform: scale(1.02);
  }
  
  .modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
  }
  
  .nav-btn {
    background: rgba(0, 252, 181, 0.15);
    border: 2px solid rgba(0, 252, 181, 0.4);
    color: #00fcb5;
    font-size: 28px;
    font-weight: 300;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 252, 181, 0.2);
  }
  
  .nav-btn:hover {
    background: rgba(0, 252, 181, 0.25);
    border-color: rgba(0, 252, 181, 0.8);
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(0, 252, 181, 0.4);
    color: #ffffff;
  }
  
  .nav-btn:active {
    transform: scale(1.05);
  }
  
  /* Enhanced arrow styling */
  .nav-btn.prev-btn::before {
    content: "‹";
    font-size: 36px;
    line-height: 1;
    margin-left: -2px;
  }
  
  .nav-btn.next-btn::before {
    content: "›";
    font-size: 36px;
    line-height: 1;
    margin-right: -2px;
  }
  
  /* Modal entrance animation */
  .image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
    transition: all 0.3s ease;
  }
  
  @keyframes modalFadeIn {
    from {
      opacity: 0;
      backdrop-filter: blur(0px);
    }
    to {
      opacity: 1;
      backdrop-filter: blur(8px);
    }
  }
  
  /* Image entrance animation */
  #modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    animation: imageSlideIn 0.4s ease-out;
  }
  
  @keyframes imageSlideIn {
    from {
      opacity: 0;
      transform: scale(0.95) translateY(20px);
    }
    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
  
  /* Responsive modal improvements */
  @media (max-width: 768px) {
    .modal-content {
      padding: 15px;
      width: 95%;
      height: 95%;
    }
  
    .close-modal {
      top: 15px;
      right: 20px;
      width: 45px;
      height: 45px;
      font-size: 20px;
    }
  
    .nav-btn {
      width: 50px;
      height: 50px;
      font-size: 24px;
    }
  
    .modal-navigation {
      padding: 0 20px;
    }
  }
  
  @media (max-width: 480px) {
    .close-modal {
      top: 10px;
      right: 15px;
      width: 40px;
      height: 40px;
      font-size: 18px;
    }
  
    .nav-btn {
      width: 45px;
      height: 45px;
      font-size: 20px;
    }
  
    .modal-navigation {
      padding: 0 15px;
    }
  }
  
  .portfolio-content {
    padding: 25px;
  }
  
  .portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
  }
  
  .portfolio-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  .portfolio-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .portfolio-tags span {
    background: rgba(0, 252, 181, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 252, 181, 0.2);
  }
  
  /* Contact Section */
  .contact {
    padding: 80px 0;
    background: rgba(0, 252, 181, 0.03);
  }
  
  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  
  .contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .contact-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
  }
  
  .contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .contact-icon {
    font-size: 24px;
  }
  
  .contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
  }
  
  .contact-details a {
    color: #00fcb5;
    text-decoration: none;
    font-weight: 500;
  }
  
  .contact-details p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
  }
  
  .contact-action {
    text-align: center;
  }
  
  .contact-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Footer */
  .footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 252, 181, 0.2);
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
  }
  
  .footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #00fcb5;
  }
  
  /* Tablet Design */
  @media (max-width: 1024px) and (min-width: 769px) {
    .hero-title.polygon-text {
      font-size: 3rem;
      line-height: 1.15;
    }
    
    .hero-container {
      gap: 40px;
      padding: 0 30px;
    }
    
    .hero-content {
      text-align: left;
    }
    
    .hero-subtitle {
      font-size: 1.1rem;
    }
    
    .container {
      padding: 0 30px;
    }
  }
  
  /* Medium Mobile and Small Tablet */
  @media (max-width: 768px) and (min-width: 429px) {
    .hero-title.polygon-text {
      font-size: 2rem !important;
      line-height: 1.2 !important;
    }
    
    .hero-subtitle {
      font-size: 1rem !important;
    }
    
    .hero-logo-icon {
      width: 250px !important;
      height: 250px !important;
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .nav-menu {
      display: flex; /* Keep navigation visible on mobile */
      flex-direction: column;
      position: absolute;
      top: 70px;
      left: 0;
      right: 0;
      background: rgba(26, 26, 26, 0.95);
      backdrop-filter: blur(20px);
      padding: 20px;
      border-top: 1px solid rgba(0, 252, 181, 0.2);
      gap: 20px;
      z-index: 999;
      transition: all 0.3s ease;
    }
  
    .nav-toggle {
      display: flex;
    }
  
    /* Mobile menu states */
    .nav-menu:not(.active) {
      transform: translateY(-100%);
      opacity: 0;
      pointer-events: none;
    }
  
    .nav-menu.active {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
  
    .hero-container {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 40px;
      padding: 0 20px;
    }
    
    .hero {
      padding: 100px 0 70px;
      min-height: auto;
    }
  
    .hero-title.polygon-text {
      font-size: 2.2rem;
      line-height: 1.15;
      text-align: center;
      margin-bottom: 18px;
    }
    
    .hero-content {
      text-align: center;
    }
    
    .hero-subtitle {
      text-align: center;
      font-size: 1.05rem;
      margin-bottom: 28px;
    }
  
    .hero-logo .fusion-logo-symbol.large {
      width: 250px;
      height: 250px;
    }
  
    .about-content {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 40px;
      max-width: 100%;
      align-items: center;
    }
  
    .about-text {
      text-align: center;
      padding-right: 0;
    }
  
    .about-logo-column {
      padding-left: 0;
      justify-content: center;
    }
  
    .about-logo-centered {
      width: 250px;
      height: 250px;
      margin: 0 auto;
    }
  
    .contact-content {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 40px;
    }
  
    .services-grid,
    .portfolio-grid {
      grid-template-columns: 1fr;
    }
  
    .hero-buttons {
      justify-content: center;
    }
  
    .footer-content {
      flex-direction: column;
      text-align: center;
    }
  
    .polygon-particle {
      animation-duration: 6s;
    }
  
    .particle {
      animation-duration: 30s;
    }
  
    .logo-particle {
      animation-duration: 12s;
    }
  
    /* Reduce particle counts on mobile */
    .polygon-text-particle:nth-child(n + 6) {
      display: none;
    }
  
    .btn-particle:nth-child(n + 4) {
      display: none;
    }
  
    .logo-particle:nth-child(n + 8) {
      display: none;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 0 15px;
    }
    
    .hero {
      padding: 80px 0 60px;
      min-height: auto;
    }
    
    .hero-container {
      padding: 0 15px;
      gap: 30px;
    }
  
    .hero-title.polygon-text {
      font-size: 1.8rem;
      line-height: 1.2;
      text-align: center;
      margin-bottom: 15px;
    }
    
    .hero-content {
      text-align: center;
    }
    
    .hero-subtitle {
      text-align: center;
      font-size: 0.95rem;
      margin-bottom: 25px;
      line-height: 1.5;
    }
  
    .section-header h2 {
      font-size: 2rem;
    }
  
    .service-card,
    .portfolio-card {
      padding: 20px;
    }
  
    .btn {
      padding: 12px 24px;
      font-size: 14px;
    }
  
    .hero-logo .fusion-logo-symbol.large {
      width: 200px;
      height: 200px;
    }
  
    .about-logo-centered {
      width: 200px;
      height: 200px;
    }
  
    .about-stats {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
  
    .stat-item {
      min-width: auto;
      padding: 15px;
    }
  }
  
  /* Mobile Navigation */
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-top: 1px solid rgba(0, 252, 181, 0.2);
  }
  
  /* Smooth scrolling for older browsers */
  @media (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: auto;
    }
  }
  
  /* Print styles */
  @media print {
    body {
      background: white;
      color: black;
    }
  
    .navbar,
    .hero-buttons,
    .contact-action {
      display: none;
    }
  
    .service-card,
    .portfolio-card {
      background: #f8f9fa;
      border: 1px solid #dee2e6;
      color: black;
      break-inside: avoid;
    }
  
    .service-title,
    .portfolio-content h3 {
      color: #333;
    }
  
    .service-description,
    .portfolio-content p {
      color: #666;
    }
  
    .service-features li {
      color: #555;
    }
  }
  
  /* Polygon Text Effects */
  .polygon-text {
    position: relative;
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    will-change: filter; /* GPU acceleration */
    animation: polygonTextGlow 4s ease-in-out infinite alternate; /* Slower animation */
  }
  
  .polygon-text-container {
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
  }
  
  /* Removed complex blur layers for performance - keeping only essential effects */
  .polygon-text-bg {
    display: none; /* Disabled for performance */
  }
  
  .polygon-text-outline {
    display: none; /* Disabled for performance */
  }
  
  .polygon-text-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  
  .polygon-text-particle {
    position: absolute;
    width: 3px; /* Smaller particles */
    height: 3px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    border-radius: 50%;
    opacity: 0.5; /* Reduced opacity */
    animation: polygonTextFloat 8s ease-in-out infinite; /* Slower animation */
    will-change: transform;
  }
  
  .polygon-text-particle.triangle {
    width: 0;
    height: 0;
    background: transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 4px solid #00fcb5;
    border-radius: 0;
  }
  
  .polygon-text-particle.square {
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    transform: rotate(45deg);
    border-radius: 0;
  }
  
  .polygon-text-particle.hexagon {
    width: 5px;
    height: 5px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 0;
  }
  
  /* Polygon Text Animations */
  @keyframes polygonTextGlow {
    0% {
      filter: drop-shadow(0 0 2px rgba(0, 252, 181, 0.1));
    }
    100% {
      filter: drop-shadow(0 0 4px rgba(0, 252, 181, 0.15));
    }
  }
  
  @keyframes polygonTextFloat {
    0%,
    100% {
      transform: translateY(0px) rotate(0deg);
      opacity: 0.5;
    }
    50% {
      transform: translateY(-6px) rotate(180deg);
      opacity: 0.8;
    }
  }
  
  /* Hero Title with Polygon Effect */
  .hero-title.polygon-text {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
    text-align: left;
  }
  
  /* Override polygon text container for hero section to maintain left alignment */
  .hero-title .polygon-text-container {
    display: inline-block;
    text-align: left;
    width: auto;
  }
  
  /* Ensure proper line breaks in hero title */
  .hero-title .polygon-text-container .polygon-text,
  .hero-title .polygon-text-container .polygon-text-bg,
  .hero-title .polygon-text-container .polygon-text-outline {
    white-space: pre-line;
    line-height: 1.1;
  }
  
  /* Responsive polygon text container */
  @media (max-width: 768px) {
    .hero-title .polygon-text-container {
      display: block;
      text-align: center;
      width: 100%;
    }
    
    /* Ensure text is readable on mobile */
    .polygon-text-container .polygon-text,
    .polygon-text-container .polygon-text-bg,
    .polygon-text-container .polygon-text-outline {
      word-wrap: break-word;
      overflow-wrap: break-word;
    }
  }
  
  /* Mobile-specific polygon text improvements */
  @media (max-width: 428px) {
    .polygon-text-container {
      display: block !important;
      text-align: center !important;
      width: 100% !important;
    }
    
    .polygon-text-container .polygon-text,
    .polygon-text-container .polygon-text-bg,
    .polygon-text-container .polygon-text-outline {
      white-space: pre-line !important;
      line-height: 1.3 !important;
      word-wrap: break-word !important;
      overflow-wrap: break-word !important;
      hyphens: auto !important;
    }
    
    /* Ensure proper spacing for mobile */
    .hero-title.polygon-text {
      margin: 0 auto 20px auto;
      max-width: 100%;
    }
  }
  
  /* Section Headers with Polygon Effect */
  .section-header h2.polygon-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
  }
  
  /* Loading Text with Polygon Effect */
  .loading-text.polygon-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
  }
  
  /* Services Hero with Polygon Effect */
  .services-hero h1.polygon-text {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  /* About Text with Polygon Effect */
  .about-text h2.polygon-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
  }
  
  /* Contact Info with Polygon Effect */
  .contact-info h3.polygon-text {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  /* Button Wrapper for Particles */
  .btn-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 10px;
  }
  
  /* Button Particle Effects */
  .btn {
    position: relative;
    overflow: hidden;
    will-change: transform; /* GPU acceleration */
  }
  
  .btn-particles {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 40px; /* Reduced height */
    pointer-events: none;
    z-index: 1;
  }
  
  .btn-particle {
    position: absolute;
    width: 3px; /* Smaller particles */
    height: 3px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease; /* Simplified transition */
    transform: scale(0.8) translateY(15px);
    will-change: transform, opacity;
  }
  
  .btn-particle.triangle {
    width: 0;
    height: 0;
    background: transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 4px solid #00fcb5;
    border-radius: 0;
  }
  
  .btn-particle.square {
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    transform: rotate(45deg) scale(0.8) translateY(15px);
    border-radius: 0;
  }
  
  .btn-particle.hexagon {
    width: 5px;
    height: 5px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 0;
  }
  
  /* Button hover state for particles */
  .btn:hover .btn-particle {
    transform: scale(1) translateY(-8px);
    opacity: 0.8;
  }
  
  /* Logo Particle Effects */
  .logo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
  }
  
  .logo-particle {
    position: absolute;
    width: 2px; /* Smaller particles */
    height: 2px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    border-radius: 50%;
    opacity: 0.4; /* Reduced opacity */
    animation: logoParticleFloat 10s ease-in-out infinite; /* Slower animation */
    will-change: transform;
  }
  
  .logo-particle.triangle {
    width: 0;
    height: 0;
    background: transparent;
    border-left: 1.5px solid transparent;
    border-right: 1.5px solid transparent;
    border-bottom: 3px solid #00fcb5;
    border-radius: 0;
  }
  
  .logo-particle.square {
    width: 3px;
    height: 3px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    transform: rotate(45deg);
    border-radius: 0;
  }
  
  .logo-particle.hexagon {
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #00fcb5, #0091cf);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 0;
  }
  
  @keyframes logoParticleFloat {
    0%,
    100% {
      transform: translateY(0px) rotate(0deg) scale(1);
      opacity: 0.4;
    }
    50% {
      transform: translateY(-6px) rotate(180deg) scale(1.05);
      opacity: 0.7;
    }
  }
  
  /* Enhanced Polygon Particles Background */
  .polygon-particle {
    position: absolute;
    animation: polygonFloat 15s ease-in-out infinite;
    will-change: transform;
  }
  
  .polygon-particle.triangle {
    filter: drop-shadow(0 0 3px rgba(0, 252, 181, 0.4));
  }
  
  .polygon-particle.square {
    filter: drop-shadow(0 0 3px rgba(0, 145, 207, 0.4));
  }
  
  .polygon-particle.hexagon {
    filter: drop-shadow(0 0 3px rgba(0, 252, 181, 0.4));
  }
  
  .polygon-particle.diamond {
    filter: drop-shadow(0 0 3px rgba(0, 145, 207, 0.4));
  }
  
  .polygon-particle.circle {
    filter: drop-shadow(0 0 3px rgba(0, 252, 181, 0.4));
  }
  
  @keyframes polygonFloat {
    0%,
    100% {
      transform: translateY(0px) scale(1);
      opacity: 0.6;
    }
    25% {
      transform: translateY(-20px) rotate(90deg) scale(1.1);
      opacity: 0.8;
    }
    50% {
      transform: translateY(-10px) rotate(180deg) scale(0.9);
      opacity: 0.7;
    }
    75% {
      transform: translateY(-15px) rotate(270deg) scale(1.05);
      opacity: 0.9;
    }
  }
  
  /* Prefer reduced motion support */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  
    .particle,
    .logo-particle,
    .btn-particle,
    .polygon-text-particle {
      display: none;
    }
  }
  
  /* Added CSS-only animated polygon background shapes for better performance */
  .particles-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20% 30%, rgba(0, 252, 181, 0.3), transparent),
      radial-gradient(2px 2px at 40% 70%, rgba(0, 145, 207, 0.3), transparent),
      radial-gradient(1px 1px at 90% 40%, rgba(0, 252, 181, 0.4), transparent),
      radial-gradient(1px 1px at 50% 50%, rgba(0, 145, 207, 0.2), transparent),
      radial-gradient(2px 2px at 80% 10%, rgba(0, 252, 181, 0.3), transparent),
      radial-gradient(1px 1px at 10% 80%, rgba(0, 145, 207, 0.3), transparent),
      radial-gradient(2px 2px at 60% 20%, rgba(0, 252, 181, 0.2), transparent),
      radial-gradient(1px 1px at 30% 90%, rgba(0, 145, 207, 0.4), transparent);
    background-size: 300px 300px, 400px 400px, 200px 200px, 350px 350px, 250px 250px, 300px 300px, 400px 400px, 200px
      200px;
    animation: polygonBackgroundFloat 20s ease-in-out infinite;
    opacity: 0.6;
    z-index: -1;
  }
  
  .particles-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(1px 1px at 70% 60%, rgba(0, 252, 181, 0.2), transparent),
      radial-gradient(2px 2px at 15% 15%, rgba(0, 145, 207, 0.3), transparent),
      radial-gradient(1px 1px at 85% 85%, rgba(0, 252, 181, 0.3), transparent),
      radial-gradient(2px 2px at 25% 75%, rgba(0, 145, 207, 0.2), transparent),
      radial-gradient(1px 1px at 75% 25%, rgba(0, 252, 181, 0.4), transparent),
      radial-gradient(2px 2px at 45% 55%, rgba(0, 145, 207, 0.2), transparent);
    background-size: 350px 350px, 280px 280px, 320px 320px, 380px 380px, 220px 220px, 300px 300px;
    animation: polygonBackgroundFloat 25s ease-in-out infinite reverse;
    opacity: 0.4;
    z-index: -1;
  }
  
  @keyframes polygonBackgroundFloat {
    0%,
    100% {
      transform: translateY(0px) translateX(0px) scale(1);
    }
    25% {
      transform: translateY(-10px) translateX(5px) scale(1.02);
    }
    50% {
      transform: translateY(-5px) translateX(-8px) scale(0.98);
    }
    75% {
      transform: translateY(8px) translateX(3px) scale(1.01);
    }
  }
  
  /* Essential Mobile Fixes - Added at the end to prevent conflicts */
  @media (max-width: 428px) {
    /* Safari-specific fixes */
    html {
      -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    
    body {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      -webkit-overflow-scrolling: touch;
    }
    
    html, body {
      overflow-x: hidden;
      width: 100%;
      max-width: 100%;
      -webkit-overflow-scrolling: touch;
    }
    
    .container {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }
    
    .hero-container {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }
    
    /* Fix tab bar size and ensure text visibility */
    .navbar {
      padding: 10px 15px !important;
      height: auto !important;
      min-height: 60px !important;
      background: rgba(26, 26, 26, 0.95) !important;
      -webkit-backdrop-filter: blur(20px) !important;
      backdrop-filter: blur(20px) !important;
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      z-index: 1000 !important;
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
    }
    
    .nav-container {
      padding: 0 !important;
      height: auto !important;
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
    }
    
    .nav-logo-icon {
      width: 28px !important;
      height: 28px !important;
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
    }
    
    .nav-logo span {
      font-size: 16px !important;
      -webkit-font-smoothing: antialiased !important;
    }
    
    /* Fix hero section spacing and text visibility */
    .hero {
      padding: 100px 20px 60px 20px !important;
      min-height: auto !important;
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
      margin-top: 60px !important;
    }
    
    .hero-title.polygon-text {
      font-size: 1.6rem !important;
      line-height: 1.2 !important;
      text-align: center !important;
      margin-top: 20px !important;
      margin-bottom: 20px !important;
      -webkit-font-smoothing: antialiased !important;
      -moz-osx-font-smoothing: grayscale !important;
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
    }
    
    .hero-subtitle {
      font-size: 0.9rem !important;
      line-height: 1.5 !important;
      text-align: center !important;
      margin-bottom: 25px !important;
      -webkit-font-smoothing: antialiased !important;
      -moz-osx-font-smoothing: grayscale !important;
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
    }
    
    .hero-content {
      text-align: center !important;
    }
    
    .hero-buttons {
      flex-direction: column !important;
      gap: 15px !important;
      align-items: center !important;
    }
    
    .btn {
      width: 100% !important;
      max-width: 280px !important;
    }
    
    .hero-logo-icon {
      width: 160px !important;
      height: 160px !important;
    }
    
    /* Fix polygon animation interference */
    .particles-container {
      z-index: -1 !important;
      pointer-events: none !important;
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
      -webkit-backface-visibility: hidden !important;
      backface-visibility: hidden !important;
    }
    
    .polygon-text-particles {
      z-index: -1 !important;
      pointer-events: none !important;
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
    }
    
    /* Safari-specific polygon text fixes */
    .polygon-text-container {
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
      -webkit-backface-visibility: hidden !important;
      backface-visibility: hidden !important;
    }
    
    .polygon-text {
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
      -webkit-backface-visibility: hidden !important;
      backface-visibility: hidden !important;
    }
    
    /* Fix portfolio/projects display */
    .portfolio-grid {
      grid-template-columns: 1fr !important;
      gap: 20px !important;
    }
    
    .portfolio-card {
      padding: 20px !important;
    }
    
    .portfolio-carousel {
      height: 200px !important;
    }
    
    .carousel-container {
      height: 100% !important;
    }
    
    .portfolio-project-image {
      width: 100% !important;
      height: 100% !important;
      object-fit: contain !important;
    }
    
    /* Ensure only one image shows at a time */
    .portfolio-carousel .carousel-container img:not(:first-child) {
      display: none !important;
    }
    
    .portfolio-carousel .carousel-container img:first-child {
      display: block !important;
    }
    
    /* Fix carousel navigation */
    .carousel-arrow {
      width: 35px !important;
      height: 35px !important;
      font-size: 16px !important;
    }
    
    .carousel-prev {
      left: 5px !important;
    }
    
    .carousel-next {
      right: 5px !important;
    }
    
    /* Fix about section */
    .about-content {
      grid-template-columns: 1fr !important;
      gap: 30px !important;
      text-align: center !important;
    }
    
    .about-text h2.polygon-text {
      font-size: 1.8rem !important;
      line-height: 1.2 !important;
    }
    
    .about-text p {
      font-size: 0.9rem !important;
      line-height: 1.5 !important;
    }
    
    .about-logo-centered {
      width: 150px !important;
      height: 150px !important;
    }
    
    /* Fix services section */
    .services-grid {
      grid-template-columns: 1fr !important;
      gap: 20px !important;
    }
    
    .service-card {
      padding: 25px 20px !important;
    }
    
    .service-card h3 {
      font-size: 1.3rem !important;
    }
    
    .service-card p {
      font-size: 0.9rem !important;
      line-height: 1.5 !important;
    }
    
    /* Fix section headers */
    .section-header h2.polygon-text {
      font-size: 1.8rem !important;
      line-height: 1.2 !important;
    }
    
    .section-header p {
      font-size: 0.9rem !important;
      line-height: 1.5 !important;
    }
    
    /* Ensure proper scrolling */
    .hero, .about, .services, .portfolio, .contact {
      position: relative !important;
      z-index: 1 !important;
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
      -webkit-backface-visibility: hidden !important;
      backface-visibility: hidden !important;
    }
    
    /* Safari-specific button fixes */
    .btn {
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
      -webkit-backface-visibility: hidden !important;
      backface-visibility: hidden !important;
      -webkit-appearance: none !important;
      appearance: none !important;
    }
    
    /* Safari-specific image fixes */
    img {
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
      -webkit-backface-visibility: hidden !important;
      backface-visibility: hidden !important;
    }
    
    /* Safari-specific grid fixes */
    .portfolio-grid, .services-grid {
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
    }
  }
  