* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 1%;
    /* Set a default background color, remove templating syntax */
    background-color: #ffffff;
}


.header {
     display: flex;
     margin-top: 0;
}

.logo {
    margin-top:30px;
    margin-left:30px;
    height: 150px;
}

.logo img { height: 100%; width: auto; display: block; }

/* Ensure the image scales with the .logo container height */
.logo { height: 96px; }
.logo a { display: inline-block; height: 100%; }
.logo img { height: 100% !important; width: auto; max-width: 100%; display: block; }

/* Optional: smaller on mobile */
@media (max-width: 640px) {
  .logo { height: 56px; }
}

/* Header layout: logo left, hamburger right */
.inner-page .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px;
}

/* Nav container */
.inner-page .header {
  position: relative;
  display: flex;
  align-items: center;
}

.intro {
    text-align: center;
    padding: 20px 20px;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.intro h1 {
    font-size: clamp(80px, 12vw, 80px);
    font-weight: 900;
    margin: 0;
    color: #dededeff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 0.8;
    position: relative;
    z-index: 1;
}

.intro h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    margin: -50px 0 40px 0;
    color: #111;
    position: relative;
    z-index: 2;
}


  .nav-menu {
      position: fixed; /* keep menu fixed in top-right on scroll */
      top: 56px;
      right: 45px;
      padding: 0; /* padding replaced by explicit top/right offsets */
      z-index: 1000; /* ensure it stays above page content */
  }

/* Hamburger button */
.inner-page .header .nav-menu .menu-toggle {
  padding: 10px 14px;
  min-width: 72px;
  height: 44px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 8px;
  background: rgba(0,0,0,.04);
  color: #111;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
}
.inner-page .header .nav-menu .menu-toggle:hover {
  background: rgba(0,0,0,.07);
  border-color: rgba(0,0,0,.28);
}
/* Bars */
.inner-page .header .nav-menu .menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  transition: transform .2s ease, opacity .2s ease, width .2s ease;
}
.inner-page .header .nav-menu .menu-toggle span + span { margin-top: 4px; }

/* Open state -> “X” */
.inner-page .header .nav-menu.open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.inner-page .header .nav-menu.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.inner-page .header .nav-menu.open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Dropdown panel */
.inner-page .header .nav-menu .menu-items {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 8px 0;
  display: none;
  z-index: 1000;
}

.inner-page .header .nav-menu.open .menu-items { display: block; }

.inner-page .header .nav-menu .menu-items a {
  display: block;
  padding: 10px 14px;
  color: #111;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .2px;
}

.inner-page .header .nav-menu .menu-items a:hover {
  background: #348dcc;
  color: #fff;
}


.back-home-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #348dcc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.back-home-btn:hover {
    background-color: #2a7ab8;
    transform: translateY(-2px);
}


/* Small screens */
@media (max-width: 640px) {
  .inner-page .header { padding: 10px 14px; }
  
  /* Smaller hamburger button on mobile */
  .inner-page .header .nav-menu .menu-toggle {
    padding: 6px 8px;
    min-width: 48px;
    height: 32px;
  }
  
  .inner-page .header .nav-menu .menu-toggle span {
    width: 18px;
    height: 1.5px;
  }
  
  /* .inner-page .header .nav-menu .menu-toggle span + span { 
    margin-top: 3px; 
  } */
  
  /* Adjust X animation for smaller size */
  .inner-page .header .nav-menu.open .menu-toggle span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
  }
  
  .inner-page .header .nav-menu.open .menu-toggle span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  
  /* Adjust fixed positioning for smaller button */
  .nav-menu {
    top: 40px;
    right: 20px;
  }
  
  .intro h1 {
    font-size: clamp(30px, 12vw, 30px);
    font-weight: 900;
    margin: 0;
    color: #dededeff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 0.8;
    position: relative;
    z-index: 1;
  }

  .intro h2 {
    font-size: clamp(18px, 6vw, 18px);
    font-weight: 600;
    margin: -5px 0 30px 0;
    color: #111;
    position: relative;
    z-index: 2;
    line-height: 1;
  }
}


.menu-section-title {
    display: block;
    padding-left: 15px;

    font-weight: bold;
    font-size: 0.85em;
    color: #348dcc;
    text-transform: uppercase;
}

.menu-divider {
    margin: 10px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.menu-section {
    padding: 0px 0;
}

.menu-items a.disabled,
.menu-items span.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    color: #999;
}

.menu-section-title.expandable {
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    transition: background 0.2s;
}

.menu-section-title.expandable:hover {
    background: rgba(52, 141, 204, 0.1);
}

.menu-section-title .arrow {
    float: right;
    transition: transform 0.2s;
    font-size: 0.7em;
}

.menu-section-title.open .arrow {
    transform: rotate(-180deg);
}

.submenu {
    display: none;
    padding-left: 10px;
}

.submenu.open {
    display: block;
}

.submenu a {
    font-size: 0.9em;
}

/* Multi-column layout */
.menu-items-large {
    min-width: 500px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    padding: 10px;
}

.menu-column {
    display: flex;
    flex-direction: column;
}


.menu-item-with-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-item-with-submenu a {
    flex: 1;
}

.expand-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 14px;
    color: #111;
    transition: background 0.2s;
}

.expand-btn:hover {
    background: rgba(52, 141, 204, 0.1);
}

.expand-btn .arrow {
    transition: transform 0.2s;
    font-size: 0.8em;
    display: inline-block;
}

.expand-btn.open .arrow {
    transform: rotate(-180deg);
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .menu-items-large {
        min-width: 280px;
    }
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}