body {
    font-family: "Gill Sans", sans-serif;
    padding: 0;
    margin: 0;
    background-color: #f4f4f4;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: white;
    color: #ff3838;
    box-shadow: 0 2px 5px #0000001a;
    padding: 5px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    width: 45px;
    height: auto;
    margin-right: 10px;
}

.site-title {
    font-size: 36px;
    background: linear-gradient(to right, #975549, #e64147);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #333;
    bottom: -5px;
    left: 50%;
    transition: width 0.3s ease, left 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

.burger {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    margin-right: 30px; 
    padding: 10px; 
    background-color: #ffffffcc; 
    border-radius: 10px; 
    box-shadow: 0 2px 10px #00000033; 
    transition: background-color 0.3s, transform 0.3s; 
}

.burger:hover {
    background-color: #ffffff; 
    transform: scale(1.05); 
}

.burger .line {
    width: 35px; 
    height: 4px; 
    margin: 4px 0;
    transition: background-color 0.3s; 
    background: linear-gradient(to right, #d8269d, #f57f10);
}


main {
    flex: 1;
    padding: 20px 20px;
}



.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

#background-video {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; 
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}


.box {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 8px #0000001a;
    border-radius: 8px;
}


.about-hero, .story-section, .team-section {
    flex: 1;
    padding: 40px;
    background-color: #fafcfdee;
    border: 1px solid #ddd;
    margin: 20px;
    backdrop-filter: blur(2px);
    border-radius: 20px;
    box-sizing: border-box;
    transition: transform 0.5s, box-shadow 0.5s, background-color 0.5s;
}

.about-hero:hover, .story-section:hover, .team-section:hover {
    box-shadow: 0 6px 20px #e0e4e9;
    backdrop-filter: blur(15px);
    background-color: #ffffffbd;
}


.team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-member {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 10px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px #0000001a;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-right: 25px;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-member-content {
    text-align: left;
    flex-grow: 1;
}

.team-member h3 {
    font-size: 1.6rem;
    color: #333;
    margin: 0;
    transition: color 0.3s;
}


.team-member:hover h3 {
    color: #e64147;
}

.team-member p {
    font-size: 1.1rem;
    color: #777;
    margin: 5px 0 0;
}


.cta-section {
    background-color: #292929d7;
    color: #fff;
    padding: 30px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    text-align: center;
    box-shadow: 0 2px 10px #000000, 0 2px 10px #000000;
    width: 50%;
    margin: 50px auto;
    max-width: 800px;
    min-width: 300px;
    padding-left: 10vw;
    padding-right: 10vw;
}


.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #14e4f3, #20a6e4);
    color: #fff;
    padding: 16px 32px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 1px 20px #20bde4;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease, letter-spacing 0.3s ease;
}

.cta-button:hover {
    letter-spacing: 3px; 
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero, .story-section, .team-section, .cta-section {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0; 
}

.about-hero {
    animation-delay: 0.1s;
}

.story-section {
    animation-delay: 0.2s;
}

.team-section {
    animation-delay: 0.3s;
}

.cta-section {
    animation-delay: 1s;
}



footer {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
    color: #333;
    box-shadow: 0 -2px 10px #0000001a;
}


footer p {
    margin: 0;
}


@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .about-hero, .story-section, .team-section {
        flex: 1 1 100%;
        margin-left: -10px;
        margin-right: -10px;
    }

    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .team-member img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .team-member-content {
        text-align: center;
    }
    .team-members {
        flex-direction: column;
    }

    .cta-section {
        width: 80%;
        padding: 20px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
}



@media (max-width: 500px) {
    .burger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 20px;
        width: max-content;
        width: 100%;
        padding: 10px;
        max-width: 200px;
        background-color: #fffffff2;
        box-shadow: 0 4px 20px #00000033;
        border-radius: 8px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform: translateY(-20px) translateX(-100%);
        opacity: 0;
        z-index: 1;
    }
    
    .nav-links.active {
        display: flex;
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 5px 0;
        text-align: left;
    }
    
    .nav-links li a {
        color: #333;
        text-decoration: none;
        padding: 12px 15px;
        display: block;
        padding: 10px;
        border-radius: 5px;
        transition: background-color 0.3s, transform 0.3s;
    }
    
    .nav-links li a:hover {
        background-color: #0000001a;
        transform: scale(1.05);
    }
}

