* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
}

header {
  background: #1e293b;
  color: white;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.logo h1 {
  font-size: 24px;
}

/* Menu styles */
nav {
  display: flex;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
  }

  nav {
    position: relative;
    z-index: 15;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: #1e293b;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    border-radius: 8px;
    padding: 15px;
    z-index: 10;
  }

  nav ul.show {
    display: flex;
  }
}



nav ul.active {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Hero */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  transition: background-image 1s ease-in-out;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 42px;
}

.hero p {
  font-size: 18px;
  margin: 10px 0;
}

.btn {
  background: #ef4444;
  color: white;
  padding: 10px 20px;
  display: inline-block;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
}

section {
  padding: 60px 20px;
}

section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 18px;
}

.services, .projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin-bottom: 10px;
}

.small-btn {
  padding: 8px 15px;
  font-size: 14px;
}

/* Contact Section */
.contact {
  background: #1e293b;
  color: white;
}

footer {
  background: #111827;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Floating Buttons */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.floating-btn a {
  display: block;
  margin: 5px 0;
  background: #25D366;
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
}

.floating-btn a.call {
  background: #0ea5e9;
}

/* Responsive Breakpoint */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}
