        /* Preloader - add at the very top */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0a0a0f; /* match your main background */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }

        .preloader.fade-out {
            opacity: 0;
            pointer-events: none;
        }

        /* Hide body content initially */
        body:not(.loaded) .hero,
        body:not(.loaded) main {
            opacity: 0;
        }

        body.loaded .hero,
        body.loaded main {
            opacity: 1;
            transition: opacity 0.3s ease-in;
        }
        
        
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --secondary: #06ffa5;
            --secondary_new: #00d5ff;
            --secondary_hero: linear-gradient(135deg, #00729b 0%, #8b5cf6 100%);
            --accent: #ff6b6b;
            --dark: #0a0a0a;
            --dark-card: #111111;
            --dark-lighter: #1a1a1a;
            --text-primary: #ffffff;
            --text-secondary: #a1a1aa;
            --text-muted: #71717a;
            --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            --gradient-secondary: linear-gradient(135deg, #ff065d 0%, #008cff 100%);
            --gradient-tertiary: linear-gradient(135deg, #ff8306 0%, #ff0073 100%);
            --gradient-socials: linear-gradient(135deg, #ff830695 0%, #ff007383 100%);
            --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
            --blur: blur(20px);
            --button: linear-gradient(135deg, #129af4 0%, #30166e 100%);
            --button_send: linear-gradient(145deg, #f49d12 0%, #30166e 100%);
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--dark);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Animated Background */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            background: var(--dark);
        }

        .bg-animation::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(6, 255, 165, 0.05) 0%, transparent 50%);
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(10deg); }
        }

        /* Header */
        /* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9999;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.header.scrolled {
  padding: 0.5rem 0;
  background: rgba(10, 10, 10, 0.95);
}

/* Container */
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto; /* stays left */
}

.logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.logo-text {
  margin-left: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav Menu (Desktop) */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;   /* THIS pushes nav items to extreme right */
  align-items: center;
}

.header .nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-tertiary);
  transition: width 0.3s ease;
}

.header .nav-link:hover,
.header .nav-link.active {
  color: var(--text-primary);
}

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

/* ========== HAMBURGER MENU ========== */
.hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  margin-left: auto; /* always sticks to far right on mobile */
  transition: transform 0.3s ease; /* subtle press animation */
}

.hamburger:active {
  transform: scale(0.9); /* tap feedback */
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* bounce easing */
}

/* Hamburger active state with animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0); /* shrink animation */
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}


/* ===== Overlay with dark + blur ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* subtle dark layer */
  backdrop-filter: blur(8px);       /* glassmorphism blur */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900; /* below nav menu */
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Nav with fade-slide */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--dark-lighter);
  width: 200px;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 1000;

  animation: slideDown 0.35s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .nav-menu {
    display: none; /* hide nav items on mobile */
  }

  .nav-menu li {
    margin-bottom: 1rem;
  }

  .hamburger {
    display: flex; /* show hamburger only on mobile */
  }

  .cta-button {
    display: none;
  }
}




/* CTA Button */
.cta-button {
    padding: 0.75rem 1.5rem;
    background: var(--button);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}


        /* ===========================================
   HERO SECTION
   =========================================== */

/* Hero Layout */
.hero {
    min-height: 118vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ===========================================
   HERO CONTENT (Text Side)
   =========================================== */

.hero-content {
    z-index: 2;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: pulse-badge 2s infinite;
}

/* Title */
.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--button);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: var(--blur);
}

.btn-secondary:hover {
    border-color: var(--secondary_new);
    background: rgba(6, 255, 165, 0.1);
    color: var(--secondary_new);
}

/* ===========================================
   HERO VISUAL (3D Cube Side)
   =========================================== */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    /* Only the visual/cube slides in from left */
    animation: slideInFromLeft 2.5s ease-out forwards;
    transform: translateX(-100vw);
    opacity: 0;
}

/* 3D Cube Container */
.hero-dice {
    position: relative;
    width: 250px;
    height: 250px;
    transform-style: preserve-3d;
    animation: spin 12s infinite linear;
    transform: rotateX(-15deg) rotateY(-15deg);
}

/* Cube Faces */
.face {
    position: absolute;
    width: 250px;
    height: 250px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.face-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
      0 15px 35px rgba(0, 0, 0, 0.3),
      inset 0 2px 0 rgba(255, 255, 255, 0.15),
      inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  overflow: hidden; /* keep video clipped inside */
  border-radius: 2px;
  backdrop-filter: blur(5px);
  background-color: #7c7979; /* fallback solid layer */
  
}

.face-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* margin-bottom: 10px; */
}


.face-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 10; /* adjust for readability */
  z-index: 1;
}

/* keep gradient overlay above video but behind text */
.face-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.7;
  /* border-radius: 2px; */
}

.face-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: rgba(180, 180, 180, 0.3); /* fake blur mask */
  z-index: 1;
}

/* text always on top */
.face-inner span {
  position: relative;
  z-index: 3;
}

/* Gradients */
/* .front .face-inner::before  { background: linear-gradient(135deg, #6366f1, #8b5cf6); } */
.back .face-inner::before   { background: linear-gradient(135deg, #06ffa4, #10b981); }
.right .face-inner::before  { background: linear-gradient(135deg, #f59e0b, #f97316); }
.left .face-inner::before   { background: linear-gradient(135deg, #ef4444, #ec4899); }
.top .face-inner::before    { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.bottom .face-inner::before { background: linear-gradient(135deg, #8b5cf6, #a855f7); }

/* Face Positions */
.front  { transform: rotateY(0deg) translateZ(125px); }
.back   { transform: rotateY(180deg) translateZ(125px); }
.right  { transform: rotateY(90deg) translateZ(125px); }
.left   { transform: rotateY(-90deg) translateZ(125px); }
.top    { transform: rotateX(90deg) translateZ(125px); }
.bottom { transform: rotateX(-90deg) translateZ(125px); }

/* Glowing Aura */
.hero-dice::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    right: -60%;
    bottom: -60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
    z-index: -1;
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

/* ===========================================
   ANIMATIONS
   =========================================== */

/* Container Slide-in Animation */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100vw) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: translateX(20px) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Cube Rotation Animation */
@keyframes spin {
    from { 
        transform: rotateX(-15deg) rotateY(-15deg); 
    }
    to { 
        transform: rotateX(345deg) rotateY(345deg); 
    }
}

/* Badge Pulse Animation */
@keyframes pulse-badge {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); 
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); 
    }
}

/* Glow Pulse Animation */
@keyframes pulse-glow {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Tablet and smaller laptops */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    
    .hero-dice {
        width: 200px;
        height: 200px;
    }
    
    .face {
        width: 200px;
        height: 200px;
    }
    
    .face-inner {
        font-size: 1.4rem;
    }
    
    /* Adjust face positions for smaller cube */
    .front  { transform: rotateY(0deg) translateZ(100px); }
    .back   { transform: rotateY(180deg) translateZ(100px); }
    .right  { transform: rotateY(90deg) translateZ(100px); }
    .left   { transform: rotateY(-90deg) translateZ(100px); }
    .top    { transform: rotateX(90deg) translateZ(100px); }
    .bottom { transform: rotateX(-90deg) translateZ(100px); }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        /* Add space below the cube on mobile */
        margin-bottom: 3rem;
    }
    
    .hero-dice {
        width: 150px;
        height: 150px;
    }
    
    .face {
        width: 150px;
        height: 150px;
    }
    
    .face-inner {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    /* Adjust face positions for mobile cube */
    .front  { transform: rotateY(0deg) translateZ(75px); }
    .back   { transform: rotateY(180deg) translateZ(75px); }
    .right  { transform: rotateY(90deg) translateZ(75px); }
    .left   { transform: rotateY(-90deg) translateZ(75px); }
    .top    { transform: rotateX(90deg) translateZ(75px); }
    .bottom { transform: rotateX(-90deg) translateZ(75px); }
    
    /* Adjust glow effect for smaller cube */
    .hero-dice::before {
        top: -40%;
        left: -40%;
        right: -40%;
        bottom: -40%;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .hero-dice {
        width: 120px;
        height: 120px;
    }
    
    .face {
        width: 120px;
        height: 120px;
    }
    
    .face-inner {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    /* Adjust face positions for smallest cube */
    .front  { transform: rotateY(0deg) translateZ(60px); }
    .back   { transform: rotateY(180deg) translateZ(60px); }
    .right  { transform: rotateY(90deg) translateZ(60px); }
    .left   { transform: rotateY(-90deg) translateZ(60px); }
    .top    { transform: rotateX(90deg) translateZ(60px); }
    .bottom { transform: rotateX(-90deg) translateZ(60px); }
}


        .hero-graphic {
            width: 500px;
            height: 500px;
            background: var(--secondary_hero);
            border-radius: 50%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: slideInRotate 1.5s ease-out forwards;
            box-shadow: 0 0 10px 0px #8b5cf6, 0 0 10px 0px #06ffa42f;
            filter: blur(0.1px); /* subtle blur */

        }

        .hero-graphic::before {
           content: "";
            position: absolute;
            inset: 0;
            border-radius: 50%;
            box-shadow: 0 0 80px 20px #6365f1a4, 0 0 80px 20px #06ffa44f;
            pointer-events: none;
            z-index: 1;
            opacity: 0.5;
            filter: blur(3px);
        }

        .hero-graphic::after {
            content: "";
            position: absolute;
            width: 80%;
            height: 80%;
            background: url("logo_hero.jpg") no-repeat center/cover;
            border-radius: 50%;
            overflow: hidden;
            inset: 0;
            margin: auto;
            z-index: 2;
            }

        @keyframes slideInRotate {
            0% {
                transform: translateX(-150%) rotate(-180deg) scale(0.5);
                opacity: 0;
            }
            60% {
                transform: translateX(20%) rotate(15deg) scale(1.05);
                opacity: 1;
            }
            100% {
                transform: translateX(0) rotate(0deg) scale(1);
                opacity: 1;
            }
            }
            @media (max-width: 1080px) {
                .hero {
                    min-height: 140vh; /* bump it a little to avoid visual shift */
                }
                
            }

            @media (min-width: 1081px) and (max-width: 1182px) {
                .hero {
                    min-height: 140vh; /* slightly less than full height to bring it down */
                    padding-top: 2rem; /* optional: push content down a bit */
                    padding-bottom: 2rem; 
                }
            }
            

        /* @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
            to { transform: rotate(0deg); } disable animation
        } */


            /* ==========================================================================
   REFINED HOME SNIPPETS STYLES - OPTIMIZED
   ========================================================================== */

/* Home Snippets Section */
.home-snippets {
   max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1rem; /* reduce side padding */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* reduced min width */
    gap: 2rem;
    align-items: stretch;
    justify-items: center; /* center cards horizontally */
}

/* Snippet Cards */
.home-snippets .snippet {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s, border-color 0.4s;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    justify-content: space-between; /* pushes CTA button to bottom */
     width: 100%;
    max-width: 340px; /* prevents stretching awkwardly */
}

/* Gradient overlay on hover */
.home-snippets .snippet::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(182,122,255,0.05), rgba(255,217,61,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.home-snippets .snippet:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
    border-color: rgba(182,122,255,0.3);
}

.home-snippets .snippet:hover::before {
    opacity: 1;
}

/* Snippet Titles */
.home-snippets .snippet h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.home-snippets .snippet .highlight {
    background: linear-gradient(135deg, #b67aff, #ffd93d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Snippet Paragraph */
.home-snippets .snippet > p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    text-align: left;
    margin-bottom: 2rem;
    z-index: 2;
}

/* Stats Grid */
.home-snippets .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.home-snippets .stats-grid .stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    background: linear-gradient(135deg, rgba(182,122,255,0.15), rgba(255,217,61,0.15));
    border-radius: 1rem;
    border: 1px solid rgba(182,122,255,0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.home-snippets .stats-grid .stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(182,122,255,0.4);
    background: linear-gradient(135deg, rgba(182,122,255,0.25), rgba(255,217,61,0.25));
}

.home-snippets .stats-grid .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #b67aff, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.home-snippets .stats-grid .stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature Lists */
.home-snippets .snippet ul.features,
.home-snippets .snippet ul.detailed-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Simple Features */
.home-snippets .snippet ul.features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

.home-snippets .snippet ul.features li .feature-icon {
    font-size: 1.1rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-snippets .snippet ul.features li .feature-text {
    font-weight: 500;
    flex: 1;
}

/* Detailed Features */
.home-snippets .snippet ul.detailed-features li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
}

.home-snippets .snippet ul.detailed-features li:last-child {
    border-bottom: none;
}

.home-snippets .snippet ul.detailed-features li .feature-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(182,122,255,0.2), rgba(255,217,61,0.2));
    border-radius: 8px;
    margin-top: 0.25rem;
}

.home-snippets .snippet ul.detailed-features li strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* CTA Buttons */
.home-snippets .snippet .btn-secondary,
.home-snippets .snippet a[href*="html"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(182,122,255,0.2), rgba(255,217,61,0.2));
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.home-snippets .snippet .btn-secondary:hover,
.home-snippets .snippet a[href*="html"]:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(182,122,255,0.3), rgba(255,217,61,0.3));
}

/* CTA Section */
.cta-home {
  /* background: linear-gradient(135deg, #0f172a, #1e293b); */
  color: #fff;
  padding: 3.5rem 2rem; /* slightly reduced padding */
  border-radius: 1.5rem;
  text-align: center;
  /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); */
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-in-out;
}


.btn-primary {
            padding: 1rem 2rem;
            background: var(--button);
            border: none;
            border-radius: 50px;
            color: white;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
        }

.cta-home h2 {
  font-size: clamp(2rem, 4vw, 2rem); /* softer scale */
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-home .highlight {
  color: #38bdf8; /* sky blue accent */
}

.cta-home p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-home .hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-home .btn-primary,
.cta-home .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-size: 0.95rem; /* smaller, more balanced */
  font-weight: 600;
  border-radius: 2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-home .btn-primary {
  background: var(--button);
  color: #ffffff;
}

.cta-home .btn-primary:hover {
 transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.cta-home .btn-secondary {
  background: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.cta-home .btn-secondary:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}

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

/* Responsive tuning */
@media (max-width: 768px) {
  .cta-home h2 {
    font-size: 2.2rem;
  }
  .cta-home p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .cta-home h2 {
    font-size: 1.5rem;
  }
  .cta-home p {
    font-size: 0.9rem;
  }
}



        /* Services Section */
        .services {
            padding: 8rem 0;
            position: relative;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
        }

        .section-badge {
            display: inline-block;
            padding: 0.5rem 1rem;
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 50px;
            color: #8b5cf6;
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .section-title {
            font-family: 'Inter', sans-serif;
            font-size: clamp(2.5rem, 6vw, 3.5rem);
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .section-title .highlight {
        color: #38bdf8; /* sky blue accent */
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .service-card {
            background: linear-gradient(135deg, #111111 60%, #1a1a1a 100%);
            border: 1.5px solid rgba(99, 102, 241, 0.15);
            border-radius: 24px;
            box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08), 0 1.5px 8px rgba(6,255,165,0.08);
            padding: 2.5rem 2rem 2rem 2rem;
            position: relative;
            overflow: hidden;
            transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            min-height: 320px;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient-primary);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-card:hover {
            box-shadow: 0 16px 48px rgba(99,102,241,0.18), 0 4px 24px rgba(6,255,165,0.12);
            border-color: var(--secondary);
            transform: translateY(-8px) scale(1.03);
            

        }

        .service-card:hover::before {
            opacity: 0.05;
        }

        .service-icon {
            width: 64px;
            height: 64px;
            background: var(--gradient-secondary);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 12px rgba(6,255,165,0.12);
            font-size: 2rem;
            color: var(--dark);
            overflow: hidden;
        }

        .service-icon img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }

        .service-video {
            width: 100%;
            height: 200px;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 1.5rem;
            background: var(--dark-lighter);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .service-video video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 16px;
            display: block;
        }

        .service-title {
            font-family: 'Inter', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
            letter-spacing: 0.01em;
        }

        .service-description {
            color: var(--text-secondary);
            font-size: 1.05rem;
            line-height: 1.7;
            margin-top: auto;

        }


        /* CTA inside Services */
        .services-cta {
        text-align: center;
        margin-top: 4rem;
        padding: 3rem 2rem;
        border-radius: 24px;
        
        box-shadow: 0 8px 32px rgba(0,0,0,0.25);
        animation: fadeInUp 1s ease forwards;
        }

        .services-cta .cta-heading {
        font-family: 'Inter', sans-serif;
        font-size: clamp(2rem, 5vw, 2.8rem);
        font-weight: 700;
        margin-bottom: 1rem;
        color: #fff;
        }

        .services-cta .highlight {
        color: #38bdf8; /* sky blue accent */
        }

        .services-cta .cta-subtext {
        font-size: 1.1rem;
        color: var(--text-secondary);
        margin-bottom: 2rem;
        }

        .services-cta .cta-button {
        display: inline-block;
        padding: 0.9rem 2.2rem;
        font-size: 1.1rem;
        font-weight: 600;
        color: #fff;
        background: var(--gradient-primary);
        border-radius: 50px;
        text-decoration: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .services-cta .cta-button:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(99,102,241,0.4);
        }


    /* About Section */
.about {
  padding: 7rem 0;
  position: relative;
  background: transparent;
  overflow: hidden;
}

.about-content {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease forwards;
}

.about-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.about-title .highlight {
  color: #38bdf8;
}

.about-description {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.8;
}

.about-content p:last-of-type {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-top: 3rem;
  margin-bottom: 0.25rem;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}


/* About Grid Cards (Service-style spacing) */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 2rem auto 0 auto;
}

.about-card {
  background: linear-gradient(135deg, #111111 60%, #1a1a1a 100%);
  border: 1.5px solid rgba(99, 102, 241, 0.15);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08), 0 1.5px 8px rgba(6,255,165,0.08);
  padding: 1.5rem;                    /* same as services */
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover {
  box-shadow: 0 16px 48px rgba(99,102,241,0.18), 0 4px 24px rgba(6,255,165,0.12);
  border-color: var(--secondary);
  transform: translateY(-8px) scale(1.03);
}

.about-card:hover::before {
  opacity: 0.05;
}

/* Media inside card */
.about-card .about-media {
  width: 100%;
            height: 200px;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 1.5rem;
            background: var(--dark-lighter);
            display: flex;
            align-items: center;
            justify-content: center;
}

.about-card .about-media video,
.about-card .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Card Heading */
.about-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;   /* consistent spacing below heading */
  padding: 0;
  text-align: left;
  letter-spacing: 0;      /* remove extra spacing for cleaner alignment */
  line-height: 1.4;       /* balance heading height */
  align-self: flex-start; /* ensures alignment with paragraph */
}

/* Card Description */
.about-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: -0.5rem;              /* reset margins */
  text-align: left;
  align-self: flex-start; /* align flush with heading */
}


       
/* .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 1.2rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:hover {
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 1.7rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.4rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 2.5rem auto 0;
    max-width: 700px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.about-list li {
     padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.06);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.3s;
    text-align: center;
}

.about-list li:hover {
    box-shadow: 0 8px 32px rgba(99,102,241,0.18);
    transform: translateY(-6px) scale(1.03);
    background: rgba(99,102,241,0.10);
}

.about-list li .list-content {
    padding-left: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* .list-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
} */

.list-text {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-primary);
} */

.highlights-container {
    margin-bottom: 3rem;
}

    
        /* Responsive Design */
        @media (max-width: 768px) {
            .about {
                padding: 6rem 0;
            }
            
            .container {
                padding: 0 1rem;
            }
            
            .about-content {
                padding: 0;
            }
            
            .about-list {
                grid-template-columns: 1fr;
                gap: 1rem;
                text-align: center;
            }
            
            .about-list li .list-content {
                padding-left: 1.5rem;
                text-align: left;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .features-visual {
                height: 300px;
                margin: 2rem 0;
            }

            .floating-card {
                min-width: 100px;
                padding: 1rem;
            }
        }

        @media (max-width: 480px) {
            .about-title {
                font-size: 2rem;
            }
            
            .about-description {
                font-size: 1rem;
            }

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

        /* Custom scrollbar - matching your design */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--dark);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--gradient-primary);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }
  

        /* Features Section */
        .features {
            padding: 8rem 0;
            /* background: var(--dark-lighter); */
        }

        .features-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6rem;
            align-items: center;
        }

        .features-content h2 {
            font-family: 'Inter', sans-serif;
            font-size: clamp(2.5rem, 6vw, 3.5rem);
            font-weight: 700;
            margin-bottom: 2rem;
        }

        .features-content .highlight {
        color: #38bdf8; /* sky blue accent */
        }

        .features-list {
            list-style: none;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            background: rgba(99, 102, 241, 0.1);
            transform: translateX(10px);
        }

        .feature-icon {
            width: 40px;
            height: 40px;
            background: var(--gradient-accent);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .feature-text h3 {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .feature-text p {
            color: var(--text-secondary);
        }

        .features-visual {
            position: relative;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .floating-card {
            position: absolute;
            background: var(--dark-card);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 1.5rem;
            backdrop-filter: var(--blur);
            animation: float 6s ease-in-out infinite;
        }

        .floating-card:nth-child(1) {
            top: 10%;
            left: 8%;
            animation-delay: 0s;
        }

        .floating-card:nth-child(2) {
            top: 50%;
            right: 8%;
            animation-delay: 1s;
        }

        .floating-card:nth-child(3) {
            bottom: 15%;
            left: 22%;
            animation-delay: 2s;
        }

        .floating-card:nth-child(4) {
            top: 25%;
            left: 40%;
            
            animation-delay: 2.5s;
        }

        .floating-card:nth-child(5) {
            bottom: 40%;
            right: 48%;
            animation-delay: 3s;
        }

        .floating-card:nth-child(6) {
            top: 75%;
            left: 55%;
            animation-delay: 3.5s;
        }

        /* Contact Us */
        .contact {
        padding: 8rem 0;
        /* background: var(--dark); */
        text-align: center;
        }

        .contact-content {
        max-width: 700px;
        margin: 0 auto;
        }

        .contact h2 {
        font-family: 'Inter', sans-serif;
        font-size: clamp(2rem, 5vw, 3rem);
        font-weight: 700;
        margin-bottom: 1rem;
        }

        .contact .highlight {
        color: #38bdf8; /* sky blue accent */
        }

        .contact p {
        color: var(--text-secondary);
        margin-bottom: 2rem;
        }

        /* Form */
        .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 500px;
        margin: 0 auto;
        }

        .input-field {
            padding: 1rem 1.5rem;
            background: var(--dark-card);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: var(--text-primary);
            outline: none;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .input-field:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
        }

        /* Button */
        .submit-btn {
         padding: 1rem 2rem;
            background: var(--button_send);
            border: none;
            border-radius: 50px;
            color: var(--white);
            font-family: 'Inter', sans-serif;
            font-size: 1.15rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            cursor: pointer;
            transition: all 0.3s ease;
            /* text-transform: uppercase; */
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(6, 255, 165, 0.3);
        }

        /* .multi-select {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        } */

.custom-multiselect {
  position: relative;
  width: 100%;
  font-size: 14px;
  color: #fff;
}

.select-box {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
}

.select-box:hover {
  border-color: #f97316;
}

.arrow {
  border: solid #f97316;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(45deg);
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.options-container {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  max-height: 250px;
  overflow-y: auto;
  z-index: 10;
}

/* Hide the default checkbox */
.options-container input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #f97316;
  border-radius: 50%; /* ✅ Makes it round */
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin-right: 10px;
  background: transparent;
  transition: all 0.2s ease;
}

/* Checked state */
.options-container input[type="checkbox"]:checked {
  background: #f97316;
  border-color: #f97316;
}

/* Checkmark (custom tick inside circle) */
.options-container input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  color: #fff;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.options-container label {
  display: block;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: left;     
}

.options-container label:hover {
  background: #222;
}

.options-container input {
  margin-right: 8px;
}


/* Footer */

    .footer {
            background: var(--dark-card);
            padding: 4rem 0 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand h3 {
            font-family: 'Inter', sans-serif;
            font-size: 1.6rem;
            font-weight: 700;
            background: var(--gradient-accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
        }

        .footer-brand p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .social-links { 
            display: flex; 
            gap: 1rem; 
        }

        .social-link {
            width: 42px; 
            height: 42px;
            background: rgba(255,255,255,0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-link img {
            width: 22px; 
            height: 22px;
            object-fit: contain;
            filter: invert(70%) sepia(10%) saturate(200%) hue-rotate(180deg);
            transition: all 0.3s ease;
        }

        .social-link:hover { 
            background: var(--gradient-socials); 
            transform: translateY(-3px); 
        }

        .footer-links h4 {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .footer-links ul { 
            list-style: none; 
            padding: 0; 
            margin: 0; 
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            display: block;
            transition: color 0.3s ease;
        }

        .footer-links a:hover { 
            color: var(--text-primary); 
        }

        .footer-links .footer-info { 
            font-weight: 400;
            color: var(--text-secondary);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-muted);
        }

        .footer-bottom-links { 
            display: flex; 
            gap: 1.5rem; 
        }

        .footer-bottom-links a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.3s ease;
            cursor: pointer;
        }

        .footer-bottom-links a:hover { 
            color: var(--text-primary); 
        }

        /* Modal Styles - Fixed and Improved */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0; 
            top: 0;
            width: 100%; 
            height: 100%;
            overflow-y: auto;
            background: rgba(0,0,0,0.9);
            padding: 40px 20px;
        }

        .modal.show {
            display: block;
        }

        .modal-content {
            background: #111;
            color: #fff;
            margin: auto;
            padding: 30px 40px;
            border-radius: 14px;
            max-width: 750px;
            position: relative;
            animation: fadeInUp 0.4s ease;
            line-height: 1.7;
        }

        .modal h2 { 
            color:#2d9dff ; 
            
            margin-bottom: 20px; 
            font-size: 1.8rem; 
        }

        .modal h3 { 
            color: #f6c6e6; 
            margin-top: 25px; 
            margin-bottom: 10px;
            font-size: 1.1rem; 
        }

        .modal p { 
            margin-bottom: 12px; 
            font-size: 0.95rem; 
        }

        .modal a { 
            color: var(--text-primary); 
            text-decoration: underline; 
        }

        .modal .close {
            color: #aaa;
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s ease;
            line-height: 1;
        }

        .modal .close:hover,
        .modal .close:focus { 
            color: #f97316; 
        }

        /* .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        } */

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

        /* Responsive Design */
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 1rem;
            }

            .footer-bottom-links {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .modal-content {
                margin: 10px auto;
                padding: 20px;
                max-width: 90%;
            }

            .modal .close {
                top: 10px;
                right: 20px;
                font-size: 24px;
            }
        }
        

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

                .hero {
                    min-height: 90vh;
                    padding-top: 6rem;
                    padding-bottom: 9rem;
                    display: block;
                }

                .hero-container {
                    grid-template-columns: 1fr;
                    gap: 2rem;
                    text-align: center;
                    padding: 0 1rem;
                }

                .hero-content {
                    margin-bottom: 2rem;
                }

                .hero-visual {
                    justify-content: center;
                    align-items: center;
                    margin: 0 auto;
                    margin-top: 1rem;
                    margin-bottom: 2rem;
                }

                .hero-graphic {
                    width: 250px;
                    height: 250px;
                    margin: 0 auto;
                    box-shadow: 0 0 10px 0px #8b5cf6, 0 0 10px 0px #06ffa42f; /* much less glow */
                    filter: blur(0px);
                }

                .hero-graphic::before {
                    box-shadow: 0 0 20px 4px #6365f1a4, 0 0 20px 4px #06ffa44f; /* reduce glow */
                    opacity: 0.2; /* less visible */
                    filter: blur(1px);
                }

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

                .hero-description {
                    font-size: 1rem;
                }

                .hero-buttons {
                    flex-direction: column;
                    gap: 1rem;
                    align-items: center;
                }


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

            .newsletter-form {
                flex-direction: column;
                max-width: 300px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 1rem;
            }

            .footer-bottom-links {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }
        }


/* Reduce hero spacing in "desktop mode on mobile" */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;   /* don’t force giant height */
    padding-top: 6.5rem;  /* smaller padding */
    padding-bottom: 2rem;
  }

  .hero-container {
    grid-template-columns: 1fr; /* stack content */
    gap: 2rem;
    text-align: center;
    padding: 0 1.5rem;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

   .hero-visual {
                    justify-content: center;
                    align-items: center;
                    margin: 0 auto;
                    margin-top: 1.5rem;
                    margin-bottom: 2.5rem;
                }

  .hero-graphic {
    width: 220px;
    height: 220px;
    margin: 0 auto;
  }

  .hero-buttons {
                    flex-direction: column;
                    gap: 1rem;
                    align-items: center;
                }
}


        

        /* Scroll animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--dark);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--gradient-primary);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

/* Enhanced Testimonials Section - Isolated Styles */
.testimonials {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Floating particles animation */
.testimonials::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
    animation: testimonials-float 20s linear infinite;
    pointer-events: none;
}

@keyframes testimonials-float {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

/* Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.testimonials-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Viewport */
.testimonials-viewport {
    overflow: hidden;
    width: 100%;
    padding-top: 2rem;
    position: relative;
    mask: linear-gradient(90deg, transparent, white 8%, white 92%, transparent);
}

/* Track and Group - Infinite Scroll */
.testimonials-track {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    width: max-content;
    will-change: transform;
    animation: testimonials-scroll var(--scroll-duration, 30s) linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonials-group {
    display: flex;
    flex-shrink: 0;
    gap: 2rem;
}

/* Card Design */
.testimonial {
    flex: 0 0 360px;
    max-width: 380px;
    min-width: 320px;
    background: linear-gradient(135deg, var(--dark-card) 0%, #1a1a1a 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial:hover::before {
    opacity: 1;
}

.testimonial:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(99,102,241,0.18), 0 4px 24px rgba(6,255,165,0.12);
    border-color: var(--secondary);
}

/* Star Rating */
.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial .star {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--gradient-tertiary));
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    filter: drop-shadow(0 2px 4px rgba(255, 131, 6, 0.3));
}

/* Message */
.testimonial-message {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.testimonial-message::before {
    content: '"';
    font-size: 3.5rem;
    color: var(--secondary);
    position: absolute;
    left: -8px;
    top: -12px;
    opacity: 0.2;
    font-family: 'Inter', serif;
    line-height: 1;
}

/* Author */
.testimonial-author-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
    position: relative;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(6, 23, 255, 0.3);
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.testimonial:hover .testimonial-avatar::after {
    opacity: 0.3;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-position::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
}

/* Company Badge */
.testimonial .company-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Infinite Scroll Keyframes */
@keyframes testimonials-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * var(--group-width, 100%))); }
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials { padding: 4rem 0; }
    .testimonials-title { font-size: 2.2rem; }
    .testimonial { flex: 0 0 300px; min-width: 280px; padding: 1.5rem; }
    .testimonials-group { gap: 1.5rem; }
}

@media (max-width: 480px) {
    .testimonials-title { font-size: 1.8rem; }
    .testimonial { flex: 0 0 280px; min-width: 260px; }
}

/* Global tweak for anchor offset */
:target { scroll-margin-top: 90px; }


