body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  padding-top: 76px; /* Adjust for fixed header height */
}

.text-slate-800 {
  color: #2c3e50;
}

.text-orange-500 {
  color: #f39c12;
}

.bg-slate-800 {
  background-color: #2c3e50;
}

.bg-slate-900 {
  background-color: #1a252f;
}

/* Header */
.navbar-brand h1 {
  font-size: 1.5rem; /* Adjusted for h4 class */
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #f39c12 !important; /* Use !important to override Bootstrap's default active color */
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}

.dropdown-item {
  color: #333;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background-color: #f39c12;
  color: white;
}

/* Hero Section */
.hero {
  background-image: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/team-background.jpg-ckBmh5L4gVUzb0a20rYcYHtm9bHBMX.jpeg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  overflow: hidden; /* Ensure overlay doesn't spill */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: 0;
}

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

.hero h2 {
  font-size: 3.5rem;
}

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

.btn-warning {
  background-color: #f39c12;
  border-color: #f39c12;
  transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
}

.btn-warning:hover {
  background-color: #e67e22;
  border-color: #e67e22;
  transform: translateY(-2px);
}

/* About Section Stats */
.about .card {
  transition: transform 0.3s ease;
}

.about .card:hover {
  transform: translateY(-5px);
}

/* Services Section Cards */
.services .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Team Section */
.our-team .card-img-top {
  border: 3px solid #f39c12;
}

/* Gallery Section */
.gallery img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Form */
#formMessage {
  font-weight: bold;
}
.form-success {
  color: #28a745; /* Green for success */
}
.form-error {
  color: #dc3545; /* Red for error */
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  body {
    padding-top: 60px; /* Adjust for smaller header on mobile */
  }
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 50px;
  }
  .hero h2 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .navbar-collapse {
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: #f8f9fa;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }
  .navbar-nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
  }
}
