/* Base Layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

main {
  flex: 1; /* content grows to fill space */
}

/* Navbar */
.navbar-nav .nav-link.active {
  font-weight: bold;
  color: #0d6efd !important;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280,0,0,0.7%29'  stroke-width='2' stroke-linecap='round' stroke-miterlimit='10'  d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.gallery-item {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.gallery-img {
  border-radius: 8px;
}


/* Hero Section */
.hero {
  background: url('../images/hero-image.png') no-repeat center center;
  background-size: cover;
  height: 100vh; /* full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  padding: 20px;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  padding: 20px 20px;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-buttons .btn {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  background: #ff9800;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.btn.secondary {
  background: #004d40;
}

/* Info Tiles */
.info-tile {
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  transition: transform 0.3s ease;
}
.info-tile:hover {
  transform: translateY(-5px);
}
.info-tile i {
  color: #FFD700;
}

/* Services Section */
.services {
  padding: 40px;
  text-align: center;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;              /* exact spacing between items */
  justify-content: center; /* center horizontally */
  text-align: center;
}

.tree-icon {
    --bs-text-opacity: 1;
    color: #07ff1c !important;
}

.card {
  background: #adb5bd00;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  border-radius: 5px;
}

/* Footer */
footer {
  background: #25004d;
  color: #fff; /* improved contrast */
  text-align: center;
  padding: 20px;
  margin-top: auto;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 10px;
}

/* Responsive Tweaks */
@media (max-width: 992px) {
  .card {
    flex: 1 1 45%; /* two per row on tablets */
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto; /* let content define height on mobile */
    padding: 60px 20px;
  }
  .service-cards {
    flex-direction: column;
    align-items: center; /* center cards vertically */
  }
  .card {
    width: 90%; /* full width on mobile */
  }
   .navbar-collapse {
    background-color: rgb(13, 204, 236);   /* aqua background for menu */
    padding: 15px;
    text-align: center;       /* center align all items */
  }

  .navbar-collapse .nav-link {
    display: block;           /* stack items vertically */
    color: #000 !important;   /* dark text for contrast */
    margin: 8px 0;            /* spacing between items */
    font-weight: 600;
  }
}
