body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f7fdf9;
  color: #333;
}

header {
  background-color: #006d5b;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  white-space: nowrap;
}

.logo-text-group {
  display: flex;
  color: white;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
  line-height: 0.3;
}

.menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  right: 20px;
  top: 80px;
  background-color: #006d5b;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-links.open {
  display: flex;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  padding: 10px;
  display: block;
  transition: background 0.3s;
}

.nav-links li a:hover {
  background-color: #009e87;
  border-radius: 5px;
}

#home {
   background-image: url('Images/MFG-BOYBackground.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  height: 100vh;
  color: Black;
  padding: 100px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: bold;
}

.home-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#home h1,
#home p,
#home button,
.trust-badges {
  position: relative;
  z-index: 1;
}

#home p {
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 0px;
}

.trust-badges p {
  margin-top: 20px;
  font-size: 0.95rem;
  color: Black;
  font-weight: bold;
}

#about {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
  color: #333;
}

.about-highlights ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.about-highlights li {
  font-size: 1.1rem;
  margin: 10px 0;
  position: relative;
  padding-left: 25px;
}

.about-highlights li::before {
  content: '✔️';
  position: absolute;
  left: 0;
}

.section {
  padding: 60px 20px;
  text-align: center;
  scroll-margin-top: 60px;
}

.section:nth-child(even) {
  background-color: #e8f7f2;
}

h1, h2 {
  color: #006d5b;
}

button {
  background-color: #006d5b;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #009e87;
}

input, select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
/* Funeral Plans Section */
.plans-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.plan-card {
  background: #ffffff;
  border: 2px solid #006d5b;
  border-radius: 12px;
  padding: 30px 20px;
  width: 260px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.plan-card:hover {
  background: #e6faf4;
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.plan-card h3 {
  color: #004f40;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.plan-card p {
  font-size: 1rem;
  color: #444;
}

.click-hint {
  font-size: 0.85rem;
  color: #777;
  margin-top: 10px;
}

/* Popups */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  position: relative;
  animation: slideInUp 0.3s ease-in-out;
}

.popup-content h2 {
  margin-top: 0;
  color: #006d5b;
  margin-bottom: 10px;
}

.popup-content p {
  color: #333;
  font-size: 1rem;
  margin: 8px 0;
}

.popup-content ul {
  padding-left: 20px;
  margin-top: 10px;
  color: #444;
}

.popup-content li {
  margin-bottom: 6px;
}

.popup .close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #555;
  cursor: pointer;
}

ul, ol {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

/* Forms */
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, select, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-info {
  margin-top: 20px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}

.contact-icon-img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .plans-container {
    flex-direction: column;
    align-items: center;
  }

  .plan-card {
    width: 90%;
  }

  .popup-content {
    padding: 20px;
  }

    #home {
    padding: 60px 15px;
  }
  #home p {
    font-size: 0.95rem;
  }

  #home h1 {
    font-size: 1.5rem;
  }

  .home-image {
    object-fit: contain;   /* Ensures full image is visible on small screens */
    height: 100vh;   
   }
}













