
:root {
  /* Prefer Josefin Sans; fall back to common sans-serif system fonts */
  --app-font: "Josefin Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
              Arial, "Noto Sans", "Liberation Sans", "DejaVu Sans", "Cantarell",
              "Ubuntu", sans-serif;
}

html, body {
  font-family: var(--app-font);
  /* Optional: smooth font rendering across platforms */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

  
  
  
  
  
  
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
 
  
  /* styles.css */
.navbar {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 200ms ease, transform 200ms ease;
}

.navbar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

  
  
  
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: transparent;
    color: #fff;
    z-index: 1000;
  }
  .navbar .logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.navbar .logo:hover {
  transform: translateX(5px);
}
.navbar .logo img {
  height: 40px;
  margin-right: 10px;
  margin-top: 25px;
}
.navbar .logo span {
  padding-top: 25px;
  font-size: 1.6rem;
  font-weight: 100;
  letter-spacing: 5px;
  font-weight: 300;
}
  .hamburger {
    
    position: relative;
    width: 60px;
    height: 35px;
    top: 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
    transition: transform 0.3s ease;
  }

  .hamburger:hover {
    transform: translateX(-5px);
  }

  .hamburger div {
    width: 80%;
    height: 2px;
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .hamburger div.middle {
    width: 60%;
    margin-left: 20%;
  }

      @media (max-width: 768px) {


    .navbar {
      padding: 7px;  
    }

    .navbar .logo span {
      font-size: 0.8rem;
      
    }

    .dropdown-menu a {
      font-size: 1rem;
    }

    .hamburger {
      width: 25px;
      height: 25px;
      margin-right: 15px;
    }
  }

:root {
  --submenu-max-height: 500px;      /* big enough to show all links */
  --submenu-duration: 0.3s;
  --submenu-ease: ease;
  --bar-width: 350px;
}

.dropdown-menu .services-submenu::after {
  content: none !important;
}

  .dropdown-menu {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 5rem;
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    padding-top: 200px;
    box-sizing: border-box;
  }

  .dropdown-menu.active {
    right: 0;
  }

  .dropdown-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0;
    padding: 1.9rem 0;
    position: relative;
    transition: color 0.3s;
    padding-left: 1rem;
    font-weight: 500;
    letter-spacing: 4px;
  }

/* mobile overrides */
@media (max-width: 767.98px) {
  .dropdown-menu {
    /* span the entire viewport */
    left: 0;
    right: 0;
    width: auto;       /* override the 500px */
    height: 100%;
    
    /* your top/bottom can stay the same */
    padding-left: 2.5rem; /* equal 2rem padding on left + right */
    padding-right: 2rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
    
    /* for hiding/showing, you can move it off-screen by 100% */
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .dropdown-menu.active {
    transform: translateX(0);
  }

}

  .dropdown-menu .live-location {
    margin-top: 3rem;
    background-color: #DDDDDD;
    
    color: #fff;
    padding: 1.3rem 3rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
   
    font-weight: 500;
    letter-spacing: 4px;
    color: black;
    font-size: 16px;
  }

  .dropdown-menu .live-location:hover {
    background-color: #fff;
  }

  .dropdown-menu .close-btn {
    position: absolute;
    top: 1rem;
    right: 2rem;
    width: 35px;
    height: 35px;
    background: none;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .dropdown-menu .close-btn div {
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    transform: rotate(45deg);
    
  }

  .dropdown-menu .close-btn div:last-child {
    transform: rotate(-45deg);
  }



/* ─── Services wrapper ─── */
.dropdown-menu .services-item {
  width: 100%;
}

/* ─── Toggle (Firm, Services, Personell) ─── */
.dropdown-menu .services-toggle {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  
  cursor: pointer;
  font-size: 19px;
  letter-spacing: 4px;
  padding: 1.7rem 1rem; /* vertical | horizontal */
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color 0.3s ease;
}

/* hover: text → grey */
.dropdown-menu .services-toggle:hover {
  color: #228645;
}

/* ─── 1) Bar above the very first toggle (Firm) ─── */
.dropdown-menu .services-item:first-of-type .services-toggle {
  border-top: 1px solid rgba(255,255,255,0.2);
}


  .hero h1 {
font-size: 1.2rem;
font-weight: 400;
letter-spacing: 5px;
position: relative !important;
padding-bottom: 25px !important;
margin-top: -500px;
}
  .typed-text {
position: absolute;
top: 100%; /* Position the animated words below the "We are the" text */
left: 50%;
transform: translateX(-50%); /* Center the animated text horizontally */
white-space: nowrap; /* Prevents the text from breaking into two lines */
font-size: 70px; /* Adjust as needed for size */
letter-spacing: 17px;
word-wrap: break-word;
font-weight: 300;
}

@media (max-width: 768px) {
  .typed-text {
      font-size: 1.5rem;
      word-wrap: break-word; /* Allows words to break */
      overflow-wrap: break-word; /* Ensures proper line breaking */
      white-space: normal; /* Enables text wrapping */
  }

  .hero h1{
  font-size: 1rem;
  text-align: center;  
  justify-content: center;  
  max-width: 100%;
  }
}

.typed-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: typing 1s ease-in-out forwards;
}

@keyframes typing {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}





    .extra-text {
      position: fixed;
      margin-top: 0; /* Removed margin-top to eliminate gap */
      padding: 40px 0; /* Adjust padding if needed */
      margin-top: 100px;
      background: #121518; /* Black background */
      color: #ffffff;
      text-align: center; /* Center-align all elements */
      display: flex; /* Use Flexbox */
      flex-direction: column; /* Arrange children vertically */
      justify-content: center; /* Center content vertically */
      height: 400px; /* Set a fixed height to maintain the black area */
    }
    
    .extra-text h3 {
      
      font-weight: 400;
      font-style: normal;
      font-size: 30px;
      color: #a8a8a8;
      margin-bottom: 10px; /* Adjust bottom margin */
      letter-spacing: 3px;
      
    }

    @media (min-width: 768px) {
      .extra-text h3 {
        margin-top: 60px;
      }
    } 
    /* Media Query */
    @media (max-width: 768px) {
      .extra-text h3 {
        font-size: 27px;
        font-weight: 700;
      }
      .extra-text {
        padding: 0;
      }
    }
    
    .extra-text p {
      font-size: 17px;
      
      color: #a8a8a8;
      margin-bottom: 3px; /* Adjust bottom margin */
      letter-spacing: 2px;
    }
    
    .extra-text p:last-child {
      margin-bottom: 30px !important; /* Adjust bottom margin for the last paragraph */
    }





    .wrapper {
position: relative;
width: 100%;
height: 100%; /* Full height */
}

/* Hero Section */
.hero {
position: fixed; /* Stays fixed at the top of the viewport */
top: 0;
left: 0;
width: 100%;
height: 150vh; /* Full 150vh height */
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)), 
         url('img/banner-grain.jpg') no-repeat center center/cover;
color: #fff;
text-align: center;
z-index: 1;

}


/* Extra Text Section */
.extra-text {
position: absolute;
bottom: 0;
width: 100%;
height: 50vh;
background-color: #121518;
color: white;
display: none; /* Hide it initially */
justify-content: center;
align-items: center;
text-align: center;
padding: 20px;
padding-top: 50px;
}

/* Contact Section */
.contact-section {
position: relative;
margin-top: 100vh; /* Starts right after the 100vh of the hero section */
width: 100%;
min-height: 80vh; /* Full height of the viewport */
background-color: #ffffff;
color: #000000;
display: flex;
flex-direction: column;


z-index: 2;

padding-bottom: 0px;

}


/* Transparent space to force scrolling */
.extra-space {
height: 40vh; /* Extra scroll space */
background-color: transparent; /* Transparent background */
}






/* Style the down-arrow icon */
.fas.fa-chevron-down {
  position: absolute;
  top: 62%;         /* Center vertically */
  left: 50%;        /* Center horizontally */
  font-size: 25px;
  color: #fff;
  cursor: pointer;
  z-index: 9999;    /* Ensure it's on top of other elements */
  
  /* Start centered */
  transform: translate(-50%, -50%);
  
  /* Bounce Animation */
  animation: bounce 2s infinite;
}

@media (max-width: 767.98px) {
  .fas.fa-chevron-down {
    top: 56%;
  }
} 



/* Bounce Animation Keyframes */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    /* Stay centered */
    transform: translate(-50%, -50%);
  }
  40% {
    /* Bounce upward by 20px while preserving centering */
    transform: translate(-50%, calc(-50% - 20px));
  }
  60% {
    /* Bounce downward by 10px while preserving centering */
    transform: translate(-50%, calc(-50% - 10px));
  }
}






