html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    font-weight: 700;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 22px;
}

.logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.menu a {
    text-decoration: none;
    color: #111;
    margin: 0 50px;
    font-weight: 500;
    font-size: 22px;
}

.menu a:hover {
    color: #0066FF;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #8e44ad);
    transition: width 0.3s;
}

.cta-btn {
    text-decoration: none;
    padding: 10px 20px;
    background: #087fff; 
    border-radius: 30px;
    color: #ffffff;
    font-size: 20px;
}

.cta-btn:hover {
    background: #004ecc;
}

.hero {
    display: flex;
    align-items: center;      
    justify-content: space-between;
    padding: 100px 8%;
    gap: 40px;
    min-height: 80vh;
    box-sizing: border-box;
}

.hero-text {
    flex: 1;
    min-width: 400px;
}

.hero-text h1 {
    margin: 0;
    font-size: 70px;
    line-height: 1.1;
    font-weight: 700;
    color: #000000;
}

.hero-text p {
    font-style: italic;
    font-size: 28px;
    color: #505050;
    margin: 20px 0 40px 0;
}

.gradient-text {
    background: linear-gradient(90deg, #0066FF, #00DBFF);
    -webkit-background-clip: text; 
    background-clip: text;         
    -webkit-text-fill-color: transparent;
}

.cta-butn {
    text-decoration: none;
    padding: 16px 40px;
    background: #007AFF; 
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}

.cta-butn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.hero-media {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.video-loop {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 24px; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

:root {
    --accent-blue: #00A3FF;
    --text-dark: #000000;
    --text-gray: #666;
    --card-bg: #ffffff;
    --card-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.clients {
    padding: 100px 0;
    overflow: hidden;
    background-color: #fff;
}

.clients .container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clients h2 {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #000;
    white-space: nowrap; 
    display: block;
    width: 100%;
}

.clients h2 .blue-text {
    background: linear-gradient(90deg, #0066FF, #00DBFF);
    -webkit-background-clip: text; 
    background-clip: text;         
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline;
}

.clients .container {
    max-width: 100% !important;
    width: 100%;
    padding: 0;
}
.marquee {
    position: relative;
    width: 100vw;
    overflow: hidden;
    padding: 40px 0; 
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 30s linear infinite;
    padding-bottom: 10px; 
}

.clients .card {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    background: #ffffff;
    padding: 20px 40px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
    border: none;
    transition: transform 0.3s ease;
}

.clients .card:hover {
    transform: scale(1.05);
}

.clients .card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.clients .card-text {
    text-align: left;
}

.clients .card-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
}

.clients .card-text p {
    font-size: 16px;
    margin: 4px 0 0 0;
    color: var(--accent-blue);
    font-weight: 600;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

:root {
    --accent-blue: #007aff;
    --text-dark: #000000;
    --card-shadow: 0 15px 50px rgba(0,0,0,0.1);
    --modal-bg: #f2f2f2;
}

.portfolio-section {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start;
    width: 100%;
    padding: 100px 0 80px;
    box-sizing: border-box;
    overflow: hidden;
}

.portfolio-section .section-title {
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.portfolio-section .section-title span {
    background: linear-gradient(90deg, #0066FF, #00DBFF);
    -webkit-background-clip: text; 
    background-clip: text;         
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.portfolio-section .cascade-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.portfolio-section .main-card {
    cursor: pointer;
    background: #ffffff;
    border-radius: 55px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    position: absolute;
    width: 850px;
    box-sizing: border-box;
    left: 50%;
}

.portfolio-section .yt-card {
    top: 180px;
    z-index: 1;
    margin-left: -550px;
}

.portfolio-section .reels-card {
    top: 0;
    z-index: 2;
    margin-left: -300px;
}

.portfolio-section .main-card:hover {
    transform: translateY(-15px) scale(1.02);
    z-index: 10;
    box-shadow: 0 40px 90px rgba(0,0,0,0.2);
}

.portfolio-section .category-label {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
    flex: 1;
    margin: 0;
}

.portfolio-section .category-label span {
    background: linear-gradient(90deg, #0066FF, #00DBFF);
    -webkit-background-clip: text; 
    background-clip: text;         
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: block;
}

.portfolio-section .preview-img {
    width: 420px;
    height: 240px;
    border-radius: 35px;
    object-fit: cover;
    flex-shrink: 0;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(203, 203, 203, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.modal-content {
    background-color: #f2f2f2;
    width: 95%;
    max-width: 1100px;
    border-radius: 50px;
    padding: 60px 40px 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content .review-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 35px;
    max-width: 500px;
    margin: 40px auto 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: block;
}

.modal-content .user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modal-content .user-info img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.modal-content .user-info h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.modal-content .stars {
    color: #007aff;
    font-size: 18px;
    margin: 10px 0;
}

.modal-content .review-text {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
    margin: 0;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 50px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    z-index: 100;
    line-height: 1;
}

.videos-grid, .reels-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.videos-grid {
    grid-template-columns: 1fr 1fr;
}

.reels-grid {
    grid-template-columns: repeat(3, 1fr);
}

.video-box, .reel-box {
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    width: 100%;
}

.video-box { aspect-ratio: 16/9; }
.reel-box { aspect-ratio: 9/16; }

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

:root {
    --accent-blue: #00A3FF;
    --text-dark: #000000;
    --text-gray: #666;
    --text-light-gray: #999;
}

.contact-section {
    padding: 100px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-text {
    flex: 1.5;
}

.contact-text h2 {
    font-size: 85px;
    line-height: 1.0;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: #000;
}

.gradient-text {
    background: linear-gradient(90deg, #0066FF, #00DBFF);
    -webkit-background-clip: text; 
    background-clip: text;         
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    white-space: nowrap;
}

.blue-text {
    color: #000;
    display: block;
}

.italic-text {
    font-size: 26px;
    font-style: italic;
    color: var(--text-gray);
    margin: 0;
}

.contact-media {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.contact-media img {
    max-width: 550px;
    width: 100%;
    height: auto;
}

.copyright {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.copyright p {
    font-size: 14px;
    color: var(--text-light-gray);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .header {
        padding: 15px 20px;
    }

    .menu {
        display: none;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        gap: 30px;
    }

    .hero-text {
        padding-top: 0;
        min-width: auto;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-text p {
        font-size: 24px;
    }

    .hero-media {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .video-loop {
        width: 100%;
        max-width: 100%;
        max-height: 400px;
        object-fit: cover;
        border-radius: 20px;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    }

    .clients {
        padding: 60px 0;
    }

    .clients h2 {
        font-size: 28px;
        white-space: normal;
        padding: 0 20px;
    }

    .marquee {
        padding: 20px 0;
    }

    .portfolio-section {
        padding: 60px 0 40px;
    }

    .portfolio-section .section-title {
        font-size: 32px;
        padding: 0 20px;
    }

    .portfolio-section .cascade-container {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 20px;
        padding: 0 15px;
    }

    .portfolio-section .main-card {
        position: relative;
        left: 0 !important;
        top: 0 !important;
        margin-left: 0 !important;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
        border-radius: 35px;
        transform: none !important;
    }

    .portfolio-section .category-label {
        font-size: 30px;
        min-width: auto;
    }

    .portfolio-section .preview-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .modal-content {
        width: 92%;
        padding: 50px 15px 30px;
        border-radius: 30px;
    }

    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 40px;
        color: #000;
    }

    .videos-grid, .reels-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modal-content .review-card {
        width: 100%;
        padding: 20px;
        margin-top: 30px;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .contact-text h2 {
        font-size: 42px;
        white-space: normal;
    }

    .gradient-text {
        white-space: normal;
    }

    .italic-text {
        font-size: 20px;
    }

    .contact-media {
        justify-content: center;
    }

    .contact-media img {
        max-width: 100%;
    }

    .copyright p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 20px;
    }

    .video-loop {
        max-height: 300px;
    }

    .portfolio-section .section-title {
        font-size: 26px;
    }

    .contact-text h2 {
        font-size: 34px;
    }
}