/* General Body & Typography */
body {
  font-family: "Open Sans", sans-serif;
  color: #333333; /* Dark charcoal */
  line-height: 1.7;
  overflow-x: hidden;
  background-color: #fcfcfc; /* Near white background */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lora", serif; /* Elegant serif for headings */
  color: #263238; /* Deep Blue-Grey */
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
}

h2.section-title {
  font-size: 2.8rem;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 3rem;
}

h2.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #4db6ac; /* Muted Teal Accent */
  border-radius: 2px;
}

.lead {
  font-size: 1.25rem;
  color: #555555;
}

.bg-light-custom {
  background-color: #f8f9fa; /* Light gray for alternating sections */
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/hero-bg.jpg") no-repeat center center/cover; /* Example background */
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
  z-index: 1;
}

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

.brand-logo {
  padding: 10px 0;
}

.brand-logo img {
  max-height: 60px;
  width: auto;
  filter: brightness(0) invert(1); /* Makes logo white for hero section, adjust if your logo is already white or has specific colors*/
}

.navbar {
  padding: 0;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.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='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  color: #ffffff !important;
  font-weight: 600;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #4db6ac !important; /* Muted Teal Accent on hover */
}

.hero-content {
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content h1 {
  font-family: "Lora", serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.hero-content .lead {
  color: #eee;
  font-size: 1.35rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.btn-primary-custom {
  background-color: #4db6ac; /* Muted Teal Accent */
  border-color: #4db6ac;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom:hover {
  background-color: #38a196; /* Darker Teal on hover */
  border-color: #38a196;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Services Section - Cards */
.service-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card .card-img-top-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-img-top {
  transform: scale(1.05);
}

.service-card .card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card .card-title {
  font-size: 1.8rem;
  color: #263238; /* Deep Blue-Grey */
  margin-bottom: 15px;
}

.service-card .card-text {
  font-size: 0.95rem;
  color: #555555;
  flex-grow: 1;
}

.btn-outline-custom {
  color: #4db6ac; /* Muted Teal Accent */
  border-color: #4db6ac;
  background-color: transparent;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: #4db6ac; /* Muted Teal Accent on hover */
  color: #fff;
  transform: translateY(-1px);
}

/* About Us Section */
#about {
  padding: 100px 0;
  background-color: #fff;
}

#about p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #555555;
}

/* Contact Section (Call to Action) */
#contact {
  padding: 80px 0;
  background-color: #e0f2f1; /* Lighter shade of Teal */
}

#contact h2 {
  color: #263238; /* Deep Blue-Grey */
  margin-bottom: 1.5rem;
}

#contact .lead {
  color: #444;
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background-color: #263238; /* Deep Blue-Grey */
  color: #fff;
  padding: 40px 0;
  font-size: 0.9rem;
}

.footer .social-links a {
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.footer .social-links a:hover {
  color: #4db6ac; /* Muted Teal Accent on hover */
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content .lead {
    font-size: 1.15rem;
  }
  .brand-logo img {
    max-height: 50px;
  }
  .nav-link {
    margin-left: 0;
    text-align: center;
  }
  .navbar-collapse {
    background-color: rgba(
      38,
      50,
      56,
      0.9
    ); /* Dark background for mobile nav */
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
  }
  h2.section-title {
    font-size: 2.2rem;
  }
  .service-card .card-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content .lead {
    font-size: 1rem;
  }
  .btn-primary-custom {
    padding: 10px 25px;
    font-size: 1rem;
  }
  .service-card .card-img-top-wrapper {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .brand-logo img {
    max-height: 45px;
  }
  .hero-section {
    min-height: 60vh;
    padding-top: 15px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  h2.section-title {
    font-size: 1.8rem;
    padding-bottom: 10px;
  }
  h2.section-title::after {
    width: 60px;
    height: 3px;
  }
  .service-card .card-title {
    font-size: 1.4rem;
  }
  .service-card .card-body {
    padding: 20px;
  }
}
