/* ---------- Global Reset ---------- */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: rgb(241, 231, 231);
}

/* ---------- Top Bar ---------- */
/* ---------- TOP BAR ---------- */
    .top-bar {
      background: #0514da;
      color: #fff;
      padding: 10px 0;
      font-family: "Poppins", sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      z-index: 1000;
    }

    /* ---------- FLEX CONTAINER ---------- */
    .bar-content {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 25px;
      text-align: center;
    }

    /* ---------- LINK STYLE ---------- */
    .bar-content a {
      color: #fff;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-weight: 500;
      transition: 0.3s;
      white-space: nowrap;
    }

    .bar-content a:hover {
      color: #ffe8db;
    }

    .bar-content i {
      font-size: 1.1rem;
    }

    /* ---------- LOGIN BUTTON ---------- */
    .login-btn {
      background: #fff;
      color: #f85f2f;
      border-radius: 25px;
      padding: 6px 16px;
      font-weight: 600;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .login-btn:hover {
      background: #f85f2f;
      color: #fff;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      transform: translateY(-1px);
    }

    /* ---------- DESKTOP VIEW ---------- */
    .bar-text {
      display: inline;
    }

    /* ---------- MOBILE VIEW ---------- */
    @media (max-width: 768px) {
      .bar-content {
        gap: 18px;
        flex-wrap: nowrap;
        justify-content: center;
      }

      /* Hide text only for contact items, keep Login/Register same */
      .bar-content a:not(.login-btn) .bar-text {
        display: none;
      }

      .bar-content i {
        font-size: 1.25rem;
      }

      .login-btn {
        padding: 6px 14px;
        font-size: 0.9rem;
      }
    }
/* ---------- Navbar ---------- */
nav {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center; /* ✅ Center logo and nav horizontally */
  gap: 20px; /* space between logo and menu */
  height: 100%;
  padding: 0 20px;
  position: relative;
}

.nav-logo img {
  height: 45px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #000;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2001; /* ✅ Ensures toggle button is above everything */
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  color: rgb(15, 14, 14);
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #FF4500;
}

.nav-links li:hover .mega-menu {
  display: grid;
}

/* ---------- Mobile Menu ---------- */
.close-btn {
  display: none;
}

/* ---------- Mobile Menu ---------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 2001; /* ✅ Keeps toggle always clickable */
  }

  .nav-container {
    justify-content: center;
    position: relative;
  }

  .nav-logo {
    text-align: center;
    flex: 1;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 70px;
    right: 100%;
    height: 100vh;
    width: 100%;
background: linear-gradient(
  to bottom right,
  rgba(255, 105, 180, 0.75), /* Hot Pink */
  rgba(255, 182, 193, 0.40)  /* Light Pink */
);

backdrop-filter: blur(8px);
transition: right 0.3s ease-in-out;
box-shadow: -2px 0 10px rgba(0,0,0,0.1);
z-index: 2000;
overflow-y: auto;
padding-top: 40px;
  }
  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }

  .close-btn {
    display: block;
    align-self: flex-end;
    font-size: 32px;
    cursor: pointer;
    color: #fff;
    position: absolute;
    top: -50px;
    left: 100px;
    /* z-index: 2002; */
  }
}



/* .service-img, .project-img {
  height: 200px;
  object-fit: cover;
} */

.testimonial-carousel .p-4 {
  min-height: 180px;
}
.home-banner {
  min-height: 70vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.home-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* Dark overlay for readability */
}

@media (max-width: 768px) {
  .home-banner {
    min-height: 55vh;
    padding: 40px 0;
  }
}
.modal-content {
  border-radius: 18px !important;
}

.modal-header {
  border-top-left-radius: 18px !important;
  border-top-right-radius: 18px !important;
}

.btn-close-white {
  filter: invert(1);
}

.btn-success {
  background-color: #25D366;
  border: none;
}
.btn-success:hover {
  background-color: #1EBE5B;
}
/* .service-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}
.service-hero {
  height: 30vh;
  background: url('assets/img/your-image.jpg') center/cover no-repeat;
  position: relative;
}
.service-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
} */
