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

html,
body {
  /* overflow-x: hidden; */
  font-family: 'Lato', 'Arial', sans-serif;
  /* height: 100%; */
  margin: 0;
  /* background-color: #fff; */
  color: #374151;
  /* position: relative; */
  /* overflow-x: hidden; */
  /* -webkit-user-select: none; */
  /* Safari */
  /* -moz-user-select: none; */
  /* Firefox */
  /* -ms-user-select: none; */
  /* IE 10+ */
  /* user-select: none; */
  /* Standard */
  /* cursor: crosshair; */
}

/* * {
  outline: 1px solid rgba(255,0,0,0.3);
} */

u,
a,
a:visited,
a:active,
a:hover,
a:focus {
  color: inherit !important;
  text-decoration: none !important;
  background: none !important;
  outline: none !important;
}

.wrapper {
  /* height: 500vh; */
  position: relative;
  z-index: 15;
  background-color: #F7F7F7;
}


.wrapper-lily {
  height: 500vh;
  position: relative;
  z-index: 15;
}

.section {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: white;
  position: absolute;
  /* normal flow */
  z-index: 1;
}

.subsection {
  /* all: revert; */
  z-index: 5;
  height: 100vh;
  background: transparent;
  position: absolute;
  top: 100vh;
  left: 70vw;
  display: flex;
  /* use flexbox */
  justify-content: flex-end;
  /* push content to the right */
  width: 30vw;
}

/* Background images */
.section img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

#section1 {
  z-index: 3;
}

#section2 {
  z-index: 1;
  position: fixed
}

#section3 {
  z-index: 3;
  top: 200vh
}

#section4 {
  z-index: 0;
  position: fixed
}

#section5 {
  z-index: 3;
  top: 400vh
}

/* Scroll reveal effect for wide screens */
/* @media (min-width: 768px) {
  .section {
    transition: transform 0.5s ease;
  }
} */

/* Fullscreen stacking for narrow screens */
/* @media (max-width: 767px) {
  .section img {
    transition: none;
  }
} */


/* ========================= */
/* MOBILE HAMBURGER STYLES  */
/* ========================= */

/* Hide hamburger on desktop */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 2000;
  min-width: 30px;
  /* above nav */
  /* position: absolute;
  top: 10px;
  left: 20px;
  flex: 1; */
}

.hamburger label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 30px;
  cursor: pointer;
}

.open-icon {
  display: inline !important;
}

.close-icon {
  display: none !important;
}

/* When checkbox is checked, swap icons */
#menu-toggle:checked+.menu-btn .open-icon {
  display: none !important;
}

#menu-toggle:checked+.menu-btn .close-icon {
  display: inline !important;
}

/*

TOGGLE - MENU classes

*/

#menu.white-text {
  color: #fff;
  background-color: transparent;
}

#menu.white-background {
  background-color: white;
  color: #254297;
}

#menu.bottom-border {
  /* border-bottom: 1px solid #ccc; */
}


.footer-inner-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Josefin Sans";
}

.footer-inner-wrapper .footer-logo {
  display: flex;
  align-items: center;
  color: #254297;
  margin-bottom: 50px;
}

.footer-inner-wrapper .footer-logo>a>div:nth-child(1) {
  text-transform: uppercase;
  font-size: 160%;
  letter-spacing: 0.17em;
  line-height: 1.2;
  font-weight: 600;
}

.footer-inner-wrapper .footer-logo>a>div:nth-child(2) {
  text-transform: uppercase;
  font-size: 50%;
  letter-spacing: 0.17em;
  line-height: 1;
}

.footer-inner-wrapper .footer-logo>a {
  text-align: center;
}

.footer-inner-wrapper .social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* THIS is what allows wrapping */
  gap: 10px;
  /* optional spacing between items */
  margin-bottom: 25px;

}

.footer-inner-wrapper .menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* THIS is what allows wrapping */
  gap: 5px;
  /* optional spacing between items */
  font-size: 0.7em;

}

.footer-inner-wrapper .menu.menu.menu-one {
  margin-bottom: 3px;
}

.footer-inner-wrapper .menu.menu.menu-two {
  margin-bottom: 10px;
}

.footer-inner-wrapper .menu.menu-one a {
  color: #3957AF !important;
}

.footer-inner-wrapper .menu.menu-two a {
  color: #4A4A50;
}

.footer-inner-wrapper .menu a {
  /* padding: 3px 0px 6px 0px; */

  white-space: nowrap;
  /* optional: prevents text from wrapping inside items */
}

.footer-inner-wrapper .copyright {
  color: #5C72B2;
  font-size: 0.7em;
}

/* Desktop nav */
@media (min-width: 1024px) {


  .home-page-logo {
    padding-left: 95px;
    display: flex;
    align-items: center;
  }

  .home-page-logo>a>div:nth-child(1) {
    text-transform: uppercase;
    font-size: 160%;
    letter-spacing: 0.17em;
    line-height: 1.2;
    font-weight: 500;
  }

  .home-page-logo>a>div:nth-child(2) {
    text-transform: uppercase;
    font-size: 50%;
    letter-spacing: 0.17em;
    line-height: 1;
  }

  .home-page-logo>a {
    text-align: center;
  }

  #goc-bar {
    flex: 5;
    /* justify-content: left; */
  }

  /* #goc-bound {
     width: 100%; 
  } */

  /* --- Global Menu (Parent Container) --- */
  #goc-desktop-global {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    margin-right: 200px;
    background: transparent;
    height: 60px;
    z-index: 10;
    /* width: 100%; */
    /* To make the 100vw calc work, you might want this UL centered too if it doesn't span full width naturally */
    /* max-width: XXXpx; margin: auto; */
  }

  #goc-desktop-global>li {
    /* KEY: Positioning context for the dropdown */
    padding: 30px 28px;
    min-width: 60px;
    /* position: relative;  */
    display: flex;
    align-items: center;
  }

  #goc-desktop-global>li>a {
    font-size: 0.8em;
    width: 100%;
    white-space: nowrap;
  }

  /* ... (Keep your link and underline styles as they are fine) ... */

  /* --- Dropdown Container (The Full-Width Fix & Initial Hidden State) --- */
  .bar-dropdown-container {
    position: absolute;
    top: -30px;
    padding-top: 50px !important;
    left: 50%;
    /* Start the left edge in the middle of the parent LI */
    background-color: #fff;
    color: #254297;
    list-style: none;
    padding: 0;
    min-width: 150px;
    width: 100vw;
    /* Stretch to full viewport width */
    z-index: -100;
    /* transform: translateY(-30px);  */
    visibility: visible;
    opacity: 0;

    /* COMBINED & FIXED TRANSFORM: 
       TranslateX(-50%) centers the 100vw element.
       TranslateY(200px) sets the hidden starting vertical position. */

    transform: translateX(-50%) translateY(0px);

    /* Define transitions for the hidden state */
    /* The visibility transition should delay appearance, but hide immediately */
    transition: opacity 1s ease, transform 1s ease, visibility 0s 1s;
    pointer-events: none;
    /* Crucial: Prevents clicking/hovering on the hidden area */
  }

  /* --- Dropdown Active/Hover State (How it appears) --- */
  /* Select the container when the PARENT LI is hovered */
  #goc-desktop-global>li:hover .bar-dropdown-container {
    opacity: 1;
    visibility: visible;

    /* Return to natural position: translateY(0) while maintaining centering (translateX(-50%)) */
    transform: translateX(-50%) translateY(30px);

    /* Ensure visibility is immediate when changing states */
    transition-delay: 0.2s;
    pointer-events: auto;
    /* background-color: rgba(255, 255, 255, 1);
    mix-blend-mode: screen !important; */
    /* border-top: 1px solid #777; */
    /* Re-enable interactivity when open */
  }

    /* Add a rule for the body to prevent hover effects on page load */
body.initial-load #goc-desktop-global>li:hover .bar-dropdown-container  {
    opacity: 0; /* Hide the dropdown on initial load */
    visibility: hidden; /* Ensure it's hidden */
    transform: translateX(-50%) translateY(0); /* Prevent movement */
    transition-delay: 0s; /* Disable delay initially */
    pointer-events: none; /* Disable interaction */
}



  /* --- Dropdown Content (Inner styles, no position/transform needed here) --- */
  .bar-dropdown-content {
    /* No positioning needed here, it flows normally within the full-width container */
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .bar-dropdown-content li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
  }

  #goc-desktop-global>li>a:hover,
  .bar-dropdown-content li a:hover {
    background-color: #eee;
  }

    .bar-dropdown-content li.non-list-content > img {
      width: 100%;
      height:auto;
  }

  /* Hamburger button */
  /* .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
  }

  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 2px;
  } */

}

/* Mobile nav */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
    padding-left: 5px;
  }




  /* #menu {
    padding: 10px;
  } */

  .home-page-logo {
    padding-left: 30px;
    display: flex;
    align-items: center;
    height: 50px;
  }

  .home-page-logo>a {
    text-align: center;
  }

  .home-page-logo>a>div:nth-child(1) {
    text-transform: uppercase;
    font-size: 140%;
    letter-spacing: 0.15em;
    line-height: 1.2;
    font-weight: 600;
  }

  .home-page-logo>a>div:nth-child(2) {
    text-transform: uppercase;
    font-size: 50%;
    letter-spacing: 0.15em;
    line-height: 1;
  }

  #goc-desktop-global {
    flex-direction: column;
    position: fixed;
    display: none;
    top: -20px;
    right: 0;
    height: 100vh;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    color: #254297;
    padding-top: 30px;
    padding-right: 2rem;
    margin-top: 70px;
    /* transform: translateX(100%); */
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1999;

    max-height: 100vh;
    overflow-y: scroll;
    list-style: none;
    font-size: smaller;
    cursor: crosshair;
  }

  #goc-desktop-global.active {
    transform: translateX(0);
    display: block;
  }

  #goc-desktop-global>li {
    margin: 0;
    width: 100%;
    min-height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #ddd;
    font-size: larger;
    position: relative
  }

  #goc-desktop-global>li>a {
    font-size: 0.9em;
  }


  #goc-desktop-global>li::before {
    content: "◁";
    /* left-pointing triangle */
    position: absolute;
    right: 0;
    /* top: 50%; */
    top: 31px;
    transform: translateY(-50%) rotate(0deg);
    /* start pointing left */
    transition: transform 0.2s ease;
  }


  /* 5. Open state: show submenu and rotate caret */
  #goc-desktop-global>li.open>ul {
    display: block;
    /* show submenu */
  }

  #goc-desktop-global>li.open::before {
    transform: translateY(-50%) rotate(-90deg);
    /* rotate caret */
  }

  #goc-desktop-global>li>a {
    padding: 15px 0px;
    /* font-size: 3pt !important; */
    display: block;
  }

  .bar-dropdown-container ul.bar-dropdown-content {
    display: none;
    position: static;
    padding-left: 0;
    background: transparent;
  }

  .bar-dropdown.open .bar-dropdown-container ul.bar-dropdown-content {
    list-style: none;
    display: block;
    color: #6B7280;
    font-size: small;
    margin: 0 0 10px 0;
  }

  .bar-dropdown.open .bar-dropdown-container ul.bar-dropdown-content>li {
    /* padding:2px 0; */
    line-height: 20px;
    cursor: pointer;
  }

  .bar-dropdown.open .bar-dropdown-container ul.bar-dropdown-content>li.non-list-content {
    /* padding:2px 0; */
    display: none;
  }

  .bar-dropdown.open .bar-dropdown-container ul.bar-dropdown-content>li>a {
    letter-spacing: 0.09em;
    color: #226AB2 !important;
    font-weight: 500;
  }

  .bar-dropdown.open .bar-dropdown-container ul.bar-dropdown-content>li>ul {
    list-style: circle;
    padding-left: 15px;
    margin-bottom: 10px;
    /* line-height: 6px; */
    /* text-transform: none; */

  }

}

@media (min-width: 1024px) {
  .bar-dropdown .bar-dropdown-container ul.bar-dropdown-content {
    list-style: none;
    /* display: block; */
    /* color: #6B7280; */
    color: #606065;
    font-size: 0.7em;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: row;
    font-family: "Lato";
    font-weight: 300;
  }

  .bar-dropdown .bar-dropdown-container ul.bar-dropdown-content>li {
    /* padding:2px 0; */
    line-height: 20px;
    cursor: pointer;
    flex: 1;
  }

  .bar-dropdown .bar-dropdown-container ul.bar-dropdown-content>li>a {
    letter-spacing: 0.09em;
    padding-left: 0px;
  }


  .bar-dropdown .bar-dropdown-container ul.bar-dropdown-content>li>ul {
    list-style: none;
    padding-left: 0;
    line-height: normal;
    text-transform: none;

  }

  .bar-dropdown .bar-dropdown-container ul.bar-dropdown-content>li>ul>li>a {
    padding-left: 0px !important;
    padding-bottom: 5px !important;

  }
}

@media (min-width: 1024px) {
  /* #menu {
    padding: 15px;
  } */



  /* #menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, white 0%, rgba(255,255,255,0) 100%);
    transform: translateY(100%); 
    transition: transform 0.5s ease;
    pointer-events: none;
}

#menu:hover::before {
    transform: translateY(0);
} */

}

/* 
This is a semi-workaround styling (technical debt from html structure)
*/
#menu.top-bar-visible {
  top: 30px;
}

#menu {
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
  display: flex;
  position: fixed;
  z-index: 10000;
  width: 100vw;
  top: 0;
  transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out;

  /* border: 5px solid rgba(0, 0, 255, 0.5); */
}

/* Very Top Bar */
#very-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
  background-color: #fff;
  color: #4C545F;
  /* color: #fff; */
  font-size: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 28px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 10000;
  border-bottom: 2px inset #E5E7EB;
  /* above main nav */
  /* overflow: hidden;  */
  animation: light-background 0.5s infinite alternate;
}

#very-top-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

#very-top-bar .top-bar-content {
  /* max-width: 1200px; */
  width: 100vw;
  padding: 0 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;

  white-space: nowrap;
  flex-shrink: 0;
}

/* 3. The new wrapper for BOTH content chunks */
#very-top-bar .ticker-track {
  display: flex;
  height: 100%;
  /* width: 200vw;  */
  /* The animation goes here, moving the track across the screen */
  animation: marquee 45s linear infinite;
  /* Adjust time for speed */
}

/* Default state: animation is running for all children when parent is hovered */
#very-top-bar:hover .ticker-track {
  animation-play-state: running;
  /* Or whatever the default is */
}

/* Pause the animation for all children when the parent is hovered */
#very-top-bar:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(-55vw);
  }

  /* End back at the original position (0) */
  100% {
    transform: translateX(45vw);
  }
}

#very-top-bar .top-bar-content > div {
  color: #fff;
  text-decoration: underline;
  animation: dark-background 3s infinite alternate;
  z-index: 100000000;
  padding: 0 10px;
  height: 100%;
  border-radius: 2%;
  display: flex;
  align-items: center;
}


#very-top-bar .top-bar-content > div >a{
  
}

/* Flashing dark background for <a> tag */
@keyframes dark-background {
  0% {
    background-color: rgba(139, 0, 0, 0.7);
    /* Dark Red */
  }

  14% {
    background-color: rgba(255, 69, 0, 0.7);
    /* Dark Orange */
  }

  28% {
    background-color: rgba(255, 215, 0, 0.7);
    /* Dark Yellow */
  }

  42% {
    background-color: rgba(0, 128, 0, 0.7);
    /* Dark Green */
  }

  57% {
    background-color: rgba(0, 139, 139, 0.7);
    /* Dark Cyan */
  }

  71% {
    background-color: rgba(0, 0, 139, 0.7);
    /* Dark Blue */
  }

  85% {
    background-color: rgba(75, 0, 130, 0.7);
    /* Dark Indigo */
  }

  100% {
    background-color: rgba(148, 0, 211, 0.7);
    /* Dark Violet */
  }
}

/* Flashing light background for containing <div> (container) */
@keyframes light-background {
  0% {
    background-color: rgba(255, 99, 71, 0.1);
    /* Light Red */
  }

  14% {
    background-color: rgba(255, 165, 0, 0.1);
    /* Light Orange */
  }

  28% {
    background-color: rgba(255, 255, 102, 0.1);
    /* Light Yellow */
  }

  42% {
    background-color: rgba(144, 238, 144, 0.1);
    /* Light Green */
  }

  57% {
    background-color: rgba(0, 255, 255, 0.1);
    /* Light Cyan */
  }

  71% {
    background-color: rgba(173, 216, 230, 0.1);
    /* Light Blue */
  }

  85% {
    background-color: rgba(75, 0, 130, 0.1);
    /* Light Indigo */
  }

  100% {
    background-color: rgba(238, 130, 238, 0.);
    /* Light Violet */
  }



  
}



/* Only show on wide screens */
@media (max-width: 1024px) {
  #very-top-bar {
    display: none;
  }

  #everything-but-top-bar {
    padding-top: 50px !important;
  }

}

#everything-but-top-bar {
  padding-top: 50 !important;
}

/* Everything but top bar */
#everything-but-top-bar.top-bar-visible {
  padding-top: 30px;
  /* same as top bar height */
}

footer {
  z-index: 200000;
  height: 300px;
}





.title {
  font-family: "Constantia";
  font-style: italic;
  color: #EB897C;
  text-align: center;
}

.full-sized-image {
  width: 100%;
  height: auto;
}

.full-sized-image img {
        width: 100%;
        height: auto;
    }

.subtitle {
  font-family: "Josefin Sans";
  text-transform: uppercase;
  text-align: center;
  color: #48484E;
  letter-spacing: 0.07em;
  font-weight: 200;
}

.description {
  font-family: "Lato";
  text-align: center;
  color: #54545A;
  font-weight: 300;
}

.description.italics {
  font-style: italic;
}



.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}


.josefin-sans-menu> {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}


.libre-caslon-text-regular {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: normal;
}

.libre-caslon-text-bold {
  font-family: "Libre Caslon Text", serif;
  font-weight: 700;
  font-style: normal;
}

.libre-caslon-text-regular-italic {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: italic;
}