/* Navigation Bar Styles */
html {
  overflow-x: hidden;
}

/* Modern navbar variables for consistent sizing and spacing */
:root {
  --nav-height: clamp(56px, 6vw, 88px);
  --nav-height-sticky: clamp(52px, 5vw, 80px);
  --nav-padding-x: clamp(12px, 2vw, 32px);
  --nav-gap: clamp(8px, 1.2vw, 20px);
  --brand: #144835;
  --brand-on: #faf1e2;
  --ring: #a2c144;
}

/*navigation bar - Using Flexbox Layout */
#navbar {
    background: transparent;
    position: fixed;
    width: 100%;
    height: var(--nav-height);
    top: 0;
    left: 0;
    z-index: 100 !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; /* restore original alignment */
    padding: 0; /* restore original no horizontal padding */
    gap: var(--nav-gap);
}

#navbar.sticky {
    background: #faf1e2;
    height: var(--nav-height-sticky);
    transition: height 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100 !important;
}

#navbar #logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    margin: 0;
    margin-left: 10vw; /* restore original left spacing */
    position: relative;
    text-decoration: none;
    z-index: 100 !important;
}

#navbar.sticky #logo {
    height: 100%;
}

#navbar.sticky #logo img {
    width: 4vw;
    height: auto;
    transition: 1s;
    z-index: 100 !important;
}

#navbar #logo img {
    width: 4vw; /* match sticky size for consistency */
    height: auto;
    display: block;
    z-index: 100 !important;
}

#logo {
    position: relative;
    text-decoration: none;
    z-index: 100 !important;
}

.logo-full {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    margin-left: 0.5vw;
    top: 0;
    left: 0;
    z-index: 100 !important;
}
.logo-full h2 {
    color: white; /* keep normal navbar color */
    font-size: 2vw; /* match sticky size */
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-family: serif;
    z-index: 100 !important;
}

.logo-full p {
    color: white; /* keep normal navbar color */
    font-size: 0.8vw; /* match sticky size */
    margin: 0;
    padding: 0;
    margin-top: -0.5vw; /* match sticky spacing */
    line-height: 1.2;
    font-family: serif;
    z-index: 100 !important;
}

#navbar.sticky .logo-full {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    margin-left: 0.4vw;
    top: 0;
    left: 0;
    transition: all 1s ease;
    z-index: 100 !important;
}
#navbar.sticky .logo-full h2{
    color: #144835;
    font-size: 2vw;
    margin: 0;
    font-family: serif;
    transition: 1s;
    z-index: 100 !important;
}
#navbar.sticky .logo-full p{
    color: #144835;
    font-size: 0.8vw;
    margin-top: -0.5vw;
    font-family: serif;
    transition: 1s;
    z-index: 100 !important;
    }  

/* Search Icon Link and Icon - Internal alignment */
.search-icon-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.search-icon-mobile i {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.search-icon-mobile:hover {
  color: var(--ring);
  z-index: 100 !important;
}

#navbar.sticky .search-icon-mobile {
  color: #144835;
  z-index: 100 !important;
}

#navbar.sticky .search-icon-mobile:hover {
  color: var(--ring);
  z-index: 100 !important;
}

/* Search Form - Hidden on desktop, only icon shown */
.navbar-search-form {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin: 0;
    z-index: 100 !important;
}

#navbar.sticky .navbar-search-form {
    margin: 0;
    transition: none;
    z-index: 100 !important;
}

.navbar-search-form input[type=text] {
    display: block;
    position: relative;
    padding: 0.9vw 4vw 0.8vw 1.5vw;
    width: 12vw;
    min-width: 150px;
    color: #144835;
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 100;
    letter-spacing: 2px;
    z-index: 100 !important;
    border: none;
    border-radius: 10px;
    transition: width 0.4s ease;
    outline: none;
    background-color: white;
    font-family: serif;
    box-sizing: border-box;
}

.navbar-search-form input[type=text]:focus {
    width: 20vw;
    min-width: 200px;
}

#navbar.sticky .navbar-search-form input[type=text] {
    background-color: white;
    width: 20vw;
    min-width: 200px;
    z-index: 100 !important;
    font-family: serif;
}

#navbar.sticky .navbar-search-form input[type=text]:focus {
    width: 20vw;
    min-width: 200px;
}

.navbar-search-form i {
    position: absolute;
    right: 1.5vw;
    color: #144835;
    pointer-events: none;
    z-index: 100 !important;
} 
  #searchResults {
    position: absolute;
    top: 3.2vw; /* Adjust according to your layout */
    left: 19.5vw;
    width: 20vw;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    font-family: serif;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5vw 0;
    z-index: 100 !important;
  }
  #navbar.sticky #searchResults {
    left: 15.6vw;
    transition: none;
    z-index: 100 !important;
  }
  
  #searchResults div {
    padding: 0.6vw 1.2vw;
    color: #144835;
    font-size: 14px;
    letter-spacing: 1px;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 100;
  }
  
  #searchResults div:last-child {
    border-bottom: none;
  }
  
  #searchResults div:hover {
    background-color: #144835;
    color: white;
    z-index: 100;
  }
  
  #searchResults a {
    text-decoration: none;
    color: inherit;
    display: block;
    z-index: 100;
  }
  #searchResults {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
  }
  
  #searchResults.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }  

#navbar #logo span {
    line-height: 40px;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff!important;
    font-family: serif;
    z-index: 100;
}

/* Right Side Container for Search Icon, Menu and Call Now - All aligned in same line */
.navbar-right-container {
  position: absolute; /* restore original absolute placement */
  top: 0;
  right: 10vw; /* restore original right spacing */
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: var(--nav-gap);
  z-index: 100;
  box-sizing: border-box;
}

/* Ensure all right-side controls share navbar height and vertical centering */
.navbar-right-container > * {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Pin each control to the vertical center to avoid micro-shifts */
.navbar-right-container .search-icon-mobile,
.navbar-right-container .menu-icon,
.navbar-right-container .my-dpiso {
  align-self: center;
}

/* Search Icon - Aligned with menu and call now */
.search-icon-mobile {
  display: none;
  position: relative;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  z-index: 100 !important;
  transition: color 0.3s ease;
  padding: 0;
  margin: 0;
  margin-right: 1vw;
  height: 100%;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Menu Icon - Aligned with search and call now */
.menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  width: auto;
  top: 0;
  right: 0;
  transition: transform 0.3s ease;
  margin: 0;
  padding: 0 0.8rem;
  font-family: serif;
  gap: 0.5vw;
  z-index: 100;
  height: 100%;
  box-sizing: border-box;
}
#navbar.sticky .menu-icon {
  top: 0;
  transition: 1.2s;
  z-index: 100;
}

/* Call Now Button - Perfectly aligned with search icon and menu button */
.my-dpiso {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0;
  width: auto;
  z-index: 100;
  box-sizing: border-box;
  cursor: pointer;
}

#navbar.sticky 
.my-dpiso {
  transition: 1s;
  z-index: 100;
}

/* Call Now Button Link */
.my-dpiso a {
  padding: 0.7rem 0.9rem; /* consistent vertical rhythm across devices */
  text-decoration: none;
  color: var(--brand);
  font-weight: 500;
  background-color: #ffffff;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  z-index: 100;
  margin: 1.15rem 0; /* add vertical breathing room to keep centered */
  line-height: 1;
  box-sizing: border-box;
  gap: 0.3vw;
}

#navbar.sticky .my-dpiso a {
  background-color: var(--brand);
  color: var(--brand-on);
  font-family: 'Jost', sans-serif;
  z-index: 100;
}

.my-dpiso a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 100;
}

/* Focus-visible rings for accessibility */
.menu-icon:focus-visible,
.search-icon-mobile a:focus-visible,
.my-dpiso a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Call Now Button Icon */
.my-dpiso i {
  position: relative;
  top: 0;
  left: 0;
  font-size: 1.2rem;
  margin: 0;
  padding: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#navbar.sticky .my-dpiso i {
  color: var(--brand-on);
}

/* Call Now Button Text */
.my-dpiso p {
  margin: 0;
  padding: 0;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: 600;
  z-index: 100;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

  .menu-icon p{
    position: relative;
  left: 0;
  top: 0;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Jost', sans-serif;
    color: #ffffff;
  white-space: nowrap;
  letter-spacing: 1px;
  z-index: 100;
  }
  #navbar.sticky .menu-icon p{
    color: #144835;
  }

.menu-icon .hamburger-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 24px;
  height: 20px;
  z-index: 100;
}

.menu-icon .hamburger-container div {
    position: absolute;
  width: 24px;
    height: 3px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
  }
#navbar.sticky .menu-icon .hamburger-container div{
    background-color: var(--brand);
  }
  
.menu-icon .hamburger-container div:nth-child(1) {
    top: 0;
  }
.menu-icon .hamburger-container div:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.menu-icon .hamburger-container div:nth-child(3) {
  bottom: 0;
}

.menu-icon.open .hamburger-container div:nth-child(1) {
    transform: rotate(45deg);
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  }
.menu-icon.open .hamburger-container div:nth-child(2) {
    opacity: 0;
  }
.menu-icon.open .hamburger-container div:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
  top: 50%;
  }
  .desktop-menu {
    display: none;
    flex-direction: column;
    background-color: #144835;
    position: fixed;
    height: 0;
    width: 100%;
    overflow: hidden;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 12vw;
    padding-bottom: 11vw;
    transition: height .40s ease;
  }
  .desktop-menu hr{
    position: relative;
    left: 12vw;
    top: 1.5vw;
    width: 35vw;
    color: #faf1e2;
  }

  .desktop-menu a {
    padding: 0.5vw;
    text-decoration: none;
    color: #faf1e2;
    font-family: jost, sans-serif;
    font-size: 3vw;
    font-weight: 500;
    transition: .35s ease;
    position: relative;
    left: 12vw;
    width: 20vw;
  }
  .desktop-menu .nav-btn {
    color: #faf1e2;
    position: relative;
    top: 3vw;
    font-size: 1.5vw;
    left: 0;
    width: auto;
    margin-right: 2vw;
  }
 
  .nav-btn-container {
    position: relative;
    left: 12vw;
  }

  .desktop-menu a:hover {
    background-color: transparent;
  }
  
  .desktop-menu a:last-child {
    border-bottom: none;
  }

  .desktop-menu img {
    position: absolute;
    width: 30vw;
    height: auto;
    left: 62vw;
    top: 11.5vw;
  }
   /*dropdown btn*/
  .dropdown {
    position: relative;
    width: 30vw;    
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    z-index: 1;
    left: 20vw;
    top: 0;
  }

  .dropdown-content a {
    color: #faf1e2;
    text-align: left;
    font-size: 1.1vw;
    letter-spacing: 1.5px;
    text-decoration: none;
    display: block;
    padding:2px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  .padding-left-5px{
    padding-left: 0 5px;
  }
  .dropdown-content a:hover {
     color: #a2c144;
  }
  .desktop-menu a:hover {
    color: #a2c144;
  }
  .desktop-menu a:hover + .dropdown-content,
    .dropdown-content:hover {
      display: block;
    }


  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown:hover .dropbtn {
    background-color: #cccccc; 
    color: black;
  }

    /* Very Small Phones (max-width: 360px) */
    @media (max-width: 360px) {
      #navbar {
        height: 20vw;
      }
      #navbar.sticky {
        height: 20vw;
      }
      #navbar #logo { margin-left: 0; }
      #navbar.sticky #logo { margin-left: 0; }
      #navbar #logo img {
        width: 16vw;
      }
      .logo-full {
        top: 0;
        left: 0;
        margin-left: 0;
      }
      .logo-full h2 {
        font-size: 10vw;
        padding-left: 3px;
      }
      .logo-full p { display: none; }
      .search-icon-mobile { display: none !important; }
      #navbar.sticky .search-icon-mobile { display: none !important; }
      .navbar-right-container {
        right: 3vw;
        gap: 2.5vw;
        flex-direction: row;
        align-items: center;
        height: 100%;
      }
      #navbar.sticky .navbar-right-container {
        height: 100%;
      }
      .menu-icon {
        padding: 0;
        gap: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        top: 0;
        position: relative;
      }
      #navbar.sticky .menu-icon {
        height: 100%;
        top: 0;
      }
      .menu-icon p { display: block; font-size: 0.9rem; }
      .menu-icon .hamburger-container {
        width: 18px;
        height: 16px;
      }
    }

    @media (max-width: 640px) {
      body{
        overflow-x: hidden;
      }
      #navbar {
        width: 100%;
        height: 17vw;
      }
      #navbar.sticky {
        height: 17vw;
      }
      #navbar #logo{
        left: 3vw;
        top: 0.5vw;
        margin-left: 0; /* remove mobile margin */
      }
      #navbar.sticky #logo { margin-left: 0; }
      #navbar #logo img {
        width: 14vw;
      }
      #navbar.sticky #logo img {
        width: 14vw;
      }
.logo-full{
    top: 0;
    left: 0;
    margin-left: 0;
}
.logo-full h2{
    font-size: 10vw;
    padding-left: 3px;
}
.logo-full p{
    display: none;
}
#navbar.sticky .logo-full{
    top: 0;
    left: 0;
    margin-left: 0;
}
#navbar.sticky .logo-full h2{
    font-size: 10vw;
    padding-left: 3px;
}
#navbar.sticky .logo-full p{
    display: none;
}  
  .search-icon-mobile{ display: none !important; }
#navbar.sticky .search-icon-mobile{ display: none !important; }
      .navbar-search-form{
        display: none;
      }
      #navbar.sticky .navbar-search-form{
        display: none;
      }
             
      .navbar-right-container {
        right: 5vw;
        gap: 2vw;
        flex-direction: row;
        align-items: center;
        height: 100%;
      }
      #navbar.sticky .navbar-right-container {
        height: 100%;
      }
      .my-dpiso {
        top: 0;
      }
      #navbar.sticky .my-dpiso {
        top: 0;
      }
      .menu-icon {
        top: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        position: relative;
      }
      #navbar.sticky .menu-icon {
        height: 100%;
        top: 0;
      }
      .my-dpiso a {
        padding: 1vw 2vw;
        font-size: 0.8rem;
      }
      .my-dpiso p {
        font-size: 0.75rem;
      }
      .menu-icon {
        display: flex;
        padding: 0;
        gap: 0;
        align-items: center;
        justify-content: center;
        height: 17vw;
        top: 0;
        position: relative;
  }
  .menu-icon p { display: block; font-size: 0.95rem; }
      .menu-icon .hamburger-container {
        width: 20px;
        height: 18px;
      }
      .menu-icon .hamburger-container div {
        width: 20px;
        height: 3px;
  }    
  .my-dpiso  { display: flex; }
.desktop-menu {
    height: 100%;
    width: 80vw;
    right: 0;
    padding-top: 5.5rem;
  }
  .desktop-menu hr{
    top: 1.5vw;
    width: 80vw;
    left: 8vw;
  }

  .desktop-menu a {
    font-size: 7vw;
    font-weight: 500;
    left: 8vw;
    width: 100%;
  }
  .desktop-menu .nav-btn {
    top: 5vw;
    font-size: 1.3rem;
    padding-bottom: 3rem;
  }
  .desktop-menu img {
    display: none;
  }
   /*dropdown btn*/
  .dropdown {
    position: relative;
    width: 80%;    
  }
  .dropdown-content {
    left: 55vw;
    top: 0.7rem;
  }
  .dropdown-content a {
    font-size: 13px ;
  }
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #faf1e2;
  z-index: 10000;
  transition: right 0.3s ease;
  overflow-y: auto;
  font-family: 'Jost', sans-serif;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

.mobile-logo {
  width: 60px;
  height: auto;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.mobile-menu-close:hover {
  background: #f0f0f0;
  color: #144835;
}

.mobile-menu-content {
  padding: 20px;
}

/* Mobile Search Section */
.mobile-search-section {
  margin-bottom: 20px;
}

.mobile-search-bar {
  display: flex;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-search-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: 'Jost', sans-serif;
  color: #333;
}

.mobile-search-input::placeholder {
  color: #999;
}

.mobile-search-btn {
  background: #144835;
  color: white;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Contact Section */
.mobile-contact-section {
  margin-bottom: 30px;
}

.mobile-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #144835;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Jost', sans-serif;
  transition: background 0.3s ease;
}

.mobile-contact-btn:hover {
  background: #1a4a00;
}

.mobile-contact-btn i {
  font-size: 18px;
  transform: scaleX(-1);
}

/* Mobile Navigation */
.mobile-nav {
  margin-bottom: 30px;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  margin-bottom: 2px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Jost', sans-serif;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: #144835;
}

.mobile-nav-item.expandable .mobile-nav-link {
  border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-item.expandable .mobile-nav-link i {
  color: #666;
  transition: transform 0.3s ease;
}

.mobile-nav-item.expandable.active .mobile-nav-link i {
  transform: rotate(90deg);
}

/* Mobile Submenu */
.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f5f5f5;
  border-radius: 8px;
  margin-top: 5px;
}

.mobile-submenu.active {
  max-height: 300px;
}

.mobile-submenu li {
  border-bottom: 1px solid #e0e0e0;
}

.mobile-submenu li:last-child {
  border-bottom: none;
}

.mobile-submenu a {
  display: block;
  padding: 12px 20px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
  transition: color 0.3s ease;
}

.mobile-submenu a:hover {
  color: #144835;
}

/* Mobile Menu Divider */
.mobile-menu-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 20px 0;
}

/* Mobile Social Section */
.mobile-social-section {
  margin-top: 30px;
}

.mobile-social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.mobile-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #144835;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-social-btn:hover {
  background: #1a4a00;
  transform: translateY(-2px);
}

.mobile-social-btn i {
  font-size: 18px;
}

/* ========== TABLET PORTRAIT (481px - 768px) ========== */
@media (min-width: 481px) and (max-width: 768px) {
  #navbar {
    height: 17vw;
  }
  #navbar.sticky {
    height: 17vw;
  }
  #navbar #logo {
    left: 2.5vw;
    top: 0.6vw;
    margin-left: 0; /* remove tablet portrait margin */
  }
  #navbar.sticky #logo { margin-left: 0; }
  #navbar #logo img {
    width: 10vw;
  }
  #navbar.sticky #logo img {
    width: 9vw;
  }
  .logo-full {
    top: 0;
    left: 0;
    margin-left: 0;
  }
  .logo-full h2 {
    font-size: 7vw;
    padding-left: 3px;
  }
  .logo-full p { display: none; }
  #navbar.sticky .logo-full {
    top: 0;
    left: 0;
    margin-left: 0;
  }
  #navbar.sticky .logo-full h2 {
    font-size: 7vw;
    padding-left: 3px;
    color: #144835;
  }
  #navbar.sticky .logo-full p { display: none; }
  .search-icon-mobile { display: none !important; }
  #navbar.sticky .search-icon-mobile { display: none !important; }
  .navbar-search-form {
    display: none;
  }
      .navbar-right-container {
        right: 3vw;
        gap: 1.8vw;
        flex-direction: row;
        align-items: center;
        height: 100%;
      }
      #navbar.sticky .navbar-right-container {
        height: 100%;
      }
      .menu-icon {
        display: flex;
        padding: 0;
        gap: 0;
        align-items: center;
        justify-content: center;
        height: 100%;
        top: 0;
        position: relative;
      }
      #navbar.sticky .menu-icon {
        height: 100%;
      }
      .menu-icon p { display: block; font-size: 1rem; }
      .menu-icon .hamburger-container {
        width: 18px;
        height: 16px;
      }
      .menu-icon .hamburger-container div {
        width: 18px;
        height: 3px;
      }
  .my-dpiso { display: flex; }
  .desktop-menu {
    height: 100%;
    width: 70vw;
    right: 0;
    padding-top: 4rem;
  }
  .desktop-menu a {
    font-size: 5vw;
    left: 6vw;
  }
  .desktop-menu .nav-btn {
    font-size: 1.2rem;
    top: 3vw;
  }
  .desktop-menu img {
    display: none;
  }
  .dropdown-content {
    left: 50vw;
    top: 0.5rem;
  }
  .dropdown-content a {
    font-size: 12px;
  }
}

/* ========== TABLET LANDSCAPE / SMALL LAPTOP (769px - 1024px) ========== */
@media (min-width: 769px) and (max-width: 1024px) {
  #navbar {
    height: 15vw; /* closer to mobile look */
  }
  #navbar.sticky {
    height: 15vw;
  }
  #navbar #logo {
    left: 0; /* remove left margin at 1024px */
    top: 0.5vw;
    height: 6vw;
  }
  #navbar #logo img {
    width: 5vw;
  }
  #navbar.sticky #logo img {
    width: 4.5vw;
  }
  .logo-full {
    top: 0;
    left: 0;
    margin-left: 0; /* remove left margin at 1024px */
  }
  .logo-full h2 {
    font-size: 2.2vw;
    color: white;
  }
  .logo-full p {
    font-size: 0.9vw;
    margin-top: -0.5vw;
    color: white;
  }
  #navbar.sticky .logo-full {
    top: 0;
    left: 0;
    margin-left: 0; /* remove left margin at 1024px */
  }
  #navbar.sticky .logo-full h2 {
    font-size: 2vw;
    color: #144835;
  }
  #navbar.sticky .logo-full p {
    font-size: 0.8vw;
    color: #144835;
  }
  /* Hide desktop search form and search icon on tablet landscape for a mobile-like UI */
  .navbar-search-form { display: none !important; }
  .search-icon-mobile { display: none !important; }
  #navbar.sticky .search-icon-mobile { display: none !important; }
  
  .search-icon-mobile:hover {
    color: #a2c144;
  }
  
  #navbar.sticky .search-icon-mobile:hover {
    color: #a2c144;
  }
  
  .navbar-right-container {
    right: 0; /* remove right margin at 1024px */
    gap: 1vw;
    flex-direction: row;
    align-items: center;
    height: 8vw;
  }
  #navbar.sticky .navbar-right-container {
    height: 7vw;
  }
  .menu-icon {
    display: flex;
    padding: 0;
    gap: 0;
    top: 0;
    position: relative;
    align-items: center;
    justify-content: center;
    height: 8vw;
  }
  #navbar.sticky .menu-icon {
    top: 0;
    height: 7vw;
  }
  .menu-icon p { display: block; font-size: 1.1vw; }
  .menu-icon .hamburger-container {
    width: 2.2vw;
    height: 1.8vw;
  }
  .menu-icon .hamburger-container div {
    width: 2.2vw;
    height: 0.3vw;
  }
  .my-dpiso { display: flex; }
  .desktop-menu { display: none !important; }
  .desktop-menu a {
    padding: 1vw;
    font-size: 2.8vw;
    left: 10vw;
    width: 25vw;
  }
  .desktop-menu .nav-btn {
    font-size: 1.8vw;
    top: 3vw;
  }
  .desktop-menu img {
    width: 25vw;
    height: auto;
    left: 60vw;
    top: 10vw;
  }
  .dropdown-content {
    left: 18vw;
  }
  .dropdown-content a {
    font-size: 1.4vw;
  }
  .mobile-menu { display: block !important; }
}

/* ========== SMALL LAPTOP / NETBOOK (1025px - 1366px) ========== */
@media (min-width: 1025px) and (max-width: 1366px) {
  #navbar {
    height: 7vw;
  }
  #navbar.sticky {
    height: 6.5vw;
  }
  #navbar #logo {
    left: 6vw;
    top: 0.3vw;
    height: 5.5vw;
  }
  #navbar #logo img {
    width: 4.5vw;
  }
  #navbar.sticky #logo img {
    width: 4vw;
  }
  .logo-full {
    top: -5vw;
    left: 5.5vw;
  }
  .logo-full h2 {
    font-size: 2vw;
  }
  .logo-full p {
    font-size: 0.8vw;
    margin-top: -0.4vw;
  }
  #navbar.sticky .logo-full {
    top: -4.5vw;
    left: 5vw;
  }
  #navbar.sticky .logo-full h2 {
    font-size: 1.8vw;
  }
  #navbar.sticky .logo-full p {
    font-size: 0.7vw;
  }
  /* Hide search form on desktop */
  .navbar-search-form {
    display: none !important;
  }
  
  /* Show search icon on desktop - vertically centered */
  .search-icon-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 1vw;
    height: 100%;
  }
  .navbar-right-container {
    right: 6vw;
    gap: 0.8vw;
    flex-direction: row;
    align-items: center;
    top: 0;
    height: 100%;
  }
  .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0.6vw;
    top: 0;
    position: relative;
    margin: 0;
  }
  #navbar.sticky .menu-icon {
    top: 0;
  }
  .menu-icon p {
    font-size: 1.3vw;
    font-weight: 600;
  }
  .menu-icon .hamburger-container {
    width: 2vw;
    height: 1.8vw;
  }
  .menu-icon .hamburger-container div {
    width: 2vw;
    height: 0.3vw;
  }
  .my-dpiso {
    top: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  #navbar.sticky .my-dpiso {
    top: 0;
  }
  .my-dpiso a {
    padding: 0.7vw 1.2vw;
    font-size: 1.1vw;
  }
  .my-dpiso p {
    font-size: 1vw;
    padding-left: 0.4vw;
  }
  .desktop-menu {
    padding-top: 9vw;
    padding-bottom: 7vw;
  }
  .desktop-menu a {
    padding: 0.8vw;
    font-size: 2.4vw;
    left: 11vw;
    width: 22vw;
  }
  .desktop-menu .nav-btn {
    font-size: 1.6vw;
    top: 2.5vw;
  }
  .desktop-menu img {
    width: 22vw;
    height: auto;
    left: 62vw;
    top: 9vw;
  }
  .dropdown-content {
    left: 19vw;
  }
  .dropdown-content a {
    font-size: 1.3vw;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ========== MEDIUM LAPTOP (1367px - 1600px) ========== */
@media (min-width: 1367px) and (max-width: 1600px) {
  /* Hide search form on desktop */
  .navbar-search-form {
    display: none !important;
  }
  
  /* Show search icon on desktop - vertically centered */
  .search-icon-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 1vw;
    height: 100%;
  }
  .navbar-right-container {
    right: 8vw;
    gap: 1vw;
    flex-direction: row;
    align-items: center;
    top: 0;
    height: 100%;
  }
  .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    position: relative;
    padding: 0;
    margin: 0;
  }
  #navbar.sticky .menu-icon {
    top: 0;
  }
  .my-dpiso {
    top: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  #navbar.sticky .my-dpiso {
    top: 0;
  }
}

/* Hide desktop menu and show mobile interface for tablets and mobile (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Hide desktop search form */
  .navbar-search-form {
    display: none !important;
  }
  
  /* Hide search icon on mobile/tablet */
  .search-icon-mobile {
    display: none !important;
  }
  
  /* Hide MENU text on menu icon */
  .menu-icon p {
    display: none !important;
  }
  
  /* Hide CALL NOW button */
  .my-dpiso {
    display: none !important;
  }
  
  /* Hide desktop menu */
  .desktop-menu {
    display: none !important;
  }
  
  /* Show mobile menu */
  .mobile-menu {
    display: block !important;
  }
  
  /* Ensure menu icon is properly aligned */
  .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Hide desktop menu on mobile/tablet (legacy - keeping for compatibility) */
@media (max-width: 768px) {
  .desktop-menu {
    display: none !important;
  }
  
  .mobile-menu {
    display: block;
  }
}

/* Show desktop menu on larger screens (above 1024px) */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  
  .desktop-menu {
    display: none;
  }
  
  .desktop-menu.active {
    display: flex;
    height: 100vh;
  }
  
  /* Hide desktop search form - only show icon */
  .navbar-search-form {
    display: none !important;
  }
  
  /* Show search icon on desktop - vertically centered */
  .search-icon-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 1vw;
    height: 100%;
  }
  
  /* Show MENU text on large screens */
  .menu-icon p {
    display: block !important;
  }
  
  /* Show CALL NOW button on large screens */
  .my-dpiso {
    display: block !important;
  }
}