/* ============================================
   SOS STOP NUISIBLE - Custom Stylesheet
   Modern Emergency Professional Design
   Navy Blue (#1e3a8a) + Red (#dc2626)
   ============================================ */

:root {
  --primary-color: #1e3a8a;
  --accent-color: #dc2626;
  --light-gray: #f3f4f6;
  --dark-gray: #1f2937;
  --border-color: #e5e7eb;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark-gray);
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: #4b5563;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #b91c1c;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-scale-up {
  animation: scaleUp 0.6s ease-out;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  font-size: 1.25rem;
}

.navbar-brand-logo {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
}

.navbar-brand-logo:hover {
  background-color: var(--accent-color);
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand-text .main {
  font-size: 1rem;
  color: var(--primary-color);
}

.navbar-brand-text .sub {
  font-size: 0.7rem;
  color: var(--accent-color);
  font-weight: 600;
}

.nav-link {
  color: #4b5563 !important;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-cta {
  background-color: var(--accent-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background-color: #b91c1c;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
  transform: translateY(-2px);
}

.btn-cta:active {
  transform: scale(0.95);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 58, 138, 0.85) 100%),
              url('../images/hero-bg.png') center/cover;
  color: white;
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: slideUp 0.6s ease-out;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: slideUp 0.6s ease-out 0.2s both;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  animation: slideUp 0.6s ease-out 0.4s both;
}

.hero .btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  animation: slideUp 0.6s ease-out 0.6s both;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background-color: #b91c1c;
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-box {
  width: 100%;
  max-width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  animation: slideInRight 0.8s ease-out;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
  height: 100%;
}

.service-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-left-color: var(--accent-color);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

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

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 0;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background-color: var(--light-gray);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(220, 38, 38, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-color);
  font-size: 1.5rem;
}

.feature-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-section h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-accent-bar {
  width: 4px;
  height: 24px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-content a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: var(--accent-color);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
  padding: 2rem 0 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: white;
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */

.accordion-button {
  background-color: #f3f4f6;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  font-weight: 600;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: white;
  color: var(--primary-color);
  box-shadow: none;
  border-color: var(--accent-color);
  border-left: 4px solid var(--accent-color);
}

.accordion-button:hover {
  background-color: #f9fafb;
  border-color: var(--accent-color);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231e3a8a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-body {
  background-color: white;
  border: 1px solid var(--border-color);
  border-top: none;
  padding: 1.5rem;
  color: #4b5563;
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  outline: none;
}

.form-control.is-invalid {
  border-color: var(--accent-color);
  background-color: rgba(220, 38, 38, 0.05);
}

.form-label {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-label .required {
  color: var(--accent-color);
}

.invalid-feedback {
  color: var(--accent-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.form-check-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* ============================================
   REGION CARDS
   ============================================ */

.region-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  height: 100%;
}

.region-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent-color);
}

.region-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 1.125rem;
  margin-right: 1rem;
}

.region-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.region-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.region-cities {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.8;
}

.region-cities p {
  margin-bottom: 0.25rem;
}

/* ============================================
   CITY GRID
   ============================================ */

.city-badge {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(30, 58, 138, 0.1) 100%);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.city-badge:hover {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(220, 38, 38, 0.1) 100%);
  transform: translateY(-2px);
}

.city-badge-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.city-badge:hover .city-badge-icon {
  color: var(--accent-color);
}

.city-badge-name {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.city-badge:hover .city-badge-name {
  color: var(--accent-color);
}

/* ============================================
   CONTACT INFO CARDS
   ============================================ */

.contact-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-card a {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-color);
}

.contact-card p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */

.success-message {
  background-color: #dcfce7;
  border: 2px solid #22c55e;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  animation: slideUp 0.6s ease-out;
}

.success-message .checkmark {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.success-message h3 {
  color: #16a34a;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: #22c55e;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero {
    padding: 60px 0;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn-group {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    margin-top: 2rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .navbar-brand-text .main {
    font-size: 0.875rem;
  }

  .navbar-brand-text .sub {
    font-size: 0.6rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section {
    padding: 40px 0;
  }

  .service-card,
  .contact-card {
    padding: 1.5rem;
  }

  .feature-item {
    gap: 1rem;
    padding: 1rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}
