* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #301347 0%, #411e05 70%);
    /* background: linear-gradient(135deg, #7e7e9d 0%, #49234f 25%, #36253d 50%, #392510 75%, #1a1a2e 100%); */
    /* background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%); */
    /* color: #ffffff; */
    overflow-x: hidden;
    line-height: 1.6;
}

/* html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  
} */

/* Animated background */
.bg-gradient {
    position: fixed;
    
    top: 0;
    left: 0;
    position: absolute;
right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
    z-index: 1;
}



.main-content, .hero, .bg-gradient {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
/* Glass morphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.glass-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
}

.nav-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgb(255 113 0 / 80%), rgba(168, 85, 247, 0.45));
    color: #fff;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
  }
  
  .nav-btn:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.6), rgba(255, 113, 0, 0.9));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
  }
  

/* Enhanced Glassmorphism Navigation */
/* Enhanced Glassmorphism Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    /* box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1); */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* animation: navFloat 3s ease-in-out infinite; */
}

@keyframes navFloat {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

nav:hover {
    background: rgba(255, 255, 255, 0.08);
    /* box-shadow: 
        0 12px 48px rgba(31, 38, 135, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15); */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    list-style: none;   /* 🔥 removes the dots */
    display: flex;
    align-items: center;
    gap: 2rem;           /* optional: controls spacing between items */
    padding: 0;
    margin: 0;
  }
  
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .logo-item {
    margin-right: auto; /* pushes other menu items to the right */
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(to right, #7f5af0, #c8c6d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent); */
    transition: left 0.5s ease;
}

.nav-links a:hover {
  color: #ffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-links a:hover::before {
    left: 100%;
}
.nav-btn.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #ff71004d, #a855f740);
  color: white;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
  white-space: nowrap; /* prevents text breaking */
}

.nav-btn.contact-link:hover {
  background: linear-gradient(to right, #a855f740, #ff71004d);
  transform: none;
}

.contact-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* .contact-btn {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
} */

.contact-btn:hover::before {
  left: 100%;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nav-cta:hover::before {
    transform: translateX(100%);
}

/* Search Container inside Nav */
.nav-search {
    display: flex;
    align-items: center;
    margin-left: 20px;
  }
  
  .search-form {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 32px;
  }
  
  .search-field {
    border: none;
    background: transparent;
    outline: none;
    padding: 4px 8px;
    color: #f1f1f1;
    width: 100px;
    transition: width 0.4s ease;
    font-size: 14px;
  }
  
  /* Expand on focus */
  .search-field:focus {
    width: 160px;
  }
  
  /* Search Button */
  .search-btn {
    background: none;
    border: none;
    color: #f1f1f1;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    display: flex;
    align-items: center;
  }
  
  .search-btn:hover {
    color: #f27121;
    border: #f1f1f1;
  }
  
  /* Optional dark nav background */








/* Main Content */
.main-content {
    position: relative;
    z-index: 10;

}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #e5e7eb, #8a57c3, #c5630c);
    /* background: linear-gradient(135deg, #ffffff, #e5e7eb, #6366f1, #a855f7); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #d1d5db;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary {
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    background: linear-gradient(135deg, rgb(255 113 0 / 30%), rgba(168, 85, 247, 0.25));
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    backdrop-filter: blur(15px);
    /* box-shadow: 0 8px 30px rgba(168, 85, 247, 0.25); */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 60%);
    transition: left 0.5s ease-in-out;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    /* box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1); */
    /* transform: translateY(-2px); */
}

.btn-secondary {
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(40px);
}

/* .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
} */

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #dbdbdb;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    backdrop-filter: blur(30px);
}

@media (max-width: 768px) {
  .visual-container {
    display: none;
  }
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(112, 112, 112, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@media (max-width: 768px) {
  .cyber-grid {
    display: none;
  }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Avoids blocking user clicks */
  }
  
  .float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(100px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: float-card 6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
   
  }

  

  
  /* Float animation */
  @keyframes float-card {
    0%, 100% {
      transform: translateY(0px) rotate(0deg);
    }
    50% {
      transform: translateY(-16px) rotate(1.5deg);
    }
  }
  
  /* Optional hover effect if interactive */
  .float-card:hover {
    
    transform: translateY(-8px) scale(1.03) rotate(0.5deg);
    box-shadow: 0 8px 30px rgba(80, 120, 255, 0.4);
    cursor: default;
  }
  

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container,
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .search-input {
        width: 200px;
    }
    
    .search-input:focus {
        width: 250px;
    }
}


/* Responsive for tablets and mobile */
@media (max-width: 1024px) {
    .hero-container {
      grid-template-columns: 1fr;
      gap: 3rem;
      text-align: center;
    }
  
    .hero-visual {
      height: 400px;
    }
  
    .hero-content h1 {
      font-size: 2.5rem;
    }
  
    .hero-subtitle {
      font-size: 1rem;
      padding: 0 1rem;
    }
  
    .hero-buttons {
      justify-content: center;
      flex-direction: column;
      gap: 1rem;
    }
  
    .nav-links {
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
    }
  
    .search-form {
      width: 100%;
    }
  
    .search-field {
      width: 100px;
    }
  
    .nav-container {
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  
  /* Mobile-first */
  @media (max-width: 640px) {
 
    .hero-container h1, .hero-container p {
      text-align: center;
    }

    .hero-container p {
      line-height: 1.6;
      font-size: 14px; /* adjust if it's too small */
      text-align: center;
    }
    .get-started-btn {
      border: 2px solid #fff;
      font-weight: 500;
    }
    .hero-container h1,
.hero-container p {
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

    
    
      .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      
      .logo img {
        height: 40px;
      }
    nav {
        top: 14px;
        position: fixed;
        background: transparent;
      width: 90%;
      padding: 0.8rem 1rem;
      padding: 1rem 2rem;
      z-index: 1000;
    }
  
    .hero-content h1 {
        margin-top: 120px;
        font-size: 2rem;
        line-height: 1.3;
    }
    .hero-subtitle {
      font-size: 1rem;
      padding: 0 0.5rem;
    }
  
    .btn-primary,
    .btn-secondary {
      padding: 0.9rem 1.5rem;
      font-size: 1rem;
    }
  
    .float-card {
      padding: 0.5rem;
      font-size: 0.7rem;
      max-width: 120px;
    }
  
    .nav-links {
      flex-direction: column;
      gap: 0.5rem;
    }
  
    .nav-search {
      width: 100%;
      justify-content: center;
      margin-top: 0.5rem;
    }
  
    .search-form {
      width: 90%;
      justify-content: space-between;
    }
  
    .search-field:focus {
      width: 100%;
    }
  
    .hero-visual {
      height: 350px;
    }
  }
  
/* Navbar Base */

  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img {
    height: 40px;
  }
  
  /* Nav Links */
  .nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
  }
  
  .nav-links li a,
  .nav-btn {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
  }
  
  .nav-search {
    display: flex;
    align-items: center;
  }
  
  .search-form {
    display: flex;
  }
  
  .search-field {
    padding: 5px 10px;
    border-radius: 5px;
    border: none;
  }
  

  
  /* Hamburger */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }
  
  .hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    border-radius: 2px;
  }

  
  @media (max-width: 768px) {
    .nav-links,
    .nav-links.show {
      display: none !important;
    }
  }
  
  
  
  /* Responsive */
  @media (max-width: 768px) {
    .nav-links {
      position: absolute;
      top: 65px;
      right: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.95);
      flex-direction: column;
      align-items: flex-start;
      padding: 1rem 2rem;
      display: none;
    }
  
    .nav-links li {
      width: 100%;
      margin: 10px 0;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .hamburger {
      display: flex;
    }
  
    .search-field {
      width: 100%;
    }
  
    .search-form {
      width: 100%;
      flex-direction: column;
    }
  
    .search-btn {
      margin: 5px 0 0 0;
    }
  }
  
  @media (max-width: 768px) {
    .floating-elements {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      position: absolute;
      padding: 2rem 5rem;
    }
  
    .float-card {
      position: static;
      width: 100%;
      max-width: 300px;
      justify-content: flex-start;
      background: rgba(255, 255, 255, 0.06);
      padding: 0.75rem 1rem;
    }
  }
  
  @media (max-width: 768px) {
    .floating-elements {
      display: none;
    }
  }

  @media (max-width: 768px) {
    body, html {
      height: 100vh;
      overflow: hidden;
    }
  }

  
  
  @media (min-width: 768px) {
    .navbar {
      flex-direction: row;
      padding: 1.5rem 2rem;
    }
  
    .nav-links {
      flex-direction: row;
      display: flex !important;
      gap: 2rem;
      margin-top: 0;
    }
  
    .menu-toggle {
      display: none;
    }
  
    .hero-section {
      padding: 4rem 2rem;
    }
  }
  