* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans', sans-serif;
}

body {
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

/* Preloader overlay that covers the entire screen */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  }

  /* Hide preloader after page loads */
  .preloader.hidden {
    opacity: 0;
    visibility: hidden;
  }

  /* Logo container styles */
  .logo-container {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* SVG styling */
  .logo-container svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .logo-container svg path {
    stroke-width: 4;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-fill-erase 6s ease-in-out infinite;
    fill-opacity: 0;
  }

  .cls-1 {
    stroke: #007fdd;
    fill: #007fdd;
  }

  .cls-2 {
    stroke: #00cfff;
    fill: #00cfff;
    animation-delay: 1s;
  }

  @keyframes draw-fill-erase {
    0% {
      stroke-dashoffset: 1000;
      fill-opacity: 0;
    }
    30% {
      stroke-dashoffset: 0;
      fill-opacity: 0;
    }
    50% {
      stroke-dashoffset: 0;
      fill-opacity: 1;
    }
    80% {
      stroke-dashoffset: 1000;
      fill-opacity: 1;
    }
    100% {
      stroke-dashoffset: 1000;
      fill-opacity: 0;
    }
  }


.gradient-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 800px;
    background: linear-gradient(to left, rgba(0, 207, 255, .4) 10%, rgba(230, 247, 255, 0));
    z-index: -1;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-links a.active {
    border-bottom: 2px solid #007fd0;
    color: #007fd0;
}

.nav-links a:hover {
    color: #007fd0;
}

.cta-button {
    background-color: transparent;
    border: 2px solid #007fd0;
    color: #007fd0;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #007fd0;
    color: white;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.bar1, .bar2, .bar3 {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

/* Overlay Styles */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.97);
    overflow: hidden;
    transition: height 0.4s ease;
    z-index: 99;
}

.overlay-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 30px;
}

.overlay-links a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: 400;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.overlay-links a.active {
    border-bottom: 2px solid #007fd0;
    color: #007fd0;
}

.overlay-links a:hover {
    color: #007fd0;
}

.overlay-cta {
    margin-top: 20px;
}

@media (max-width: 768px) {
    /* Hide desktop nav elements */
    .nav-links, nav > .cta-button {
        display: none;
    }
    
    /* Show hamburger menu */
    .hamburger-menu {
        display: block;
    }
    
    /* Show overlay when active */
    .nav-overlay {
        display: block;
    }
    
    .nav-overlay.active {
        height: 100vh;
    }
    
    /* Animated Hamburger Menu */
    .hamburger-menu.change .bar1 {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    
    .hamburger-menu.change .bar2 {
        opacity: 0;
    }
    
    .hamburger-menu.change .bar3 {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    .gradient-bg {
        width: 100%;
        height: 900px;
    }
}

@media (max-width: 300px) {
    .gradient-bg {
        height: 1000px;
    }
    
}
