body {
  font-family: 'Helvetica', Arial, sans-serif;
  background-color: #F5F6F5;
  scroll-behavior: smooth;
}

.navbar {
  background-color: #1A2B44 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.navbar-brand img {
  max-height: 40px;
}

.logo-container {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-container:hover .logo-img {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23FFFFFF' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.nav-link {
  color: #FFFFFF !important;
  font-size: 1rem;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s;
}

.nav-link:hover, .nav-link.active {
  background-color: #F28C38 !important;
  color: #FFFFFF !important;
}

.nav-label {
  font-size: 0.9rem;
  margin-right: 8px;
}

.navbar-nav .nav-item {
  margin: 5px 0;
}

@media (max-width: 991px) {
  .navbar-nav {
    background-color: #1A2B44;
    padding: 10px;
  }
  .nav-link, .nav-label {
    color: #FFFFFF !important;
  }
  .nav-link:hover, .nav-link.active {
    background-color: #F28C38 !important;
  }
}

.hero {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: #FFFFFF;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-weight: 700;
  position: relative;
}

.hero p {
  position: relative;
}

.btn-orange {
  background-color: #F28C38;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-orange:hover {
  background-color: #D97706;
}

.animate-hero-title {
  opacity: 0;
  transform: translateY(20px);
  animation: slideInTitle 1s ease-in-out forwards;
}

@keyframes slideInTitle {
  to { opacity: 1; transform: translateY(0); }
}

.animate-hero-tagline {
  opacity: 0;
  animation: fadeInTagline 0.8s ease-in-out 0.2s forwards;
}

@keyframes fadeInTagline {
  to { opacity: 1; }
}

.animate-hero-form {
  opacity: 0;
  transform: scale(0.9);
  animation: scaleInForm 1s ease-in-out 0.4s forwards;
}

@keyframes scaleInForm {
  to { opacity: 1; transform: scale(1); }
}

.service-icons {
  background-color: #F5F6F5;
}

.service-icon {
  color: #1A2B44;
  font-size: 1rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: color 0.3s, transform 0.3s;
}

.service-icon i {
  font-size: 2rem;
  font-weight: bold;
}

.service-icon:hover {
  color: #F28C38;
  transform: scale(1.1);
}

.animate-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.animate-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.bg-light {
  background-color: #F5F6F5 !important;
}

.tracking-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
}

.tracking-card.animate-tracking {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.6s ease-in-out forwards;
}

@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

.tracking-card p {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 1rem;
}

.tracking-card p strong {
  flex: 1;
  font-weight: 700;
  color: #000000;
}

.tracking-card p span {
  flex: 2;
  text-align: left;
  color: #000000;
}

.note-standard {
  color: #3B5998;
  font-weight: bold;
  font-size: 1.1rem;
  animation: gentleBlink 2s ease-in-out infinite;
}

.note-urgent {
  color: #FF0000;
  font-weight: bold;
  font-size: 1.1rem;
  animation: gentleBlink 2s ease-in-out infinite;
}

@keyframes gentleBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

#map {
  height: 200px;
  max-width: 600px;
  border-radius: 5px;
  margin: 20px auto;
  display: block;
}

.custom-marker {
  position: relative;
  width: 24px;
  height: 36px;
}

.custom-marker i {
  color: #FF0000;
  font-size: 24px;
}

.breathing-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: rgba(26, 43, 68, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: breathe 1.5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

.carousel-container {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 75%;
  margin: 0 auto;
}

.service-img {
  max-width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #1A2B44;
}

.carousel-item .row {
  margin: 0;
}

.carousel-item h5 {
  color: #1A2B44;
  font-weight: bold;
}

.carousel-item p {
  color: #1C2526;
}

.innovative-img {
  max-width: 100%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.innovative-img-left {
  height: auto;
}

.innovative-text {
  color: #3B5998;
  font-size: 1.1rem;
}

.form-control {
  border: none;
  border-radius: 5px;
  background: #FFFFFF;
  color: #1C2526;
}

.form-label {
  color: #1A2B44;
}

footer {
  background-color: #1A2B44;
}

.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
}

.chat-icon.bounce {
  animation: bounceChat 2s;
}

@keyframes bounceChat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chat-window {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #FFFFFF;
  border: 1px solid #1C2526;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}

.chat-header {
  background: #1A2B44;
  color: #FFFFFF;
  padding: 10px;
  border-radius: 5px 5px 0 0;
  text-align: center;
}

.chat-body {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
}

.chat-form {
  padding: 10px;
  border-top: 1px solid #1C2526;
}

.chat-message {
  margin: 5px 0;
  padding: 8px;
  border-radius: 5px;
}

.chat-message.bot {
  background: #1A2B44;
  color: #FFFFFF;
}

.chat-message.user {
  background: #F5F6F5;
  text-align: right;
}

.typing-animation::after {
  content: '...';
  animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60% { content: '...'; }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .tracking-card, #map {
    width: 90%;
  }
  .service-icons {
    flex-direction: column;
    align-items: center;
  }
  .service-img {
    height: 160px;
  }
  .carousel-item .row {
    flex-direction: column;
  }
  .carousel-item .text-left {
    text-align: center !important;
    margin-top: 20px;
  }
  .innovative-img {
    margin-bottom: 20px;
  }
  .chat-window {
    width: 280px;
  }
}