   .alignment {
    position: relative;    /* allows layering inside */
    width: 100%;
    height: auto;
}

/* Top container stays on top */
.top-container {
    position: relative;
    z-index: 2;
}

/* Bottom sits behind top */
.bottom-container {
    position: absolute;
    top: 0;                /* sits directly behind */
    left: 0;
    width: 100%;           /* stretch behind */
    z-index: 1;
}


/* === Logo & Desktop Menu Positioning === */
.left-section .logo-container {
    margin-left: 75px; /* Logo left margin */
    display: flex;
    align-items: center;
}

.desktop-menu {
    display: flex;
    justify-content: flex-end; /* Right-justify desktop menu */
    margin-right: 125px; /* Right margin */
}

.cta-buttons {
    margin-right: 55px; /* Align CTA button with menu */
}

/* === Mobile menu/burger toggle === */
@media screen and (min-width: 1060px){
    .burger-icon, #mobilebook { 
        display: none !important; /* Hide mobile menu above 1060px */
    }

    .mainsub-menu.active {
  position: absolute !important;
  border-top: 3px solid #d91a2a
}

/* Triangle on the submenu when active */
/* Triangle above the submenu when active */
/* Ensure parent <li> is positioned for absolute children */
.desktop-menu .main-menu li.menu-item-has-children {
    position: relative;
}

/* Default triangle on parent link (optional small arrow) */
.desktop-menu .main-menu li.menu-item-has-children > a::after {
    content: "\f0d7"; /* down arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.7em;
    line-height: 1;
    color: #d91a2a;
}

/* Triangle above submenu on hover */
.desktop-menu .main-menu li.menu-item-has-children:hover > a::before {
    content: "";
    position: absolute;
    top: 85%; /* places it above the link */
    left: 50%;    /* center horizontally */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #d91a2a; /* triangle pointing up */
    z-index: 1000;
}



.desktop-menu .main-menu li.menu-item-has-children > a::after {
  content: "\f062";               /* Up arrow */
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  margin-left: 8px;
  font-size: 0.7em;
  line-height: 1;
}

.dropdown-menu {
  
  visibility: hidden !important;
  }


  .mainsub-menu a {
  padding: 5px 25px 5px 0px !important;
}
}

@media screen and (max-width: 1059px){


    .header-banner-content {
    position: absolute;
    top: 155px;
    left: 75px;
    color: #fff;
    z-index: 2 !important;
}


.desktop-menu .main-menu {
    display: none !important; /* Hide mobile menu above 1060px */
    }
}


.burger-icon {
 
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 110px;
  height: 90px;
  border-left: 1px dotted #fff !important;
  margin: 25px;
  right: 40px !important;
  left: unset !important;
  position: absolute;
  padding-left: 20px !important;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.0);
  padding: 10px;
    padding-right: 10px;
    padding-left: 10px;
  padding-right: 1px;
  border-radius: 7px;
  }

  .button-container{
    width: calc(100vw - 0px);
  }

            .logomain {
  opacity: 1 !important;
}


                /* Default: show white logo, hide color logo */
.logo-default {
    display: block;
}
.logo-scrolled {
    display: none;
}

/* When header is scrolled */
.top-strip.scrolled .logo-default {
    display: none;
}
.top-strip.scrolled .logo-scrolled {
    display: block;
}

/* Optional: smooth fade transition */
.logo-default, .logo-scrolled {
    transition: opacity 0.35s ease;
}




            @media (max-width: 768px) {
  .button-container {
    
    justify-content: left !important;
}
}

            .right-section {
  
  width: calc(100% - 20px) !important;}
            
            /* Desktop menu container */
.desktop-menu .main-menu {
    display: flex;              /* Horizontal layout */
    justify-content: flex-end;  /* Right-align menu */
    align-items: center;        /* Vertical alignment */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Menu items */
.desktop-menu .main-menu li {
    position: relative;
    margin-left: 30px;          /* Space between menu items */
}

/* Menu links */
.desktop-menu .main-menu li a {
    text-decoration: none;
    color: #d81f2b !important;
    padding: 10px 0;            /* Vertical padding */
    display: block;

    font-family: Poppins,sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Default desktop menu link hover (white text) */
.mainsub-menu.active:hover {
  background: #010;
  border-left: 3px solid #d91a2a;
  border-right: 3px solid #d91a2a;
  border-bottom: 3px solid #d91a2a;
}

/* Hover state ONLY for submenu links */
.desktop-menu .main-menu li ul.sub-menu li a:hover {

    color: #010101 !important;      /* white text */
}

/* Force submenu hover to override main hover */
.desktop-menu .main-menu li ul.sub-menu li > a:hover {
    background: #010101;
    color: #ffffff !important;      /* white text */
}



/* Highlight the active (current) menu item */
.desktop-menu .main-menu li.current-menu-item > a,
.desktop-menu .main-menu li.current_page_item > a,
.desktop-menu .main-menu li.current-menu-ancestor > a {
    color: #414141 !important;
}


/* Submenu */
.desktop-menu .main-menu li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Show submenu on hover */
.desktop-menu .main-menu li:hover > ul.sub-menu {
    display: block;
}


@media screen and (max-width: 1059px){
    .mainsub-menu.active:hover {
        border-left: 0px solid #d91a2a !important;
  border-right: 0px solid #d91a2a !important;
  border-bottom: 0px solid #d91a2a !important;}

}
/* Mobile menu hiding */
@media screen and (min-width: 1060px){
    .burger-icon, #mobilebook { 
        display: none !important; /* Hide mobile menu above 1060px */
    }

    /* Default desktop menu link hover (white text) */
.mainsub-menu.active:hover {
  background: #010;
  border-left: 3px solid #d91a2a;
  border-right: 3px solid #d91a2a;
  border-bottom: 3px solid #d91a2a;
}


.mainsub-menu.active {
  background: #fff;
}







/* Desktop menu container */
.desktop-menu .main-menu {
    display: flex;               /* Horizontal layout */
    justify-content: flex-end;   /* Right-align menu */
    align-items: center;         /* Vertically center menu items */
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

/* Menu items */
.desktop-menu .main-menu li {
    position: relative;          /* Needed for absolute submenu positioning */
    margin-left: 30px;
}

/* Parent menu links with arrow */
.desktop-menu .main-menu li.menu-item-has-children > a {
    display: flex;               /* Flex container */
    align-items: center;         /* Vertically center text and arrow */
    text-decoration: none;
    color: #000;
    padding: 10px 0;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
}

/* Arrow after parent links */
.desktop-menu .main-menu li.menu-item-has-children > a::after {
    content: "\f0d7";                /* FontAwesome down arrow */
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.7em;
    line-height: 1;
}

/* Submenu container: absolute, hidden by default */
.desktop-menu .main-menu li ul.sub-menu {
    display: block;               /* Keep in DOM */
    position: absolute;           /* Float above content */
    top: 100%;                    /* Below parent */
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;                   /* Hidden */
    visibility: hidden;           /* Hidden */
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
    padding: 0;
}

/* Submenu items */
.desktop-menu .main-menu li ul.sub-menu li {
    margin: 0;
}

/* Submenu links */
.desktop-menu .main-menu li ul.sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: #000;
    white-space: nowrap;
}



/* Hover background for submenu links */
.desktop-menu .main-menu li ul.sub-menu li a:hover {
    background: #d91a2a;
    color: #fff;
}

/* Responsive: hide desktop menu below 1060px */
@media screen and (max-width: 1059px) {
    .desktop-menu {
        display: none !important;
    }
}

/* Responsive: hide mobile menu above 1060px */
@media screen and (min-width: 1060px) {
    .burger-icon, #mobilebook {
        display: none !important;
    }




    /* ===== DEFAULT: Flyout RIGHT ===== */


/* Show nested submenu */
.desktop-menu .main-menu li ul.sub-menu li:hover > ul.sub-menu {
    display: block;
}

/* ===== SMART EDGE DETECTION (FLYOUT LEFT) ===== */
/* Add this class to your wrapper, or use nth-last-child logic below */

/* For the last 2 menu items in any submenu, fly LEFT instead */
.desktop-menu .main-menu li ul.sub-menu li:nth-last-child(-n + 2) > ul.sub-menu {
    left: auto;
    right: 100%;             /* fly LEFT */
}

/* Highlight hover states */
.desktop-menu .main-menu li ul.sub-menu li > a:hover {
    background: #333;
    color: #fff;
}

/* --- BASE: Nested submenu always flies out (right by default) --- */
.desktop-menu .main-menu li ul.sub-menu li ul.sub-menu {
    position: absolute;
    top: 0;
    left: 100%;      /* fly right */
    background: #fff;
    min-width: 180px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: none;
    z-index: 99999;
}

/* Show third-level submenu */
.desktop-menu .main-menu li ul.sub-menu li:hover > ul.sub-menu {
    display: block;
}

/* --- AUTO LEFT on last 2 items --- */
.desktop-menu .main-menu li ul.sub-menu li:nth-last-child(-n + 2) > ul.sub-menu {
    left: auto !important;
    right: 100% !important;   /* fly left */
}

/* --- OPTIONAL: flip arrow when flying left --- */
.desktop-menu .main-menu li ul.sub-menu li:nth-last-child(-n + 2).menu-item-has-children > a::after {
    content: "\f0d9" !important; /* ← left arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.mainsub-menu {
overflow: inherit;
}

.mainsub-menu.active {
  padding-right: 50px;
}


/* Nested child submenu links */

  .mainsub-menu li ul.mainsub-menu li > a {
    padding: 5px 25px 5px 0px !important;
  }


  /* Nested child submenu (2nd level) fly left */
  .mainsub-menu li ul.mainsub-menu {
    left: auto;      /* unset left */
    right: 100%;     /* fly left */
  }

  /* Optional: flip arrow for left-flying submenu */
  .mainsub-menu li ul.mainsub-menu li.menu-item-has-children > a::after {
    content: "\f0d9"; /* FontAwesome left arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
  }




}





        .header-image-container {
    position: relative;
    width: 100%;
    /* height: 350px; /* Adjust as needed */
}

/*.header-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}*/

    
 
/* Default header — transparent */
.top-strip {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    transition: background 0.35s ease, padding 0.3s ease, opacity 0.3s ease;
    padding: 25px 0;
    opacity: 1;
}

/* Animation class applied on scroll */
.top-strip.scrolled {
    background: linear-gradient(to bottom, #fff, #fff);
    padding: 10px 0;

    animation: fadeSlideDown 0.45s ease forwards;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* Fade-in + slide-down animation */
@keyframes fadeSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}