/* Hero Section Styling */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #002561 0%, #0057b8 100%);
  background-size: cover;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Navbar Styling */
.navbar-container {
  background: linear-gradient(135deg, #001940 0%, #004394 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-container .navbar {
  background: transparent !important;
}

.navbar-container .navbar-collapse {
  background: transparent !important;
}

.navbar-container .nav-item .nav-link {
  color: #fff !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.navbar-container .nav-item .nav-link:after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--bs-primary);
  transition: width 0.3s ease;
}

.navbar-container .nav-item .nav-link:hover:after,
.navbar-container .nav-item .nav-link.active:after {
  width: 30px;
}

.navbar-container .nav-item .nav-link:hover,
.navbar-container .nav-item .nav-link.active {
  color: var(--bs-primary) !important;
}

.navbar-brand p {
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-brand small {
  color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-toggler {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
}

.navbar-container .btn-contact {
  background: var(--bs-primary);
  border: 2px solid var(--bs-primary);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
  color: #ffffff !important;
  font-weight: 600;
}

.navbar-container .btn-contact:hover {
  background: transparent;
  color: var(--bs-primary) !important;
}

@media (max-width: 1199.98px) {
  .navbar-container .navbar-collapse {
    background: linear-gradient(135deg, #001940 0%, #004394 100%) !important;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
  }
}

.hero-overlay {
  position: relative;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  padding: 80px 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border-left: 5px solid var(--bs-primary);
}

.hero-image-container {
  position: relative;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.hero-image-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  z-index: 1;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--bs-primary);
  border-radius: 50%;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.5);
  animation: pulse-badge 2s infinite;
  z-index: 2;
}

.hero-badge-inner {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-badge span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-primary);
  line-height: 1;
}

.hero-badge small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bs-dark);
  line-height: 1.2;
}

@keyframes pulse-badge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-content {
    margin-bottom: 30px;
  }

  .hero-badge {
    width: 80px;
    height: 80px;
  }

  .hero-badge-inner {
    width: 70px;
    height: 70px;
  }

  .hero-badge span {
    font-size: 1.2rem;
  }

  .hero-badge small {
    font-size: 0.7rem;
  }
}

/* Service Item Styling */
.service-item {
  transition: all 0.35s ease;
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.shadow-hover {
  transition: all 0.35s ease;
}

.shadow-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
  border-top: 4px solid var(--bs-primary);
}

.service-icon {
  transition: all 0.5s ease;
  overflow: hidden;
}

.service-item:hover .service-icon {
  transform: rotateY(360deg);
}

.service-features {
  position: relative;
  padding-left: 10px;
  border-left: 2px solid var(--bs-primary);
}

.service-item .btn-outline-primary {
  transition: all 0.3s ease;
}

.service-item .btn-outline-primary:hover {
  background: var(--bs-primary);
  color: white;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-content {
    margin-bottom: 30px;
  }

  .hero-badge {
    width: 80px;
    height: 80px;
  }

  .hero-badge-inner {
    width: 70px;
    height: 70px;
  }

  .hero-badge span {
    font-size: 1.2rem;
  }

  .hero-badge small {
    font-size: 0.7rem;
  }
}

/* Contact Section Styling */
.contact-section {
  position: relative;
  background: linear-gradient(135deg, #002561 0%, #0057b8 100%);
  background-size: cover;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 0;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-info-box {
  transition: all 0.3s ease;
  border-top: 4px solid var(--bs-primary);
}

.contact-icon {
  width: 60px;
  height: 60px;
  transition: all 0.5s ease;
}

.contact-info-box:hover .contact-icon {
  transform: rotateY(360deg);
}

.contact-link a {
  transition: all 0.3s ease;
}

.contact-link a:hover {
  color: var(--bs-primary) !important;
}

.map-responsive {
  overflow: hidden;
  position: relative;
  height: 400px;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-area-badge {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-area-badge:hover {
  background: var(--bs-primary);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-content {
    margin-bottom: 30px;
  }

  .hero-badge {
    width: 80px;
    height: 80px;
  }

  .hero-badge-inner {
    width: 70px;
    height: 70px;
  }

  .hero-badge span {
    font-size: 1.2rem;
  }

  .hero-badge small {
    font-size: 0.7rem;
  }
}

/* Topbar Emergency Icon Styling */
.topbar .top-info {
  position: relative;
  z-index: 2;
}

.emergency-icon {
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.7) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: pulse-icon 2s infinite !important;
}

.topbar .top-info .text-white {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(0, 123, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}
