/* Custom Styles */
:root {
  --primary-color: #2e7d32; /* Green from logo */
  --secondary-color: #1565c0; /* Blue from logo */
}

.hero-section {
  padding: 100px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    url("../images/hero-bg.jpg");
  background-size: cover;
}

/* Logo Styling */
.header-logo {
  height: 45px; /* Adjust this based on your logo's aspect ratio */
  width: auto;
  object-fit: contain;
}

/* Vertical alignment for Brand text */
.navbar-brand {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Move WhatsApp to Bottom Right to avoid menu overlap */
.whatsapp-float {
  position: fixed;
  bottom: 30px; /* Moved to bottom */
  right: 30px;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  z-index: 2000;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  color: white;
}

/* Ensure the Navbar has enough z-index to stay on top of other content */
.navbar {
  z-index: 1050;
}

.carousel-item img {
  height: 500px;
  object-fit: cover;
}

/* About Page Specific Styles */
.bg-light {
  background-color: #f8f9fa !important;
}

.display-4 {
  color: var(--secondary-color);
}

.rounded-3 {
  border-radius: 1rem !important;
}

section h2 {
  color: var(--primary-color);
  font-weight: 700;
}

/* Services */
.card-img-top {
  height: 200px;
  object-fit: cover; /* This makes sure all service images have the same size */
}

.card {
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px); /* Adds a slight lift when hovering */
}

/* Team Page Card Styling */
.card-title {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.text-primary {
  color: var(--primary-color) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  transition: 0.3s ease;
}

.shadow-sm:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Contact Page Specifics */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

.btn-primary:hover {
  background-color: #1b5e20;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Legal Page Styling */
.card {
  border-radius: 15px;
  background-color: #ffffff;
}

hr {
  opacity: 1;
}

.text-uppercase {
  letter-spacing: 1px;
}
