/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bahnschrift', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #cfd1c9;
    color: #000;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

/* Header Section */
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    font-size: 14px;
    text-transform: uppercase;
  }
  
  #main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease;
    background-color: transparent;
    z-index: 1000;
  }
  
  #main-nav.scrolled {
      background: #097721e3;
  }
  
  #main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  #main-nav .logo {
    height: 40px;
  }
.intro-container {
    width: 100%;
    height: 60vh; /* Adjust this value as needed */
    background-image: url('/motorcycle_media/benelli_media/benellinewbg.jpg');
    background-size: cover; /* Ensures the image covers the area */
    background-position: center;
    background-repeat: no-repeat;
}


.content {
    max-width: 70%; /* Mas pahaba */
    margin: 0 auto; /* Centered */
}

.content p {
    font-family: 'Nunito', sans-serif; 
    font-size: 18px; 
    font-weight: 400; 
    line-height: 2;
    letter-spacing: 0.2px; 
    text-align: justify; 
}


hr {
    border: none; 
    height: 5px; 
    background: linear-gradient(to right, green 20%, transparent 50%, transparent 30%, rgb(220, 5, 5) 80%);
    width: 100%;
    margin: 20px auto; 
}
.model-container {
    position: relative;
    text-align: center;
    width: fit-content;
    margin: 50px auto;
}
@keyframes ethereal-glow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02); /* Slight expansion for a breathing effect */
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes laurel-color-shift {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(40deg); }
    100% { filter: hue-rotate(0deg); }
}

.background-logo {
    width: 350px;
    height: auto;
    display: block;
    margin: auto;
    margin-top: -15px;
    opacity: 0.20;
    animation: ethereal-glow 4s infinite alternate ease-in-out, 
               shimmer 6s infinite alternate ease-in-out;
}

.background-logo img {
    animation: laurel-color-shift 8s infinite alternate ease-in-out;
}



.motorcycle {
    position: absolute;
    top: 82.7%;
    left: 52%;
    transform: translate(-50%, -50%);
    max-width: 350px; /* Reduced from 500px */
    height: auto;
}


.motorcycle.fade-out {
    opacity: 0;
}

.motorcycle.fade-in {
    opacity: 1;
}

/* === View Model Button === */
.view-model-btn {
    display: block;
    margin: 24px auto;
    padding: 14px 32px;
    background: linear-gradient(145deg, #3f8d31, #2e6d24);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease-in-out;
}

.view-model-btn:hover {
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(145deg, #2e6d24, #347928);
}

/* === Dropdown Menu Container === */
.category-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin-bottom: 60px;
}

/* === Dropdown Button Wrapper === */
.dropdown-button {
    position: relative;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin: 0;
}

/* === Dropdown Trigger Button === */
.button {
    background: linear-gradient(135deg, #347928, #2c6a24);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    line-height: 1;
    vertical-align: middle;
    min-height: 48px; /* or your desired value */
}

.button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #2e812e, #245f1e);
}

/* === Dropdown Items Container === */
.dropdown-content {
    display: none;
    font-size: 14px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 220px;
    background: #ecfbe7;
    border-radius: 0 15px 15px 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* === Dropdown Links === */
.dropdown-content a {
    display: block;
    padding: 12px 18px;
    color: #1d1d1d;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #d7f4c8;
}

.dropdown-content a:nth-child(odd) {
    background-color: #d0f5c3;
}

.dropdown-content a:nth-child(even) {
    background-color: #b8eca6;
}

.dropdown-content a:hover {
    background-color: #4CAF50;
    color: #fff;
}

.dropdown-content a:focus {
    background-color: #347928;
    color: #ffffff;
}

/* === Dropdown Hover Activation === */
.dropdown-button:hover .button {
    border-radius: 12px 12px 0 0;
}

.dropdown-button:hover .dropdown-content {
    display: block;
}

/* === Responsive Container for Multiple Dropdowns === */
.dropdown-container {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
}

/* === Mobile Friendly Tweaks === */
@media (max-width: 600px) {
    .view-model-btn,
    .button {
        width: 90%;
        font-size: 15px;
    }

    .dropdown-content {
        min-width: 100%;
        position: relative;
    }

    .dropdown-container {
        flex-direction: column;
        gap: 20px;
    }
}




/* Ensure full height usage */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Make sure main content grows and pushes the footer down */
main {
    flex-grow: 1;  /* This makes main content expand to push the footer down */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Add margin below category menu to separate it from footer */
.category-menu {
    margin-bottom: 50px; /* Adjust this value as needed */
}

/* Footer */
.footer {
  background: #097721e3;
  color: #dbe7ff;
  padding: 80px 5% 30px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-brand img {
  max-width: 120px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ffffff;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin: 8px 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact li {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-contact i {
  margin-right: 8px;
  color: #ffffff;
}

.footer-social .social-icons a {
  font-size: 1.3rem;
  margin-right: 14px;
  color: #ffffff;
  transition: color 0.3s, transform 0.3s;
}

.footer-social .social-icons a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #ffffff;
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #ffffff;
}
  
/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 5px;
    }

    .footer-info, .footer-links, .footer-social {
        margin-bottom: 10px;
    }
}
.container {
    display: flex;
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
}

.udropdown {
    position: absolute;
    top: 62px; /* Binaba para hindi dikit sa input */
    right: 6.5%;
    width: 17.5%;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.udropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.udropdown a:hover {
    background: #f0f0f0;
}

/* 🔥 Selected Item Styling */
.selected {
    background-color: #007bff; /* Blue background */
    color: white; /* White text */
    border-left: 4px solid #0056b3; /* Indicator sa kaliwa */
    font-weight: bold;
}

/* 🔥 Focus Effect para gumana kahit may Tab navigation */
.udropdown a:focus {
    background-color: #0056b3;
    color: white;
    outline: none; /* Para hindi magkaproblema sa browser focus outline */
}



/***************************************************************************** Mobile Responsive *****************************************************************************/
@media (max-width: 1024px){

}

@media (max-width: 768px) and (orientation: portrait) {
    body {
    font-family: 'Bahnschrift', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #cfd1c9;
    color: #000;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 50%;
    height: auto;
    border-radius: 2.5px;
    object-fit: cover;
}

/* Header Section */
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    font-size: 7px;
    text-transform: uppercase;
  }
  
  #main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease;
    background-color: transparent;
    z-index: 1000;
  }
  
  #main-nav.scrolled {
      background: #097721e3;
  }
  
  #main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  #main-nav .logo {
    height: 20px;
  }
.intro-container {
    width: 100%;
    height: 30vh; /* Adjust this value as needed */
    background-image: url('/motorcycle_media/benelli_media/benellinewbg.jpg');
    background-size: cover; /* Ensures the image covers the area */
    background-position: center;
    background-repeat: no-repeat;
}


.content {
    max-width: 70%; /* Mas pahaba */
    margin: 0 auto; /* Centered */
}

.content p {
    font-family: 'Nunito', sans-serif; 
    font-size: 9px; 
    font-weight: 400; 
    line-height: 2;
    letter-spacing: 0.2px; 
    text-align: justify; 
}


hr {
    border: none; 
    height: 2.5px; 
    background: linear-gradient(to right, green 20%, transparent 50%, transparent 30%, rgb(220, 5, 5) 80%);
    width: 100%;
    margin: 10px auto; 
}
.model-container {
    position: relative;
    text-align: center;
    width: fit-content;
    margin: 50px auto;
}
@keyframes ethereal-glow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02); /* Slight expansion for a breathing effect */
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes laurel-color-shift {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(40deg); }
    100% { filter: hue-rotate(0deg); }
}

.background-logo {
    width: 200px;
    height: auto;
    display: block;
    margin: auto;
    margin-top: -6px;
    opacity: 0.20;
    animation: ethereal-glow 4s infinite alternate ease-in-out, 
               shimmer 6s infinite alternate ease-in-out;
}

.background-logo img {
    animation: laurel-color-shift 8s infinite alternate ease-in-out;
}



.motorcycle {
    position: absolute;
    top: 82.7%;
    left: 52%;
    transform: translate(-50%, -50%);
    max-width: 125px; /* Reduced from 500px */
    height: auto;
}


.motorcycle.fade-out {
    opacity: 0;
}

.motorcycle.fade-in {
    opacity: 1;
}

/* === View Model Button === */
.view-model-btn {
    display: inline-block;       /* Shrink to fit content */
    margin: 12px auto;
    padding: 7px 12px;           /* Less horizontal padding */
    min-width: 120px;            /* Optional: set a minimum width */
    max-width: 180px;            /* Optional: set max width */
    text-align: center;          /* Keep text centered */
    white-space: nowrap;         /* Prevent wrapping */
    background: linear-gradient(145deg, #3f8d31, #2e6d24);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    border: none;
    border-radius: 5px;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease-in-out;
    z-index: 10;
    position: relative;
}


.view-model-btn:hover {
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(145deg, #2e6d24, #347928);
}

/* === Dropdown Menu Container === */
.category-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px;
    margin-bottom: 30px;
    overflow-x: hidden;
}

/* === Dropdown Button Wrapper === */
.dropdown-button {
    position: relative;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin: 0;
    min-width: 110px;
    flex: 0 0 auto;
}
  .dropdown-button .button {
    font-size: 12px;
    padding: 6px 10px;
    min-width: unset !important;
    white-space: nowrap;
    
  }
/* === Dropdown Trigger Button === */
.button {
    background: linear-gradient(135deg, #347928, #2c6a24);
    color: white;
    padding: 6px 12px;
    font-size: 8px;
    font-weight: 300;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.15);
    line-height: 1;
    vertical-align: middle;
    min-height: 24px; /* or your desired value */
}

.button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #2e812e, #245f1e);
}

/* === Dropdown Items Container === */
.dropdown-content {
    display: none;
    font-size: 7px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    min-width: 110px;
    background: #ecfbe7;
    border-radius: 0 7.5px 7.5px 7.5px;
    box-shadow: 0 5px 12.5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* === Dropdown Links === */
.dropdown-content a {
    display: block;
    padding: 3px 4.5px;
    color: #1d1d1d;
    font-family: 'Poppins', sans-serif;
    font-weight: 250;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #d7f4c8;
        position: center;
}

.dropdown-content a:nth-child(odd) {
    background-color: #d0f5c3;
}

.dropdown-content a:nth-child(even) {
    background-color: #b8eca6;
}

.dropdown-content a:hover {
    background-color: #4CAF50;
    color: #fff;
}

.dropdown-content a:focus {
    background-color: #347928;
    color: #ffffff;
}

/* === Dropdown Hover Activation === */
.dropdown-button:hover .button {
    border-radius: 6px 6px 0 0;
}

.dropdown-button:hover .dropdown-content {
    display: block;
}

/* === Responsive Container for Multiple Dropdowns === */
.dropdown-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;       /* Allow wrapping */
    overflow: visible !important;      /* no scroll */
    justify-content: center !important; /* Center items horizontally */
    gap: 4px !important;
    padding: 4px;
    box-sizing: border-box;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Firefox */
}



/* Ensure full height usage */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Make sure main content grows and pushes the footer down */
main {
    flex-grow: 1;  /* This makes main content expand to push the footer down */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Add margin below category menu to separate it from footer */
.category-menu {
    margin-bottom: 20px; /* Adjust this value as needed */
}

/* Footer */
.footer {
  background: #097721e3;
  color: #dbe7ff;
  padding: 40px 5% 15px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 600px;
  margin: auto;
}

.footer h3 {
  font-size: .6rem;
  color: #ffffff;
  margin-bottom: 7.5px;
}

.footer-brand img {
  max-width: 60px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: .45rem;
  line-height: 1.5;
  color: #ffffff;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}
.footer-links{
    display: none;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin: 4px 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact li {
  font-size: 0.45rem;
  margin-bottom: 5px;
}

.footer-contact i {
  margin-right: 4px;
  color: #ffffff;
}

.footer-social .social-icons a {
  font-size: .6rem;
  margin-right: 14px;
  color: #ffffff;
  transition: color 0.3s, transform 0.3s;
}

.footer-social .social-icons a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: .5px solid #ffffff;
  text-align: center;
  margin-top: 25px;
  padding-top: 10px;
  font-size: 0.45rem;
  color: #ffffff;
}
  
.container {
    display: flex;
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
}

.udropdown {
    position: absolute;
    top: 31px; /* Binaba para hindi dikit sa input */
    right: 6.5%;
    width: 17.5%;
    background: white;
    border: .5px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    border-radius: 2.5px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.udropdown a {
    display: block;
    padding: 5px;
    text-decoration: none;
    color: black;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.udropdown a:hover {
    background: #f0f0f0;
}

/* 🔥 Selected Item Styling */
.selected {
    background-color: #007bff; /* Blue background */
    color: white; /* White text */
    border-left: 2px solid #0056b3; /* Indicator sa kaliwa */
    font-weight: bold;
}

/* 🔥 Focus Effect para gumana kahit may Tab navigation */
.udropdown a:focus {
    background-color: #0056b3;
    color: white;
    outline: none; /* Para hindi magkaproblema sa browser focus outline */
}

}


@media (max-width: 932px) and (orientation: landscape) {
    body {
    font-family: 'Bahnschrift', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #cfd1c9;
    color: #000;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 50%;
    height: auto;
    border-radius: 2.5px;
    object-fit: cover;
}

/* Header Section */
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    font-size: 7px;
    text-transform: uppercase;
  }
  
  #main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease;
    background-color: transparent;
    z-index: 1000;
  }
  
  #main-nav.scrolled {
      background: #097721e3;
  }
  
  #main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  #main-nav .logo {
    height: 20px;
  }
.intro-container {
    width: 100%;
    height: 30vh; /* Adjust this value as needed */
    background-image: url('/motorcycle_media/benelli_media/benellinewbg.jpg');
    background-size: cover; /* Ensures the image covers the area */
    background-position: center;
    background-repeat: no-repeat;
}


.content {
    max-width: 70%; /* Mas pahaba */
    margin: 0 auto; /* Centered */
}

.content p {
    font-family: 'Nunito', sans-serif; 
    font-size: 9px; 
    font-weight: 400; 
    line-height: 2;
    letter-spacing: 0.2px; 
    text-align: justify; 
}


hr {
    border: none; 
    height: 2.5px; 
    background: linear-gradient(to right, green 20%, transparent 50%, transparent 30%, rgb(220, 5, 5) 80%);
    width: 100%;
    margin: 10px auto; 
}
.model-container {
    position: relative;
    text-align: center;
    width: fit-content;
    margin: 50px auto;
}
@keyframes ethereal-glow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02); /* Slight expansion for a breathing effect */
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes laurel-color-shift {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(40deg); }
    100% { filter: hue-rotate(0deg); }
}

.background-logo {
    width: 175px;
    height: auto;
    display: block;
    margin: auto;
    margin-top: -7.5px;
    opacity: 0.20;
    animation: ethereal-glow 4s infinite alternate ease-in-out, 
               shimmer 6s infinite alternate ease-in-out;
}

.background-logo img {
    animation: laurel-color-shift 8s infinite alternate ease-in-out;
}



.motorcycle {
    position: absolute;
    top: 82.7%;
    left: 52%;
    transform: translate(-50%, -50%);
    max-width: 350px; /* Reduced from 500px */
    height: auto;
}


.motorcycle.fade-out {
    opacity: 0;
}

.motorcycle.fade-in {
    opacity: 1;
}

/* === View Model Button === */
.view-model-btn {
    display: block;
    margin: 12px auto;
    padding: 7px 16px;
    background: linear-gradient(145deg, #3f8d31, #2e6d24);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    border: none;
    border-radius: 5px;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease-in-out;
}

.view-model-btn:hover {
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(145deg, #2e6d24, #347928);
}

/* === Dropdown Menu Container === */
.category-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px;
    margin-bottom: 30px;
}

/* === Dropdown Button Wrapper === */
.dropdown-button {
    position: relative;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin: 0;
}

/* === Dropdown Trigger Button === */
.button {
    background: linear-gradient(135deg, #347928, #2c6a24);
    color: white;
    padding: 6px 12px;
    font-size: 8px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.15);
    line-height: 1;
    vertical-align: middle;
    min-height: 24px; /* or your desired value */
}

.button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #2e812e, #245f1e);
}

/* === Dropdown Items Container === */
.dropdown-content {
    display: none;
    font-size: 14px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 220px;
    background: #ecfbe7;
    border-radius: 0 7.5px 7.5px 7.5px;
    box-shadow: 0 5px 12.5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* === Dropdown Links === */
.dropdown-content a {
    display: block;
    padding: 6px 9px;
    color: #1d1d1d;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #d7f4c8;
}

.dropdown-content a:nth-child(odd) {
    background-color: #d0f5c3;
}

.dropdown-content a:nth-child(even) {
    background-color: #b8eca6;
}

.dropdown-content a:hover {
    background-color: #4CAF50;
    color: #fff;
}

.dropdown-content a:focus {
    background-color: #347928;
    color: #ffffff;
}

/* === Dropdown Hover Activation === */
.dropdown-button:hover .button {
    border-radius: 6px 6px 0 0;
}

.dropdown-button:hover .dropdown-content {
    display: block;
}

/* === Responsive Container for Multiple Dropdowns === */
.dropdown-container {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}



/* Ensure full height usage */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Make sure main content grows and pushes the footer down */
main {
    flex-grow: 1;  /* This makes main content expand to push the footer down */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Add margin below category menu to separate it from footer */
.category-menu {
    margin-bottom: 20px; /* Adjust this value as needed */
}

/* Footer */
.footer {
  background: #097721e3;
  color: #dbe7ff;
  padding: 40px 5% 15px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 600px;
  margin: auto;
}

.footer h3 {
  font-size: .6rem;
  color: #ffffff;
  margin-bottom: 7.5px;
}

.footer-brand img {
  max-width: 60px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: .45rem;
  line-height: 1.5;
  color: #ffffff;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin: 4px 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact li {
  font-size: 0.45rem;
  margin-bottom: 5px;
}

.footer-contact i {
  margin-right: 4px;
  color: #ffffff;
}

.footer-social .social-icons a {
  font-size: .6rem;
  margin-right: 14px;
  color: #ffffff;
  transition: color 0.3s, transform 0.3s;
}

.footer-social .social-icons a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: .5px solid #ffffff;
  text-align: center;
  margin-top: 25px;
  padding-top: 10px;
  font-size: 0.45rem;
  color: #ffffff;
}
.footer-links{
    display: none;
}
  
.container {
    display: flex;
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
}

.udropdown {
    position: absolute;
    top: 31px; /* Binaba para hindi dikit sa input */
    right: 6.5%;
    width: 17.5%;
    background: white;
    border: .5px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    border-radius: 2.5px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.udropdown a {
    display: block;
    padding: 5px;
    text-decoration: none;
    color: black;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.udropdown a:hover {
    background: #f0f0f0;
}

/* 🔥 Selected Item Styling */
.selected {
    background-color: #007bff; /* Blue background */
    color: white; /* White text */
    border-left: 2px solid #0056b3; /* Indicator sa kaliwa */
    font-weight: bold;
}

/* 🔥 Focus Effect para gumana kahit may Tab navigation */
.udropdown a:focus {
    background-color: #0056b3;
    color: white;
    outline: none; /* Para hindi magkaproblema sa browser focus outline */
}

}
