/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    color-scheme: dark;
    --bg: #121212;
    --surface: #1e1e1e;
    --text: #e0e0e0;
    --border: #333333;
    --accent: #ffffff;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html,
body {
    background-color: var(--bg) !important;
    height: 100%;
}

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

body {
    font-family: var(--font-main);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    /* Removed the flex properties that broke the layout */
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.6;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(18, 18, 18, 0.95);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #fff;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #ccc;
    position: relative;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent);
    position: absolute;
    bottom: -5px;
    left: 0;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}

/* =========================================
   3. HERO & CONTROLS
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    /* Keep full screen on desktop */
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-embed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This is the key: it fills the container regardless of size */
    object-position: center;
    /* Keeps the middle of your video visible */
}
/* Hide the mobile video on desktop */
/* Hide the mobile video on desktop */
.video-mobile {
    display: none;
}

/* Dark Overlay so text is readable */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* 40% darkness */
    z-index: 1;
}

/* The Text Content */
.hero-content {
    position: relative;
    z-index: 2;
    /* Above video */
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
}

.hero-content p {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 600;
}

.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: black;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.3s, background 0.3s;
}

.btn-hero:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
}

.controls {
    padding: 1.5rem 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    /* Removed white-space: nowrap to prevent overlapping conflicts */
}

.filter-group {
    display: inline-block;
    margin-right: 30px;
}

.filter-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 700;
}

.btn-filter {
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
    padding: 8px 16px;
    margin-right: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.btn-filter:hover,
.btn-filter.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* =========================================
   4. PROJECTS GRID & CARDS
   ========================================= */
.projects-section {
    padding: 2rem 0;
    min-height: 60vh;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
    transition: all 0.3s ease;
}

.video-grid.vertical-mode {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.project-card {
    display: block;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #222;
}

.media-container {
    position: absolute;
    /* Changed from relative to fix Safari iOS bug */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.static-thumb {
    position: absolute;
    /* Fixes Safari iOS bug */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.35);
    transition: transform 0.5s ease, opacity 0.3s ease;
    display: block;
}

.video-wrapper:hover .static-thumb {
    transform: scale(1.45);
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.video-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 6;
    pointer-events: none;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
}

.meta {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
}

/* =========================================
   5. LIGHTBOX (Pop-up Gallery)
   ========================================= */
#lightbox-modal {
    display: none;
    /* Hide initially */
}

.lightbox {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    /* Overridden by display:none above until active */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 95%;
    max-height: 80%;
    z-index: 10005;
    /* Keeps image below arrows */
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border: 1px solid #333;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    color: #888;
    font-family: monospace;
    font-size: 1rem;
    z-index: 10006;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10020;
}

.close-btn:hover {
    color: #ff4444;
}

/* =========================================
   6. NAVIGATION ARROWS (Global)
   ========================================= */
.nav-btn {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10010;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    border-radius: 50%;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.nav-btn.prev {
    left: 20px;
}

.nav-btn.next {
    right: 20px;
}

/* =========================================
   7. VERTICAL FORMATS (Shootings & Reels)
   ========================================= */
.project-card[data-type="film"] .video-wrapper,
.project-card[data-type="shooting"] .video-wrapper {
    aspect-ratio: 3 / 4 !important;
}

.project-card[data-type="reel"] .video-wrapper {
    aspect-ratio: 9 / 16 !important;
}

.project-card[data-type="film"] .static-thumb,
.project-card[data-type="shooting"] .static-thumb,
.project-card[data-type="reel"] .static-thumb {
    object-fit: cover;
    object-position: center center;
    transform: scale(1.25);
}

.project-card[data-type="film"] .video-wrapper:hover .static-thumb,
.project-card[data-type="shooting"] .video-wrapper:hover .static-thumb,
.project-card[data-type="reel"] .video-wrapper:hover .static-thumb {
    transform: scale(1.3);
}


/* =========================================
   8. SEARCH BAR & LAYOUT
   ========================================= */
.control-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-left {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.search-wrapper {
    width: 250px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-instruction {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px;
    color: #ffffff;
    opacity: 0.6;
    font-weight: 400;
}

.input-container {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    z-index: 2;
}

#searchProject {
    width: 100%;
    padding: 10px 10px 10px 40px;
    background: #121212;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

#searchProject:focus {
    border-color: #fff;
}

/* =========================================
   9. APPLICATION FORM STYLES
   ========================================= */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.form-container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    background: var(--surface, #1e1e1e);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border, #333);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-container h1 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

p.subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 1.1rem;
    color: #fff;
    margin: 30px 0 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.required {
    color: #80EF80;
    margin-left: 3px;
    font-size: 0.85rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px;
    background-color: var(--bg, #121212);
    border: 1px solid var(--border, #333);
    border-radius: 4px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    appearance: none;
}

select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    margin-top: 20px;
}

.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* =========================================
   10. MODALS & LOADER
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--surface, #1e1e1e);
    border: 1px solid var(--border, #333);
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    animation: popIn 0.3s ease-out forwards;
}

.modal-content h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-content strong {
    color: #fff;
}

#loading-overlay {
    z-index: 10005;
    flex-direction: column;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* =========================================
   11. ABOUT SECTION
   ========================================= */
#about {
    padding: 80px 0;
    background: #121212;
    text-align: center;
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
}

/* =========================================
   12. CONTACT SECTION
   ========================================= */
.contact-section {
    background-color: var(--bg, #121212);
    border-top: 1px solid var(--border, #333);
    padding: 80px 20px;
    text-align: center;
}

.contact-title {
    font-size: 1rem;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.contact-info-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* Space between icons */
}

.contact-icon-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-icon-link:hover {
    transform: translateY(-5px);
    /* Lift effect */
}

.contact-icon-large {
    width: 32px;
    /* Increased size */
    height: 32px;
    opacity: 0.8;
}

.contact-icon-link:hover .contact-icon-large {
    opacity: 1;
    filter: brightness(1.5);
}

/* =========================================
   13. FOOTER
   ========================================= */
footer {
    text-align: center;
    padding: 25px 20px;
    border-top: 1px solid var(--border, #333);
    margin-top: auto;
}

footer p {
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 0.5px;
}

/* =========================================
   14. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .search-wrapper {
        width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {

    /* Navbar */
    .hamburger {
        display: flex;
    }

        /* Switch to Mobile Vertical Video */
        .video-desktop {
            display: none !important;
            /* Hides the wide video on phones */
        }
    
        .video-mobile {
            display: block !important;
            /* Shows your 9:16 CapCut video */
            object-fit: cover !important;
            /* Fills the tall phone screen perfectly */
        }

                /* Make Hero Text & Button Much Smaller on Mobile */
                .hero-content h1 {
                    font-size: 1.8rem !important;
                    /* Shrunk down from 2.2rem */
                    letter-spacing: 0px;
                }
        
                .hero-content p {
                    font-size: 0.75rem !important;
                    /* Much smaller subtitle */
                    letter-spacing: 1.5px !important;
                    margin-bottom: 2rem;
                }
        
                .btn-hero {
                    padding: 12px 25px;
                    /* Thinner button */
                    font-size: 0.8rem;
                    /* Smaller button text */
                }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #121212;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid #333;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }



    /* Filters */
    .controls {
        white-space: normal !important;
        overflow-x: visible !important;
        height: auto;
    }

    .filter-left {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .filter-group {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        white-space: normal !important;
        margin-bottom: 20px !important;
        margin-right: 0 !important;
        width: 100%;
    }

    .btn-filter {
        font-size: 11px !important;
        padding: 8px 12px !important;
        margin: 0 !important;
        flex: 0 0 auto;
        background: rgba(255, 255, 255, 0.05);
        border-color: #333;
    }

    .btn-filter.active {
        background: #fff !important;
        color: #000 !important;
    }

    .filter-label {
        width: 100%;
        margin-bottom: 10px;
        font-size: 0.65rem;
        opacity: 0.7;
    }

    /* Grids */
    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-grid.vertical-mode {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 10px;
    }

    /* Zoom Fix */
    .project-card[data-type="shooting"] .static-thumb {
        transform: scale(1.55) !important;
        object-position: center 20%;
    }

    .project-card[data-type="reel"] .static-thumb {
        transform: scale(1.45) !important;
    }

    /* Lightbox */
    .close-btn {
        top: 15px;
        right: 15px;
        font-size: 35px;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.7) !important;
    }

    .nav-btn.prev {
        left: 10px;
    }

    .nav-btn.next {
        right: 10px;
    }

    .lightbox-content img {
        max-height: 70vh;
    }

 /* Application Form Mobile Optimization */
 .form-container {
     padding: 25px 15px;
     border: none;
     background: transparent;
     box-shadow: none;
 }

 .grid-2 {
     grid-template-columns: 1fr;
     gap: 0;
 }

 .section-title {
     margin-top: 20px;
 }

 input,
 textarea,
 select {
     font-size: 16px !important;
     /* CRITICAL: Prevents iOS from auto-zooming when typing */
     padding: 12px 10px;
     /* Slightly less padding to prevent text from cutting off */
 }

 .form-group {
     margin-bottom: 15px;
     /* Tighter spacing on mobile */
 }


/* Contact Section Mobile */
.contact-section {
    padding: 60px 20px;
}

.contact-info-horizontal {
    gap: 30px;
}

.contact-icon-large {
    width: 28px;
    height: 28px;
}

}


/* =========================================
   15. PRELOADER STYLES
   ========================================= */
/* =========================================
   15. PRELOADER STYLES
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s;
    opacity: 1;
    visibility: visible;
}

/* THIS IS THE PART THAT WAS LIKELY MISSING OR NOT TRIGGERING */
#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    animation: preloader-pulse 2s ease-in-out infinite;
}

.preloader-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #666;
    font-weight: 600;
}

@keyframes preloader-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}

/* =========================================
   16. DATABASE LOADER ANIMATION
   ========================================= */
/* This class should be applied to the logo in BOTH your preloader and project loader */
/* Base Styles */
#db-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    text-align: center;
}

.db-loader-logo {
    height: 60px;
    /* Reduced base size */
    width: auto;
    object-fit: contain;
    /* Forces Android to use the GPU for smoother scaling */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

/* Updated Pulsate with Android Support */
.db-loader-logo-animation {
    animation: pulsate 2s infinite ease-in-out !important;
    -webkit-animation: pulsate 2s infinite ease-in-out !important;
}

/* We need both standard and -webkit- keyframes for Android */
@keyframes pulsate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.08);
    }

    100% {
        -webkit-transform: scale(1);
    }
}

/* Loading Bar Mobile Tweaks */
.loading-bar-container {
    width: 140px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px auto;
    overflow: hidden;
}

.loading-bar-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    animation: fillProgress 5s linear forwards;
    -webkit-animation: fillProgress 5s linear forwards;
}

@keyframes fillProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@-webkit-keyframes fillProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}