/* Base Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
}

:root {
    --primary-color: #0BA34E;
    --primary-gradient: linear-gradient(135deg, #0BA34E, #00D5A4);
    --secondary-color: #4f5bff;
    --secondary-gradient: linear-gradient(135deg, #4f5bff, #9C6FFF);
    --dark-bg: #111111;
    --darker-bg: #0A0A0A;
    --light-text: #ffffff;
    --gray-text: rgba(255, 255, 255, 0.7);
    --border-color: #333333;
    --transition-smooth: cubic-bezier(0.33, 1, 0.68, 1);
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00D5A4;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

.preloader-logo {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.preloader-logo .dot {
    color: var(--primary-color);
}

.preloader-progress {
    width: 200px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--primary-gradient);
}

.preloader-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
}

/* Custom Cursor */
.cursor {
    pointer-events: none;
    position: fixed;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(11, 163, 78, 0.5);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: all 0.2s var(--transition-smooth);
}

.cursor-text {
    position: fixed;
    background-color: var(--primary-color);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: all 0.3s var(--transition-smooth);
    white-space: nowrap;
}

/* Cursor states */
.cursor.hover .cursor-dot {
    transform: translate(-50%, -50%) scale(0);
}

.cursor.hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(11, 163, 78, 0.1);
}

.cursor.view .cursor-outline {
    width: 80px;
    height: 80px;
    background-color: rgba(11, 163, 78, 0.1);
    border-color: var(--primary-color);
}

.cursor.play .cursor-outline {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.cursor.text .cursor-dot {
    opacity: 0;
}

.cursor.text .cursor-outline {
    opacity: 0;
}

.cursor.text .cursor-text {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGQ9Ik0wIDBoMzAwdjMwMEgweiIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIuMDUiLz48L3N2Zz4=');
    pointer-events: none;
    z-index: 9000;
    opacity: 0.4;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--darker-bg);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: right 0.6s var(--transition-smooth);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header h1 {
    font-size: 1.6rem;
}

.mobile-menu-header .dot {
    color: var(--primary-color);
}

.mobile-close {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.mobile-close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    top: 50%;
    left: 0;
}

.mobile-close span:first-child {
    transform: rotate(45deg);
}

.mobile-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu-content {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu-item h3 {
    font-size: 2rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.mobile-menu-item h3:hover {
    color: var(--primary-color);
}

.mobile-menu-item h3:hover::after {
    width: 100%;
}

.mobile-menu-footer {
    padding: 30px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-link i {
    font-size: 1.2rem;
}

/* Navigation */
nav {
    position: fixed;
    display: flex;
    align-items: flex-start;
    height: 12vh;
    width: 100%;
    padding: 2vw 10.4vw;
    justify-content: space-between;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

nav.scrolled {
    height: 10vh;
    padding: 1.5vw 10.4vw;
    background-color: rgba(10, 10, 10, 0.95);
}

nav h1 {
    font-size: 1.6vw;
    font-weight: 700;
    letter-spacing: -1px;
}

nav h1 .dot {
    color: var(--primary-color);
}

.nav-part2 {
    display: flex;
    gap: 2vw;
    align-items: flex-start;
    padding: 1vh 0;
    position: relative;
    z-index: 10;
}

.nav-elem {
    position: relative;
}

.nav-part2 h4 {
    font-size: 0.73vw;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2.6vw;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-part2 h4:hover {
    color: var(--primary-color);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(17, 17, 17, 0.95);
    border-radius: 8px;
    padding: 15px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.nav-elem:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content h5 {
    margin-bottom: 10px;
    overflow: hidden;
}

.dropdown-content h5 span {
    font-size: 0.77vw;
    font-weight: 400;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.dropdown-content h5 span:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.btn-primary {
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    padding: 14px 20px;
    font-size: 0.85vw;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary svg {
    height: 0.8vw;
    margin-left: 1.6vw;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    margin-top: 10px;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

#nav-bottom {
    width: 79%;
    height: 0vh;
    position: absolute;
    top: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    z-index: 9;
    border-bottom: 1px solid var(--border-color);
    transition: height 0.5s var(--transition-smooth);
}

/* Hero Section */
#page1 {
    height: 100vh;
    width: 100%;
    background-color: var(--dark-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.gradient-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(11, 163, 78, 0.2) 0%, rgba(11, 163, 78, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#page1 h1 {
    font-size: 8.5vw;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 8.5vw;
    position: relative;
    z-index: 1;
}

.split-text {
    overflow: hidden;
}

.split-text .char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

#page1 h1 svg {
    height: 6vw;
    border-radius: 50%;
    width: 6vw;
    background-color: var(--primary-color);
    vertical-align: middle;
    transition: all 0.3s ease;
}

.svg-container {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.svg-container:hover svg {
    transform: scale(1.1);
}

#page1 p {
    text-align: center;
    font-weight: 400;
    margin-top: 3vh;
    font-size: 1vw;
    position: relative;
    z-index: 1;
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}

#page1-something {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

#page1-something h4 {
    font-weight: 400;
    font-size: 1vw;
    text-transform: lowercase;
    margin-top: 0.5vw;
    padding: 9px 18px;
    border: 1px solid hsl(0, 0%, 65%);
    border-radius: 50px;
    transition: all 0.3s ease;
}

#page1-something h4:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

#page1-something h4:nth-last-child(2) {
    border: none;
    padding: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.scroll-indicator span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
}

#moving-div {
    margin-top: 10vh;
    position: absolute;
    bottom: 3%;
    white-space: nowrap;
    padding: 1.2vw;
    overflow: hidden;
    width: 44%;
    z-index: 1;
}

#moving-div .move {
    display: inline-block;
    animation-name: mobe;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#moving-div .move img {
    height: 1vw;
    margin: 0 1.2vw;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

#moving-div .move img:hover {
    opacity: 1;
}

@keyframes mobe {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

#blur-left {
    height: 100%;
    width: 20%;
    background: linear-gradient(to right, var(--dark-bg), transparent);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

#blur-right {
    height: 100%;
    width: 20%;
    background: linear-gradient(to right, transparent, var(--dark-bg));
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    padding: 0 10.5vw;
}

.section-number {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    opacity: 0.8;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Page 2 - Insights */
#page2 {
    min-height: 100vh;
    width: 100%;
    background-color: var(--dark-bg);
    position: relative;
    padding: 120px 10.5vw;
    padding-bottom: 8vw;
    display: flex;
    align-items: flex-start;
    border-top: 1px solid var(--border-color);
    justify-content: space-between;
    flex-wrap: wrap;
}

#page2-left {
    height: 100%;
    width: 40%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    padding: 3vw 0;
}

#page2-left p {
    font-size: 0.8vw;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

#page2-left h5 {
    width: 75%;
    font-weight: 400;
    font-size: 1.1vw;
    line-height: 1.6;
}

#page2-right {
    height: 100%;
    width: 50%;
}

.right-elem {
    position: relative;
    padding-top: 2vw;
    padding-bottom: 5vw;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.article-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(11, 163, 78, 0.2);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.7vw;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

.right-elem h2 {
    font-size: 1.4vw;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.8vw;
    opacity: 0.7;
}

.right-elem img {
    height: 7vw;
    width: 7vw;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    scale: 0;
    transition: all 0.5s var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.right-elem:hover {
    background-color: rgba(255, 255, 255, 0.03);
    padding-left: 20px;
}

.right-elem:hover h2 {
    color: var(--primary-color);
}

/* Page 3 - Showreel */
#page3 {
    height: 100vh;
    width: 100%;
    background-color: var(--dark-bg);
    position: relative;
    background-image: url(https://lazarev.kiev.ua/la24/reel-cover.webp);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
}

#page3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.page3-center {
    display: flex;
    align-items: center;
    padding: 1vw;
    flex-direction: column;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.page3-center .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.3vw;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.page3-center:hover .icon {
    transform: scale(1.1);
    background-color: #fff;
}

.page3-center .icon i {
    color: #000;
    font-size: 2.8vw;
}

.page3-center h5 {
    font-size: 0.8vw;
    background-color: #fff;
    color: #000;
    border-radius: 50px;
    padding: 12px 26px 10px 26px;
    margin-top: 0.5vw;
    font-weight: 700;
    opacity: 0;
    transition: all ease 0.5s;
    transform: translateY(16%);
    text-transform: uppercase;
}

.page3-center:hover h5 {
    opacity: 1;
    transform: translateY(0%);
}

#page3 video {
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
    transform: scaleX(0.7) scaleY(0);
    opacity: 0;
    border-radius: 30px;
    z-index: 99999;
    transition: all 0.5s var(--transition-smooth);
}

/* Page 4 - Case Studies */
#page4 {
    min-height: 100vh;
    width: 100%;
    background-color: #fff;
    position: relative;
    padding: 120px 0 13vh;
}

.section {
    width: 100%;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13vh 10vw;
    padding-bottom: 0;
}

.sec-left {
    height: 100%;
    width: 25%;
    padding-top: 3vh;
    border-top: 2px solid #000;
    position: relative;
}

.case-number {
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.sec-left h2 {
    font-size: 2.1vw;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}

.sec-left p {
    color: #000;
    margin-top: 10vh;
    font-size: 1.2vw;
    line-height: 1.6;
    margin-bottom: 30px;
}

.case-link {
    display: inline-block;
    color: #000;
    font-weight: 600;
    font-size: 1vw;
    text-decoration: none;
    position: relative;
}

.case-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.case-link:hover::after {
    width: 100%;
}

.case-link i {
    color: #000;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.case-link:hover i {
    transform: translateX(5px);
}

.sec-right {
    height: 100%;
    width: 70%;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.case-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8vw;
    font-weight: 600;
    z-index: 2;
}

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

.sec-right:hover img {
    transform: scale(1.05);
}

.sec-right video {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 0;
    transition: opacity ease 0.3s;
}

/* Page 5 - Services */
#page5 {
    min-height: 100vh;
    background-color: var(--dark-bg);
    width: 100%;
    position: relative;
    padding: 120px 10.5vw 5vh;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.sticky-btn {
    position: sticky;
    top: 15%;
    z-index: 5;
}

#page5-right {
    width: 70%;
}

#page5-right > p {
    font-size: 2.1vw;
    line-height: 1.4;
    margin-bottom: 60px;
}

#page5-right > p span {
    width: 15vw;
    display: inline-block;
}

#page5-content {
    width: 100%;
    margin-top: 5vh;
    padding: 5vh 0;
}

#page5-content h1 {
    font-size: 3vw;
    font-weight: 500;
}

#page5-content #flex {
    display: flex;
    margin-top: 4vh;
    margin-bottom: 4vh;
    flex-wrap: wrap;
    gap: 10px;
}

#page5-content #flex h4 {
    border-radius: 50px;
    border: 1px solid #fff;
    padding: 10px 20px;
    font-weight: 400;
    font-size: 0.8vw;
    transition: all 0.3s ease;
}

#page5-content #flex h4:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page5-elem {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
    padding-top: 3vh;
    padding-bottom: 9vh;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    position: relative;
    cursor: pointer;
}

.page5-elem p {
    width: 55%;
    font-size: 0.8vw;
    position: relative;
    z-index: 8;
    line-height: 1.6;
}

.page5-elem h3 {
    font-size: 1.6vw;
    font-weight: 400;
    position: relative;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
    z-index: 8;
}

.page5-elem i {
    font-size: 1vw;
    position: relative;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
    z-index: 8;
}

.over {
    height: 100%;
    width: 100%;
    background-color: #222;
    position: absolute;
    top: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
}

.page5-elem:hover h3 {
    padding-left: 1vw;
    color: var(--primary-color);
}

.page5-elem:hover i {
    padding-right: 1vw;
    color: var(--primary-color);
}

.page5-elem:hover .over {
    transform: translateY(0);
    opacity: 1;
}

.page5-elem:hover {
    border-top: 2px solid var(--primary-color);
}

summary {
    list-style: none;
    cursor: pointer;
}

summary::marker {
    content: "";
}

.uiux {
    border-top: 1px solid var(--border-color);
    padding: 3vh 0;
}

.product {
    padding: 3vh 0;
    border-top: 1px solid var(--border-color);
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 100px 0 50px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 0 10.5vw;
}

.footer-left {
    width: 40%;
}

.footer-left h2 {
    font-size: 3.5vw;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
}

.footer-cta {
    display: inline-flex;
}

.footer-right {
    width: 55%;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-col {
    width: 30%;
}

.footer-col h4 {
    font-size: 1vw;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    text-decoration: none;
    font-size: 0.9vw;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-col .social-links {
    flex-direction: column;
    align-items: flex-start;
}

.footer-col .social-link {
    background-color: transparent;
    width: auto;
    height: auto;
    justify-content: flex-start;
}

.footer-col .social-link i {
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.8vw;
    opacity: 0.5;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.8vw;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .nav-part2 {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    nav h1 {
        font-size: 24px;
    }
    
    .btn-primary {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .btn-primary svg {
        height: 14px;
        margin-left: 10px;
    }
    
    #page1 h1 {
        font-size: 12vw;
        line-height: 12vw;
    }
    
    #page1 h1 svg {
        height: 10vw;
        width: 10vw;
    }
    
    #page1 p {
        font-size: 16px;
        width: 90%;
    }
    
    #page1-something h4 {
        font-size: 14px;
    }
    
    #moving-div {
        width: 80%;
    }
    
    #page2 {
        flex-direction: column;
    }
    
    #page2-left {
        width: 100%;
        margin-bottom: 50px;
    }
    
    #page2-left p {
        font-size: 14px;
    }
    
    #page2-left h5 {
        font-size: 18px;
        width: 100%;
    }
    
    #page2-right {
        width: 100%;
    }
    
    .right-elem h2 {
        font-size: 20px;
    }
    
    .article-meta {
        font-size: 14px;
    }
    
    .right-elem img {
        height: 80px;
        width: 80px;
    }
    
    .section {
        flex-direction: column;
    }
    
    .sec-left {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .sec-left h2 {
        font-size: 28px;
    }
    
    .sec-left p {
        font-size: 16px;
        margin-top: 30px;
    }
    
    .sec-right {
        width: 100%;
        height: 50vh;
    }
    
    #page5 {
        flex-direction: column;
    }
    
    .sticky-btn {
        position: static;
        margin-bottom: 40px;
    }
    
    #page5-right {
        width: 100%;
    }
    
    #page5-right > p {
        font-size: 24px;
    }
    
    #page5-content h1 {
        font-size: 32px;
    }
    
    #page5-content #flex h4 {
        font-size: 12px;
    }
    
    .page5-elem h3 {
        font-size: 20px;
    }
    
    .page5-elem p {
        font-size: 14px;
        width: 70%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-left {
        width: 100%;
        margin-bottom: 60px;
    }
    
    .footer-left h2 {
        font-size: 36px;
    }
    
    .footer-right {
        width: 100%;
    }
    
    .footer-col h4 {
        font-size: 18px;
    }
    
    .footer-col ul li a {
        font-size: 16px;
    }
    
    .footer-bottom p, .footer-links a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 20px;
        height: 80px;
    }
    
    #page1 h1 {
        font-size: 14vw;
        line-height: 14vw;
    }
    
    #page1-something {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #page1-something h4 {
        margin: 5px;
    }
    
    .section-header {
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .section {
        padding: 50px 20px;
    }
    
    #page5 {
        padding: 80px 20px 30px;
    }
    
    .page5-elem {
        flex-direction: column;
    }
    
    .page5-elem p {
        width: 100%;
        margin-top: 20px;
    }
    
    .footer-nav {
        flex-direction: column;
    }
    
    .footer-col {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .page3-center .icon {
        padding: 40px;
    }
    
    .page3-center .icon i {
        font-size: 30px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
