/* ===========================
   Global Styles
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    font-family: 'Times New Roman', serif;
    scroll-behavior: smooth;
    background-color: #9ccfff;
    overflow-x: hidden;
}

/* ===========================
   Navbar
=========================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: black;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo a {
    display: flex;
    align-items: center;
    color: #0077CC;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
}

.logo a img {
    height: 50px;
    width: auto;
    margin-right: 10px;
    border-radius: 5px;
}

.logo a:hover {
    color: #66A3A3;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 15px;
}

.menu ul li a:hover {
    color: #66A3A3;
}

/* ===========================
   Mobile Menu
=========================== */
#menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

#close-menu {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

@media (max-width: 768px) {
    #menu-toggle {
        display: block;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background: #2c4e4e;
        flex-direction: column;
        padding-top: 60px;
        transition: right 0.5s ease-in-out;
        z-index: 1000;
    }

    .menu ul {
        flex-direction: column;
        width: 100%;
    }

    .menu ul li {
        width: 100%;
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .menu ul li a {
        font-size: 22px;
        text-align: left;
    }

    #close-menu {
        display: block;
    }
}

/* ===========================
   Hero Section (with Parallax)
=========================== */
.hero-section {
    position: relative;
    height: 100vh;
    background-image: url("after.jpg");
    background-size: 45%;
    background-repeat:repeat;
    background-position: center;
    background-attachment: fixed; /* Parallax effect (disabled on mobile below) */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    color: white;
    animation: fadeInUp 1.2s ease-in-out;
}

.hero-overlay h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-overlay button {
    padding: 15px 25px;
    border-radius: 25px;
    border: 2px solid black;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    transition: 0.3s;
}

.hero-overlay button:hover {
    background: #66A3A3;
    color: white;
}

.hero-overlay button a {
    text-decoration: none;
    color: black;
}

.hero-overlay button:hover a {
    color: white;
}

/* Hero Fade-In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Main Content Sections
=========================== */
main {
    padding-top: 100px; /* Offset for navbar */
}

main section {
    width: 90%;
    margin: 60px auto;
    background-color: rgba(211,211,211,0.2);
    border-radius: 10px;
    padding: 60px;
    text-align: center;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

main section:hover {
    background-color: rgba(0, 119, 204, 0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

section h1, section h2 {
    font-size: 2rem;
    color: #66A3A3;;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    color: black;
    line-height: 1.6;
}

/* ===========================
   Team Section
=========================== */
.team {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
    flex-basis: 30%;
    margin-bottom: 50px;
}

.team-member img {
    width: 50%;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-member h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 15px;
}

.team-member p {
    font-size: 1rem;
    color: #777;
}

/* ===========================
   Video Section
=========================== */
.video-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

.video-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.video-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}
.video-container video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    outline: none;
}

/* ===========================
   Facebook Video
=========================== */
.fb-video {
    width: 100% !important;
    max-width: 800px;
    border-radius: 12px;
}

/* ===========================
   Footer
=========================== */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

/* ===========================
   Responsive Design
=========================== */
@media screen and (max-width: 992px) {
    .hero-section {
        background-attachment: scroll; /* Disable parallax for mobile */
    }

    .hero-overlay h1 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .team-member {
        flex-basis: 90%;
    }

    .team-member img {
        width: 70%;
    }

    .video-section {
        max-width: 95%;
        padding: 30px 10px;
    }

    .video-title {
        font-size: 24px;
    }

    .video-description {
        font-size: 14px;
    }
}

