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

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  scroll-behavior: smooth;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  background: #0a0a23;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.logo span {
  color: #00bcd4;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00bcd4;
}

.menu-toggle {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url("https://images.unsplash.com/photo-1519389950473-47ba0277781c") center/cover;
  color: white;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero p {
  margin: 1rem 0;
}

.btn {
  background: #00bcd4;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #0288a1;
}

section {
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.service-grid, .portfolio-grid {
  display: grid;
  gap: 1.5rem;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  font-size: 2rem;
  color: #00bcd4;
  margin-bottom: 1rem;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.portfolio-item {
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s;
}

.portfolio-item img {
  width: 100%;
  display: block;
}

.portfolio-item:hover {
  transform: scale(1.05);
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact input, .contact textarea {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

footer {
  background: #0a0a23;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    text-align: center;
    background: #0a0a23;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    
  }
  
  .portfolio-item img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  }
}


