/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
  width: 100%;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  position: relative;
  z-index: 1000;
}

.logo img {
  height: 30px;
  width: auto;
}

/* DESKTOP MENU */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #5682B1;
}

/* DROPDOWN */
.dropdown { position: relative; }

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #000;
  min-width: 160px;
  top: 100%;
  left: 0;
  z-index: 999;
}

.dropdown-content a {
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover { background-color: #333; }
.dropdown:hover .dropdown-content { display: block; }

/* NAV CONTACT BTN */
.contact-btn {
  background-color: #5682B1;
  padding: 8px 18px;
  border-radius: 8px;
  color: white !important;
  transition: background-color 0.3s ease;
}

.contact-btn:hover { background-color: #466e95; }

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: #fff;
  margin-left: auto;
}

/* ===== SERVICE PAGE ===== */
.service-section {
  padding: 80px 10%;
}

.service-section h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.service-section .intro,
.service-section .description {
  color: #ccc;
  margin-bottom: 40px;
  font-size: 1rem;
}

.service-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 40px;
}

.service-card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

/* SLIDER */
.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.before-img, .after-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-img { clip-path: inset(0 100% 0 0); }

.slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #00eaff;
  box-shadow: 0 0 12px #00eaff;
  transform: translateX(-50%);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: #00eaff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 12px #00eaff;
  cursor: ew-resize;
  font-weight: bold;
}

/* CARD TEXT */
.service-card h3 {
  font-size: 1.1rem;
  margin: 15px 20px 5px;
}

.service-card p {
  color: #aaa;
  margin: 0 20px 20px;
  font-size: 0.9rem;
}

/* CONTACT BUTTON MAIN */
.contact-btn-main {
  background-color: #fff;
  color: #000;
  padding: 12px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  display: block;
  margin: 40px auto 0;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn-main:hover {
  background-color: #5682B1;
  color: #fff;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 25px 0;
  background: #111;
  margin-top: 60px;
  color: #aaa;
  font-size: 0.9rem;
}

.social-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.social-links img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: 0.3s ease;
}

.social-links img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ===== MOBILE NAVBAR ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    gap: 20px;
    padding: 25px 0;
    display: none;
    border-top: 1px solid #1a1a1a;
    text-align: center;
  }

  .nav-links.show { display: flex; }

  .dropdown-content { position: static; background: #000; }

  .service-section { padding: 60px 8%; }
  .service-section h1 { font-size: 1.8rem; }
  .contact-btn-main { width: 100%; }
}
