@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Global Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent background for modern look */
  backdrop-filter: blur(10px); /* Blur effect for content underneath */
  padding: 15px 5%; /* Responsive padding using percentage */
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06); /* Softer, more modern shadow */
}

/* Logo Section */
.nav-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-left img {
  height: 40px;
  width: auto; /* Better aspect ratio preservation */
  max-width: 140px;
  transition: transform 0.3s ease;
}

.nav-left img:hover {
  transform: scale(1.05); /* Subtle hover effect */
}

/* Navigation Links */
.nav-center {
  flex: 2;
  display: flex;
  justify-content: center;
  gap: 30px; /* More spacing between items */
}

.nav-center a {
  text-decoration: none;
  color: #28282B;
  font-size: 16px;
  font-weight: 500; /* Medium weight instead of bold for modern look */
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.3px; /* Improved readability */
}

/* Active Link Styling */
.nav-center a.active {
  color: #3a7d44;
  font-weight: 600;
}

.nav-center a.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 3px;
  background: linear-gradient(135deg, #3a7d44 0%, #5eae70 100%);
  border-radius: 3px;
  width: calc(100% - 32px); /* More precise positioning */
  transition: all 0.3s ease;
}

/* Hover Effect */
.nav-center a:hover {
  color: #3a7d44;
  transform: translateY(-2px); /* Subtle lift effect */
}

/* Login Button */
.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 90px;
  gap: 20px;
}

.nav-right .login-btn {
  background: linear-gradient(135deg, #3a7d44 0%, #5eae70 100%);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(120, 174, 95, 0.2);

  /* 👇 para maayos ang icon + text */
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-right .login-btn:hover {
  background: linear-gradient(135deg, #5eae70 100%, #3a7d44 0%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(120, 174, 95, 0.25);
}

.nav-right .login-btn .material-icons {
  font-size: 20px; /* size ng icon */
  line-height: 1;
}

/* Default desktop/tablet view */
.hamburger {
  display: none; /* hide sa desktop */
  cursor: pointer;
  font-size: 28px;
  color: #28282B;
}

@media (max-width: 768px) {
  header {
    padding: 10px 15px;
  }

  /* Hide nav links by default */
  .nav-center {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px; /* height ng header */
    right: 0;
    width: 100%;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  /* ✅ Show when active */
  .nav-center.active {
    display: flex;
  }

  .nav-center a {
    padding: 12px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  .nav-center a:last-child {
    border-bottom: none;
  }

  /* Logo stays visible sa left */
  .nav-left {
    flex: 1;
    display: flex;
    align-items: center;
  }

  /* Right side layout */
  .nav-right {
    flex: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 25px; 
  }

  .nav-right .login-btn {
    padding: 10px;
    border-radius: 10%;
    width: 42px;
    height: 42px;
    justify-content: center;
    font-size: 0; /* hide text */
  }

  .nav-right .login-btn .material-icons {
    font-size: 22px; /* keep icon visible */
  }

  /* Hamburger visible */
  .hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    margin-left: 4px; /* space between login & hamburger */
  }

  /* Reorder: login first, then hamburger */
  .nav-right .login-btn {
    order: 1;
  }

  .hamburger {
    order: 2;
  }
}



/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #4CAF50, #8BC34A);
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.section-description {
  font-size: 18px;
  color: #4CAF50;
  max-width: 700px;
  margin: 0 auto;
}

/* Branch Selector */
.branch-selector {
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-select {
  width: 100%;
  max-width: 400px;
  position: relative;
  margin-bottom: 15px;
}

.custom-select select {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 16px;
  color: #979191;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-select:after {
  content: '\25BC';
  font-size: 12px;
  color: #4CAF50;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.custom-select select:focus {
  border-color: #4CAF50;
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.selected-branch {
  font-size: 16px;
  font-weight: 600;
  color: #4CAF50;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: rgba(76, 175, 80, 0.1);
  display: inline-block;
}

/* Price Cards Enhanced */
.price-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  padding: 0 20px;
}

.price-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-radius: 20px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.1);
  width: 320px;
  padding: 60px 30px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0) scale(1);
  display: flex;
  flex-direction: column;
  min-height: 450px;
  border: 1px solid rgba(76, 175, 80, 0.1);
  backdrop-filter: blur(10px);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.02) 0%, rgba(139, 195, 74, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.price-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(76, 175, 80, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(76, 175, 80, 0.3);
}

.price-card:hover::before {
  opacity: 1;
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 50%, #8BC34A 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.price-card:hover .card-accent {
  height: 8px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.branch-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #81C784 0%, #A5D6A7 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(129, 199, 132, 0.3);
  backdrop-filter: blur(10px);
}

.price-card:hover .branch-badge {
  background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.branch-badge:hover {
  max-width: none;
  background: linear-gradient(135deg, #2E7D32 0%, #388E3C 100%);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
  padding: 8px 20px;
  transform: translateY(-3px) scale(1.1);
}

.price {
  font-size: 42px;
  font-weight: 800;
  color: #263238;
  margin: 20px 0 15px;
  transition: all 0.4s ease;
  background: linear-gradient(135deg, #263238 0%, #37474F 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-card:hover .price {
  background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.05);
}

.peso {
  font-size: 30px;
  font-weight: 600;
  vertical-align: top;
  opacity: 0.8;
}

.service-type {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #546E7A;
  letter-spacing: 1.5px;
  margin: 20px 0;
  padding: 12px 15px;
  background: linear-gradient(135deg, rgba(84, 110, 122, 0.1) 0%, rgba(84, 110, 122, 0.05) 100%);
  border-radius: 25px;
  border: 1px solid rgba(84, 110, 122, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-type::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
  transition: left 0.5s ease;
}

.price-card:hover .service-type::before {
  left: 100%;
}

.feature {
  color: #546E7A;
  margin: 18px 0;
  font-size: 15px;
  position: relative;
  padding: 0 15px;
  line-height: 1.6;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.feature::before {
  content: '✓';
  position: absolute;
  left: -5px;
  color: #4CAF50;
  font-weight: bold;
  font-size: 16px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.price-card:hover .feature::before {
  opacity: 1;
  transform: translateX(0);
}

.price-card:hover .feature {
  color: #37474F;
  transform: translateX(15px);
}

.weight-limit {
  font-weight: 700;
  font-size: 18px;
  color: #263238;
  margin: 25px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-grow: 1;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(139, 195, 74, 0.08) 100%);
  border-radius: 15px;
  border: 1px solid rgba(76, 175, 80, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.weight-limit::before {
  content: '⚖️';
  font-size: 20px;
  margin-right: 5px;
}

.price-card:hover .weight-limit {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(139, 195, 74, 0.15) 100%);
  border-color: rgba(76, 175, 80, 0.4);
  transform: scale(1.02);
}

.policy {
  font-size: 13px;
  color: #78909C;
  font-style: italic;
  margin-top: 20px;
  padding: 15px 20px;
  background: rgba(120, 144, 156, 0.05);
  border-radius: 12px;
  border-left: 3px solid #4CAF50;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.price-card:hover .policy {
  background: rgba(76, 175, 80, 0.08);
  border-left-color: #2E7D32;
  color: #546E7A;
}

/* Enhanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.section-header {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.branch-selector {
  animation: slideInFromLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.2s;
}

.price-cards-wrapper .price-card {
  animation: bounceIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.price-cards-wrapper .price-card:nth-child(1) {
  animation-delay: 0.3s;
}

.price-cards-wrapper .price-card:nth-child(2) {
  animation-delay: 0.5s;
}

.price-cards-wrapper .price-card:nth-child(3) {
  animation-delay: 0.7s;
}

.price-cards-wrapper .price-card:nth-child(4) {
  animation-delay: 0.9s;
}

/* How It Works Section Styling - Keeping Original Styles */
.how-it-works-section {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
  padding: 60px 20px 80px;
  text-align: center;
}

.how-it-works-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works-content h2 {
  font-size: 3.5rem;
  font-weight: 800;
  background: #3a7d44;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; 
  margin-bottom: 10px;
}



.subtitle {
  font-size: 18px;
  color: #000000;
  transition-delay: 0.2s;
  letter-spacing: 1px;
  margin-bottom: 50px;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}

.step {
  max-width: 160px;
  position: relative;
}

.step-circle {
  width: 120px;
  height: 120px;
  border: 2px solid #3a7d44;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.step-circle:hover {
  transform: scale(1.05);
}

.step-number {
  position: absolute;
  top: -8px;
  left: -8px;
  background-color: #3a7d44;
  color: white;
  font-size: 12px;
  font-weight: bold;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin-top: 16px;
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: bold;
}

.step p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.schedule-button {
  margin-top: 48px;
}

.schedule-button button {
  width: 220px;
  background: linear-gradient(135deg, #3a7d44, #5eae70);
  color: white;
  padding: 15px 35px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  animation: fadeInUp 1.5s ease-in-out;
}

.schedule-button button:hover {
  background: #3a7d44;
  box-shadow: 0 6px 14px rgba(123, 178, 52, 0.35);
  transform: translateY(-2px);
}

.schedule-button button:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(123, 178, 52, 0.2);
}

.schedule-button button:focus {
  outline: 2px solid #c5e1a5;
  outline-offset: 2px;
}

/* Our Story Section Styling */
.our-story-section {
    position: relative;
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.our-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/api/placeholder/1920/1080');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.our-story-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.our-story-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    background: #3a7d44;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; 
    margin-bottom: 12px;
}

.our-story-content .subtitle {
    font-size: 18px;
    color: rgb(0, 0, 0);
    letter-spacing: 1px;
    margin-bottom: 60px;
}

/* Timeline Styling */
.story-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background:#3a7d44;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 60px;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-point {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 24px;
    background-color: #3a7d44;
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.3);
}

.timeline-date {
    width: 30%;
    padding: 15px;
    font-weight: bold;
    color: #5a8a4b;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
    justify-content: flex-start;
}

.timeline-content {
    width: 70%;
    padding: 20px;
    background-color: #f7f8f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: #5a8a4b;
    margin-bottom: 10px;
    font-size: 20px;
}

.timeline-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Founder Spotlight */
.founder-spotlight {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 30px;
    background-color: #f7f8f9;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.founder-image {
    flex: 0 0 30%;
    padding-right: 30px;
}

.founder-image img {
    border-radius: 50%;
    border: 4px solid #8bc34a;
    max-width: 100%;
    height: auto;
}

.founder-details {
    flex: 0 0 70%;
    text-align: left;
}

.founder-details h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.founder-details p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.founder-name {
    font-weight: bold;
    color: #5a8a4b !important;
    font-style: normal !important;
}

/* Branch Counter */
.branch-counter {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-item .count {
    font-size: 42px;
    font-weight: bold;
    color: #5a8a4b;
    margin-bottom: 5px;
}

.counter-item .label {
    font-size: 16px;
    color: #666;
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
  background-color: #ffffff;
  text-align: center;
  padding: 70px 20px;
  overflow: hidden;
}

.services h2 {
  font-size: 3.5rem;
  font-weight: 800;
  background: #3a7d44;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; 
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  width: 180px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

.service-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: #666;
}

.service-card:hover {
  background-color: #e8f5e9;
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Scroll Animation */
.scroll-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
  
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav a {
  animation: slideIn 0.8s ease-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.hero .book-btn:hover {
  animation: pulse 0.5s ease-in-out infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.price-card, .step {
  animation: fadeIn 1s ease-in-out;
}



.container .header h1 {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 800;
  background: #3a7d44;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;         
  margin-bottom: 12px;
}

.container .header p {
  text-align: center;
  font-size: 18px;
  color: #333333;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.locations-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 20px;
  margin-top: 40px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--white);
  margin-bottom: 40px;
}

.location-list {
  max-height: 550px;
  overflow-y: auto;
  background-color: #ffffff;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  scrollbar-width: thin;
  scrollbar-color: #aed581 #f0f0f0;
}

.location-list::-webkit-scrollbar {
  width: 6px;
}

.location-list::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.location-list::-webkit-scrollbar-thumb {
  background-color: #aed581;
  border-radius: 20px;
}

.location-item {
  padding: 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.location-item:hover {
  background-color: rgba(139, 195, 74, 0.1);
}

.location-item.active {
  background-color: rgba(139, 195, 74, 0.15);
  border-left: 4px solid #8bc34a;
}

.location-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.location-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #8bc34a;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

.location-item.active .location-icon {
  background-color: #3a7d44;
}

.location-item.active .location-icon:after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: rgba(139, 195, 74, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.location-address {
  font-size: 0.9rem;
  color: #666666;
  padding-left: 22px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.location-details {
  font-size: 0.85rem;
  color: #666666;
  padding-left: 22px;
  opacity: 0.85;
}

.opening-hours {
  display: flex;
  align-items: center;
}

.opening-hours:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #3a7d44;
  border-radius: 50%;
  margin-right: 6px;
}

.map-section {
  display: flex;
  flex-direction: column;
  height: 550px;
}

.map-container {
  flex-grow: 1;
  border-radius: 0 8px 0 0;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-info {
  background-color: #ffffff;
  padding: 15px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.info-panel {
  flex: 1;
  min-width: 250px;
}

.info-panel h3 {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 5px;
  font-weight: 600;
}

.info-panel p {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 12px;
}

.branch-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #666666;
}

.info-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  color: #3a7d44;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  border: none;
}

.primary-btn {
  background: linear-gradient(135deg, #3a7d44 0%, #5eae70 100%);
  color: #ffffff;
}

.primary-btn:hover {
  background-color: #689f38;
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: #f0f0f0;
  color: #333333;
}

.secondary-btn:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* Mobile Styles */
.mobile-branch-selector {
  display: none;
  margin-bottom: 20px;
}

#mobileBranchSelect {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 1rem;
  color: #333333;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238BC34A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* Tablet & below */
@media (max-width: 992px) {
  .locations-container {
    grid-template-columns: 1fr; /* stack list and map */
  }

  .location-list {
    display: none; /* hide the sidebar list */
  }

  .map-section {
    height: 400px;
  }

  .location-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .action-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .mobile-branch-selector {
    display: block; /* show dropdown on mobile */
  }
}

/* Small screens */
@media (max-width: 576px) {
  .container .header h1 {
    font-size: 26px;
  }

  .container .header p {
    font-size: 16px;
    padding: 0 10px;
  }

  .map-section {
    height: 300px;
  }

  .info-panel h3 {
    font-size: 1rem;
  }

  .info-panel p,
  .detail-item {
    font-size: 0.85rem;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%; /* full width buttons for easier tap */
    justify-content: center;
  }
}
/* Tablet & below */
@media (max-width: 992px) {
  .map-section {
    height: 60vh; /* 60% ng screen height */
  }
}

/* Small screens */
@media (max-width: 576px) {
  .map-section {
    height: 70vh; /* mas malaki sa phones */
  }
}



