:root {
            --dark-bg: #1a1d21;
            --darker-bg: #15171a;
            --neon: #00f2ff;
            --card-bg: #242830;
            --text: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        body {
            background-color: var(--dark-bg);
            color: var(--text);
            line-height: 1.6;
        }

        /* Navigation */
        nav {
  position: fixed; /* Make the nav bar fixed */
  top: 0; /* Position it at the top */
  width: 100%; /* Make it span the full width of the page */
  padding: 1.5rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--dark-bg); /* Ensure it has a background color */
  z-index: 1000; /* Ensure it is above other elements */
}

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
        }

        .logo span {
            color: var(--neon);
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--text);
            text-decoration: none;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--neon);
        }

        /* Hero Section */
        .hero {
            padding: 4rem 10%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            min-height: 80vh;
        }

        .hero-content h1 {
            font-size: 3rem;
        }

        .hero-content h2 {
            font-size: 2.5rem;
        }

        .highlight {
            color: var(--neon);
        }

        .hero-content p {
            color: #9ba1a6;
            margin-bottom: 2rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            border: 1px solid #ffffff33;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text);
            text-decoration: none;
            transition: all 0.3s;
        }

        .social-links a:hover {
            background: var(--neon);
            border-color: var(--neon);
        }

        .cta-button {
            display: inline-block;
            padding: 0.8rem 2rem;
            background: var(--neon);
            color: var(--darker-bg);
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            transition: transform 0.3s;
        }

        .cta-button:hover {
            transform: translateY(-3px);
        }

        .hero-image {
            position: relative;
        }

        .hexagon-frame {
            width: 100%;
            max-width: 400px;
            aspect-ratio: 1;
            position: relative;
            margin: 0 auto;
        }

        .hexagon-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        }

        .hex-border {
            position: absolute;
            inset: -3px;
            background: var(--neon);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            z-index: -1;
            filter: blur(5px);
        }

        /* About Section */
        .about {
            padding: 4rem 10%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            background: var(--darker-bg);
        }

        /* Services Section */
        .services {
            padding: 4rem 10%;
            text-align: center;
        }

        .services h2 {
            margin-bottom: 3rem;
            font-size: 2.5rem;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .service-card {
            background: var(--card-bg);
            padding: 2rem;
            border-radius: 15px;
            text-align: left;
        }

        .service-card h3 {
            color: var(--neon);
            margin-bottom: 1rem;
        }

        .service-card .icon {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--neon);
        }

        /* Projects Section */
        .projects {
            padding: 4rem 10%;
        }

        .projects h2 {
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2.5rem;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .project-card {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            aspect-ratio: 16/9;
        }

        .project-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .project-card:hover img {
            transform: scale(1.05);
        }

        /* Contact Section */
        .contact {
            padding: 4rem 10%;
            text-align: center;
        }

        .contact h2 {
            margin-bottom: 3rem;
            font-size: 2.5rem;
        }

        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            display: grid;
            gap: 1rem;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 1rem;
            background: var(--card-bg);
            border: none;
            border-radius: 8px;
            color: var(--text);
        }

        .contact-form textarea {
            min-height: 150px;
            resize: vertical;
        }

        .contact-form button {
            background: var(--neon);
            color: var(--darker-bg);
            padding: 1rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: transform 0.3s;
        }

        .contact-form button:hover {
            transform: translateY(-3px);
        }

        .tools {
    padding: 4rem 10%;
    text-align: center;
    background: var(--darker-bg);
}

.tools h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.container {
  position: fixed;
  top: 20vh; /* Adjust the top position */
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
  z-index: 1000; /* Ensure it is above other elements */
}

.square {
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgb(0, 242, 255), blue);
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes move {
  0%, 100% { transform: rotateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(20px); }
}

.square:hover {
  transform: scale(1.1);
}

.icons {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
  transform: translate(-50%, -50%);
}

.icon {
  width: 28px;
  height: 28px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.icon:hover {
  transform: scale(1.1);
}

.icon img {
  width: 16px;
  height: 16px;
}

.expanded {
  width: 70px;
  height: 70px;
}

.expanded .square {
  opacity: 0;
  pointer-events: none;
}

.expanded .icons {
  display: flex;
}

        /* Footer */
        footer {
            padding: 2rem 10%;
            text-align: center;
            color: #9ba1a6;
        }

        /* Responsive Design */
        @media (max-width: 968px) {
            .hero, .about {
                grid-template-columns: 1fr;
                text-align: center;
                margin-top: 30vh;
            }

            .social-links {
                justify-content: center;
            }

            .hero-image {
                order: -1;
            }

            .hexagon-frame {
                max-width: 300px;
            }
        }

        @media (max-width: 768px) {
            nav {
                flex-direction: column;
                gap: 1rem;
            }

            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }
        }
