/* Global */
body {
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  top: 0;
  width: 100%;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
  position: fixed;  /* Ensure navbar is always at the top */
  left: 0;
  right: 0;
  top: 0;
  box-sizing: border-box;
  max-width: 100%; /* Ensures navbar doesn't overflow */
}

/* Logo */
.logo img {
  height: 30px; /* Adjust size as needed */
  width: auto;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;  /* Hide by default on larger screens */
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  z-index: 9999; /* Ensure the hamburger is clickable */
  position: absolute;
  top: 20px;
  right: 30px; /* Align to the right */
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: auto; /* Ensures the links align correctly */
}

.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,
.dropdown-content:hover {
  display: block;
}

/* ===== CONTACT BUTTON ===== */
.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;
}


/* Services Section */
.services {
  padding: 80px 60px;
  max-width: 1200px;
  margin: auto;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.services-header p {
  color: #aaa;
  font-size: 1rem;
  max-width: 700px;
  margin: auto;
}

/* Services 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;
  cursor: pointer;
  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);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

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

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

/* Footer */
footer {
  background: #000;
  color: #777;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #111;
  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);
}

/* For video hover service */
.video-service .media-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.video-service .thumbnail,
.video-service .preview-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  border-radius: 0;
}

.video-service .preview-video {
  opacity: 0;
  pointer-events: none;
}

.video-service:hover .preview-video {
  opacity: 1;
}

.video-service:hover .thumbnail {
  opacity: 0;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  z-index: 9999;
  position: absolute;
  top: 20px;
  right: 30px; /* Align the hamburger to the right */
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 60%;
    height: 100vh;
    background: #000;
    flex-direction: column;
    gap: 20px;
    padding-top: 40px;
    align-items: center;
    transition: right 0.3s ease;
    margin-left: auto;
    box-sizing: border-box;
  }

  .nav-links.show {
    right: 0;
  }

  .hamburger {
    display: block;  /* Show the hamburger on small screens */
  }

  .navbar {
    padding: 15px 25px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    padding: 15px 0;
    display: block;
  }
}
