/* === GLOBAL === */
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  scroll-behavior: smooth;
}

/* === NAVBAR === */
.navbar {
  background-color: #fff;
  height: 80px;
  margin: 20px;
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.navbar-brand {
  font-weight: 700;
  font-size: 24px;
  color: #009970;
  transition: 0.3s color;
}
.login-button {
  background-color: #009970;
  color: #fff;
  font-size: 14px;
  padding: 8px 20px;
  text-decoration: none;
  border-radius: 50px;
  transition: 0.3s background-color;
}
.login-button:hover {
  background-color: #00b383;
  color: #fff;
}
.navbar-toggler {
  border: none;
  font-size: 1.25rem;
}
.nav-link {
  color: #666777;
  font-weight: 500;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: #000;
}

@media (min-width: 991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #009970;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }
  .nav-link:hover::before,
  .nav-link.active::before {
    visibility: visible;
    width: 100%;
  }
}

/* === HERO SECTION === */
.hero-section {
  background: url("image1.jpg") no-repeat center;
  background-size: cover;
  width: 100%;
  height: 100vh;
  position: relative;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}
.hero-section .container {
  height: 100%;
  z-index: 1;
  position: relative;
}
.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
.hero-section h2 {
  font-size: 1.8rem;
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }
  .hero-section h2 {
    font-size: 2.2rem;
  }
}

/* === COMMON STYLING === */
.section-title {
  font-weight: 700;
  color: #009970;
  font-size: 2rem;
}
.title-underline {
  width: 60px;
  height: 4px;
  background-color: #009970;
  margin: 16px auto;
  border-radius: 2px;
}

/* === SERVICE CARD === */
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card h4 {
  color: #009970;
  margin-bottom: 12px;
}

/* === PORTFOLIO ITEM === */
.portfolio-item img {
  height: 200px;
  object-fit: cover;
}
.portfolio-item h5 {
  color: #009970;
  margin: 12px 0 8px;
}

/* === GALLERY === */
#gallery img {
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s;
}
#gallery img:hover {
  transform: scale(1.05);
}

/* === CONTACT FORM === */
#contact .form-control {
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #ddd;
}
#contact .form-control:focus {
  border-color: #009970;
  box-shadow: 0 0 0 0.2rem rgba(0, 153, 112, 0.25);
}

/* === FOOTER === */
footer a {
  text-decoration: none;
  transition: color 0.3s;
}
footer a:hover {
  color: #00b383 !important;
}

/* === RESPONSIVE SPACING === */
@media (max-width: 768px) {
  body {
    padding-top: 120px;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section h2 {
    font-size: 1.4rem;
  }
}
