:root {
    --bg: #071127;
    --accent: #00ffd1;
    --card: #0f2038;
    --text-color: #ffffff;
    --light-grey: #a0a0a0;
    --radius: 14px;
}

/* Base and Reset Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--bg);
    padding: 15px 50px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--light-grey);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hamburger Menu (for mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: 0.4s;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--bg);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 20px 0;
        text-align: center;
        gap: 15px;
        z-index: 10;
        border-top: 1px solid var(--card);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 10px;
        display: block;
    }

    .menu-toggle {
        display: flex;
    }
}

/* --- Video Section (Hero) --- */
.video-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.video-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.cinematic-text {
    font-family: 'Poppins', sans-serif;
    font-size: 8vw;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.5em;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: cinematic-effect 4s forwards ease-in-out;
}

/* Keyframes for the cinematic animation */
@keyframes cinematic-effect {
    0% {
        letter-spacing: -1em;
        opacity: 0;
    }

    50% {
        letter-spacing: 0.5em;
        opacity: 1;
        transform: scale(1);
    }

    100% {
        letter-spacing: 0.5em;
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Mobile adjustments for hero section */
@media (max-width: 768px) {
    .video-section {
        height: 50vh;
    }

    .cinematic-text {
        font-size: 10vw;
        letter-spacing: 0.3em;
    }

    @keyframes cinematic-effect {
        0% {
            letter-spacing: -0.5em;
            opacity: 0;
        }

        50% {
            letter-spacing: 0.3em;
            opacity: 1;
            transform: scale(1);
        }

        100% {
            letter-spacing: 0.3em;
            opacity: 0;
            transform: scale(1.1);
        }
    }
}

/* --- Main Content Section (Visual Narrative) --- */
.visual-narrative {
    max-width: 1000px;
    margin: auto;
    padding: 50px 20px;
    text-align: center;
}

.narrative-title {
    font-size: clamp(28px, 4vw, 35px);
    font-weight: bold;
    margin-bottom: 60px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.media-story-card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 50px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(35, 14, 174, 0.2);
}

.media-story-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 30px var(--accent);
}

.video-canvas {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: calc(var(--radius) - 5px);
    /* For video-autoplay-no-controls specifically */
    display: flex;
    /* Ensure the video takes full space */
    justify-content: center;
    align-items: center;
}

/* This is a new class for the lower video canvases to match the background video's full-cover style */
.video-autoplay-no-controls .video-player {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Make sure the video covers the entire area */
    transform: translate(-50%, -50%);
    border: none;
}


.story-details {
    margin-top: 30px;
    text-align: left;
}

.story-details h3 {
    font-size: clamp(1.8em, 3vw, 2.2em);
    font-weight: bold;
    color: white;
    margin-bottom: 12px;
}

.story-details p {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--light-grey);
    margin-bottom: 25px;
    line-height: 1.8;
    animation: textFadeIn 1s ease-out;
    font-weight: bold;
}

.e-commerce-sign {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.e-commerce-sign li {
    background-color: var(--bg);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1em;
    border: 2px solid var(--accent);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.e-commerce-sign li:hover {
    background-color: var(--accent);
    color: var(--bg);
    transform: scale(1.05);
}

/* Animations */
@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Footer --- */
.creative-footer {
    background-color: black;
    color: var(--light-grey);
    padding-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: left;
    border-bottom: 1px solid #1a2a44;
    padding: 0 20px 40px;
}

.footer-col h4 {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 25px;
    position: relative;
    font-weight: 600;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.footer-logo {
    font-size: 2em;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about {
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--light-grey);
    font-size: 1.2em;
    width: 35px;
    height: 35px;
    background-color: var(--card);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    color: var(--bg);
    background-color: var(--accent);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-cta-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-cta-btn i {
    margin-right: 15px;
    font-size: 1.2em;
}

.whatsapp-btn {
    background-color: #25D366;
    color: var(--text-color);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.email-btn {
    background-color: var(--accent);
    color: var(--bg);
}

.email-btn:hover {
    background-color: #00e6b8;
    transform: translateY(-3px);
}

.phone-btn {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.phone-btn:hover {
    background-color: var(--accent);
    color: var(--bg);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

.copyright {
    font-size: 0.85em;
    color: var(--light-grey);
}

/* --- Responsive styles for footer and general layout --- */
@media (max-width: 992px) {
    .footer-container {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-cta-btn {
        justify-content: center;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .main-header {
        padding: 10px 15px;
    }

    .nav-logo {
        font-size: 1.5em;
    }

    .media-story-card {
        padding: 20px;
    }

    .story-details h3 {
        font-size: 1.5em;
    }

    .story-details p {
        font-size: 0.9em;
    }

    .e-commerce-sign li {
        font-size: 0.9em;
        padding: 8px 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}