/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0a0a0a;
  color: #fff;
  scroll-behavior: smooth;
}

/* ---------- NAVBAR ---------- */
nav {
   position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(0, 8, 20, 0.6);
  z-index: 1000;
}

.logo img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #bcd3ff;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #bcd3ff;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #5b8dff;
}

/* ---------- HEADER + VIDEO ---------- */
header {
   position: relative;
  min-height: 100svh; /* MOBILE FIX */
  overflow: hidden;
}

/* Background video */
.bg-video {
    position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;

  
}
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}
/* HERO TEXT */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}
.hero-logo {
  width: 220px;
  max-width: 80%;
  margin-bottom: 1rem;
}
.hero h1 {
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}
}

.hero p {
  margin: 15px 0;
}

.btn {
  padding: 12px 30px;
  border-radius: 50px;
  background: #533cff;
  color: white;
  text-decoration: none;
}

.btn:hover {
  background: #1a40ff;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 100px 50px;
  text-align: center;
}

/* Services */
.services-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 50px;
}
.service {
  background: #111;
  padding: 30px;
  margin: 20px;
  border-radius: 10px;
  width: 250px;
  transition: 0.3s;

  border: 2px solid #533cff; /* ✅ THIS IS REQUIRED */
}


.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(66, 60, 255, 0.5);
  border-color: #6a5cff;
}

/* potfoli0*/
.portfolio h2 {
  margin-bottom: 20px;
}

.project-card {
  max-width: 360px;
  margin: 15px auto;
  padding: 16px 20px;
  background: #111;
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 2px solid #533cff; /* ✅ add width + style + color */
}


.project-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(83, 60, 255, 0.5);
  border-color: #7a63ff;
}

.btn {
  padding: 10px 18px;
  background: #5b5bff;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 13px;
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: auto;
}

form input,
form textarea {
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  border: none;
}

form button {
  padding: 15px;
  border-radius: 50px;
  background: #0032ba;
  color: #fff;
  border: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  background: #111;
}

/* Responsive */
@media(max-width:768px) {
  nav ul {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .services-container {
    flex-direction: column;
    align-items: center;
  }
}
.logo {
    width: 580px;      /* increase or decrease as you want */
    height:auto ;      /* keeps high quality */
    image-rendering: high-quality;
}
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    /* MOBILE */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}
/* ---------- MOBILE NAV FIX ---------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(0, 8, 20, 0.95);
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(85, 140, 255, 0.3);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    width: 26px;
    height: 3px;
    background: white;
    transition: 0.3s;
  }
}


}
.view-btn {
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background-color: #533cff;
  color: white;
  font-size: 16px;
  cursor: pointer;
}
