/* =========================================
   ROOT + RESET
========================================= */
:root{
  --red:#85251A;
  --dark-red:#5F1914;
  --dark-gray:#3A3A3A;
  --light-gray:#EEEEEE;
  --gold:#CA9B54;
  --white:#ffffff;
  --black:#111111;
  --font-display:'Georgia',sans-serif;
  --font-body:'tahoma',Arial,sans-serif;
}

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

html{scroll-behavior:smooth;}

body{
  font-family:var(--font-body);
  background:var(--light-gray);
  color:var(--dark-gray);
  line-height:1.7;
}

a{color:inherit;text-decoration:none;}


/* =========================================
   HERO / MAIN IMAGE
========================================= */
#main-img {
  background-image:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url(/images/backgrounds2/8.jpg);
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  height:clamp(30vh,25vw,40vh);
  position:sticky;
  box-shadow:5px 5px 10px #888;
  z-index: -1;
}

.offices h1.max-width {
  font-size: clamp(1.5em, 1.5vw + 1.25rem, 3.5em);
  color: white;
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  margin: 0;
  text-align: center;
  /* position: absolute; */
} 


.contact-card {
  margin-top: 2rem;
  padding: 2rem;
}

.contact-card a {
  font-size: large;
}

.contact-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: .25rem;
}

.contact-role {
    font-size: .78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contact-separator {
    width: 30px;
    height: 2px;
    background: var(--gold);
    margin: .75rem auto;
    opacity: .5;
}

/* =========================================
   UTILITIES
========================================= */
.sectionNew{padding:5rem 2rem; background: var(--white)}
.sectionNewFAQ{padding:5rem 2rem; background: var(--light-gray)}
.containerNew{max-width:1200px;margin:0 auto;}

.section-labelNew{
  font-size:.9rem;font-weight:700;letter-spacing:4px;
  text-transform:uppercase;color:var(--gold);
  margin-bottom:.75rem;
}

.section-titleNew{
  font-family:var(--font-display);
  font-size:30px;
  letter-spacing:3px;
  text-transform:uppercase;
  line-height:1.1;
  padding-bottom: 1.5rem;
}

.section-dividerNew {
  width:60px;height:3px;
  background:rgba(202,155,84,.4);
}

.section-dividerCenter{
  width:60px;height:3px;
  background:rgba(202,155,84,.4);
  margin:auto;
}

.section-textNew{
  font-size:.92rem;
  line-height:1.9;
  color:rgba(58,58,58,.75);
  max-width:1200px;
}


/* =========================================
   REVEAL / ANIMATION
========================================= */
.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible{opacity:1;transform:none;}
.reveal-delay-1{transition-delay:.1s;}
.reveal-delay-2{transition-delay:.2s;}
.reveal-delay-3{transition-delay:.3s;}

.fade-in-only{opacity:0;transition:opacity .8s ease .3s;}
.fade-in-only.visible{opacity:1;}


/* =========================================
   ABOUT / SERVICES
========================================= */
.about{background:var(--white);}
.about-text{
  font-size:1.2rem;
  line-height:1.95;
  color:rgba(58,58,58,.85);
  max-width:1200px;
  margin-top:1.5rem;
}

.service-tile{background:var(--light-gray);padding:1.75rem 1.5rem;border-left:5px solid var(--red);transition:transform .3s,box-shadow .3s;cursor:default}
.service-tile:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(0,0,0,.08)}
.service-tile h3{font-family:var(--font-display);font-size:1.15rem;letter-spacing:2px;text-transform:uppercase;color:var(--dark-gray)}
.service-tile:nth-child(2){border-left-color:var(--dark-red)}
.service-tile:nth-child(3){border-left-color:var(--gold)}
.service-tile:nth-child(4){border-left-color:var(--dark-red)}
.service-tile:nth-child(5){border-left-color:var(--gold)}
.service-tile:nth-child(6){border-left-color:var(--red)}

/* === MISSION === */
.mission{background:var(--dark-red);color:var(--white)}
.mission .section-title{color:var(--white)}
.mission-text{font-size:1.2rem;line-height:2;color:rgba(255,255,255,.9);max-width:1200px;margin-top:1.5rem}

/* =========================================
   GRID / CARDS
========================================= */
.cards-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.75rem;
  padding-top:50px;
}

.card{position:relative;height:340px;}
.card-inner{
  height:100%;
  border-top:3px solid rgba(202,155,84,.45);
  overflow:hidden;
  transition:.55s;
}


/* =========================================
   CONTACT
========================================= */
.contact{
  background:var(--dark-red);
  color:var(--white);
  text-align:center;
  padding:4rem 2rem;
}

.contact-card{
  display:inline-block;
  padding:2rem 3rem;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(202,155,84,.15);
  border-top:3px solid var(--gold);
}

.contact-email:hover{color:var(--gold);}


/* =========================================
   SIDE NAV (OFFICES)
========================================= */
.overlay,
.office-overlay{
  display: block;
  position:absolute;
  top:-75px;
  width:0;
  height:10000vh;
  background:transparent;
  overflow-x: hidden;
  overflow-y: hidden;
  z-index: 8900;
}

.office-overlay.active {
  width: 100%;
}
.offices .office-menu.active {
left:0;
transition-timing-function: cubic-bezier(0.5, -0.25, 0.5, 1.25);
transition-duration: .5s;
visibility: visible;
top: 0;
}
.office-menu{
  background:#EEE;
  padding:2em;
  left:-125%;
  transition:.5s;
  z-index: 11000;
  /* top: 107px; */
  position: fixed;
  height: 100vh;
  /* width: 150px; */
  /* overflow-y: auto; */
}
.office-menu.active{left:0;}

.office-menu a svg {
    width: 40px;
    height: 40px;
    margin-bottom: .5em;
}
.office-menu a{
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom:1em;
  padding:.5em;
  color:var(--dark-red); 
  text-align: center;
  border-radius: 12px;
  width: 100px;
}
.office-menu.active {
  left: 0;
}
.office-menu-icon {
  position: fixed;
  top:unset;
  border-radius: 0;
  background:transparent;
  padding:0;
  margin-top:1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  z-index: 5;
  top: 150px;
  display: none;
}
.office-menu-icon svg{
height:1.5em;
}

.office-menu-icon:hover {
background:transparent;
}

.left {
  /* position:sticky; */
  top:107px;
}

#ls-menu .cls-1{
  fill:var(--dark-red);
}
#ls-menu-icon {
  fill: var(--dark-red);
  background-color: white;
}
#ls-menu a:hover #ls-menu-icon, #ls-menu a:hover .cls-1 {
  fill:white
}

/* LS SPECIFIC */
#ls-menu .office-menu a:hover{
  color:white;
  background:var(--dark-red);
  border-radius: 12px;
}

.menu-container{
  position:relative;
  /* z-index: 1; */
}
.no-touchy #ls-menu .menu-container:hover .ls-hover, #ls-menu .menu-container.active .ls-hover{
  display:block;
  pointer-events: auto;
}
.ls-hover {
  display: none;
  position: absolute;
  left: 100%;
  margin-left: 0;
  z-index: 11000;
  background: var(--ash);
  border: 1px solid rgba(58,58,58,.1);
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  border-radius: 6px;
  /* min-width: 200px; */
  text-align: left;
  cursor: pointer;
  top: 0;
  pointer-events: none;
  padding: 10px;
}
#ls-menu .ls-hover a{
  margin:0;
  text-align:center;
  display:block;
  width:100%;
}
#ls-menu .ls-container:nth-last-of-type(-n+2) .ls-hover{
  top:auto;
  bottom: 0;
}


/* =========================================
   SUB MENU
========================================= */
.mobile-sub {
  display: block;
  position: fixed;
  z-index: 11000;
  background: var(--white, #ffffff);
  border: 1px solid rgba(58,58,58,.1);
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  border-radius: 6px;
  text-align: center;
}

/* .mobile-sub.open{display:block;} */

.mobile-sub a {
  display: block;
  text-align: center;
  /* padding: .6rem 1rem; */
  font-size: .72rem;
  font-weight: 500;
  color: var(--dark-red);
  text-decoration: none;
  transition: color .2s, background .2s;
}
.mobile-sub a:hover {
  color: white;
  background: var(--dark-red, #5F1914);
}

.intern-toggle {
  display: none;
  color: var(--dark-red) !important;
  background-color: var(--light-gray) !important;
  padding: 3px;
  border: 2px solid var(--dark-red) !important;
  cursor: pointer;
  padding: .15rem .35rem;
  font-size: 1.2rem;
  line-height: 1;
  color: white;
}
.intern-toggle:hover {
  color: var(--dark-red, #5F1914);
}
.intern-toggle.open {
  transform: rotate(180deg);
}


/* =========================================
   GLOBAL STRUCTURE
========================================= */
main{margin:0;}
footer{margin:0;}
.right.max-width{text-align:center;}

.ls-welcome{
  font-size:20px;
  padding:4.5em;
}

#main-content .offices {
  grid-column-gap: 0;
}


/* =========================================
   ==========================
   FINAL RESPONSIVE
   ==========================
========================================= */

/* DESKTOP */
@media (min-width:850px){

  .overlay, .office-overlay{display:none;}

  .offices{display:flex;}

  .offices .office-menu, .offices .office-menu.active {
  box-shadow: none;
  left:0;
  align-self: flex-start;
  top:107px;
  position:sticky;
  /* height:100%; */
  min-height: calc(100vh - 107px);
}
  .offices .office-menu-icon {position: sticky;}

  .office-menu-icon{display:none;}

  .mobile-sub{display:none !important; color: white;}
  .intern-toggle{display:none !important;}

  #main-img{
    width:calc(100vw - 106px);
  }
}


/* TABLET */
@media (max-width:1024px){
  .coverflow-card{width:280px;height:380px;}
}

@media (max-width:900px){
  .services-grid{grid-template-columns:1fr 1fr;}
}

/* MOBILE */
@media (max-width:849px){
  /* .ls-hover{display:none !important;} */
  .intern-toggle{display:inline-block;}
  #main-content {width: 100% !important;}
  .office-menu {padding: 10px;}
  .office-menu-icon {margin: 0px; display: inline-block;}
  .office-menu a svg {height: 30px; width: 30px; margin: auto; padding: 2px;}
  .mobile-sub {display: block; background-color: var(--ash); margin-top: 15px;}
  .menu-container {height: auto; margin: auto; padding-bottom: 15px;}
  .menu-container div {font-size: small; line-height: normal;}
  .menu-container a{height: auto; margin: auto; padding: 2px;}

}

/* SMALL MOBILE */
@media (max-width:768px){
  .cards-grid{grid-template-columns:1fr;}
  .card{height:290px;}
  .intern-toggle{display:inline-block;}

}

/* EXTRA SMALL */
@media (max-width:480px){
  .services-grid{grid-template-columns:1fr;}
}


/* HEIGHT */
@media (max-height:700px){
  #ls-menu svg#IT{width:40px;}
}

