* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  cursor: default;
}

.service {
  height: 57vh;
  background: linear-gradient(rgba(0, 45, 66, 0.541)),
    url(images/christina-wocintechchat-com-dKBTFoarrOU-unsplash.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}
.s-text h3 {
  font-size: 5.2rem;
  font-weight: 700;
  color: white;
}
.next {
  height: auto;
  padding: 10vh 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.next h4 {
  text-align: center;
  font-size: 1.2em;
}
.grid {
  margin-top: 70px;
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  height: 300px;
  cursor: default;
}
.grid-child {
  background: rgba(13, 85, 211, 0.21);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5.1px);
  -webkit-backdrop-filter: blur(5.1px);
  border: 1px solid rgba(13, 85, 211, 0.52);
  background: rgba(13, 85, 211, 0.21);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5.1px);
  -webkit-backdrop-filter: blur(5.1px);
  border: 1px solid rgba(13, 85, 211, 0.52);
  transition: 0.3s;

  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 20px;
}
.grid-child:hover {
  background: rgba(0, 37, 100, 0.56);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4.3px);
  -webkit-backdrop-filter: blur(4.3px);
  border: 1px solid rgba(0, 37, 100, 0.52);
  color: white;
}
.grid-head {
  width: 90%;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.grid-head img {
  height: 50px;
}
.grid-head h5 {
  font-size: 1.3em;
  font-weight: 800;
}
.grid-child p {
  width: 90%;
}
@media (min-width: 993px) {
  .grid {
    width: 90%;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .next h4 {
    font-size: 1em;
  }
}
@media (max-width: 425px) {
  .service {
    padding: 15vh 0 5vh 0;
    height: 30vh;
  }
  .s-text h3 {
    font-size: 2em;
    font-weight: 700;
  }
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .next h4 {
    font-size: 0.8em;
    width: 80%;
  }
  .grid-head h5 {
    font-size: 1.1em;
  }
  .grid-child p {
    font-size: 0.9em;
  }
}
.navbar-container {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 60px);
  max-width: 1000px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 0 300 0;
}

.navbar {
  background: rgba(112, 112, 112, 0.397);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 12px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.navbar:hover::before {
  left: 100%;
}

.navbar:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
  z-index: 2;
  position: relative;
}

.brand-text img {
  height: 30px;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  z-index: 2;
  position: relative;
}

@media (min-width: 993px) {
  .navbar-nav {
    display: flex !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    flex-direction: row !important;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nav-link.active {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1);
}
.nav-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2000;
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 18px;
  justify-content: center;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.mobile-toggle.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-toggle.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.cta-button {
  background: linear-gradient(345deg, #0084ff, #816bff);
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: 5px;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
}

@media (max-width: 992px) {
  .navbar-container {
    top: 20px;
    width: calc(100% - 30px);
  }

  .navbar {
    padding: 12px 20px;
    position: relative;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Hide desktop navigation on mobile */
  .navbar-nav {
    display: none;
  }

  .brand-text {
    font-size: 1.2rem;
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Container */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #c7d4ff 0%, #1d65ff 50%, #3268fd 100%);
  z-index: 1600;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 30px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
  padding: 40px 30px;
  list-style: none;
}

.mobile-menu-item {
  margin-bottom: 8px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateX(8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.mobile-cta {
  margin: 30px 30px 40px;
}

.mobile-cta-button {
  display: block;
  width: 100%;
  background: linear-gradient(345deg, #01478a, #6d5ad6);

  color: white;
  text-decoration: none;
  padding: 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
}

.mobile-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

@media (max-width: 768px) {
  .navbar-container {
    width: calc(100% - 30px);
  }
  .text h3 {
    font-size: 3.4em;
  }
  .text h6 {
    font-size: 1em;
  }
  .btn {
    width: 130px;
    height: 46px;
    font-size: 0.9em;
  }
  .moi {
    gap: 100px;
  }
  .moitext {
    width: 78%;
    /* margin-bottom: 50px; */
  }
  .moiimage {
    width: 380px;
    height: 430px;
  }
  .flexoverlay {
    width: 60%;
  }
  .flexoverlay h5 {
    font-size: 5.2em;
  }
 

  .next{
    margin-bottom: 400px;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    width: calc(100% - 20px);
    top: 15px;
  }

  .navbar {
    padding: 10px 15px;
  }

  .navbar-brand {
    gap: 8px;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
  }

  .brand-text {
    font-size: 1.1rem;
  }
  .text h3 {
    font-size: 2.4em;
  }
  .text h6 {
    font-size: 0.9em;
  }
  .btn {
    width: 130px;
    height: 46px;
    font-size: 0.9em;
  }
  .moi {
    gap: 90px;
  }
  .moitext {
    width: 90%;
    /* margin-bottom: 50px; */
  }
  .moitext p {
    font-size: 0.9em;
  }
  .moiimage {
    width: 350px;
    height: 400px;
  }
  .flexoverlay {
    padding: 0 0 0 30px;
    width: 100%;
  }
  .flexoverlay h5 {
    font-size: 4.4em;
  }
  
}


