.language-switcher {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 1rem;
}

.language-switcher button {
    background: transparent;
    border: 2px solid #f9a825;
    color: #f9a825;
    padding: 5px 12px;
    margin: 0 3px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher button:hover {
    background-color: #f9a825;
    color: white;
}

.language-switcher button.active {
    background-color: #f57f17;
    color: white;
}

<a href="https://wa.me/60123456789" target="_blank" class="whatsapp-float">
  <img src="../images/whatsapp.png" alt="WhatsApp" style="width:60px;height:60px;">
</a>


/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-logo {
  height: 200px;
  width: auto;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.button-container {
    text-align: center; /* Center the buttons */
    margin-top: 50px;    /* Space from the top */
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #f7c08d;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease; 
}

.btn:hover {
    background-color: #f1a800; /* Darken the background on hover */
    transform: scale(1.1); /* Slightly enlarge the button */
}

header {
  background-image: url('images/header-bg.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

header h1 {
    font-size: 3em;
}

header p {
    font-size: 1.2em;
}

section {
    padding: 30px 0;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    width: 45%;
    text-align: center;
}

.product img {
    max-width: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .product {
        width: 100%; /* Stack products on mobile */
    }
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    padding: 10px 20px;
    background-color: #f9a825;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #f57f17;
}

@media (max-width: 768px) {
    .container {
        width: 90%; /* Reduce container width on smaller screens */
    }

    .product-list {
        flex-direction: column; /* Stack products vertically on smaller screens */
    }

    .product {
        width: 100%; /* Make product sections full width */
    }

    .button-container {
        margin-top: 20px;
    }

    header h1 {
        font-size: 2.5em; /* Adjust font size for header */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em; /* Adjust header size even further for very small screens */
    }

    .btn {
        font-size: 14px; /* Smaller font size for buttons */
        padding: 8px 15px; /* Slightly smaller button size */
    }

    footer {
        padding: 15px 0; /* Less padding in footer on mobile */
    }
}

#contact-form {
    margin: 30px 0;
}

#contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qr-code {
    margin-top: 20px;
}

.qr-code-img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.qr-code {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.qr-code-img {
    height: 150px;
    width: auto;
    transition: all 0.3s ease;  /* Smooth transition effect */
}

.qr-code:hover .qr-code-img {
    animation: glowEffect 1.5s ease-in-out infinite;
}

.qr-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

@keyframes glowEffect {
    0% {
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.5), 0 0 10px rgba(0, 255, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 255, 0, 1), 0 0 25px rgba(0, 255, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.5), 0 0 10px rgba(0, 255, 0, 0.5);
    }
}

.qr-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    animation: bounceText 2s ease-in-out infinite;
}

@keyframes bounceText {
    0% { transform: translateY(0); }
    25% { transform: translateY(-5px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}


footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #f9a825;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/* Make navbar one clean horizontal line */
nav {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: center; /* Center all nav items */
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap; /* Prevents wrapping into multiple lines */
    overflow-x: auto; /* If too many items, allow scrolling horizontally */
}

.navbar li {
    margin: 0 20px; /* Space between each link */
}

.navbar li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 12px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.navbar li a:hover,
.navbar li a.active {
    color: #f57f17;
    border-bottom: 2px solid #f57f17; /* Underline active/hovered link */
}


body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #f9a825;
    padding: 20px;
    text-align: center;
}

header nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
}

header nav ul li a:hover,
header nav ul li a:focus {
    color: #007BFF; /* Color change on hover/focus */
    outline: none; /* Remove default outline */
}

main {
    padding: 40px 20px;
}

.tuahcares {
    text-align: center;
    margin-bottom: 40px;
}

.tuahcares h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.tuahcares p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.community-projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project {
    width: 45%;
    text-align: center;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project h3 {
    font-size: 1.5em;
    margin-top: 15px;
}

.project p {
    font-size: 1rem;
    margin-top: 10px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .community-projects {
        flex-direction: column; /* Stack projects vertically on smaller screens */
    }

    .project {
        width: 100%; /* Ensure projects take full width on mobile */
    }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.whatsapp-float {
  animation: pulse 2s infinite;
}



/* === Added for background and header box === */
body {
  background-image: url('images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.header-box {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 30px;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.header-box {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 5px;
  border-radius: 5px;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
}

.main-logo {
  height: 180px;
  width: auto;
}

.highlight {
  background-color: #F7EDD9;
  color: black
  padding: 0 4px;
  border-radius: 4px;

}

.map-qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch; /* keeps height equal */
}

.map-half, .qr-half {
  flex: 1 1 300px;
  max-width: 500px;
}

.qr-align {
  display: flex;
  flex-direction: column;
  justify-content: center; /* center vertically */
  align-items: center;
  text-align: center;
}

.qr-code {
  width: 180px;
  height: auto;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .main-logo {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .main-logo {
    height: 90px;
  }
}

@media (max-width: 768px) {
  nav ul li a {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  nav ul li a {
    font-size: 14px;
  }
}

.highlight-events {
  background-color: #fff8e5;
  padding: 40px 20px;
  text-align: center;
  margin-top: 40px;
  border-radius: 12px;
}

.highlight-events h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.highlight-events .btn {
  background-color: #f39c12;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

.past-events {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.past-events .event-photo {
  width: 300px;
  text-align: center;
}

.past-events .event-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.award img {
  max-width: 100%;
  height: auto;
  margin-bottom: 4px;
  border-radius: 2px;
}

.product-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin: 30px 0 10px;
}

.product-item {
  text-align: center;
  width: 100px; 
}

.product-item img {
  width: 100%;        /* fill its small container */
  max-width: 100px;    
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.product-item img:hover {
  transform: scale(1.05);
}

.product-name {
  margin-top: 4px;
  font-size: 0.8em;
  font-weight: 500;
  color: #333;
}
 @media (max-width: 480px) {
  .product-item {
    width: 100px;
  }

  .product-item img {
    max-width: 100px;
  }
}

.product-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; /* Ensures stacking on small screens */
  margin: 30px 0;
}

.product-row img {
  width: 120px; /* Adjust size to roughly quarter */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-row img:hover {
  transform: scale(1.05);
}

.caption {
  text-align: center;
  margin-top: 10px;
}

.caption h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.caption p {
  font-size: 1rem;
  color: #444;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .product-row img {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .product-row img {
    width: 90px;
  }
}



