@font-face {
    font-family: 'BPG Banner QuadroSquare';
    src: url('font/bpg_banner_quadrosquare.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(15px);
    --accent-color: #ffffff;
    --text-color: #e0e0e0;
    --transition-speed: 0.8s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'BPG Banner QuadroSquare', sans-serif;
    background-color: #050505;
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Slider */
.bg-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    pointer-events: none;
}

.slice-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    animation: mainDrift 20s infinite alternate ease-in-out;
}

@keyframes mainDrift {
    0% { transform: scale(1.1) translateX(-30px); }
    100% { transform: scale(1.1) translateX(30px); }
}

.slice-wrapper {
    height: 100%;
    flex: 1;
    overflow: hidden;
    transition: transform var(--transition-speed) cubic-bezier(0.77, 0, 0.175, 1), 
                opacity var(--transition-speed) ease;
}

.slice {
    height: 100%;
    width: 100%;
    background-size: 100vw 100vh;
    background-repeat: no-repeat;
}

/* Header */
.glass-header {
    position: sticky;
    top: 0;
    height: 100px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    margin-left: 0;
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

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

.nav-item {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.nav-item:hover {
    color: #fff;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    z-index: 1001;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5cm;
    z-index: 5;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 48px;
    border-radius: 4px;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    margin-top: 3.5cm;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-panel:hover {
    transform: scale(1.05);
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 10s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 2px;
}

p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #bbb;
}

/* Stylized Button */
.btn-stylized {
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 15px 40px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
}

.btn-stylized::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-stylized:hover::before {
    left: 100%;
}

.btn-stylized:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Slider Controls */
.slider-controls {
    position: fixed;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 20px;
    z-index: 10;
}

.control-btn {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sub-page Styles */
.subpage-body {
    overflow-y: auto;
    height: auto;
}

.subpage-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.6);
    transform: scale(1.1);
}

.subpage-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: -1;
}

.subpage-content {
    padding: 150px 5% 50px;
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    min-height: 100vh;
}

.glass-column {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideUp 1s ease forwards;
    opacity: 0;
}

.projects-layout .glass-column {
    flex: 1 1 0;
}

.glass-column:nth-child(2) { animation-delay: 0.2s; }
.glass-column:nth-child(3) { animation-delay: 0.4s; }

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.content-block {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.6s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.content-block:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4) !important;
    z-index: 5;
}

.clip-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.clip-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem !important;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
    font-weight: 300;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.clip-container:hover .clip-title {
    color: #fff;
}

.content-block iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (min-width: 769px) and (max-width: 1400px) {
    .projects-layout .glass-column {
        flex: 0 1 calc((100% - 60px) / 3);
        max-width: calc((100% - 60px) / 3);
    }
}

/* Contact page specific */
.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.8s ease-out;
    margin: 0 auto;
}

.contact-info {
    margin: 30px 0;
    color: #fff;
}

.info-item {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: scale(1.05);
}

.info-item i {
    color: #00d2ff;
    font-size: 1.4rem;
}

.info-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #00d2ff;
}

.phone-link {
    display: inline-block;
    white-space: nowrap;
}

.copy-feedback {
    min-height: 24px;
    margin-top: 20px;
    color: #00d2ff;
    font-family: inherit;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.copy-feedback.active {
    opacity: 1;
    transform: translateY(0);
}

.social-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icon {
    font-size: 2.5rem;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    color: #00d2ff;
}

.social-icon.fa-facebook:hover {
    color: #1877F2;
}

.social-icon.fa-youtube:hover {
    color: #FF0000;
}

/* Renders Grid */
.renders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

.render-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.render-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.render-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-header {
        height: 70px;
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex !important;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 45px;
        height: 45px;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
        padding: 0;
    }

    .nav-links.active {
        max-height: 600px;
        opacity: 1;
        padding: 20px 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        display: block;
    }

    main {
        padding: 20px;
        text-align: center;
    }

    .glass-panel {
        padding: 30px 20px;
        max-width: 100%;
        margin-top: 2cm !important;
    }

    .scroll-indicator {
        bottom: calc(30px + 1.5cm) !important;
    }

    h1 {
        font-size: 2rem;
    }

    .home-category-title {
        font-size: 2rem !important;
        margin-bottom: 30px;
    }

    .contact-card h1 {
        font-size: 1.28rem !important;
    }

    p {
        font-size: 0.9rem;
    }

    .slider-controls {
        bottom: 140px;
        right: 50%;
        transform: translateX(50%);
        display: none !important;
    }

    .subpage-content {
        padding: 100px 20px 40px !important;
        flex-direction: column !important;
    }

    .glass-column {
        width: 100%;
    }
}

/* Global Projects Layout Base (overrides inline styles) */
.projects-layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

@media (max-width: 768px) and (orientation: portrait) {
    .projects-layout {
        flex-direction: column !important;
    }
    
    .glass-panel {
        padding: 21px 14px !important;
        width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .glass-panel h1 {
        font-size: 1.4rem !important;
    }

    .glass-panel p {
        font-size: 0.65rem !important;
    }
}

@media (max-width: 768px) {
    .content-grid, .renders-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .subpage-body .subpage-content > h1 {
        font-size: 2.4rem !important;
    }

    .subpage-body .projects-layout {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .subpage-body .projects-layout .glass-column {
        width: 100%;
        max-width: 100%;
    }
}

.copy-feedback {
    margin-top: 20px;
    padding: 10px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-align: center;
}

.copy-feedback.active {
    opacity: 1;
}

/* Reveal on Scroll Animations (Cut Effect) */
.reveal-item {
    transition: opacity 1s ease-out, clip-path 1.4s cubic-bezier(0.77, 0, 0.175, 1), transform 1s ease-out;
    will-change: clip-path, opacity, transform;
}

.slice-left:not(.reveal-visible) { clip-path: inset(0 0 0 100%); opacity: 0; transform: scale(0.95); }
.slice-right:not(.reveal-visible) { clip-path: inset(0 100% 0 0); opacity: 0; transform: scale(0.95); }
.slice-up:not(.reveal-visible) { clip-path: inset(100% 0 0 0); opacity: 0; transform: scale(0.95); }
.slice-down:not(.reveal-visible) { clip-path: inset(0 0 100% 0); opacity: 0; transform: scale(0.95); }

.reveal-item.reveal-visible {
    opacity: 1;
    clip-path: inset(0 0 0 0) !important;
    transition: clip-path 1.4s cubic-bezier(0.77, 0, 0.175, 1), transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.6s ease, opacity 1s ease-out;
}

/* Image scaling for parallax */
.content-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
    pointer-events: none;
    z-index: 0;
}

.content-block > :not(img):not(iframe) {
    position: relative;
    z-index: 1;
}

/* Hover Video / 360 Playback Styles */
.content-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
    pointer-events: none;
}
.content-block iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
    pointer-events: none;
}
.content-block:hover::after {
    background: rgba(0, 0, 0, 0);
}
.content-block.is-playing::after {
    display: none;
}

/* Home Page Scroller */
.home-scroller {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 10;
    width: 100%;
    display: block !important;
}

#home-categories-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}

.hero-section {
    height: calc(100vh - 100px);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

/* Scroll Indicator Arrow */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 4rem;
    cursor: pointer;
    animation: bounce 2s infinite ease-in-out;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

.home-category-section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.home-category-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.see-more-btn {
    display: inline-block;
    margin-top: 50px;
    padding: 15px 40px;
    font-size: 1.2rem;
    text-decoration: none;
}

/* Home glass background for sections */
.home-glass-bg {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
    padding-bottom: 100px;
}

/* Global Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 100px; /* Start below the 100px header */
    left: 0;
    width: 100%;
    height: calc(100vh - 100px); /* Fill the rest of the screen */
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}
.lightbox.active {
    display: flex;
    opacity: 1;
}
#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    border: 2px solid rgba(255,255,255,0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    object-fit: contain;
}
.lightbox.active #lightbox-img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    #lightbox-img {
        max-width: 95%;
        max-height: 95%;
    }
}

/* Horizontal Mobile Layout Adjustments */
@media (max-width: 950px) and (orientation: landscape) {
    main.home-scroller {
        padding: 0 !important;
    }
    
    .home-category-section {
        padding: 40px 2% !important;
        max-width: 100% !important;
    }
    
    .projects-layout {
        gap: 15px !important;
    }
    
    .glass-column {
        padding: 10px !important;
        gap: 15px !important;
    }
    
    .content-block {
        border-radius: 6px !important;
    }
}

/* 4K Monitor Optimizations (Size Increase) */
@media (min-width: 2500px) {
    .glass-panel {
        max-width: 580px !important;
        padding: 60px !important;
    }

    .home-category-section {
        max-width: 1700px !important;
    }

    .contact-card {
        max-width: 720px !important;
        padding: 60px !important;
    }

    h1 {
        font-size: 3rem !important;
    }

    .home-category-title {
        font-size: 3rem !important;
    }

    .clip-title {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 1.1rem !important;
    }

    .btn-stylized {
        padding: 20px 50px !important;
        font-size: 1.2rem !important;
    }
}
/* Clients Panel */
.clients-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 1400px;
    width: 95%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: 80px auto;
    animation: fadeIn 0.8s ease-out;
}

.clients-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.client-logo {
    max-width: 160px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1) grayscale(0.8);
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo:hover {
    filter: brightness(1) contrast(1.2) grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .clients-panel {
        padding: 40px 20px;
    }
    
    .clients-grid {
        gap: 25px;
    }
    
    .client-logo {
        max-width: 120px;
        max-height: 50px;
    }
}

/* 4K Monitor Optimization (+27%) */
@media (min-width: 2560px) {
    .clients-panel {
        max-width: 1778px;
        padding: 76px 51px;
        margin: 102px auto;
        border-radius: 25px;
    }

    .clients-title {
        font-size: 2.28rem;
        margin-bottom: 25px;
        letter-spacing: 2px;
    }

    .clients-grid {
        gap: 51px;
        margin-top: 64px;
    }

    .client-logo {
        max-width: 203px;
        max-height: 89px;
    }
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 20000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-container {
    width: 85%;
    max-width: 1280px;
    aspect-ratio: 16/9;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: visible;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.active .video-modal-container {
    transform: scale(1);
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: -20px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.video-modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    color: #00d2ff;
}

@media (max-width: 1024px) {
    .video-modal-container {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .video-modal-close {
        top: -50px;
        right: 10px;
        font-size: 2.5rem;
    }
}
