/* Tactical Service Houston - Dark Modern Theme */

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #0c0c0c;
  color: #fff;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between; /* brand on left, rest flows naturally */
  align-items: center;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

/* ===== Navbar Dropdown ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;              /* tighter spacing between tabs */
  margin-left: 10px;      /* gently pull all tabs left */
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px; /* slight separation between each tab */
  margin: 0;
  padding: 0;
}
.nav-item a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;      /* smaller text for tighter fit */
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}
.nav-item a:hover {
  color: #00e676;
}

/* --- Fix dropdown hover leaks / flicker --- */
.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown:hover > .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.25);
  min-width: 260px;
  pointer-events: auto;
  margin-top: -2px; /* closes the small hover gap */
  z-index: 9999; /* keeps dropdown above everything */
  border: 1px solid rgba(0, 230, 118, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.dropdown-content a {
  color: #ccc;
  padding: 14px 18px;
  display: block;
  text-align: left;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  color: #00e676;
  background: rgba(0, 230, 118, 0.08);
}

/* ===== Areas Served Compact Style ===== */
.areas-dropdown a {
  font-size: 0.9rem;
  padding: 10px 16px;
  color: #ddd;
}

.areas-dropdown a:hover {
  color: #00e676;
  background: rgba(0, 230, 118, 0.08);
}

/* Fix hover behavior and hide dropdown fully */
.dropdown-content {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateY(-8px);
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Prevent sticking: hide dropdown when mouse leaves both parent and menu */
.navbar {
  overflow: visible;
}

/* Animation */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== Brand (stacked alignment) ===== */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.brand-top {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #00e676;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.brand-bottom {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #00e676;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ===== Navigation (moved left toward brand) ===== */
.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 35px; /* tighter grouping */
  margin: 0;
  padding: 0;
  transform: translateX(-40px); /* shift slightly left */
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #00e676;
}

/* ===== Logo (Top Right Corner) ===== */
.logo-wrapper {
  position: absolute;
  top: 10px;
  right: 40px;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo {
  width: 70px;
  height: 70px;
  z-index: 2;
  filter: drop-shadow(0 0 18px #00e676);
}

/* Spinning neon ring */
.logo-wrapper::before {
  content: "";
  position: absolute;
  top: -9px;
  left: -9px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top: 3px solid #00e676;
  border-right: 3px solid #00e676;
  animation: spinGlow 3s linear infinite;
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.4);
}

@keyframes spinGlow {
  0% { transform: rotate(0deg); opacity: 0.3; }
  50% { opacity: 1; }
  100% { transform: rotate(360deg); opacity: 0.3; }
}

/* ===== Logo (Top-Right Corner) ===== */
.logo-wrapper {
  position: absolute;
  top: 10px;
  right: 40px;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo {
  width: 70px;
  height: 70px;
  z-index: 2;
  filter: drop-shadow(0 0 18px #00e676);
}

/* Spinning light ring */
.logo-wrapper::before {
  content: "";
  position: absolute;
  top: -9px;
  left: -9px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top: 3px solid #00e676;
  border-right: 3px solid #00e676;
  animation: spinGlow 3s linear infinite;
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.4);
}

@keyframes spinGlow {
  0% { transform: rotate(0deg); opacity: 0.3; }
  50% { opacity: 1; }
  100% { transform: rotate(360deg); opacity: 0.3; }
}

/* ===== Navigation Links ===== */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #00e676;
}

/* ===== Book Now Button ===== */
.book-btn {
  background: #00e676;
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}
/* ===== Hero Section (Crisp, Contained Background) ===== */
.hero {
  position: relative;
  height: 90vh; /* top section only */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-color: #0c0c0c; /* fallback */
  overflow: hidden; /* prevents image bleed */
  isolation: isolate; /* keeps pseudo-element effects contained */
}

/* Background image locked to hero only */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(12, 12, 12, 0.85) 0%, rgba(12, 12, 12, 0.5) 45%, rgba(12, 12, 12, 0.15) 100%),
    url("images/background.png") center top / cover no-repeat;
  filter: blur(2.5px) brightness(0.9);
  z-index: 0;

  /* stops the image from visually bleeding below */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

/* Overlay text box */
.hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  padding: 80px 20px;
  border-radius: 12px;
  max-width: 900px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ddd;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 34px;            /* bigger, more clickable */
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.35s ease;
  margin: 8px;
  cursor: pointer;
}
/* Green “Call Now” */
.btn.primary {
  background: #00e676;
  color: #000;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.4);
}

/* Transparent “Book Appointment” */
.btn.outline {
  border: 3px solid #00e676;
  color: #00e676;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.25);
}

/* Hover effects */
.btn.primary:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(0, 255, 140, 0.6);
}

.btn.outline:hover {
  background: #00e676;
  color: #000;
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(0, 255, 140, 0.6);
}

/* ===== Contact Form ===== */
.contact {
  padding: 100px 20px;
  background: #111;
  text-align: center;
}

.contact h2 {
  color: #00e676;
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #1c1c1c;
  color: #fff;
}

button {
  background: #00e676;
  color: #000;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}
/* Prevent hero background from leaking beyond section */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden; /* this keeps background inside */
}

/* Add subtle left fade without changing alignment */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(12, 12, 12, 0.8) 0%,
    rgba(12, 12, 12, 0.5) 35%,
    rgba(12, 12, 12, 0) 100%
  );
  z-index: 2;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  background: #0b0b0b;
  color: #999;
  padding: 20px;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2000;
}

.whatsapp-message {
  background: #fff;
  color: #000;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity 1s;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.whatsapp-button img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
}
/* ===== Areas Served Dropdown (Compact Style) ===== */
.areas-dropdown a {
  font-size: 0.9rem;
  padding: 10px 16px;
  color: #ddd;
}

.areas-dropdown a:hover {
  color: #00e676;
  background: rgba(0, 230, 118, 0.08);
}

/* ===== Reviews Section ===== */
.review {
  width: 26%; /* smaller default size */
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background: #111;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.review:hover {
  transform: scale(1.08); /* slightly stronger grow on hover */
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.5);
  z-index: 3; /* ensures hover image pops above others */
}

.reviews h2 {
  color: #00e676;
  font-size: 2rem;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* Carousel container */
.carousel {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

/* The moving track */
.carousel-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollLoop 30s linear infinite;
}

/* Each review */
.review {
  width: 32%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  background: #111;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.5);
}

/* Smooth infinite scroll */
@keyframes scrollLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* shift halfway because we duplicated */
}

/* Responsive */
@media (max-width: 980px) {
  .review { width: 48%; }
  .carousel-track { gap: 20px; }
}

@media (max-width: 600px) {
  .review { width: 100%; }
}
/* ===== Appointment Modal ===== */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  animation: fadeIn 0.4s ease forwards;
}

.modal-content {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.3);
  padding: 40px;
  max-width: 550px;
  width: 90%;
  text-align: center;
  color: #fff;
  position: relative;
  animation: popUp 0.4s ease;
}

@keyframes popUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-btn {
  position: absolute;
  top: 15px; right: 20px;
  color: #00e676;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #fff;
}

.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.option {
  background: transparent;
  border: 2px solid #00e676;
  color: #00e676;
  border-radius: 10px;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option:hover {
  background: #00e676;
  color: #000;
  transform: scale(1.05);
}

.next-btn {
  margin-top: 20px;
  background: #00e676;
  color: #000;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.next-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 140, 0.6);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* ===== Our Services 2.0 ===== */
.services-section {
  background: linear-gradient(to bottom, #0b0b0b, #121212);
  padding: 100px 40px;
  text-align: center;
  color: #fff;
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: #00e676;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.6);
  border-radius: 2px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #00e676;
  margin-bottom: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}

.service-card {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 16px;
  padding: 30px 24px;
  backdrop-filter: blur(10px);
  transition: all 0.35s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.service-card h3 {
  color: #00e676;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.4);
  border-color: rgba(0, 230, 118, 0.6);
}

/* CTA Section */
.services-cta {
  max-width: 800px;
  margin: 0 auto;
}

.services-cta p {
  color: #ccc;
  margin-bottom: 25px;
  font-size: 1.05rem;
}



