.head1
{
    align-items: center;
    display: flex;
    gap: 15px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
    padding: 2px 0;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    height: 80px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.head1 * { line-height: 1; }
main, .page-content, #content {
  padding-top: 0px; /* set to your header's height */
}

#logo
{
    display: block;    
    width: 200px !important;     
    height: 140px !important;
    cursor: pointer;
    margin-left: 8px;
    object-fit: contain;
    flex-shrink: 0;
    max-width: 200px;
    max-height: 1505px;
    min-width: 200px;
    min-height: 50px;
}
button
{
  border: none;
  background: transparent;
  display: inline-block;
  padding: 0;
}
.navbar ul
{
    list-style-type: none;
    font-size: 17px;
    gap: 40px;
    text-align: right;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    padding-right: 12px;
    flex-wrap: nowrap;
    align-items: center;
    margin-left: auto;
}
.navbar a
{
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    color: black;
    border-bottom: 1px solid transparent;
    padding: 3px 6px;
    font-family: 'Calibri', sans-serif;
    transition: all 0.3s ease;
    font-size: 19px;
}
.navbar a:hover
{
    border-bottom-color: brown;
    color: brown;   
}

.navbar a.current-page
{
    border-bottom-color: brown;
    color: brown;
}
.navbar li {
  white-space: nowrap;    
  align-items: center;
}


@media (max-width: 768px){
  .head1{
    height: auto;
    padding: 6px 0;
    gap: 8px;
    flex-wrap: wrap;
  }
  #logo{
    width: 140px !important;
    height: auto !important;
    max-width: 140px;
  }
  .navbar{ position: relative; }
  .navbar ul{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(72vw, 300px);
    background: #ffffff;
    box-shadow: -6px 0 20px rgba(0,0,0,.15);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    z-index: 5000;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
  }
  .mobile-menu{ list-style: none; margin: 0; padding: 0; }
  .mobile-menu li{ margin: 0; padding: 0; }
  .mobile-menu a{ 
    display: block; 
    padding: 16px 18px; 
    text-decoration: none; 
    color: #000; 
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
  }
  .mobile-menu a.current-page{ 
    color: #b33a32; 
    font-weight: 600; 
  }
  .menu-close-btn{
    margin-top: 120px;
    text-align: center;
    padding-top: 60px;
  }
  .close-menu{
    background: #fff;
    border: 2px solid #e0e0e0;
    font-size: 24px;
    color: #666;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .close-menu:hover{
    color: #b33a32;
    border-color: #b33a32;
    transform: scale(1.1);
  }
  html.nav-open .navbar ul{ transform: translateX(0%); }
  .menu-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
    z-index: 4000;
  }
  html.nav-open .menu-backdrop{ opacity: 1; visibility: visible; }
  .head1{ position: relative; }
  .navbar a{
    font-size: 16px;
    padding: 6px 4px;
  }
}

@media (max-width: 480px){
  .navbar ul{ gap: 10px; }
  .navbar a{ font-size: 15px; }
}

/* hamburger button */
.menu-toggle{
  display: none;
  width: 48px;
  height: 42px;
  margin-right: 10px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0,0,0,.12);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
  font-size: 28px;
  color: #222;
  font-weight: 900;
  font-family: Arial, sans-serif;
}
@media (max-width: 900px){
  .menu-toggle{ display: inline-flex; margin-left: auto; }
}

/* focus styles */
.menu-toggle:focus-visible,
.navbar a:focus-visible{
  outline: 3px solid #b33a32;
  outline-offset: 2px;
}

/* menu toggle when open */
.head1.open .menu-toggle{ 
  color: #b33a32; 
  border-color: #b33a32; 
}

/* sticky header shadow when scrolled */
.head1.scrolled{ box-shadow: 0 6px 20px rgba(0,0,0,0.2), 0 3px 10px rgba(0,0,0,0.15), 0 1px 4px rgba(0,0,0,0.1); }