body { margin:0; font-family:Arial; background:#ffffff; color:rgb(0, 0, 0); overflow-x:hidden; }
header { display:flex; justify-content:space-between; padding:20px 50px; background:#07152a; }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #0a0f1c; /* Dark premium background */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO SECTION */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

/* LOGO TEXT */
.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.logo-text .mark {
    color: #00aaff; /* Blue color for MARK */
}

.back-arrow {
  position: absolute;
  top: 20px;
  left: 20px;
}

.back-arrow a {
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #007BFF;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  transition: 0.3s ease;
}

.back-arrow a:hover {
  background: #0056b3;
}

/* NAV LINKS */
nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    margin-left: 30px;
    transition: 0.3s;
}

nav a:hover {
    color: #00aaff;
}
/* SERVICES GRID */
.services-section {
  padding: 80px 20px;
  background: #f4f8fc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.service-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* IMAGE */
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */
.service-content {
  padding: 20px;
}

.service-content h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.service-content p {
  font-size: 14px;
  color: #555;
}

/* BUTTON */
.service-btn {
  margin-top: 15px;
  display: inline-block;
  padding: 10px 20px;
  background: #0077cc;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

/* BUTTON ANIMATION */
.service-btn::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  background: #00b4ff;
  left: 0;
  top: 0;
  transition: 0.4s;
  z-index: 0;
}

.service-btn:hover::before {
  width: 100%;
}

.service-btn span {
  position: relative;
  z-index: 1;
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== TABLET (768px and below) ===== */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    padding: 15px 20px;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .back-arrow a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0a0f1c;
    flex-direction: column;
    padding: 20px;
    display: none;
    z-index: 999;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 15px;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 20px;
  }

  .services-section {
    padding: 40px 20px;
  }

  .service-card {
    margin-bottom: 15px;
  }

  .service-card:hover {
    transform: translateY(-10px);
  }

  .service-content h3 {
    font-size: 1.2rem;
  }

  .service-content p {
    font-size: 13px;
  }

  .service-btn {
    padding: 8px 15px;
    font-size: 12px;
  }
}

/* ===== MOBILE (480px and below) ===== */
@media (max-width: 480px) {
  /* Navbar */
  .navbar {
    padding: 12px 15px;
  }

  .logo {
    gap: 8px;
  }

  .logo img {
    width: 35px;
    height: 35px;
  }

  .logo-text {
    font-size: 14px;
  }

  .menu-toggle span {
    width: 20px;
    height: 2.5px;
  }

  .back-arrow a {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-top: 60px;
  }

  /* Services Grid */
  .services-grid {
    gap: 15px;
    padding: 20px 15px;
  }

  .services-section {
    padding: 30px 15px;
  }

  .service-card img {
    height: 150px;
  }

  .service-content h3 {
    font-size: 1rem;
  }

  .service-content p {
    font-size: 12px;
  }

  .service-btn {
    padding: 8px 12px;
    font-size: 11px;
  }
}

/* ===== EXTRA SMALL (under 360px) ===== */
@media (max-width: 360px) {
  .navbar {
    padding: 10px 12px;
  }

  .logo-text {
    font-size: 12px;
  }

  .back-arrow a {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .services-grid {
    gap: 12px;
    padding: 15px 10px;
  }

  .services-section {
    padding: 20px 10px;
  }

  .service-card {
    border-radius: 12px;
  }

  .service-content h3 {
    font-size: 0.9rem;
  }

  .service-content p {
    font-size: 11px;
  }

  .service-btn {
    padding: 6px 10px;
    font-size: 10px;
  }
}
