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);
    padding-bottom: 20px;
}
.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: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navListItem.dropdown {
    position: relative;
  }
  .navBar, .navBar.scrolled {
    background-color: #ffffff !important; /* Forces white background */
    opacity: 1 !important;                /* Ensures it’s fully opaque */
    backdrop-filter: none !important;     /* Removes any blur effect */
    transition: background-color 0.3s ease-in-out;
}

  /* 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(2.5rem);
        text-align: center;
    }
}

.remainingContent{
    padding-top: 6rem;
}
.title{
    display: flex;
    background-color: rgb(173,42,36);
    height: 400px;
}
.titleText{
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.titleText #titleBigger{
    margin: 0 2rem;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.titleText #titleSmaller{
    color: white;
    font-size: 1.2rem;
    font-weight: normal;
    margin-left: 2rem;
    padding-right: 1rem;
}

.titleImage{
    width: 50%;
}
.titleImage img{
    height: 400px;
    padding: 0;
    margin: 0;
    width: 100%;
}
@media (max-width: 768px){

    .titleImage{
        width: 0%;
    }
    .titleText{
        width: 95%;
    }
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        display: flex;
        
    }
    
    .jobs-section {
        padding: 2rem 1rem;
        display: flex;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    .job-card {
        padding: 1rem;
        width: 65%;
        transform: translateX(-3rem);
    }
    
}
.content{
    padding: 3rem;
    letter-spacing: 1px;
    text-align: justify;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.job-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(173,42,36), rgb(136, 24, 24));
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(173,42,36, 0.15);
    border-color: rgb(173,42,36);
}

.job-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(0, 0, 0);
    margin-bottom: 0.5rem;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #555;
}

.job-icon {
    width: 20px;
    height: 20px;
    color: rgb(173,42,36);
    flex-shrink: 0;
}

.job-detail-text {
    font-size: 1rem;
    font-weight: 500;
}

.job-description {
    color: #666;
    line-height: 1.6;
    margin: 1.5rem 0;
}

.apply-button {
    background: linear-gradient(135deg, rgb(173,42,36), rgb(136, 24, 24));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(173,42,36, 0.3);
}

.no-jobs {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-jobs-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 2rem;
    color: rgb(173,42,36);
}

.no-jobs-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: rgb(173,42,36);
}

.no-jobs-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}
