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{
        text-align: center;
    }

}


.edvtalksTitle{
    
    transform: translateY(8rem);
    font-size: 2rem;
    font-weight: bold;
    color: rgba(42,72,100);
    text-align: center;
}
.edvtalksTitleRedBar {
    background-color: rgb(165, 28, 28);
    position: absolute;
    transform: translateY(8.5rem);
    left: 47.5%;
    height: 3px;
    width: 5%;
    transition: width 0.3s ease;
    margin-top: 0;
    margin-bottom: 15px;
}
.edvtalksIntro{
   top: 11rem;
   position: absolute;
   letter-spacing: 0.5px;
   padding: 1rem;
   align-self: auto;
   left: 12%;
}
.edvtalksCardContainer{
    position: absolute;
    top: 15rem;
    padding: 2rem;
    margin: 1rem;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.edvtalksCard{
    width: 75%;
    background-color: white;
    height: 120px;
    /*transform: translateX(20px);*/
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 1rem;
}
.edvtalksCard:hover{
    transform: translateY(-5px);
}
.edvtalksimg{
    height: 100%;
    border-radius: 7px;
    border: 1px solid black;
    width: 15%;
    margin-right: 20px;
}
.edvtalksCardTitle{
    color: rgb(42,72,100);
    font-weight: 600;
    text-align: left;
    font-size: 1.4rem;
    
}
.edvtalksCardLink a{
    font-size: 1.2rem;
    text-decoration: none;
}
.edvtalksCardLink a:hover{
    color: black;
}
.edvtalksCardContent{
    padding: 10px;
}

@media (max-width: 768px) {
    .navBar {
        flex-direction: column;
        height: auto;
        padding: 10px;
        position: static;
    }
    .navUL {
        flex-direction: column;
        gap: 10px;
    }
    .edvtalksTitle {
        font-size: 1.8rem;
    }
    .edvtalksTitleRedBar {
        left: 45%;
        width: 10%;
    }
    .edvtalksIntro {
        left: 5%;
        font-size: 1.1rem;
        padding: 0.8rem;
    }
    .edvtalksCard {
        width: 90%;
        flex-direction: column;
        height: auto;
        padding: 1rem;
        text-align: center;
    }
    .edvtalksimg {
        width: 40%;
        height: auto;
    }
    .edvtalksCardContent {
        padding: 5px;
        text-align: center;
    }
    .edvtalksCardTitle {
        font-size: 1.2rem;
    }
    .edvtalksCardLink a {
        font-size: 1rem;
    }
    .edvtalksCardContainer{
        width: 85%;
        padding: 0;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .edvtalksTitle {
        font-size: 1.5rem;
    }
    .edvtalksTitleRedBar {
        left: 42%;
        width: 15%;
    }
    .edvtalksIntro {
        font-size: 0.85rem;
        text-align: center;
        left: 0;
        width: 100%;
    }
    .edvtalksCard {
        width: 95%;
    }
    .edvtalksimg {
        width: 50%;
    }
    .edvtalksCardTitle {
        font-size: 1rem;
    }
    .edvtalksCardLink a {
        font-size: 0.8rem;
    }
}
.edvtalksCardContainer{
    padding-top: 17rem;
}
doc.pictureSlide#pictureSlide {
    scroll-margin-top: 7rem !important;
}
