/* General page styling */
body, html {
    height: 100%; /* Ensure body and HTML take full height */
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
}

/* Nav bar styling */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
}

.nav-bar img {
    width: 50px;
    height: auto;
}

.nav-bar a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 28px;
}

.nav-bar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-bar ul li {
    margin: 0 15px;
}

.nav-bar ul li a:hover {
    color: #ffcc00;
}

/* Home icon (logo in nav bar) */
.home-icon img {
    width: 50px;
    height: auto;
}

/* content styling */
.title {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: flex-start; /* Moves content to the top of the container */
    height: 100vh; /* Full viewport height */
    text-align: center; /* Centers wrapped text */
    background-image: url('imgs/group-photo.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensures the image covers the container */
    background-position: center; /* Centers the image within the container */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    padding-top: 50px; /* Adds space from the top */
}

/* Title text and icon alignment */
.title h1 {
    display: flex;
    align-items: center; /* Aligns text and icon vertically */
    gap: 10px; /* Adds spacing between text and icon */
    background: rgba(255, 255, 255, 0.8); /* Adds a light background for better readability */
    padding: 10px 20px; /* Adds padding around text and icon */
    border-radius: 8px; /* Rounds the corners of the background */
    font-size: 4rem; /* Adjusts the font size */
}



/* Slideshow container */
 h3 {
    text-align: center;
    margin-top: 20px;
    font-size: 2rem;
    color: #333;
 }
 * {
    box-sizing: border-box;
  }
  
  .slideshow-container {
    max-width: 1400px;
    max-height: 800px; /* Set your desired maximum height */
    position: relative;
    margin: auto;
    overflow: hidden; /* Hide any content that overflows the max height */
  }
  
  /* Images inside the carousel */
  .mySlides img {
    width: auto; /* Allow width to adjust automatically */
    height: 100%; /* Ensure images fill the height of the container */
    max-height: 100%; /* Prevent images from exceeding the container's max height */
    max-width: 100%; /* Prevent images from exceeding the container's max width */
    display: block; /* Prevent inline whitespace around images */
    margin: auto; /* Center the image horizontally */
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 30px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  .prev {
    left: 10px; /* Adjust to place the left button properly */
    border-radius: 3px 0 0 3px;
  }
  
  .next {
    right: 10px;
    border-radius: 3px 0 0 3px;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Caption text */
  .text {
    color: #ffcc00;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    font-weight: bold;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
  }
  


/* Wrapper for centering content */
.wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

/* content styling */
.profile-container {
    display: flex;
    max-width: 1000px;
    margin: 20px;
    gap: 30px;
    align-items: flex-start;
}

.headshot {
    height: auto;
    width: 200px;
    object-fit: cover;
}

.info-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 600px;
}

.name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.bio {
    margin-bottom: 15px;
    line-height: 1.5;
}

.email {
    color: #666;
}





/* Footer styling */
.footer {
    background-color: #333; /* Dark grey background */
    padding: 20px 20px; /* Reduced padding */
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0px; /* Adds a small gap between sections */
}

.email-signup {
    max-width: 45%;
    text-align: left;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Align "Join Us" with the paragraph */
.email-signup h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #ffcc00;
    margin: 0; /* Remove any extra margin */
    text-align: left;
}

.email-signup p {
    color: #fff;
    font-size: 1.1em;
}

.email-signup p a {
    text-decoration: none; /* Ensure no underline by default */
    font-weight: bold;
    color: #ffcc00;
}

.email-signup p a:hover {
    text-decoration: underline; /* Add underline on hover */
    color: #ffcc00; /* Maintain consistent color */
}



/* Styling for contact info section */
.contact-info {
    max-width: 50%;
    text-align: left;
    margin: 0; /* Removes unnecessary margins */
    padding-right: 250px;
}

.contact-info h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #ffcc00;
}

.contact-info ul {
    list-style-type: none;
    padding: 0;
}

.contact-info ul li {
    margin: 5px 0;
}

.contact-info ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
}

.contact-info ul li a:hover {
    text-decoration: underline;
    color: #ffcc00;
}

.highlight {
    color: #ffcc00; /* Yellow color */
    font-weight: bold; /* Optional: Make the text bold */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .email-signup {
        align-items: center;
        text-align: center;
    }

    .footer h3 {
        margin-bottom: 10px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info ul {
        padding: 0;
    }
}