:root {

    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #f0f4ff;

    --button-bg: #000000;
    --button-text: #ffffff;
    --header-height: 80px;
    --font-main: 'Cameron',
        'Inter',
        sans-serif;

    --gray-text: #555555;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);

}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);

    color: var(--text-color);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1001;
    text-decoration: none;

    color: var(--text-color);

}

.burger-btn {
    display: none;

    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.burger-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: underline;
    text-underline-offset: 4px;

    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    padding: 10px 0;

}

.nav-link:hover {
    color: var(--button-bg);
    text-decoration-color: var(--button-bg);

    transform: translateY(-2px);
    text-shadow: 0 4px 15px rgba(0, 123, 255, 0.8);

}

.lang-dropdown {
    position: relative;
    z-index: 1001;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.current-lang {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;

}

.header-socials {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 900px) {
    .header-socials {
        display: none;

    }
}

.header-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5d6d7e;
    transition: all 0.3s ease;
    opacity: 0.7;

}

.header-social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.header-social-icon:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.header-social-icon.telegram:hover {
    color: #0088cc;
}

.header-social-icon.whatsapp:hover {
    color: #25d366;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    display: none;

    min-width: 120px;
}

.lang-menu.active {
    display: block;
}

.lang-menu a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: background 0.2s;
}

.lang-menu a:hover {
    background: #f5f5f5;
}

.btn {
    display: inline-block;
    padding: 15px 40px;

    border-radius: 50px;

    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    position: relative;
    overflow: hidden;

}

.btn-primary {
    background-color: var(--button-bg);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);

}

.btn-primary:hover {
    background-color: #0056b3;

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);

}

.btn-primary:active {
    transform: translateY(1px);

    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.hero {
    padding-top: 0;

    padding-bottom: 20px;
    height: 100vh;
    min-height: 600px;
    background-image: url('assets/light_baner.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #ffffff;
    display: flex;
    align-items: flex-start;

    justify-content: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero::before {
    display: none;
}

.hero-container {
    display: flex;
    justify-content: flex-start;

    align-items: center;

    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    flex-direction: column;
    padding-top: 50px;

}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    border: none;
    padding: 0;
    box-shadow: none;
}

.hero-title {
    display: block !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    background: linear-gradient(to right, #1e40af, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    letter-spacing: -0.01em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title .highlight {
    display: block;

    font-size: 72px;

    margin-top: 10px;
    color: #60A5FA;

    background: none;
    -webkit-text-fill-color: #60A5FA;
}

.hero-text {
    display: block !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 18px;
    color: #4B5563;
    margin-bottom: 25px;
    line-height: 1.5;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: none;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0.9;
    letter-spacing: normal;
}

.hero .btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #86efac, #4ade80);

    color: #FFFFFF;
    border-radius: 50px;

    padding: 18px 60px;

    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.2);

    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 5px;

    opacity: 1;
    transform: none;
}

.hero .btn-primary:hover {
    background: linear-gradient(to right, #4ade80, #86efac);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.3);
}

html[lang="uk"] .hero-title,
html[lang="ru"] .hero-title {
    font-size: 56px;
    line-height: 1.2;
}

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

    .burger-btn {
        display: flex;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
    }

    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 15px;

        margin-left: auto;

    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;

        align-items: center;
        gap: 40px;
        transform: translateY(-100%);

        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        padding-top: var(--header-height);

    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-link {
        font-size: 24px;
        display: block;

    }

    .burger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .burger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero {
        padding: 0;
        min-height: 85vh;

        height: auto;
        background-size: 130% auto;

        background-position: center 70%;

        background-repeat: no-repeat;
        align-items: flex-start;
    }

    .hero-container {
        padding-top: 40px;

        padding-bottom: 200px;

        justify-content: flex-start;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .hero-card {
        padding: 0 15px;
        margin: 0;
        background: transparent;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 26px;

        line-height: 1.15;
        margin-bottom: 5px;
    }

    .hero-title .highlight {
        font-size: 32px;

        margin-top: 2px;
    }

    .hero-text {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.3;
        max-width: 280px;

    }

    .hero .btn-primary {
        padding: 12px 35px;
        font-size: 16px;
        width: auto;
        min-width: 160px;
    }

    .pricing-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts-image {
        order: -1;
    }

    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .mobile-social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #5d6d7e;
        transition: transform 0.2s ease;
    }

    .mobile-social-icon:active {
        transform: scale(0.95);
    }

    .header-socials {
        display: none;
    }

    @media (orientation: landscape) {
        .nav {
            overflow-y: auto;

            padding-top: 70px;
            padding-bottom: 20px;
            gap: 15px;

        }

        .nav-link {
            font-size: 18px;

        }

        .nav-phone {
            font-size: 18px;
            margin-bottom: 15px;
        }
    }
}

@media (min-width: 901px) {
    .mobile-controls {
        display: none;
    }
}

.pricing {
    padding: 40px 0;

    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;

    height: 2px;
    background-color: #ccc;
    margin: 10px auto 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.pricing-card {
    background: #E8EFFD;

    border-radius: 20px;
    padding: 20px 15px;

    display: flex;
    flex-direction: column;
    border: 1px solid #d0d7e5;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 18px;

    font-weight: 700;
    margin-bottom: 10px;

    color: var(--primary-color);
    text-align: center;

    min-height: auto;

}

.card-desc {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 30px;
}

.card-features {
    list-style: none;
    margin-bottom: 15px;

    flex-grow: 1;

}

.card-features li {
    font-size: 13px;
    margin-bottom: 5px;

    padding-left: 15px;
    position: relative;
    line-height: 1.3;

}

.card-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--button-bg);
}

.card-price {
    font-size: 16px;
    margin-bottom: 10px;

    text-align: center;
}

.card-price strong {
    font-size: 24px;
}

.card-btn {
    align-self: center;
    width: 100%;
    text-align: center;
}

.contacts {
    padding: 40px 0;

    background-color: #fff;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 3fr 7fr;

    gap: 40px;
    align-items: stretch;

}

@media (max-width: 900px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts-image {
        order: -1;

        order: 1;
        height: 300px;

    }
}

.contacts-form-wrapper {
    background: #E8EFFD;
    padding: 30px;

    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;

}

.form-group label {
    font-size: 13px;

    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 8px 12px;

    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--button-bg);
}

.submit-btn {
    margin-top: 5px;
    width: 100%;
    border: none;
    font-size: 16px;
    padding: 12px 0;

}

.contacts-image {
    display: flex;

    height: 100%;

    position: relative;

    overflow: hidden;

    border-radius: 20px;
}

.contacts-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 3;
    animation: shine-move 3s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shine-move {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.contacts-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: opacity 0.5s ease;
}

.img-lit {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.contacts-image:hover .img-lit,
.contacts-image.mobile-active .img-lit {
    opacity: 1;
}

.idea-bulb {
    position: absolute;
    top: 18%;

    left: 32%;

    width: 60px;
    height: 60px;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(10px) scale(0.5);
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 900px) {
    .idea-bulb {
        width: 40px;
        height: 40px;
        top: 15%;

        left: 30%;
    }
}

.idea-bulb img {
    width: 100%;
    height: 100%;

    filter: drop-shadow(0 0 15px rgba(255, 235, 59, 0.6));
}

.hero-image {
    position: relative;

}

.hero-image:hover .idea-bulb,
.hero-image.mobile-active .idea-bulb {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

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

    50% {
        transform: translateY(-5px) scale(1.05);
    }
}

.contact-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    font-size: 24px;
    justify-content: center;

}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f4f8;
    color: #5d6d7e;
    transition: all 0.3s ease;
    border: 1px solid #bdc3c7;

}

.social-icon svg {

    width: 24px;
    height: 24px;

    fill: currentColor;
    transition: all 0.3s ease;
}

.social-icon.telegram svg {
    width: 22px;

    height: 22px;
}

.social-icon.whatsapp svg {
    width: 26px;

    height: 26px;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.social-icon.telegram:hover svg,
.social-icon.whatsapp:hover svg {
    fill: #fff;

}

.social-icon.telegram:hover {
    background-color: #0088cc;
    color: #fff;
}

.social-icon.whatsapp:hover {
    background-color: #25d366;
    color: #fff;
}

.faq {
    padding: 40px 0;

    background-color: var(--bg-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--button-bg);
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    color: var(--gray-text);
    line-height: 1.6;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);

    display: inline-block;
}

.footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
    background: #fff;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 12px;
    color: var(--gray-text);
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

.about {
    padding: 60px 0;
    background-color: #E8EFFD;

}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-stats {
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-width: 140px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--button-bg);

    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-text);
    font-weight: 500;
}

@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        width: 100%;
    }

    .about-stats {
        width: 100%;
        gap: 15px;
    }

    .stat-item {
        min-width: calc(33.333% - 15px);
    }
}

@media (max-width: 600px) {
    .stat-item {
        min-width: 100%;
    }
}

.header-phone {
    font-weight: 600;
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    margin-right: 0;

    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--button-bg);
}

.nav-phone {
    display: none;

}

@media (max-width: 900px) {
    .header-phone {
        display: none;
    }

    .nav-phone {
        display: block;
        margin-top: auto;

        margin-bottom: 20px;
        font-weight: 700;
        font-size: 20px;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
}

.portfolio-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #eee;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-thumb-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.view-btn {
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.portfolio-info p {
    font-size: 14px;
    color: var(--gray-text);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: 10px auto 0;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: auto;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 15px 40px;
    }

    .portfolio-thumb-wrapper {
        height: 200px;
    }
}

.home-portfolio {
    padding: 30px 0;

    background-color: #E8EFFD;
    overflow: visible;

    transform: translate3d(0, 0, 0);

    will-change: transform;

    backface-visibility: hidden;
}

.home-portfolio .section-title {
    margin-bottom: 5px;

}

.home-portfolio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.home-portfolio-text {
    width: 100%;
    max-width: 800px;
    padding: 0;
    position: relative;
    z-index: 10;
}

.home-portfolio-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 25px;
}

.home-portfolio-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 0;
    margin-bottom: 0;
}

.collage-container {
    position: relative;
    width: 440px;
    height: 340px;

    display: flex;
    justify-content: center;
    align-items: center;
    transform: none;
    transition: none;
}

.collage-img {
    position: absolute;
    width: 380px;

    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

    background: #fff;
    transform-origin: center 80%;
    will-change: transform;

    backface-visibility: hidden;

    transform: translateZ(0);

}

.img-1 {
    z-index: 1;
    transform: scale(0.9) translateY(20px) translateZ(0);
}

.img-2 {
    z-index: 2;
    transform: scale(0.95) translateY(10px) translateZ(0);
}

.img-3 {
    z-index: 3;
    transform: scale(1) translateY(0) translateZ(0);
}

.img-4 {
    z-index: 4;
    transform: scale(1) translateY(0) translateZ(0);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.collage-container:hover .img-1 {
    transform: translateX(-160px) rotate(-15deg) scale(0.9) translateZ(0);
    z-index: 4;
}

.collage-container:hover .img-2 {
    transform: translateX(-60px) rotate(-5deg) scale(0.95) translateZ(0);
    z-index: 5;
}

.collage-container:hover .img-3 {
    transform: translateX(60px) rotate(5deg) scale(0.95) translateZ(0);
    z-index: 6;
}

.collage-container:hover .img-4 {
    transform: translateX(160px) rotate(15deg) scale(0.9) translateZ(0);
    z-index: 7;
}

.collage-container:hover .collage-img {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);

    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s ease;
}

.collage-container.mobile-spread .img-1 {
    transform: translateX(-160px) rotate(-15deg) scale(0.9) translateZ(0);
    z-index: 4;
}

.collage-container.mobile-spread .img-2 {
    transform: translateX(-60px) rotate(-5deg) scale(0.95) translateZ(0);
    z-index: 5;
}

.collage-container.mobile-spread .img-3 {
    transform: translateX(60px) rotate(5deg) scale(0.95) translateZ(0);
    z-index: 6;
}

.collage-container.mobile-spread .img-4 {
    transform: translateX(160px) rotate(15deg) scale(0.9) translateZ(0);
    z-index: 7;
}

.collage-container.mobile-spread .collage-img {}

@media (max-width: 768px) {
    .home-portfolio-content {
        gap: 20px;
    }

    .collage-container {

        transform: scale(0.65);
        height: 300px;
        margin-bottom: -50px;
    }
}