* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  line-height: 1.6;
}

/* NAVBAR */
#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

#navbar ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

#navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* HEADER */
header {
  height: 90vh;
  background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e') no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  text-align: center;
  color: white;
  padding: 20px;
}

.overlay h1 {
  font-size: 40px;
}

.overlay p {
  margin: 15px 0;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: orange;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* SECTIONS */
section {
  padding: 60px 8%;
  text-align: center;
}

.section-sub {
  margin-bottom: 30px;
  color: gray;
}

/* CARDS */
.services, .projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 30px;
  background: #f4f4f4;
  border-radius: 10px;
}

/* ABOUT FEATURES */
.features {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* CONTACT */
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: white;
}

/* ========================= */
/* 📱 MOBILE RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

  /* ✅ SHOW HAMBURGER */
  .menu-toggle {
    display: block;
  }

  /* ✅ HIDE MENU BY DEFAULT */
  #nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: #111;

    flex-direction: column;
    text-align: center;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  /* MENU ITEMS */
  #nav-links li {
    padding: 15px 0;
    border-top: 1px solid #333;
  }

  /* WHEN OPEN */
  #nav-links.active {
    max-height: 300px;
  }

  /* TEXT RESIZE */
  .overlay h1 {
    font-size: 26px;
  }

  .overlay p {
    font-size: 14px;
  }

  /* STACK GRIDS */
  .services,
  .projects {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  section {
    padding: 40px 20px;
  }
}

/* EXTRA SMALL */
@media (max-width: 480px) {

  .overlay h1 {
    font-size: 22px;
  }

  .btn {
    width: 100%;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

.whatsapp-float {
  position: fixed;        /* 🔥 THIS MAKES IT FLOAT */
  bottom: 20px;           /* distance from bottom */
  right: 20px;            /* distance from right */

  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 55px;
  height: 55px;
  border-radius: 50%;

  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 9999;          /* ensure it's above everything */

  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.logo img {
  height: clamp(30px, 5vw, 45px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* ICON */
.logo img {
  height: 42px;
  width: auto;
}

/* TEXT BLOCK */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

/* MAIN BRAND */
.brand-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  color: #ff9800;
}

/* SUB TEXT */
.brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ccc;
}