html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0; 
    background-color: rgb(248,236,231);
}
.logo{
    padding-left: 0;
    margin: 0;
}

/* Target the elements you want to scroll to */
#services, #founders, #contact {
    scroll-margin-top: 7rem; /* Adjust this value to match your navbar height + desired offset */
  }

#pictureSlide{
    scroll-margin-top: 7rem  !important;
}
#testimonials{
    scroll-margin-top: 5rem;
}


.navBar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0 2rem;
    height: 6rem;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;   
}

.logo img{
    padding: 0;
    margin: 0;
    height: 100px;
}


.navUL {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}


.navListItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 8rem; 
    color: #000000; 
    position: relative; 
    transition: color 0.3s ease;
    font-weight: lighter;
    text-align: center;
}


.navULtext {
    font-size: 1rem;
    text-align: center;
}
.navULtext a{
    text-decoration: none;
    color: #000000; 
}


.navULredbar {
    background-color: rgb(136, 24, 24); 
    position: absolute;
    bottom: -5px; 
    left: 50%; 
    transform: translateX(-50%);
    height: 3px;
    width: 0; 
    transition: width 0.3s ease; 
}

.navListItem:hover {
    color: rgb(0, 0, 0);
    font-weight: normal;
}

.navListItem:hover .navULredbar {
    width: 3rem; 
}
.navListItem:hover .navULtext a {
    color: black; 
    cursor: pointer;
}
.navBar {
    transition: background-color 0.3s ease-in-out;
}

.navBar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navListItem.dropdown {
    position: relative;
  }
  
  /* Dropdown menu styling */
  .dropdown-menu {
    display: none; /* Hide by default */
    position: absolute;
    top: 120%; /* Position directly below the parent */
    left: 0;
    background-color: white;
    margin: 0;
    padding: 0;
    list-style: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 1000;

    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  /* Dropdown menu items */
  .dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
  }
  
  /* Change background on hover */
  .dropdown-menu li a:hover {
    background-color: #f2f2f2;
  }

  .navListItem.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  
  /* Show the dropdown when hovering over the parent */
  .navListItem.dropdown:hover .dropdown-menu {
    display: block;
  }

  @media (max-width: 768px) {
    .navBar {
      flex-direction: column;
      height: auto;
      padding: 10px;
      position: static;
    }
    .navUL {
      flex-direction: column;
      gap: 10px;
    }
    .container{
        transform: translateY(9rem);
        text-align: center;
    }
}

.container{
    position: absolute;
    top: 7rem;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contactForm form{
    display: flex;
    flex-direction: column;
}
.contactForm{
    background-color:rgb(173,42, 36);
    margin-right: 2px;
    padding: 0rem 2rem;
    border-radius: 10px;
    width: 50%;
    
}

.contactFormTitle{
    font-weight: bold;
    color: rgb(104, 177, 245);
    font-size: 1.7rem;
    text-align: center;
}
.contactForm form input{
    width: 36%;
    margin: 10px;
    font-size: 0.9rem;
    border-radius: 50px;
    outline: none;
    background-color: rgba(252, 240, 240, 0.836);
    border: 1px solid var(--button-border);
    color: rgb(99, 98, 98);
    font-weight: lighter;
    height: 30px;
    appearance: none;
    transition: all;
    transition-duration: 0.5s;
    padding: 10px;
    align-self: center;
}
.contactForm form select{
    width: 40%;
    margin: 10px;
    font-size: 0.9rem;
    border-radius: 50px;
    outline: none;
    background-color: rgba(252, 240, 240, 0.836);
    border: 1px solid var(--button-border);
    color: rgb(99, 98, 98);
    font-weight: lighter;
    height: 49px;
    appearance: none;
    transition: all;
    transition-duration: 0.5s;
    padding: 10px;
    align-self: center;
}
.contactForm form button{
    margin: 30px;
    font-size: 0.9rem;
    border-radius: 50px;
    outline: none;
    background-color: rgba(252, 240, 240, 0.836);
    border: 1px solid var(--button-border);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
    color: rgb(99, 98, 98);
    font-weight: lighter;
    height: 40px;
    appearance: none;
    transition: all;
    transition-duration: 0.5s;
    width: 20%;
    align-self: center;
    cursor: pointer;
}
.contactForm form button:hover{
    background-color: rgb(88,22,22);
    color: white;
    border: 1px solid rgb(88,22,22);
}
.contactUsColumn{
    width: 50%;
    padding: 20px;
}
.contactUsTitle{
    color: rgba(173, 42, 36);
    font-weight: bold;
    font-size: 1.8rem;
    padding: 0;
}
.contactUsContent{
    letter-spacing: 1px;
    color: rgb(0,0,0);
    font-size: 1.3rem;
}
@media (max-width:768px){
    .contactUsContent{
        letter-spacing: 0;
        line-height: normal;
    }
    .container{
        display: flex;
        flex-direction: column;
    }
    .contactForm form button{
        width: 40%;
    }
}

