/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 1; /* Fixed opacity */
}

.logo img {
    width: 100px;
    height: 70px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover, .nav-links a.active {
    color: #e83636;
    background-color: rgba(232, 54, 54, 0.1);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media screen and (max-width: 870px) {
    .nav-links a {
        padding: 0.4rem;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #000000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 60px;
    }
    
    .mobile-nav.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    z-index: -1;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Overlay to darken the background image */
    z-index: 1;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    background-color: transparent;
    border-radius: 10px;
    box-shadow: none;
}

.hero-logo {
    max-width: 300px;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    background-color: #e63946;
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-shadow: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
    background-color: #000000;
    padding: 2rem 5%;
    text-align: center;
    border-top: 3px solid rgba(232, 54, 54, 0.2);
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-icon {
    font-size: 1.5rem;
    color: #e83636;
    margin: 0 1rem;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.social-icon:hover {
    color: #c42929;
    transform: scale(1.2);
}

footer p {
    color: #ffffff;
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .hero-logo {
        max-width: 250px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .navbar {
        padding: 1rem 3%;
    }
    
    .nav-links li {
        margin-left: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
}