:root {
    --primary: #f4ce14;
    --secondary: #f5f7f8;
    --tetriary: #379777;
    --fouthcolor: #333;
    --hover-bg: rgba(244, 206, 20, 0.2);
    --transition-speed: 0.3s;
    --overlay-bg: rgba(0, 0, 0, 0.6);
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: var(--fouthcolor);
    background: var(--secondary);
    box-sizing: border-box;
    scroll-behavior: smooth;
    height: 100%;
}

header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    background: black;
    color: var(--secondary);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);

}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: 100px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all var(--transition-speed);
}

header nav ul li a:hover {
    background: var(--hover-bg);
    color: var(--primary);
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 80px 20px;
}

.video-overlay h1 {
    font-size: 3.5rem;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.video-overlay p {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;

}

.team-member {
    background: url("bg1.mp4");
    border-radius: 8px;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    max-width: 300px;
    margin: auto;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 20px rgba(38, 37, 37, 0.2);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member h2 {
    font-size: 1.5rem;
    color: var(--tetriary);
    margin-bottom: 0.5rem;
}

.team-member p {
    font-size: 1rem;
    color: #e8e2e2;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .team {
        flex-direction: column;
    }

    .video-overlay h1 {
        font-size: 2.5rem;
    }

    .video-overlay p {
        font-size: 1.2rem;
    }
}

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

.team a {
    color: #e8e2e2;
    font-size: 30px;
}

.team a:hover {
    color: rgb(106, 147, 106);
}