@import url("https://fonts.googleapis.com/css?family=Inconsolata:400,400i,700");

.mobile-version {
    display: none !important;
}

.desktop-version {
    display: flex !important;
}

.services-showcase {
    height: 1400px;
}

/* Desktop version */
.brand-showcase.desktop-version {
    display: flex;
    width: 100%;
}

/* Hide mobile version by default */
.brand-showcase.mobile-version {
    display: none;
}

/* Color Palette */
:root {
    --phlox: #EC00F0;
    --fluorescent-cyan: #54EFEA;
    --robin-egg-blue: #51CCDC;
    --grape: #600DB5;
    --russian-violet: #1F004B;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    min-width: 320px;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #fff;
}

main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0 auto;
    position: relative;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg,
            rgba(31, 0, 75, 0.5),
            rgba(52, 2, 85, 0.3));
}

.hero-text-container {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-text-container h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right,
            var(--fluorescent-cyan),
            var(--phlox));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text-container p {
    font-size: 1.5rem;
    color: var(--robin-egg-blue);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hit The Mark Section */
.hit-the-mark {
    margin: 30px auto;
    padding: 20px;
    display: flex;
    gap: 15px;
    min-height: 60vh;
    width: calc(100% - 60px);
}

.hit-the-mark h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--russian-violet);
    text-align: center;
    white-space: nowrap;
}

.hit-the-mark h3 {
    font-size: 2em;
    margin: 15px 0;
    color: var(--russian-violet);
    text-align: center;
    white-space: nowrap;
}

.left-content,
.right-content {
    border-radius: 15px;
    background-color: var(--robin-egg-blue);
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    transition: background-color 0.5s ease;
}

.left-content {
    flex: 2;
}

.right-content {
    flex: 3;
}

.left-content *,
.right-content * {
    transition: color 0.2s ease;
}

.left-content.pressed {
    background-color: var(--grape);
}

.left-content.pressed *,
.right-content.pressed * {
    color: white !important;
}

.right-content.pressed {
    background-color: var(--russian-violet);
}

.section-title {
    font-size: 3.2rem;
    color: var(--russian-violet);
    margin-bottom: 0px;
    font-weight: normal;
    letter-spacing: 0.1em;
    text-align: center;
    white-space: nowrap;
}

.hit-the-mark .left-content h3 {
    font-size: 1.8em;
    margin: 15px 0;
    color: var(--russian-violet);
    text-align: center;
    white-space: nowrap;
}

.section-subtitle {
    font-size: 2.2rem;
    color: var(--russian-violet);
    margin-bottom: 30px;
    line-height: 0;
    text-align: center;
    font-weight: normal;
    white-space: nowrap;
}

.section-text {
    margin-top: 35px;
    color: var(--russian-violet);
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.section-text p {
    margin-bottom: 15px;
}

.game-enemies {
    display: grid;
    grid-template-columns: repeat(6, 35px);
    grid-template-rows: repeat(2, auto);
    gap: 22px;
    margin-bottom: 40px;
    justify-content: center;
    max-width: 300px;
    /* margin-left: auto;
    margin-right: auto; */
}

.enemy {
    width: 40px;
    height: auto;
    transition: all 0.3s ease;
    display: block;
}

.player-ship {
    width: 50px;
    height: auto;
    display: block;
    margin: 20px auto;
    will-change: transform;
}

/* Add a container for better control */
.player-ship-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    overflow: visible;
}

.be-creative {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.key-container {
    background-color: #000;
    border-radius: 25px;
    padding: 1px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.key-container.pressed {
    transform: translateY(4px);
}

.key-b,
.key-e {
    width: 140px;
    height: auto;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    position: relative;
    transform-origin: center;
    background: transparent;
    border-radius: 8px;
    -webkit-user-drag: none;
    user-select: none;
    transform: translateY(-1px);
}

.key-b.pressed,
.key-e.pressed {
    transform: scale(0.95) translateY(4px);
    opacity: 0.85;
}

.creative-text {
    font-size: 140px;
    color: var(--russian-violet);
    font-weight: 300;
    line-height: 1;
}

.ships-grid {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ships {
    width: 100%;
    height: auto;
    max-width: 600px;
    display: block;
    margin: 30px auto;
}

.creative-text-content {
    color: var(--russian-violet);
}

.creative-text-content p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Video Showcase Section */
.video-showcase {
    padding: 20px;
    background-color: #fff;
    margin: 30px auto;
    width: calc(100% - 60px);
    max-width: 1920px;
}

.video-player-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
    aspect-ratio: 16/9;
}

.video-background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.main-video-player {
    width: 100%;
    max-width: 1600px;
    position: relative;
    aspect-ratio: 16/9;
    margin: 0 auto;
    z-index: 1;
}

.main-video-player video {
    position: absolute;
    border-radius: 8px;
    background-color: #000;
    object-fit: contain;

    height: 80%;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.video-info {
    margin-top: 20px;
    color: var(--russian-violet);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.nav-container {
    background-color: #000;
    border-radius: 15px;
    padding: 1px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1px;
    transition: all 0.2s ease;
    display: block;
    position: relative;
    transform-origin: center;
    background: transparent;
    border-radius: 8px;
    -webkit-user-drag: none;
    user-select: none;
    transform: translateY(-1px);
}

.nav-arrow.pressed,
.nav-arrow:active {
    transform: scale(0.95) translateY(4px);
    opacity: 0.85;
}

.nav-arrow img {
    width: 70px;
    height: auto;
    display: block;
}

.video-navigation {
    position: absolute;
    width: 100%;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    top: 98%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 20px;
}

.nav-container,
.nav-arrow {
    pointer-events: auto;
}

.video-carousel-container {
    overflow: hidden;
    padding: 0 40px;
    max-width: 1600px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.video-carousel {
    margin-top: 70px;
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 27px);
    min-width: calc(33.333% - 27px);
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item:hover {
    opacity: 1;
}

.thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
}

.thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-item-info {
    margin-top: 15px;
    color: var(--russian-violet);
}

.carousel-item-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.carousel-item-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Services Showcase Section */
.services-showcase {
    padding: 30px;
    background-color: var(--robin-egg-blue);
    margin: 30px auto;
    width: calc(100% - 60px);
    border-radius: 15px;
}

.services-header-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}

.headers-container {
    overflow: hidden;
    width: calc(100% - 200px);
    margin: 0 auto;
    position: relative;
}

.headers-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    align-items: center;
    gap: 40px;
    position: relative;
    width: max-content;
}

.service-header {
    font-size: 2.5rem;
    color: var(--russian-violet);
    white-space: nowrap;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    transform: scale(0.9);
    padding: 0 20px;
}

.service-header.active {
    opacity: 1;
    transform: scale(1);
}

/* Position the navigation buttons at the edges */
.services-header-carousel .nav-container:first-child {
    position: absolute;
    left: 20px;
    z-index: 2;
}

.services-header-carousel .nav-container:last-child {
    position: absolute;
    right: 20px;
    z-index: 2;
}

.service-content-container {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    margin-top: 20px;
    width: 100%;
    position: relative;
    min-height: 200px;
    height: 1250px;
    transition: height 0.3s ease;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.service-intro {
    margin-top: -20px;
    grid-column: 1 / -1;
    text-align: left;
    margin-bottom: 40px;
    color: var(--russian-violet);
}

.service-intro h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
}

.service-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    /* margin: 0 auto; */
    line-height: 1.6;
}

.content-section p {
    color: var(--russian-violet);
    margin-top: 10px;
    font-size: 1.1rem;
    line-height: 1.5;
    width: 100%;
}

#paid-marketing .content-section,
#digital-branding .content-section {
    margin-bottom: 30px;
}

.service-content {
    display: none;
    opacity: 0;
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.service-content.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    opacity: 1;
    visibility: visible;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

.content-section-title {
    font-size: 2.5rem;
    color: var(--russian-violet);
    margin-bottom: 40px;
    grid-column: 1 / -1;
    text-align: left;
    font-weight: 300;
}

.content-section-title::before,
.content-section-title::after {
    color: var(--fluorescent-cyan);
}

.content-section-title::before {
    content: "[";
    margin-right: 5px;
}

.content-section-title::after {
    content: "]";
    margin-left: 5px;
}

.content-section {
    margin-bottom: 30px;
}

.content-title {
    color: var(--phlox);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-title::before {
    content: "▼";
    color: var(--phlox);
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section li {
    color: var(--russian-violet);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Ensure work-with-us button stays at bottom with proper spacing */
.work-with-us {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding: 30px 0;
    background: #000;
    border-radius: 15px;
    padding: 1px;
    position: relative;
    overflow: hidden;
    width: fit-content;
    margin: 30px auto;
}

.work-with-us img {
    cursor: pointer;
    padding: 1px;
    transition: all 0.2s ease;
    display: block;
    position: relative;
    transform-origin: center;
    background: transparent;
    border-radius: 8px;
    -webkit-user-drag: none;
    user-select: none;
    transform: translateY(-1px);
    width: 120px;
    height: auto;
}

.work-with-us img:hover {
    transform: scale(1.02);
}

.work-with-us img:active {
    transform: scale(0.95) translateY(4px);
    opacity: 0.85;
}

/* Responsive Design */
@media (max-width: 1400px) {

    .key-b,
    .key-e {
        width: 80px;
    }

    .creative-text {
        font-size: 80px;
    }

    .video-info {
        margin-top: 5px;
        max-width: 600px;
    }

    .main-video-player video {
        height: 80%;
        top: 56%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .services-showcase {
        height: 1520px;
    }

    .service-content-container {
        height: 1370px;
    }

}

.hit-the-mark .left-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.be-creative {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 30px 0;
}

.be-creative.desktop-version .key-container {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.be-creative.desktop-version .key-container:hover {
    transform: translateY(2px);
}

.be-creative.desktop-version .key-container.pressed {
    transform: translateY(4px);
}

.be-creative.desktop-version .key-b,
.be-creative.desktop-version .key-e {
    width: 140px;
    height: auto;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    position: relative;
    transform-origin: center;
    background: transparent;
    border-radius: 8px;
    -webkit-user-drag: none;
    user-select: none;
}

.be-creative.desktop-version .key-b.pressed,
.be-creative.desktop-version .key-e.pressed {
    transform: scale(0.95) translateY(4px);
    opacity: 0.85;
}

@media (max-width: 1200px) {

    .carousel-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .video-carousel {
        gap: 20px;
    }

    .video-carousel-container {
        margin: 20px 0;
        overflow: hidden;
    }

    .video-player-container {
        margin-bottom: 30px;
    }

    .hit-the-mark .left-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        position: relative;
    }

    .hit-the-mark .left-content .be-creative {
        position: relative;
        left: 50%;
        transform: translateX(-50%) scale(4);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        width: auto;
        margin: 80px 0;

    }

    .hit-the-mark .left-content .key-container {
        /* display: inline-flex; */
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

    .key-container {
        width: 10%;
        border-radius: 10px;
        margin: 0;
        padding: 0;
    }

    .hit-the-mark .left-content .key-container .key-b,
    .hit-the-mark .left-content .key-container .key-e {
        width: 20%;
        height: auto;
        font-size: 2.5em;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hit-the-mark .left-content .creative-text {
        font-size: 4em;
        margin-left: 30px;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }

    .hit-the-mark {
        flex-direction: column;
        padding: 20px;
        width: calc(100% - 40px);
        margin: 20px auto;
        gap: 15px;
    }

    .left-content,
    .right-content {
        flex: none;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 2rem;
    }

    .key-b,
    .key-e {
        width: 100%;
        height: auto;
    }

    .creative-text {
        font-size: 5rem;
    }

    .main-video-player {
        position: relative;
        width: 100%;
        padding-bottom: calc((9/16) * 200%);
        /* Makes it 2x taller than 16:9 */
    }

    /* .main-video-player video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-position: center;
    } */

    .video-info {
        margin-top: 20px;
        max-width: 100%;
    }

    .video-info h3 {
        margin-bottom: 0 !important;
    }

    .video-info p {
        margin-top: -10px !important;
    }

    .main-video-player video {
        height: 80%;
        top: 56%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-media-container,
    .hit-the-mark,
    .video-showcase,
    .services-showcase,
    .tv-static-effect,
    .digital-marketing-section,
    .social-media-section,
    .brands-section,
    .footer-section {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .window-bar {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .be-creative {
        transform: scale(1.5);
        margin: 40px auto;
        width: fit-content;
    }

    .main-video-player {
        position: relative;
        width: 100%;
        padding-bottom: calc((9/16) * 200%);
    }

    .services-showcase {
        height: 1600px;
    }

    .service-content-container {
        height: 1450px;
    }
}

@media (max-width: 1000px) {
    .key-container {
        width: 8%;
        margin: 0;
        padding: 0;
    }

    .creative-text {
        font-size: 4.2rem;
    }

    .digital-marketing-section {
        height: 1600px !important;
    }

    .digital-marketing-section h2 {
        font-size: 2.5rem !important;
    }

    .services-showcase {
        height: 1950px;
    }

    .service-content-container {
        height: 1800px;
    }
}

@media (max-width: 800px) {

    .key-container {
        width: 8%;
        margin: 0;
        padding: 0;
    }

    .creative-text {
        font-size: 3.5rem;
    }

    .services-showcase {
        height: 2150px;
    }

    .service-content-container {
        height: 2000px;
    }

    .video-info {
        margin-top: 20px;
        max-width: 100%;
    }

    .video-info h3 {
        margin-bottom: 10px !important;
    }

    .video-info p {
        margin-top: 0px !important;
    }

    .main-video-player video {
        height: 80%;
        top: 56%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

}

.tv-static-effect {
    position: relative;
    width: 100%;
    height: 900px;
    background-color: rgba(0, 0, 0, 1);
    overflow: hidden;
}

.tv-static-effect::before,
.tv-static-effect::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 150px;
    /* Increased shadow height */
    pointer-events: none;
    z-index: 3;
}

.tv-static-effect::before {
    top: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.7) 40%,
            rgba(0, 0, 0, 0) 100%);
}

.tv-static-effect::after {
    bottom: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.7) 40%,
            rgba(0, 0, 0, 0) 100%);
}

#tv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Increased height for scroll effect */
    opacity: 0.6;
    z-index: 2;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.color-bar {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 120%;
    /* Increased height for scroll effect */
    opacity: 0.9;
    mix-blend-mode: screen;
    z-index: 1;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.top-bars {
    display: flex;
    height: 70%;
}

.bottom-bars {
    display: flex;
    height: 30%;
}

.top-bars>div,
.bottom-bars>div {
    flex: 1;
    height: 100%;
}

/* Top color bars */
.top-bars .color-1 {
    background-color: #FFFFFF;
}

.top-bars .color-2 {
    background-color: #FFFF00;
}

.top-bars .color-3 {
    background-color: #00FFFF;
}

.top-bars .color-4 {
    background-color: #00FF00;
}

.top-bars .color-5 {
    background-color: #FF00FF;
}

.top-bars .color-6 {
    background-color: #FF0000;
}

.top-bars .color-7 {
    background-color: #0000FF;
}

/* Bottom color bars */
.bottom-bars .color-1 {
    background-color: #0000FF;
}

.bottom-bars .color-2 {
    background-color: #000000;
}

.bottom-bars .color-3 {
    background-color: #FF00FF;
}

.bottom-bars .color-4 {
    background-color: #000000;
}

.bottom-bars .color-5 {
    background-color: #00FFFF;
}

.bottom-bars .color-6 {
    background-color: #000000;
}

.bottom-bars .color-7 {
    background-color: #FFFFFF;
}

.vhs-tracking {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.85;
    animation: appear 1s infinite, flick 1s infinite, big-jump 5ms infinite;
}

.vhs-tracking::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 1px 0 rgba(255, 0, 0, 0.5),
        0 -1px 0 rgba(0, 255, 0, 0.5);
    animation: track-move 8s linear infinite;
}

@keyframes appear {
    0% {
        filter: blur(5px);
        opacity: 0.85;
    }

    50% {
        filter: blur(3px);
        opacity: 0.85;
    }

    100% {
        filter: blur(4px);
        opacity: 0.85;
    }
}

@keyframes flick {
    50% {
        transform: translateX(2px);
    }

    51% {
        transform: translateX(0);
    }
}

@keyframes big-jump {
    0% {
        transform: translateY(0);
    }

    10% {
        transform: translateY(-100px);
    }

    12% {
        transform: translateY(0);
    }

    54% {
        transform: translateY(0);
    }

    55% {
        transform: translateY(-300px);
    }

    56% {
        transform: translateY(0);
    }

    86% {
        transform: translateY(0);
    }

    87% {
        transform: translateY(-600px);
    }

    88% {
        transform: translateY(0);
    }
}

@keyframes track-move {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(200%);
    }
}

.horizontal-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.1) 0px,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
}

.glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: glitchEffect 4s infinite;
    pointer-events: none;
    mix-blend-mode: difference;
}

@keyframes noiseAnimation {
    0% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-2px, -2px);
    }

    20% {
        transform: translate(2px, 2px);
    }

    30% {
        transform: translate(-1px, 1px);
    }

    40% {
        transform: translate(1px, -1px);
    }

    50% {
        transform: translate(-2px, 2px);
    }

    60% {
        transform: translate(2px, -2px);
    }

    70% {
        transform: translate(-1px, -1px);
    }

    80% {
        transform: translate(1px, 1px);
    }

    90% {
        transform: translate(-2px, -2px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes glitchEffect {
    0% {
        transform: translate(0);
    }

    1% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(0deg);
    }

    2% {
        transform: translate(2px, -2px);
        filter: hue-rotate(90deg);
    }

    3% {
        transform: translate(-2px);
        filter: hue-rotate(180deg);
    }

    4% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }

    25% {
        transform: translate(0);
    }

    26% {
        transform: translate(-2px, 2px);
        filter: saturate(200%);
    }

    27% {
        transform: translate(2px, -2px);
        filter: saturate(100%);
    }

    28% {
        transform: translate(0);
    }

    75% {
        transform: translate(0);
    }

    76% {
        transform: translate(3px, -3px);
        filter: brightness(150%);
    }

    77% {
        transform: translate(-3px, 3px);
        filter: brightness(100%);
    }

    78% {
        transform: translate(0);
    }

    100% {
        transform: translate(0);
    }
}

.digital-marketing-section {
    background-color: var(--robin-egg-blue);
    margin: 30px auto;
    padding: 20px;
    width: calc(100% - 60px);
    border-radius: 10px;
    cursor: url('../assets/items/pixel_hand.png'), auto;
    height: 1200px;
    position: relative;
    overflow: hidden;
}

.digital-marketing-section h2 {
    font-size: 3.5em;
    text-align: center;
    color: #000;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.digital-marketing-content {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.digital-marketing-content .ok-container {
    background-color: #000;
    border-radius: 15px;
    padding: 1px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.digital-marketing-content .ok-container img {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1px;
    transition: all 0.2s ease;
    display: block;
    position: relative;
    transform-origin: center;
    background: transparent;
    border-radius: 8px;
    -webkit-user-drag: none;
    user-select: none;
    transform: translateY(-1px);
    width: 120px;
    height: auto;
}

.digital-marketing-content .ok-container img:hover {
    cursor: url('../assets/items/pixel_hand.png') 25 25, auto;
    transform: scale(1.02);
}

.digital-marketing-content .ok-container img:active {
    transform: scale(0.95) translateY(4px);
    opacity: 0.85;
}

.digital-marketing-content img {
    width: 120px;
    height: auto;
    display: block;
}

.digital-marketing-content img:hover {
    transform: none;
}

.digital-marketing-content img:active {
    top: 5px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
}

.digital-marketing-content h2 {
    font-size: 3.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #000;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.digital-marketing-content h3 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #000;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.digital-marketing-content p {
    font-size: 1.2em;
    text-align: center;
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #000;
}

.modal-container {
    position: absolute;
    top: 100px;
    /* Space after h2 */
    left: 0;
    right: 0;
    bottom: 400px;
    /* Space before h3 */
    z-index: 0;
}

.errorBox {
    position: absolute;
    height: 180px;
    width: 375px;
    border: solid thick var(--phlox);
    border-radius: 10px;
    display: grid;
    grid-template-rows: 20% 80%;
    grid-template-columns: auto;
    box-shadow: 5px 5px 0px var(--phlox), 10px 10px 0px var(--grape);
    z-index: 1000;
    font-family: Inconsolata, serif;
    animation: modalAppear 0.3s ease-out forwards;
    transform-origin: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.errorBox:hover {
    transform: translateY(-5px);
    box-shadow: 5px 10px 0px var(--phlox), 10px 15px 0px var(--grape);
}

.errorBox:active {
    transform: translateY(0);
    box-shadow: 5px 5px 0px var(--phlox), 10px 10px 0px var(--grape);
}

@keyframes modalAppear {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(30px);
    }

    70% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }

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

.errorBox.removing {
    animation: modalDisappear 0.3s ease-in forwards;
}

@keyframes modalDisappear {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    30% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }

    100% {
        opacity: 0;
        transform: scale(0.7) translateY(30px);
    }
}

.errorBox .header-bar {
    background-color: var(--phlox);
    border-radius: inherit 0 inherit 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
}

.errorBox .header-bar span {
    cursor: pointer;
    padding: 3px;
    text-align: center;
    height: 20px;
    width: 20px;
    font-size: 20px;
    line-height: 20px;
    border-radius: 4px;
    color: #ffffff;
    border: medium solid hsla(273, 74%, 85%, 1);
    margin: auto 5px;
    background-color: hsla(273, 74%, 85%, 0.25);
    transition: all 150ms ease-in-out;
    box-shadow: 2px 2px 0px hsla(301, 35%, 47%, 1);
}

.errorBox .header-bar span:hover {
    background-color: hsla(273, 74%, 85%, 1);
    color: var(--phlox);
}

.errorBox .header-bar span:active {
    background-color: hsla(273, 74%, 85%, 0.5);
    box-shadow: 0px 0px 1px hsla(301, 35%, 47%, 1);
    transform: translate(1px, 1px);
}

.errorBox .message-window {
    background-color: var(--russian-violet);
    display: flex;
    align-items: center;
    flex-flow: column nowrap;
}

.errorBox .message-window .message-body {
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-flow: column nowrap;
    color: var(--robin-egg-blue);
}

.errorBox .message-window .message-body .text-header {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--fluorescent-cyan);
}

.errorBox .message-window .message-body .text-message {
    font-size: 16px;
    line-height: 1.4;
    color: var(--fluorescent-cyan);
}

.errorBox.out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.8) translate(0, -20px);
    }
}

.social-media-section {
    background-color: var(--robin-egg-blue);
    margin: 30px auto;
    padding: 20px;
    width: calc(100% - 60px);
    border-radius: 10px;
    height: 2250px;
    position: relative;
    overflow: hidden;
}

.social-media-section h2 {
    font-size: 3.5em;
    text-align: center;
    color: #000;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.social-posts-container {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    /* gap: 100px; */
}

.left-column {
    margin-left: 30px;
}

.right-column {
    margin-right: 30px;
    justify-self: end;
}

.left-column .phone-post:nth-child(2) {
    position: absolute;
    top: 900px;
    left: 60px;
}

.right-column .phone-post:nth-child(2) {
    position: absolute;
    top: 900px;
    right: 0px;
}

.phone-post {
    position: relative;
    width: 375px;
    height: 700px;
}

.phone-post.center-post {
    margin: 0 auto;
    position: relative;
}

.phone-post.side-post:first-child {
    margin-left: 30px;
    margin-top: 200px;
}

.phone-post.side-post:last-child {
    margin-right: 30px;
    justify-self: end;
    margin-top: 200px;
}

.center-bottom-post {
    position: absolute;
    top: 900px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 420px;
}

.center-column {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.post-content {
    position: relative;
    margin: 20px;
    z-index: 1;
}

.post-header {
    padding: 40px 0 10px 15px;
    display: flex;
    align-items: center;
    justify-content: left;
}

.post-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
}

.username {
    font-weight: 600;
    color: #000;
    font-size: 14px;
}

.post-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.post-image img {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.post-image img.fade-out {
    opacity: 0;
}

.post-bottom {
    padding: 0 15px;
}

.post-bottom img {
    width: 95%;
    height: auto;
    margin: -5px auto;
    display: block;
}

.section-content {
    text-align: center;
    max-width: 600px;
    padding: 20px;
    margin-top: 120px;
}

.section-content h3 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #000;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.section-content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #000;
    margin-bottom: 30px;
}

.work-with-us {
    margin-top: 30px;
}

.work-with-us img {
    width: 200px;
    height: auto;
    cursor: pointer;
}

.post-image-transition {
    transition: opacity 0.5s ease-in-out;
}

.post-image-transition.fade-out {
    opacity: 0;
}

/* Brands Section */
.brands-section {
    width: calc(100% - 60px);
    margin: 30px auto;
    background-color: var(--robin-egg-blue);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    padding-bottom: 80px;
}

.brands-section .section-title {
    font-size: 2em;
    color: var(--russian-violet);
    text-align: center;
    margin-bottom: 30px;
}

.brand-showcase {
    border-radius: 10px;
    padding: 30px;
    margin-top: 120px;
}

.brand-showcase:first-child {
    margin-top: 0;
}

.brand-info-normal {
    display: flex;
    gap: 30px;
}

.brand-left-content {
    flex: 1;
    background-color: var(--robin-egg-blue);
    padding: 30px;
    border-radius: 10px;
}

.brand-right-content {
    padding: 30px;
    border-radius: 15px;
    background-color: #FFF;
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
    position: relative;
    padding-bottom: 60px;
}

.brand-header {
    text-align: left;
}

.brand-name {
    color: #000;
    font-size: 3.5em;
    margin-bottom: 10px;
    font-weight: 300;
}

.brand-category {
    color: #000;
    font-size: 1.8em;
    margin-bottom: 30px;
    margin-top: -25px;
    font-weight: 300;
}

.brand-location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.country-flag {
    height: 20px;
    width: auto;
}

.location-text {
    color: #000;
    font-weight: 300;
    font-size: 1.2em;
}

.location-text::before,
.location-text::after {
    color: var(--fluorescent-cyan);
}

.brand-images {
    display: flex;
    gap: 20px;
    margin-top: -10px;
}

.brand-image-left {
    width: 30%;
    height: auto;
    object-fit: cover;
}

.brand-image-right {
    width: 70%;
    height: auto;
    object-fit: cover;
}

.brand-left-content h3 {
    color: var(--russian-violet);
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 300;
}

.brand-services {
    list-style: none;
    padding: 0;
}

.brand-services li {
    color: var(--russian-violet);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    font-size: 1.8em;
    font-weight: 300;
    line-height: 1;
}

.brand-services li::before {
    content: "•";
    color: var(--phlox);
    position: absolute;
    left: 0;
}

.show-more-container,
.more-brands-container {
    position: absolute;
    left: 50%;
    bottom: -50px;
    transform: translateX(-50%);
    z-index: 2;
    background: #000;
    border-radius: 15px;
    padding: 1px;
    cursor: pointer;
}

.show-more-button,
.more-brands-button {
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.show-more-container:hover,
.more-brands-container:hover {
    background: #000;
}

.show-more-button:active,
.more-brands-button:active {
    transform: translateY(8px);
}

/* Footer Section */
.footer-section {
    background-color: var(--phlox);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    height: 850px;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px),
        linear-gradient(to bottom,
            var(--phlox) 0%,
            var(--phlox) 40%,
            rgba(255, 255, 255, 0.9) 100%);
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    margin-top: 150px;
}

.agency-name {
    text-align: center;
}

.pixel-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 5em;
    color: #000;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}

.contact-info {
    text-align: center;
    color: #000;
}

.contact-info h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-info p {
    margin-top: -15px !important;
    font-size: 1.2em;
    margin: 5px 0;
}

.hashtag-container {
    width: 100%;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px 0 0 0;
}

.hashtag {
    font-size: 1.5em;
    color: #000;
    padding: 0 20px;
    flex-shrink: 0;
    width: 250px;
    /* Fixed width container */
    display: inline-block;
    text-align: center;
}

.hashtag-scroll {
    display: inline-flex;
    white-space: nowrap;
    animation: scrollLeft 20s linear infinite;
    will-change: transform;
    gap: 0;
    /* Remove any gap between hashtags */
}

.hashtag-scroll:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.window-bar {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    height: 30px;
    background: #37b5c5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.window-title {
    color: #000;
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    font-family: 'Press Start 2P', cursive;
    font-weight: 300;
    margin-top: 5px;
}

.window-controls {
    display: flex;
    align-items: center;
    height: 100%;
}

.window-controls img {
    width: auto;
    margin-top: 2px;
}

.brand-images {
    position: relative;
    overflow: hidden;
}

.brand-image-left,
.brand-image-right {
    transition: all 0.7s ease;
    will-change: opacity, transform;
}

.brand-image-left.fade-out,
.brand-image-right.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.brand-image-left.fade-in,
.brand-image-right.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* Contact Modal Styles */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.contact-modal .modal-content {
    background-color: var(--russian-violet);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.contact-modal .contact-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-modal .contact-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 20px; */
}

.contact-modal .contact-header h2 {
    color: white;
    font-size: 3em;
    font-family: 'Press Start 2P', cursive;
    margin-top: -50px;
}

.contact-modal .header-phone {
    width: 70%;
    height: auto;
    object-fit: contain;
    margin-top: -10px;
}

.contact-modal .contact-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 400px;
}

.contact-modal .contact-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 0 20px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-modal .contact-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-modal .contact-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.contact-modal .contact-item p {
    color: white;
    font-size: 1.2em;
    margin-left: 20px;
}

/* Animation classes */
.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal .close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.contact-modal .close-button:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .mobile-version {
        display: flex !important;
    }

    .desktop-version {
        display: none !important;
    }

    .window-bar {
        height: 95px;
        border-radius: 5px;
    }

    .hero {
        height: 75vh;
    }

    .hero-media-container {
        height: auto;
        aspect-ratio: 9/16;
        overflow: hidden;
        position: relative;
    }

    .hero-image,
    .hero-video {
        width: 100%;
        height: 100%;
        aspect-ratio: 9/16;
        object-fit: cover;
        object-position: center;
        position: absolute;
        top: 0;
        left: 0;
    }

    .hit-the-mark h2 {
        font-size: 2.1em;
    }

    .hit-the-mark .left-content h3 {
        font-size: 1.5em;
        margin-top: -5px;
    }

    .be-creative {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .be-creative .keys-row {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .be-creative .creative-text {
        font-size: 3em;
        margin-top: -10px;
        margin-bottom: 10px;
    }

    .be-creative .key-container {
        display: inline-flex;
        width: 25%;
    }

    .video-info {
        display: none;
    }

    .video-info h3 {
        font-size: 1.2em;
    }

    .video-info p {
        font-size: 1em;
    }

    .video-player-container {
        aspect-ratio: 9/16;
    }

    .main-video-player {
        aspect-ratio: 9/16;
    }

    .main-video-player video {
        max-width: 650px !important;
        height: 85% !important;
        /* 45% * 1.3 = 58.5% - 30% increase */
        top: 53% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }

    .headers-container {
        width: calc(100% - 20px);
    }

    .headers-wrapper {
        gap: 40px;
    }

    .services-showcase {
        height: 2650px;
    }

    .service-content-container {
        height: 2400px;
    }

    .services-header-carousel {
        flex-direction: column;
        align-items: center;
        position: relative;
        padding-bottom: 80px;
    }

    .services-header-carousel .headers-container {
        order: 1;
        margin: 0;
    }

    .services-header-carousel .service-header {
        font-size: 2em;
    }

    .content-section-title {
        display: none;
        margin-top: 30px;
        font-size: 2em;
    }

    .service-content-container {
        margin-top: 50px;
        padding: 20px;
        padding-top: 40px;
    }

    .content-section li {
        padding-left: 30px;
    }

    .service-content.active {
        grid-template-columns: repeat(1, 1fr);
    }

    .services-header-carousel .nav-container {
        position: absolute;
        bottom: 0;
        bottom: -25px;
    }

    .services-header-carousel .nav-container:first-child {
        left: 20px;
    }

    .services-header-carousel .nav-container:last-child {
        right: 20px;
    }

    .services-header-carousel .nav-arrow {
        width: 80px;
        /* height: 40px; */
    }

    .services-header-carousel .nav-arrow img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .tv-static-effect {
        height: 500px !important;
    }

    .digital-marketing-section h2 {
        font-size: 1.4em !important;
        margin-bottom: 20px;
    }

    .digital-marketing-section h3 {
        margin-top: auto;
    }

    .digital-marketing-section {
        display: flex;
        flex-direction: column;
    }

    .errorBox {
        width: 262px;
        /* 375px * 0.7 = 262.5px */
        left: 3% !important;
        transform: translateX(-50%);
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .modal-container {
        position: relative;
        height: 110vh;
        margin-top: -80px;
        margin-bottom: 20px;
        /* padding: 0 15%; */
    }

    .social-media-section {
        height: 1950px;
    }

    .social-media-section h2 {
        font-size: 2em;
    }

    .social-media-section .mobile-carousel {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 30px 0;
        padding: 0 20px;
    }

    .social-media-section .carousel-container {
        display: flex;
        overflow: hidden;
        width: 100%;
        gap: 20px;
    }

    .social-media-section .phone-post {
        flex: 0 0 calc(33.333% - 14px);
        transition: transform 0.3s ease;
    }

    .social-media-section .phone-post.active {
        transform: scale(1.1);
    }

    .social-media-section .nav-arrow {
        position: absolute;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }

    .social-media-section .nav-arrow.prev {
        left: 10px;
    }

    .social-media-section .nav-arrow.next {
        right: 10px;
    }

    .social-media-section .section-content {
        text-align: center;
        padding: 30px 20px;
    }

    .social-media-section .work-with-us {
        margin-top: 30px;
    }

    /* Hide desktop version on mobile */
    .social-posts-container.desktop-version {
        display: none;
    }

    .social-posts-container.mobile-version {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px;
    }

    .social-posts-container.mobile-version .carousel-section {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20px 0;
    }

    .social-posts-container.mobile-version .phone-frame-container {
        position: relative;
        width: 100%;
        max-width: 300px;
    }

    .social-posts-container.mobile-version .phone-post {
        position: absolute;
        width: 100%;
        transition: transform 0.3s ease;
    }

    .social-posts-container.mobile-version .phone-post.slide-left {
        transform: translateX(-100%);
    }

    .social-posts-container.mobile-version .phone-post.slide-right {
        transform: translateX(100%);
    }

    .social-posts-container.mobile-version .phone-post.center {
        transform: translateX(0);
    }

    .social-posts-container.mobile-version .post-image {
        position: relative;
        margin: 10px 0;
    }

    .social-posts-container.mobile-version .nav-arrow {
        position: absolute;
        width: 60px;
        height: 60px;
        cursor: pointer;
        z-index: 10;
        /* Increased z-index to be above the frames */
        top: 50%;
        transform: translateY(-50%);
    }

    .social-posts-container.mobile-version .nav-arrow.prev {
        left: -35px;
    }

    .social-posts-container.mobile-version .nav-arrow.next {
        right: -35px;
    }

    .social-posts-container.mobile-version .section-content {
        text-align: center;
        padding: 40px 20px;
        margin: 140px 0 0 0;
    }

    .social-posts-container.mobile-version .section-content h3 {
        margin-bottom: 0px;
        font-size: 1.8em;
    }

    .social-posts-container.mobile-version .section-content p {
        margin-bottom: 30px;
        font-size: 1.0em;
    }

    .social-posts-container.mobile-version .work-with-us {
        margin: 30px auto;
        display: block;
    }

    /* Hide desktop version on mobile */
    .social-posts-container.desktop-version {
        display: none;
    }

    .phone-frame {
        height: auto;
    }

    .social-posts-container.mobile-version .nav-arrow {
        cursor: pointer;
        transition: transform 0.1s ease;
    }

    .social-posts-container.mobile-version .nav-arrow.pressed {
        transform: translateY(4px);
    }

    .brand-showcase {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .brand-left-content {
        width: 100%;
        order: 1;
        background-color: var(--cyan-blue);
        padding: 20px;
    }

    .brand-right-content {
        width: 100%;
        order: 2;
        margin-top: 20px;
        background-color: white;
        padding: 20px;
    }

    .brand-list-section {
        width: 100%;
    }

    .brand-info {
        width: 100%;
    }

    .brand-images {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .brand-image-left,
    .brand-image-right {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .brand-services {
        padding: 20px;
    }

    .brand-header {
        margin-bottom: 15px;
    }

    .brand-showcase {
        padding: 0;
        margin-top: 20px;
    }

    /* Hide desktop version */
    .brand-showcase.desktop-version {
        display: none;
    }

    /* Show and style mobile version */
    .brand-showcase.mobile-version {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: var(--cyan-blue);
    }

    .brand-showcase.mobile-version .brand-list-section {
        width: 100%;
        padding: 40px 20px;
        background-color: var(--cyan-blue);
    }

    .brand-showcase.mobile-version .brand-list-section h3 {
        font-size: 1.8em;
        margin-bottom: 10px;
        color: black;
    }

    .brand-showcase.mobile-version .brand-list-section ul {
        list-style: none;
        padding: 0;
    }

    .brand-showcase.mobile-version .brand-list-section ul li {
        font-size: 1.2em;
        margin-bottom: 15px;
        color: black;
        position: relative;
        padding-left: 20px;
    }

    .brand-showcase.mobile-version .brand-list-section ul li::before {
        content: "•";
        color: #ff00ff;
        position: absolute;
        left: 0;
    }

    .brand-showcase.mobile-version .brand-info-section {
        width: 100%;
        padding: 30px 20px;
        background-color: white;
        position: relative;
        padding-bottom: 60px;
        /* Make room for the show more button */
    }

    .brand-showcase.mobile-version .show-more-container {
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        height: auto;
        z-index: 2;
        cursor: pointer;
    }

    .brand-showcase.mobile-version .show-more-button {
        width: auto;
        height: 50px;
        transition: transform 0.2s ease;
    }

    .brand-showcase.mobile-version .show-more-button:active {
        transform: translateY(4px);
    }

    .brand-showcase.mobile-version .brand-images {
        margin-bottom: 20px;
    }

    .brand-showcase.mobile-version .brand-header {
        margin-bottom: 25px;
    }

    .brand-showcase.mobile-version .brand-header h3 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .brand-showcase.mobile-version .brand-category {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .brand-showcase.mobile-version .brand-location {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
        color: #000;
    }

    .brand-showcase.mobile-version .country-flag {
        width: 30px;
        height: auto;
    }

    .brand-showcase.mobile-version .location-text {
        color: var(--cyan-blue);
        font-size: 0.75em;
    }

    .brand-showcase.mobile-version .brand-images {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .brand-showcase.mobile-version .brand-image-left,
    .brand-showcase.mobile-version .brand-image-right {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .pixel-text {
        font-size: 3em;
    }

    /* Contact Modal Mobile Styles */
    .contact-modal {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .contact-modal .modal-content {
        flex-direction: column;
        padding: 20px;
    }

    .contact-modal .text-section {
        display: none;
        /* Hide the text section on mobile */
    }

    .contact-modal .contact-section {
        width: 100%;
        padding: 20px;
    }

    .contact-modal .contact-header {
        margin-bottom: 40px;
    }

    .contact-modal .contact-header h2 {
        font-size: 2.5em;
        margin-bottom: 10px;
    }

    .contact-modal .contact-items {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .contact-modal .contact-item {
        padding: 15px;
        margin: 10px 0;
    }

    .contact-modal .contact-item img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .contact-modal .contact-item p {
        font-size: 1.1em;
        margin-left: 15px;
    }

    .contact-modal .close-button {
        top: 20px;
        right: 20px;
    }

    .contact-modal .header-phone {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .services-showcase {
        height: 3100px;
    }

    .service-content-container {
        height: 2850px;
    }

    .contact-modal .contact-item p {
        font-size: 0.8em;
    }

    .contact-modal .contact-phone p {
        font-size: 1.2em !important;
    }
}