* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6a0dad; /* Purple */
    --secondary-color: #0A2540; /* Navy Blue */
    --accent-color: #2E2E2E; /* Dark Gray */
    --text-color: #FFFFFF; /* White */
    --bg-color: #000000; /* Black */
    --light-bg: #FFFFFF; /* White */
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--text-color);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.4);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

/* Ensure logo link inherits styles and remains inline-flex */
.logo a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(106, 13, 173, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-links a:hover {
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(106, 13, 173, 0.6);
    text-shadow: 0 0 8px rgba(106, 13, 173, 0.7);
    animation: pulse 1s ease-in-out infinite;
}

/* Hero */
.hero {
    margin-top: 60px;
    height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    color: var(--text-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(106, 13, 173, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: translateY(-2px) scale(1.05); }
    50% { transform: translateY(-2px) scale(1.08); }
    100% { transform: translateY(-2px) scale(1.05); }
}

.hero-content {
    animation: slideUp 0.8s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(106, 13, 173, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(106, 13, 173, 0.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c70812;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(106, 13, 173, 0.6);
}

/* About */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--white);
    color: var(--text-color);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    background-color: rgba(229, 9, 20, 0.2);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    opacity: 0.9;
}

/* Hub */
.hub {
    padding: 80px 0;
    background: var(--bg-color);
    color: var(--text-color);
    position: relative;
}

.hub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(106, 13, 173, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(106, 13, 173, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hub h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-bg);
    position: relative;
    z-index: 1;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hub-card {
    background: linear-gradient(145deg, var(--accent-color), rgba(46, 46, 46, 0.9));
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(106, 13, 173, 0.3);
    box-shadow: 0 6px 20px rgba(106, 13, 173, 0.4);
    backdrop-filter: blur(10px);
}

.hub-card:hover {
    background: linear-gradient(145deg, var(--primary-color), #4b0082);
    color: var(--white);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.7);
}

.hub-card i {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    transition: 0.3s;
}

.hub-card:hover i {
    color: var(--white);
    transform: scale(1.1);
}

.hub-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hub-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hub-card:hover p {
    opacity: 1;
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(229, 9, 20, 0.3);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    opacity: 0.8;
}

/* Films Page */
.hero-films {
    background: var(--bg-color);
    color: var(--text-color);
}

.films-section {
    padding: 80px 0;
    background-color: var(--white);
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.film-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(106, 13, 173, 0.4);
    transition: 0.3s;
    background-color: var(--accent-color);
}

.film-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(106, 13, 173, 0.6);
}

.film-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.film-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.film-card:hover .film-image img {
    transform: scale(1.05);
}

.film-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.film-card:hover .film-overlay {
    opacity: 1;
}

.film-info {
    padding: 1.5rem;
}

.film-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.film-info .genre {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.film-info .description {
    color: #666;
    font-size: 0.95rem;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #c70812;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(106, 13, 173, 0.6);
}

/* Play icon styling inside film overlay */
.film-overlay .fa-play {
    font-size: 2.2rem;
    color: var(--white);
}
.film-overlay .btn {
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-to-home {
    padding: 40px 0;
    text-align: center;
    background-color: var(--light-bg);
}

/* Opportunity (marketing) boxes */
.opportunity {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.opportunity h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.opportunity p {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.opportunity-card {
    background: linear-gradient(180deg, var(--accent-color), rgba(46, 46, 46, 0.9));
    border: 1px solid rgba(106, 13, 173, 0.2);
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(106, 13, 173, 0.3);
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    text-align: center;
}

.opportunity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(106, 13, 173, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.75);
    z-index: 2000;
}
.video-modal[aria-hidden="false"] {
    display: flex;
}
.video-modal-content {
    width: 90%;
    max-width: 900px;
    background: transparent;
    padding: 0;
    position: relative;
}
.video-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}
.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
