/* Resetting default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
}

body, html {
    height: 100%;
}

/* Hero section with video background */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.index-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Menu styles */
.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    font-size: 32px;
}

.menu-trigger {
    padding: 13.5px;
    cursor: pointer;
    background-color: transparent;
    color: white;
    display: inline-block;
}

.menu {
    display: flex;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
    align-items: center;
    justify-content: flex-start;
    width: 0; /* Initially, the menu is not visible */
    transition: width 0.5s ease-in-out;
	padding-left: 80px;
}

.menu a {
    color: black;
    text-decoration: none;
    padding-top: 10px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 50px;
    white-space: nowrap; /* Prevents breaking the text into multiple lines */
    transition: color 0.5s, font-size 0.5s;
}

/* Hover effects */
.menu-container:hover .menu {
    width: 100vw; /* Full width to show all menu items */
	
}
.menu-container:hover .menu-trigger {
    color: goldenrod;
	
}
.menu a:hover {
    color: gold;
    transform: scale(1.1);
}

/* Content styles */
.content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2; /* above the hero section */
}

.about-container {
    text-align: center;
    color: white;
}

.about-title {
    font-size: 64px;
    margin-bottom: 20px;
}

.mission-statement {
    position: relative;
    cursor: pointer;
}
.mission-statement::after {
    content: ''; /* Required for pseudo-elements */
    display: block;
    position: absolute;
    bottom: 0; /* Position at the bottom of the service-box */
    left: 0;
    width: 100%; /* Full width of the service-box */
    height: 2px; /* Height of the line */
    background-color: gold; /* Color of the line */
    z-index: 1; /* Ensure it's above the content */
}
.mission-text{

	font-size: 32px;
    opacity: 1; /* Text is fully visible initially */
}
.mission-box {
    position: absolute;
    top: 100%;
    left: 50%;
	color: transparent;
    transform: translateX(-50%);
    width: 400%;
    background-color: transparent;
    padding: 20px;
    box-sizing: border-box;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s ease-in-out;
}
.about-container:hover .about-title {
    color: gold; /* Replace with the color you want */
}
.about-container:hover .about-title {
    color: white; /* Reset to original color */
}
.about-container:hover .mission-statement:hover ~ .about-title {
    color: transparent; /* Replace with the color you want */
}

.mission-statement:hover .mission-box {
    max-height: 505px;
	background-color: rgba(0, 0, 0, 0.8);
	box-shadow: 0px 2px 0px rgba(212,175,55,1); /* Optional shadow for depth */
	color: white;
	font-size:24px;
}
.mission-statement:hover .mission-text {
    opacity: 0;
	transition: 0.5s ease-in-out;
}

.mission-text-bottom {
    position: center;
    bottom: -20px;
    left: 50%;
	font-size:36px;
    transform: translateX(-50%);
}
