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


        body {
            min-height: 100vh;
            background: #203a43;
            font-family: 'Segoe UI', sans-serif;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            position: relative;
        }

        /* Canvas for innovative particle connections */
        #particle-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            opacity: 0.9;
        }

        /* Navigation Bar */
        nav {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 0 5%;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.4s ease;
        }

        nav.scrolled {
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .logo {
            color: white;
            font-size: 1.8rem;
            font-weight: 700;
            text-decoration: none;
            letter-spacing: 1px;
        }

        .logo span {
            color: #00ff95;
        }

        .imglogo {
            width: 200px;
        
        }

        /* Menu Items with Innovative Effects */
        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            color: white;
            text-decoration: none;
            padding: 0 15px;
            height: 80px;
            line-height: 80px;
            display: block;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #00ff95, transparent);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .nav-link:hover::before {
            transform: scaleX(1);
        }

        .nav-link i {
            margin-left: 8px;
            font-size: 1rem;
            transition: transform 0.3s ease;
        }

        .nav-item:hover .nav-link i {
            transform: rotate(180deg);
        }

        /* Innovative Liquid Blob Effect on Hover */
        .nav-link::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(0,255,149,0.2) 0%, transparent 70%);
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            filter: blur(20px);
            opacity: 0;
            pointer-events: none;
        }

        .nav-item:hover .nav-link::after {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
            animation: blob-wobble 2s infinite ease-in-out;
        }

        @keyframes blob-wobble {
            0%, 100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
            25% { border-radius: 48% 52% 67% 33% / 39% 67% 33% 61%; }
            50% { border-radius: 33% 67% 58% 42% / 79% 43% 57% 21%; }
            75% { border-radius: 33% 67% 39% 61% / 62% 45% 55% 38%; }
        }

        /* Dropdown Submenu with Parallax and Glow */
        .dropdown {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(25px);
            min-width: 240px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 1);
            opacity: 0;
            visibility: hidden;
            transform: translateX(-50%) translateY(30px) perspective(600px) rotateX(-15deg);
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            border: 1px solid rgba(255, 255, 255, 0.05);
            perspective: 600px;

        }

        .nav-item:hover > .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(10px) perspective(600px) rotateX(0deg);
        }

        .dropdown-item {
            list-style: none;
            perspective: 600px;
        }

        .dropdown-link {
            color: white;
            text-decoration: none;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            transform-origin: top;
        }

        .dropdown-link i {
            margin-right: 12px;
            font-size: 1.1rem;
            width: 20px;
            text-align: center;
            transition: color 0.3s ease;
        }

        .dropdown-link:hover i {
            color: #00ff95;
        }

        .dropdown-link::after {
            content: '';
            position: absolute;
            left: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0,255,149,0.2), transparent);
            transition: left 0.4s ease;

        }

        .dropdown-link:hover::after {
            left: 100%;
            
        }

        .dropdown-link:hover {
            transform: translateZ(20px) rotateX(5deg);
            box-shadow: 0 5px 15px rgba(0,255,149,0.1);
            color: #00ff95;
        }

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }

        /* Hero Content */
        .content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
            
            margin-top: 80px;
            z-index: 10;
        }

        .content h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            animation: neon-glow 2s ease-in-out infinite alternate;
            margin-top: 80px;
            padding: 0 20px;

        }

        @keyframes neon-glow {
            from {
                text-shadow: 0 0 10px rgba(0,255,149,0.5), 0 0 20px rgba(0,255,149,0.3);
            }
            to {
                text-shadow: 0 0 20px rgba(0,255,149,0.8), 0 0 30px rgba(0,255,149,0.5), 0 0 40px rgba(0,255,149,0.3);
            }
        }

        .content p {
            font-size: 1.3rem;
            
            opacity: 0.9;
            animation: fadeUp 1s ease 0.3s both;
            padding: 0 20px;
        }

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

        footer {
            background: #1a1a1a;
            color: #e0e0e0;
            padding: 60px 20px 20px;
            
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }

        .footer-section h3 {
            font-size: 1.4rem;
            margin-bottom: 20px;
            color: #ffffff;
        }

        .footer-section ul {
            list-style: none;
            margin-top: 50px;
        }        

        .footer-section ul li {
            margin-bottom: 10px;
        }

        .footer-section a {
            color: #b0b0b0;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: #ffffff;
        }



        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-icons a {
            font-size: 1.5rem;
            color: #b0b0b0;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .social-icons a:hover {
            color: #ffffff;
            transform: translateY(-3px);
        }

        .first ul{
            margin-top: 0px;
        }

        .logo-section ul{
            margin-top: 0px;
        }

        .newsletter form {
            display: flex;
            margin-top: 15px;
        }

        .newsletter input {
            padding: 12px;
            border: none;
            border-radius: 4px 0 0 4px;
            flex: 1;
        }

        .newsletter button {
            padding: 12px 20px;
            background: #007bff;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .newsletter button:hover {
            background: #0056b3;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #333;
            font-size: 0.9rem;
            color: #808080;
        }

        /* Updated mobile dropdown styles */
@media (max-width: 1350px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 32, 39, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        padding-top: 2rem;
        padding-bottom: 2rem;
        overflow-y: auto;

    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        height: auto;
        line-height: 1;
        padding: 1.5rem 2rem;
        text-align: left;
    }

    .dropdown {
        position: static;
        transform: none !important;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        margin-left: 10px;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
        width: calc(60% - 2rem);
        box-sizing: border-box;
        visibility: hidden;
    }

    .nav-item:hover > .dropdown,
    .nav-item.open > .dropdown {
        opacity: 1;
        max-height: 300px;
        padding: 1rem 0;
        visibility: visible;
        overflow-y: auto;
    }

    .dropdown-link {
        padding: 12px 20px;
        white-space: normal;
        word-wrap: break-word;
    }

    .menu-toggle {
        display: block;
    }

    .content h1 {
        font-size: 3rem;
    }

    /* Ensure dropdown items don't overflow */
    .dropdown-item {
        width: 100%;
    }

    .dropdown-link:hover {
        transform: none; /* Remove 3D transform on mobile */
    }
}

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

/*        body {
            font-family: 'Arial', sans-serif;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            perspective: 1000px;
        }*/

        .circuit-background {
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: #001f3f; /* Dark navy for electronic feel */
            overflow: hidden;
            margin-top:50px;
        }

        .circuit-svg {
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            opacity: 0.15;
            animation: circuit-pulse 15s ease-in-out infinite alternate;
        }

        .path {
            animation: circuit-dash 30s linear infinite;
        }

        @keyframes circuit-dash {
            to {
                stroke-dashoffset: 0;
            }
        }

        @keyframes circuit-pulse {
            from {
                opacity: 0.1;
            }
            to {
                opacity: 0.25;
            }
        }

        .carousel-container {
            position: relative;
            width: 100%;
            height: 500px;
            padding: 20px;
            perspective: 1500px; /* Enhanced perspective */
            transform-style: preserve-3d;
            margin-top: 100px;
            overflow-x: clip;
            
        }

        .carousel {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy easing */

        }

        .carousel-item {
            position: absolute;
            width: 300px;
            height: 450px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.3);
            cursor: grab;
            transition: all 0.5s ease;
            user-select: none;
            display: flex;
            align-items: flex-end;
            justify-content: center;
        }

        .carousel-item img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease, filter 0.3s ease;
            will-change: transform;
        }

        .carousel-item:hover img {
            transform: scale(1.05) translateY(-10px); /* Added parallax shift */
            filter: brightness(1.1) saturate(1.2) contrast(1.1);
        }

        .carousel-item.active {
            transform: translate(-50%, -50%) scale(1.15) translateZ(150px); /* More pronounced */
            z-index: 10;
            box-shadow: 0 50px 100px rgba(0,0,0,0.5);
        }

        .carousel-item.prev {
            transform: translate(-150%, -50%) rotateY(-50deg) scale(0.85) translateZ(75px);
            opacity: 0.8;
        }

        .carousel-item.next {
            transform: translate(50%, -50%) rotateY(50deg) scale(0.85) translateZ(75px);
            opacity: 0.8;
        }

        .carousel-item.far-left {
            transform: translate(-250%, -50%) rotateY(-100deg) scale(0.65) translateZ(25px);
            opacity: 0.4;
        }

        .carousel-item.far-right {
            transform: translate(150%, -50%) rotateY(100deg) scale(0.65) translateZ(25px);
            opacity: 0.4;
        }

        /* Caption */
        .caption {
            position: absolute;
            bottom: 0;
            width: 100%;
            padding: 20px;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: white;
            text-align: center;
            transform: translateY(100%);
            transition: transform 0.4s ease;
            opacity: 0;
            z-index: 5;
        }

        .carousel-item.active .caption {
            transform: translateY(0);
            opacity: 1;
        }

        /* Redirect button */
        .redirect-btn {
            display: inline-block;
            margin-top: 10px;
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.9);
            color: #333;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            transition: background 0.3s ease, transform 0.3s ease;
        }

        .redirect-btn:hover {
            background: white;
            transform: scale(1.05);
        }

        /* Enhanced particles */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            background: radial-gradient(circle, rgba(0,255,0,0.9), transparent); /* Green for electronic feel */
            border-radius: 50%;
            animation: float 5s ease-in-out infinite, color-shift 3s linear infinite;
            box-shadow: 0 0 10px rgba(0,255,0,0.5);
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 0.5; }
            50% { transform: translateY(-30px) translateX(10px) rotate(180deg); opacity: 1; }
        }

        @keyframes color-shift {
            0% { background: radial-gradient(circle, rgba(0,255,0,0.9), transparent); }
            33% { background: radial-gradient(circle, rgba(0,255,255,0.9), transparent); }
            66% { background: radial-gradient(circle, rgba(0,255,,0.1), transparent); }
            100% { background: radial-gradient(circle, rgba(0,255,0,0.9), transparent); }
        }

        /* Nav dots enhanced */
        .nav-dots {
            position: absolute;
            bottom: -60px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 20;
        }

        .nav-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .nav-dot.active {
            background: #fff;
            transform: scale(1.4);
            box-shadow: 0 0 15px rgba(255,255,255,0.8);
            animation: none;
        }

        /* Control buttons */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.2);
            border: none;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            color: white;
            font-size: 24px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 20;
        }

        .nav-btn:hover {
            background: rgba(255,255,255,0.4);
            transform: translateY(-50%) scale(1.2) rotate(5deg);
        }

        .prev-btn { left: -30px; }
        .next-btn { right: -30px; }

        /* Drag support */
        .carousel.dragging {
            transition: none;
        }

        .carousel.dragging .carousel-item {
            transition: none;
        }

         .container {
            width: 100%;
            justify-content: center;
            text-align: center;
            background-color: ghostwhite;
            
        }   

        .word-container {
            
             flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
            margin-top: 150px;
            margin-bottom: 100px;
            z-index: 10;
        } 

        .word-container2 {
            
             flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
            margin-top: 100px;
            margin-bottom: 100px;
            z-index: 10;
        }  

        .image-container {
            width: 100%;      /* Makes the image take the full width of its parent container */
  height: auto;     /* Automatically adjusts height to maintain aspect ratio */
  display: block;  
        }               

        /* ... (keep all existing styles) ... */

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .carousel-container {
        width: 90vw;
        height: 55vh;
        perspective: 1000px;
    }
    
    .carousel-item {
        width: 280px;
        height: 380px;
    }
    
    .carousel-item.active {
        transform: translate(-50%, -50%) scale(1.1) translateZ(120px);
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .prev-btn { left: -20px; }
    .next-btn { right: -20px; }
    
    .nav-dots {
        bottom: -45px;
    }
    
    .caption {
        padding: 15px;
        font-size: 14px;
    }
    
    .redirect-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    
}

@media (max-width: 768px) {

    .footer-section ul {
            
            margin-top: -30px;
        } 

    .first ul {
            margin-top: 30px;
        } 

    .logo-section ul {
            margin-top: 30px;
        }      

    .carousel-container {
        width: 92vw;
        height: 50vh;
        perspective: 800px;
        padding: 10px;
        
    }
    
    .carousel-item {
        width: 240px;
        height: 320px;
    }
    
    .carousel-item.active {
        transform: translate(-50%, -50%) scale(1.08) translateZ(100px);
    }
    
    .carousel-item.prev {
        transform: translate(-130%, -50%) rotateY(-50deg) scale(0.8) translateZ(60px);
    }
    
    .carousel-item.next {
        transform: translate(30%, -50%) rotateY(50deg) scale(0.8) translateZ(60px);
    }
    
    .carousel-item.far-left,
    .carousel-item.far-right {
        opacity: 0.2;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        backdrop-filter: blur(5px);
    }
    
    .prev-btn { left: -15px; }
    .next-btn { right: -15px; }
    
    .nav-dots {
        bottom: -40px;
        gap: 8px;
    }
    
    .nav-dot {
        width: 12px;
        height: 12px;
    }
    
    .caption {
        padding: 12px;
        font-size: 13px;
    }
    
    .carousel-item.active::before {
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
        filter: blur(20px);
    }

    .buttons-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

   
}

@media (max-width: 480px) {
    .carousel-container {
        width: 98vw;
        height: 45vh;
        perspective: 600px;
    }
    
    .carousel-item {
        width: 200px;
        height: 280px;
        border-radius: 15px;
    }
    
    .carousel-item.active {
        transform: translate(-50%, -50%) scale(1.05) translateZ(80px);
    }
    
    .carousel-item.prev {
        transform: translate(-120%, -50%) rotateY(-50deg) scale(0.75) translateZ(40px);
    }
    
    .carousel-item.next {
        transform: translate(20%, -50%) rotateY(50deg) scale(0.75) translateZ(40px);
    }
    
    .carousel-item.far-left,
    .carousel-item.far-right {
        display: none;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        opacity: 0.8;
    }
    
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
    
    .nav-dots {
        bottom: -35px;
        gap: 6px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
    
    .caption {
        padding: 10px;
        font-size: 12px;
    }
    
    .redirect-btn {
        padding: 5px 10px;
        font-size: 11px;
        margin-top: 5px;
    }
    
    .circuit-svg {
        opacity: 0.1;
    }
    

}

/* Handle very small screens */
@media (max-width: 360px) {
    .carousel-container {
        height: 40vh;
    }
    
    .carousel-item {
        width: 180px;
        height: 240px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .nav-dots {
        bottom: -30px;
    }
    
    .caption {
        font-size: 11px;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .carousel-container {
        height: 80vh;
        width: 80vw;
    }
    
    .carousel-item {
        width: 220px;
        height: 300px;
    }
    
    .nav-dots {
        bottom: -25px;
    }
}

/* High-density screens */
@media (min-resolution: 192dpi) {
    .carousel-item img {
        filter: brightness(1.1);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .circuit-background {
        background: #000814;
    }
    
    .nav-dot {
        background: rgba(255,255,255,0.3);
    }
    
    .nav-dot.active {
        background: #00ffcc;
        box-shadow: 0 0 15px rgba(0,255,204,0.8);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .carousel,
    .carousel-item,
    .carousel-item img,
    .caption,
    .nav-dot,
    .nav-btn,
    .circuit-svg,
    .particle,
    .carousel-item.active::before {
        animation: none !important;
        transition: none !important;
    }
    
    .carousel {
        transition: transform 0.5s ease !important;
    }
}

        /* Enhanced glow */
        .carousel-item.active::before {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            right: -20px;
            bottom: -20px;
            background: linear-gradient(45deg, #00ff00, #00ffff, #0000ff, #00ff99, #00ffcc, #00ff00); /* Electronic colors */
            background-size: 200% 200%;
            border-radius: 30px;
            z-index: -1;
            filter: blur(30px);
            opacity: 0.7;
            animation: glow 3s ease-in-out infinite, rainbow 10s linear infinite;
        }

        @keyframes glow {
            from { opacity: 0.5; transform: scale(1); }
            to { opacity: 1; transform: scale(1.1); }
        }

        @keyframes rainbow {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Parallax background */
        .parallax-bg {
            position: absolute;
            top: -100px;
            left: -50px;
            right: -50px;
            bottom: -100px;
            background: radial-gradient(circle at center, rgba(0,255,255,0.1), transparent); /* Green tint */
            transform: translateZ(-100px);
            transition: transform 0.3s ease;
            z-index: -2;
        }

      

        @keyframes float {
            0% { transform: translateY(100vh); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-100px); opacity: 0; }
        }

        /* Prevent text size adjustment on orientation change */
        html {
            -webkit-text-size-adjust: 100%;
            -moz-text-size-adjust: 100%;
            -ms-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }

        /* Optional: Improve touch experience */
        .carousel-item {
            touch-action: pan-y;
        }

        /* Disable callout on iOS */
        .carousel-container {
            -webkit-touch-callout: none;
        }

        /* Disable text selection on carousel */
        .carousel-item, .carousel-control, .dot {
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }



        .buttons-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
            padding: 20px;
            margin-bottom: 50px;
            padding-left: 10vw;
            padding-right: 10vw;
            
        }
        
        /* Base button style */
        .image-button {
            position: relative;
            width: 100%;
            height: 280px;
            border-radius: 20px;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            text-decoration: none;
        }
        
        /* Floating animation */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        @keyframes float2 {
            0%, 100% { transform: translateY(0); }
            30% { transform: translateY(-15px); }
        }

        @keyframes float3 {
            0%, 100% { transform: translateY(0); }
            70% { transform: translateY(-15px); }
        }
        
        .image-button:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        }
        
        /* Button background images */
        .button-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: transform 0.7s ease;
            z-index: 1;
        }
        
        .image-button:hover .button-bg {
            transform: scale(1.1);
        }
        
        /* Button 1: Space Theme */
        .button-1 {
            animation: float 4s ease-in-out infinite;
        }
        
        .button-2 {
            animation: float2 4s ease-in-out infinite;
        }

        .button-3 {
            animation: float3 4s ease-in-out infinite;
        }
        
        .button-1::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(45deg, #00dbde, #fc00ff, #00dbde);
            border-radius: 25px;
            z-index: 0;
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .button-1:hover::before {
            opacity: 1;
            animation: rotate 3s linear infinite;
        }
        
        @keyframes rotate {
            0% { filter: hue-rotate(0deg); }
            100% { filter: hue-rotate(360deg); }
        }
        
        /* Button 2: Nature Theme */
        .button-2 .button-bg {
            background-image: url('https://images.unsplash.com/photo-1501854140801-50d01698950b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1275&q=80');
        }
        
        .button-2::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
            z-index: 2;
            opacity: 0.7;
        }
        
        .button-2:hover::after {
            opacity: 0.3;
        }
        
        /* Button 3: Tech Theme */
        .button-3 .button-bg {
            background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1228&q=80');
        }
        
        .button-3::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 2;
        }
        
        .button-3:hover::before {
            background: rgba(0, 0, 0, 0.2);
        }
        
        /* Button content styling */
        .button-content {
            position: relative;
            z-index: 3;
            text-align: center;
            color: white;
            width: 100%;
        }
        
        .button-icon {
            font-size: 3.5rem;
            margin-bottom: 15px;
            transition: transform 0.5s ease;
        }
        
        .image-button:hover .button-icon {
            transform: scale(1.2) rotate(10deg);
        }
        
        .button-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        }
        
        .button-description {
            font-size: 1rem;
            opacity: 0.9;
            max-width: 90%;
            margin: 0 auto;
            line-height: 1.5;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
        }
        
        /* Glow effect on hover */
        .glow {
            position: absolute;
            border-radius: 20px;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.1);
            z-index: 2;
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .image-button:hover .glow {
            opacity: 1;
        }



        /* 微信弹窗样式 */
        .wechat-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s ease;
        }
        
        .wechat-modal.active {
            display: flex;
        }
        
        .modal-content {
            background-color: white;
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            position: relative;
            animation: slideUp 0.3s ease;
        }
        
        .modal-content h3 {
            color: #333;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .modal-content p {
            color: #666;
            margin-bottom: 20px;
            font-size: 0.95rem;
            line-height: 1.5;
        }
        
        .qr-code {
            width: 200px;
            height: 200px;
            margin: 0 auto 20px;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 10px;
            background-color: #f9f9f9;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .qr-code img {
            width: 180px;
            height: 180px;
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #7f8c8d;
            cursor: pointer;
            transition: color 0.3s ease;
        }
        
        .close-modal:hover {
            color: #e74c3c;
        }
        
        .modal-tip {
            font-size: 0.85rem;
            color: #95a5a6;
            margin-top: 10px;
            font-style: italic;
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(30px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }



