@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  background-color: #ffffff;
}

a {
  color: #fff;
}

/* header */
.header {
  background-color: #DDE2E3;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 119px;
  z-index: 9999;
  margin: 0;
  padding: 0;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #525252;
  width: 100%;
  z-index: 9999;
}


/* Logo adjustments */
.header .logo {
  display: block;
  float: left;
  padding: 34.9px 0px 36px 49px;
}

@media only screen and (max-width: 480px) {
  .header .logo {
    display: none;
  }
}

.header .logo-mobile {
  display: block;
  float: left;
}

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

  .header .logo-mobile {
    padding: 45px 0 32px 32px;
  }
}

@media only screen and (min-width: 480px) {
  .header .logo-mobile {
    display: none;
  }
}

/* Top-level menu links*/ 
.header ul li a, /* Target all menu items */
.header li a {/* In case li is used outside ul */
  display: block;
  color: #fff;
  text-align: left;
  margin: 12px 27px; /* Standard margin for top-level links */
  padding: 0; /* Set padding to 0 */
  font-size: calc(7px + 0.4vw);
  letter-spacing: calc(2px + 0.1vw);
  text-transform: uppercase;
  z-index: 9999;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

@media only screen and (max-width: 768px) {
.header ul li a, /* Target all menu items */
.header li a {    /* In case li is used outside ul */
 margin: 12px 12px; /* Standard margin for top-level links */
font-size: calc(9px + 0.4vw);
}
}

/* Add specific padding for links within .header ul li, if needed */
.header ul li a {
  padding: 2px 15px;
}

.header ul li {
  margin: 12px;
  padding: 0;
  list-style: none;
  position: relative;
  border-bottom: 1px solid #212121;
}

.header ul li:last-of-type {
  border-bottom: none; /* Remove the border from the last item */
}


.header li a:hover,
.header .menu-btn:hover {
  font-size: calc(13px + .1vw);
  letter-spacing: calc(2px + 0.2vw);
  color: #aed9df;
}

/* Submenu Styling */
.submenu {
  position: absolute;
  top: 100%; /* Aligns submenu directly below parent */
  left: 109px;
  display: none;
  padding: 0;
  margin: 0;
  background-color: #d0e1e8; /* Lighter background color */
  width: 70%; /* Full width of its parent */
}

@media only screen and (max-width: 768px) {
.submenu {
 left: 57px;
}
}

/* Ensure Submenu Items Do Not Inherit Top Margin */
.submenu li a {
  display: block;
  text-decoration: none;
  font-size: calc(7px + 0.4vw); /* Match font size of top-level links */
  color: #fff; /* Ensure text color matches */
}


.has-submenu:hover .submenu {
  display: block;
  max-height: 200px; /* Adjust as necessary */
  transition: max-height 0.5s ease-in-out;
  background-color: #525252; /* Darker background on hover */
  margin-bottom: 21px; /* Match bottom margin if needed */
}

@media screen and (max-width: 768px) {
  .has-submenu:hover .submenu {
    padding-top: 0px; /* Adjust for mobile view if needed */
  }
	
.submenu li a:hover {
font-size: calc(7px + 0.4vw);
letter-spacing: calc(2px + 0.1vw);
}
  }



/* Menu container beneath header */
.header .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(39% - 1vw);
  height: 100vh; 
  background-color: #232323;
  transform: translateX(-100%); /* Start off-screen */
  transition: transform 0.3s ease; /* Smooth sliding transition */
  z-index: 9997; /* Beneath header */
}

@media only screen and (max-width: 599px) {
.header .menu {
width: 70%;
}
}


.header .menu-btn:checked ~ .menu {
  transform: translateX(0);
}

/* Menu Icon */
.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 47.9px 42px 39px 29px;
  position: relative;
  user-select: none;
}

@media only screen and (max-width: 480px) {
  .header .menu-icon {
    padding: 50px 42px 35px 29px;
  }
}

.header .menu-icon .navicon {
  background: #212121;
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 24px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #212121;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* Toggle menu */
.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 590px;
}

@media (min-width: 599px) {
  .header .menu-btn:checked ~ .menu {
    max-height: 699px;
  }
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* RFP button */
.header .janerubin {
  display: inline-block;
  top: 47px;
 left: 50px;
  position: absolute;
  font-family: 'Oswald';
  font-size: calc(12px + .79vw);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: calc(1.5px + 0.5vw);
  color: #5E6869;
}

/* RFP button */
.header .rfp {
  display: inline-block;
  top: 49px;
  right: 120px;
  position: absolute;
  font-family: 'Oswald';
  font-size: calc(13px + 1vw);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: calc(2px + 0.5vw);
  color: #777;
}

@media screen and (max-width: 480px) {
  .header .janerubin {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .header .rfp {
    display: none;
  }
}