* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px; 
}

body {
  font-family: 'Roboto', sans-serif;
  background: #0a0f1c;
  color: #e6e6e6;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 100px; 
}

h1, h2, h3 { font-family: 'Orbitron', sans-serif; }

/* ============ METALLIC UNIFIED STYLE ============ */
.metallic-header {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  letter-spacing: 6px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #dcdcdc 20%,
    #9c9c9c 45%,
    #f5f5f5 70%,
    #6f6f6f 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 6px rgba(255,255,255,0.2),
    0 0 18px rgba(180,180,180,0.25);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.15));
}

/* ============ NAVBAR ============ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 2rem;
  background: #0d1424;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #1f2a44;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  height: 120px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: #e6e6e6;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: #00ffc8; }

.btn-attack {
  background: #ff2e4d;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: white !important;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,46,77,0.6); }
  50%      { box-shadow: 0 0 20px 5px rgba(255,46,77,0.3); }
}

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: #00ffc8; }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh; 
  padding-top: 120px; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-right: 2rem;
  padding-left: 2rem;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,15,28,0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 6.5rem;
  margin-bottom: 1.5rem;
}

.tagline {
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #b4c1d9; 
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================================
   BUTTON BASE STYLES
   ========================================================================= */
.btn-primary, .btn-emergency, .btn-secondary {
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: all 0.3s;
}

/* =========================================================================
   PRIMARY BUTTON (Get a Free Consultation)
   ========================================================================= */
.btn-primary {
  background: #00d2ff; /* Electric Blue Theme Choice */
  color: #060913;      
}
.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4); 
}

/* =========================================================================
   EMERGENCY BUTTON (Under Attack / Emergency Request)
   ========================================================================= */
.btn-emergency {
  background: #ff2a5f; 
  color: white;
}
.btn-emergency:hover { 
  transform: translateY(-2px); 
  background: #e01b4c; 
  box-shadow: 0 4px 15px rgba(255, 42, 95, 0.4); 
}

/* =========================================================================
   SECONDARY BUTTON (Explore Our Services)
   ========================================================================= */
.btn-secondary {
  background: transparent;
  color: #00d2ff;
  border: 2px solid #00d2ff;
  padding: calc(0.8rem - 2px) calc(1.5rem - 2px); 
}
.btn-secondary:hover {
  background: #00d2ff;
  color: #060913;
  transform: translateY(-2px);
}

/* ============ SERVICES ============ */
.services {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  width: 100%;
  background: linear-gradient(rgba(10, 15, 28, 0.85), rgba(10, 15, 28, 0.85)), 
              url('images/services-bg.png') no-repeat center center;
  background-size: 100% 100%;
  background-attachment: scroll; 
}

.services h2 {
  margin-bottom: 0.5rem;
  font-size: 3rem;
}

.section-subtitle {
  color: #888;
  margin-bottom: 2rem;
  font-style: italic;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.service-card {
  background: #111a2f;
  border-radius: 10px;
  border: 1px solid #1f2a44;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
}
.service-card:hover {
  border-color: #00ffc8;
  box-shadow: 0 0 20px rgba(0,255,200,0.2);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}
.service-header i {
  font-size: 2rem;
  color: #00ffc8;
}
.service-header h3 {
  flex-grow: 1;
  margin: 0;
  color: #fff;
}
.service-header .arrow {
  color: #00ffc8;
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.service-card.active .arrow {
  transform: rotate(180deg);
}

.service-short {
  padding: 0 1.5rem 1.5rem;
  color: #bbb;
  margin: 0;
}

.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  background: #0a0f1c;
  border-top: 1px solid transparent;
}
.service-card.active .service-details {
  max-height: 700px;
  padding: 1.5rem;
  border-top: 1px solid #00ffc8;
}
.service-details h4 {
  color: #00ffc8;
  margin-bottom: 0.8rem;
  font-family: 'Orbitron', sans-serif;
}
.service-details ul {
  list-style: none;
  margin-bottom: 1rem;
}
.service-details ul li {
  padding: 0.3rem 0;
  color: #e6e6e6;
}
.service-details p {
  margin: 0.8rem 0;
  color: #bbb;
}

.btn-service {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #00ffc8;
  color: #0a0f1c;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.2s;
}
.btn-service:hover { transform: translateY(-2px); }
.btn-service.emergency {
  background: #ff2e4d;
  color: white;
}

/* ============ ABOUT ============ */
.about {
  padding: 4rem 2rem;
  text-align: center;
  background: #0d1424;
}
.about h2 {
  margin-bottom: 1rem;
  font-size: 3rem;
}
.about p {
  max-width: 900px;
  margin: 0 auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.stat h3 {
  font-size: 2.5rem;
  font-family: 'Orbitron', sans-serif;
}
.stat p { color: #bbb; }

/* ============ CONTACT ============ */
.contact {
  padding: 4rem 2rem;
  text-align: center;
}
.contact h2 {
  margin-bottom: 1rem;
  font-size: 3rem;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.8rem;
  background: #111a2f;
  border: 1px solid #1f2a44;
  border-radius: 5px;
  color: white;
  font-size: 1rem;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #00ffc8;
  outline: none;
}
.contact-form label {
  text-align: left;
  color: #00ffc8;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
}
.whatsapp-float:hover { background: #1ebe5d; }

/* ============ MODAL SYSTEM ============ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  overflow-y: auto;
}
.modal.active {
  display: flex;
}
.modal-content {
  background: #0d1424;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #ff2e4d;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-content h2 {
  color: #ff2e4d;
  margin-bottom: 1rem;
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* ============ PRIVACY CUSTOM MODAL STYLES ============ */
.privacy-link {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-left: 5px;
}
.privacy-link:hover {
  color: #00ffcc; 
}
.privacy-modal-content {
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-color: #00ffcc !important; /* Specialized accent border for privacy text */
}
.privacy-modal-content h2 {
  color: #00ffcc !important;
}
.privacy-text-container {
  overflow-y: auto;
  padding-right: 15px;
  margin-top: 15px;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #e0e0e0;
}
.privacy-text-container h3 {
  font-family: 'Orbitron', sans-serif;
  color: #00ffcc;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.privacy-text-container ul {
  padding-left: 20px;
  margin-bottom: 15px;
}
.privacy-text-container li {
  margin-bottom: 8px;
}
.policy-footer {
  margin-top: 30px;
  color: #888;
  font-size: 0.85rem;
}

/* ============ FOOTER ============ */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #0d1424;
  color: #888;
  border-top: 1px solid #1f2a44;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #0d1424;
    width: 200px;
    padding: 1rem;
  }
  .nav-links.active { display: flex; }
  .hamburger { display: block; }

  .hero {
    height: 90vh;
    padding-top: 0; 
  }
  .hero-content h1 {
    font-size: 2.8rem;
    letter-spacing: 3px;
    margin-top: 0; 
  }
  .tagline {
    font-size: 1.1rem;
  }
  .logo img {
    height: 50px;
  }
  .services {
    background-attachment: scroll; 
  }
}