:root{
  --brand-green: #5a653b; /* banner color sample */
  --brand-green-dark: #3f4a31;
  --text-muted: #6a6a66;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.65;
  color: var(--brand-green);
  background-color: #fbfbfb;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* subtle radiant glow from bottom center */
  background-image: radial-gradient(circle at 50% 98%, rgba(90,101,59,0.12) 0%, rgba(90,101,59,0.06) 10%, transparent 35%);
}
.account-icon {
  width: 30px; /* try increasing if it's too small */
  height: 30px;
  vertical-align: middle;
  cursor: pointer;
  margin-top: -5px;
  position: absolute;
  left: 600px;  /* moves it to the right edge */
}
.top-banner {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, rgba(90,101,59,0.12), rgba(255,255,255,0.02));
}

.banner-img {
  width: 100%;               /* ensures image fills the container horizontally */
  height: 100%;              /* keeps height matching the container */
  object-fit: cover;         /* ensures image covers container without distortion */
  object-position: center;   /* centers the image */
}

.top-banner h1 {
  position: absolute;
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  top: 50%;
  transform: translateY(-50%);
  letter-spacing: 0.6px;
}

.service-intro {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px 40px;
  border-radius: 12px;
  text-align: justify;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  text-align: center;
}

.service-locations {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  padding: 40px 20px;
  text-align: center;
  color: #333;
  
}

/* 🏙️ Metro Manila Header */
.service-locations h2.metro {
  margin-top: 50px;
  font-size: 28px;
  color: #222;
  display: flex;
  align-items: center; /* vertically center line with text */
  gap: 10px; /* space between text and line */
  width: 68%;
  margin-left: 230px;
  
  
}

/* line after the text */
.service-locations h2.metro::after {
  content: "";
  flex-grow: 1; /* makes the line stretch to fill available space */
  height: 2px;
  background-color: #5a653b; /* line color */
  
  
}

/* 🚗 Cavite Header */
.service-locations h2.cavite {
  margin-top: 50px;
  font-size: 28px;
  color: #222;
  display: flex;
  align-items: center; /* vertically center line with text */
  gap: 10px; /* space between text and line */
  width: 67%;
  margin-left: 240px;
}

.service-locations h2.cavite::after {
  content: "";
  flex-grow: 1; /* makes the line stretch to fill available space */
  height: 2px;
  background-color: #5a653b; /* line color */
}

/* 🌴 Laguna Header */
.service-locations h2.laguna {
  margin-top: 50px;
  font-size: 28px;
  color: #222;
  display: flex;
  align-items: center; /* vertically center line with text */
  gap: 10px; /* space between text and line */
  width: 67%;
  margin-left: 240px;
}

.service-locations h2.laguna::after {
  content: "";
  flex-grow: 1; /* makes the line stretch to fill available space */
  height: 2px;
  background-color: #5a653b; /* line color */
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 20px;
  margin: 30px auto;
  max-width: 1000px;
  

}

.location-card {
  background-color: #f9f9f9;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  
  
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  border: 2px solid #5a653b;
}

.location-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.location-card p {
  font-size: 16px;
  color: #555;
  margin: 4px 0;
  
}

.location-card span {
  font-size: 14px;
  color: #777;
}

.note {
  margin-top: 40px;
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ✅ Responsive Design */
@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 600px) {
  .location-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&display=swap');

.popup-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #5a653b;
  height: 70px;
  padding: 15px 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: none;
  display: block;
  z-index: 10000;
  
}

.popup-panel.show {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.popup-panel{
  transition: top 0.3s ease-out; /* smooth slide */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.popup-panel.hide {
  top: -100px; /* move it above the viewport */
}

.popup-panel {
  transition: top 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.popup-panel:not(.show) {
  opacity: 0;
  pointer-events: none; /* so it’s not clickable when hidden */
}



/* Flex layout for menu */
.menu {
  display: flex;
  justify-content: center;

  
}
.account-icon {
  width: 30px; /* try increasing if it's too small */
  height: 30px;
  vertical-align: middle;
  cursor: pointer;
  margin-top: -5px;
  position: absolute;
  left: 700px;  /* moves it to the right edge */
}


/* Menu item styling */
.menu-item {
  position: relative;
  padding: -4px -5px;       /* smaller padding reduces spacing */
  border-radius: 5px;
  color: #fafafa;
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  white-space: nowrap;
  transition: background-color 0.2s ease;
  font-family: "Trirong", serif;
  text-decoration: none;
  display: inline-block;
  font-size: large;
}
.menu-item:last-child {
  margin-right: 0;
}


/* Center-growing underline effect */
.menu-item::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}

.menu-item:hover::after {
  width: calc(100% - 40px);
}

/* Dropdown styling */
.dropdown {
  position: relative;
}

.dropdown-content {
  font-family: "Trirong", serif;
  display: block;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 600px;

  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 150px;
  z-index: 10000;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.dropdown-content a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
}

.dropdown-content a:hover {
  background-color: #5a653b;
  color: white;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Flex container for logo + menu */
.menu-wrapper {
  display: flex;
  align-items: center; /* vertical alignment */
  justify-content: center; /* center everything horizontally */
  gap: 10px; /* space between logo and menu */
  margin-left: -750px;
  margin-top: -15px;
}

/* Logo styling */
.logo-container .logo {
  height: 100px; /* adjust logo size */
  margin-left: 0px;
  
}

/* Menu styling */
.menu {
  display: flex;
  gap: 50px; /* space between menu items */
}
.logo{
  margin-right: 20px;
}

/* Remove margin-left hack */
.menu {
  margin-left: 0;
}

.notification-dropdown {
  position: relative;
  display: inline-block;
}

.notification-icon {
  width: 26px;
  height: 26px;
  cursor: pointer;
  vertical-align: middle;
  margin-left: 10px;
  position: absolute;
  left: 750px; /* adjust beside account icon */
  top: 2px;
  transition: transform 0.2s ease;
  margin-top: -6px;
}

.notification-icon:hover {
  transform: scale(1.1);
}

/* Notification dropdown box */
.notification-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 530px; /* align with your current account menu layout */
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  min-width: 240px;
  padding: 12px 10px;
  z-index: 10000;
  
}

.notification-content::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 18px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent white transparent;
  
}

.notification-content.show {
  display: block;
  margin-top: 50px;
}

.notification-content .notif-title {
  font-weight: bold;
  color: #5a653b;
  border-bottom: 1px solid #ddd;
  margin-bottom: 8px;
  padding-bottom: 6px;
  text-align: center;
  font-family: "Trirong", serif;
  
}

#notifList p {
  font-size: 0.9em;
  margin: 6px 0;
  color: #333;
  font-family: "Poppins", sans-serif;
  
}

#notifList p:hover {
  background-color: #f3f3f3;
  border-radius: 5px;
  padding: 5px;
  
}


/* Responsive design */
@media (max-width: 768px) {
  .menu {
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .menu-item {
    padding: 8px 15px;
    font-size: 0.9em;
  }
  
  .footer-brand {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-nav {
    gap: 20px;
  }
}

footer {
  position: relative; /* For absolute footer bottom line */
  background-color: #d8c6ab;
  font-family: 'Poppins', Arial, sans-serif;
  
}

/* MAIN FOOTER CONTAINER */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #dcc7a4;
  padding: 60px 170px;
  flex-wrap: wrap;
  box-sizing: border-box;
  height: auto;
  width: 100%;
 
}

/* LEFT SECTION */
.footer-left {
  max-width: 350px;
  text-align: left;
}

.footer-left p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 15px;
}

.social-link {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-link img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-link img:hover {
  transform: scale(1.1);
}

/* CENTER SECTION (NAVIGATION + MENU) */
.footer-center {
  display: flex;
  justify-content: center;
  gap: 60px;
  text-align: center;
}

.nav-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-column h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #2d2d2d;
}

.nav-column a {
  color: #444;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.nav-column a:hover {
  color: #9d7002;
}

/* RIGHT SECTION (LOGO) */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-right .logo {
  width: 400px;
  height: auto;
  margin-bottom: 15px;
}

/* COPYRIGHT + POLICY LINE (BOTTOM SINGLE LINE) */
.footer-bottom {
  position: absolute;
  bottom: 10px;
  left: 500px;
  white-space: nowrap; /* Keep in one line */
  font-size: 13px;
  color: #333;
  font-family: 'Poppins', Arial, sans-serif;
  
}

/* Adds nice spacing between “All rights reserved.” and policy links */
.footer-bottom span {
  margin-right: 200px; /* ✅ space between text and links */
  margin-left: 150px;

}

.footer-bottom a {
  color: #333;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;


}

.footer-bottom a:hover {
  color: #9d7002;
}



.terms-section {
  padding: 60px 20px;
  background-color: transparent;
}

.terms-container {
  max-width: 940px;
  margin: 0 auto;
  background: transparent; /* remove card background for minimalist look */
  border-radius: 0;
  box-shadow: none;
  padding: 44px 48px;
}

.intro {
  text-align: center;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--brand-green);
  margin-bottom: 6px;
}

h2 {
  color: var(--brand-green);
  font-family: 'Playfair Display', serif;
  margin-top: 32px;
  font-size: 28px;
  padding-bottom: 6px;
}

h3 {
  color: var(--brand-green);
  margin-top: 20px;
  font-weight: 600;
  font-size: 17px;
}

/* Replace emoji list markers with subtle green bullets */
ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  line-height: 1.85;
}

ul li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
  color: #444;
}

ul li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--brand-green);
  border-radius: 50%;
  position: absolute;
  left: 6px;
  top: 10px;
}

p {
  color: var(--brand-green);
  margin: 8px 0;
}

/* Reduce heavy menu/footer visuals for minimalist pages */
.popup-panel, .footer-container, .footer-bottom {
  opacity: 0.98;
}

/* Make content area slightly airy on narrow screens */
@media (max-width: 768px) {
  .terms-container { padding: 26px; }
}

/* Responsive */
@media (max-width: 768px) {
  .terms-container {
    padding: 25px;
  }

  .top-banner h1 {
    font-size: 1.8rem;
  }
}