/* ============================================================
   Self-hosted Barlow — China-safe, no Google Fonts dependency.
   Font files live in /fonts/ at the site root.
   ============================================================ */
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Thin-100.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Light-300.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Regular-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-SemiBold-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Bold-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*,
*::after,
*::before,

body {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url("../images/body-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-family: "Barlow", sans-serif;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #696969;
    display: inline-block;
}

a::after {
    content: "";
    display: block;
    width: 0;
    border-bottom: 1px solid #696969;
    transition: 0.3s;
}

a:hover::after {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

p {
    margin: 0;
}

img {
    display: block;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

.header {
    padding-left: 20px;
    position: relative;
}

.header-home-logo {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.92);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.header-home-logo::after {
    display: none;
}

.header-home-logo img {
    width: 50px;
    transition: transform 0.3s ease;
}

.header-home-logo:hover img {
    transform: scale(1.08);
}

.header-home-logo-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.header-menu-btn {
    position: fixed;
    top: 50px;
    right: 4%;
    z-index: 100;
    width: 32px;
    height: 22px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.header-menu-btn span {
    position: absolute;
    width: 100%;
    top: 9px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.new-color .header-menu-btn span {
    border: 2px solid #696969;
}

.header-menu-btn span:first-child {
    top: 0;
}

.header-menu-btn span:last-child {
    top: 18px;
}

.change-btn span {
    opacity: 0;
}

.change-btn span:first-child {
    opacity: 1;
    top: 9px;
    transform: rotate(-45deg);
}

.change-btn span:last-child {
    opacity: 1;
    top: 9px;
    transform: rotate(45deg);
}

.header-links {
    position: fixed;
    top: 120px;
    right: 2.7%;
    z-index: 100;
    width: 200px;
    height: 0;
    overflow: hidden;
    text-align: end;
    padding: 0;
    transition: 0.3s ease;
}

.header-links li a {
    font-size: 26px;
    line-height: 37px;
    position: relative;
    color: #bbbbbb;
}

.header-links li a:hover {
    color: #feacb7;
    transition: color 0.3s ease;
}

.header-links li a::after {
    border-bottom: 1px solid #feacb7;
}

.new-color .header-links li a {
    color: #696969;
}

.new-color .header-links li a:hover {
    color: #feacb7;
    transition: color 0.3s ease;
}

.new-color .header-links li a::after {
    border-bottom: 1px solid #feacb7;
}

.header-links li:last-child a {
    margin-right: 19px;
}

.header-links li a img {
    position: absolute;
    right: -32px;
    top: 0;
    transform: rotate(45deg);
}

.top {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.top-main-logo {
    width: 20%;
    z-index: 10;
}

.top-description {
    margin-top: 150px;
    text-transform: uppercase;
    z-index: 10;
}

.top-description p {
    font-size: 20px;
    font-weight: 700;
    color: #ff97a3;
}

.main-video-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
}

.team {
    margin: 200px 0 250px;
}

.team-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 50px;
    margin-bottom: 150px;
}

.team-text {
    max-width: 634px;
    margin-right: 20px;
}

.team-text h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 35px;
    color: #696969;
}

.team-text p {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 35px;
    color: #696969;
}

.team-text p:last-child {
    margin: 0;
}

.team-about-link::after {
    width: 100%;
}

.team-about-link:hover::after {
    width: 0;
}

.team-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-image-orb {
    width: 210px;
    aspect-ratio: 1;
    position: relative;
    display: block;
    overflow: hidden;
    border-radius:
        calc(50% + var(--radius-a, 0%))
        calc(50% + var(--radius-b, 0%))
        calc(50% + var(--radius-c, 0%))
        calc(50% + var(--radius-d, 0%))
        /
        calc(50% + var(--radius-e, 0%))
        calc(50% + var(--radius-f, 0%))
        calc(50% + var(--radius-g, 0%))
        calc(50% + var(--radius-h, 0%));
    box-shadow: 0 18px 48px rgba(150, 116, 120, 0.14);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-radius 0.35s ease;
    will-change: transform, border-radius;
    isolation: isolate;
}

.team-image-orb:focus-visible {
    outline: 3px solid rgba(238, 125, 133, 0.7);
    outline-offset: 8px;
}

.team-image-orb::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.16) 18%,
        rgba(255, 255, 255, 0) 50%
    );
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
}

.team-image-orb::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    width: auto;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    border-bottom: 0;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.22),
        rgba(255, 255, 255, 0) 35%,
        rgba(40, 20, 20, 0.08) 100%
    );
    opacity: 0.38;
}

.team-image-orb:hover::after {
    width: auto;
}

.team-image-orb:hover {
    transform: translateY(-8px) scale(1.035);
    box-shadow: 0 28px 72px rgba(150, 116, 120, 0.22);
}

.team-image-orb:hover::before {
    opacity: 1;
}

.team-image-orb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(var(--shift-x, 0px), var(--shift-y, 0px), 0) scale(1.14);
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.35s ease;
    will-change: transform, filter;
}

.team-image-orb:hover img {
    filter: saturate(1.03) contrast(1.03);
}

.team-images-left .team-image-orb {
    margin-bottom: 80px;
}

.team-images-left .team-image-orb:last-child {
    margin-bottom: 0;
}

.team-skills-header {
    color: #696969;
    font-weight: 600;
    font-size: 34px;
    text-align: center;
    padding: 0 5px;
    margin-top: 260px;
    margin-bottom: 64px;
}

.team-skills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    align-items: start;
    gap: 72px;
    width: 100%;
    max-width: 1400px;
    padding: 0 50px;
    margin: 0 auto;
}

.team-skill {
    width: 100%;
    max-width: 450px;
    justify-self: center;
    text-align: center;
}

.team-skill-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 26px;
    display: block;
    object-fit: contain;
}

.team-skill h4 {
    font-size: 22px;
    font-weight: 600;
    color: #696969;
    margin: 0 0 14px;
    padding: 0;
}

.team-skill p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
    color: #696969;
    margin: 0;
}

.work,
.products,
.newsletter {
    padding: 0 15px 100px 15px;
    text-align: center;
}

.work h3,
.products h3,
.newsletter h3 {
    color: #696969;
    font-weight: 600;
    font-size: 34px;
    text-align: center;
    padding: 0 5px;
    margin-top: 200px;
    margin-bottom: 100px;
}

.work-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.work-inner img {
    width: 250px;
    border-radius: 18px;
    transition: 0.3s ease;
}

.work-inner img:hover {
    transform: scale(1.1);
}

.work-partners {
    color: #696969;
    margin-top: 20px;
    margin-bottom: 100px!important;
}

.work-lists {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px;
}

.work-list img {
    opacity: 0.8;
}

.work-list:nth-child(1) img {
    width: 90px;
}

.work-list:nth-child(2) img {
    width: 125px;
}

.work-list:nth-child(3) img {
    width: 150px;
}

.work-list:nth-child(4) img {
    width: 120px;
}

.products {
    padding-bottom: 100px;
}

.products h3 {
    display: flex;
    justify-content: center;
}

.products h3 span {
    max-width: 850px;
}

.products-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.products-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.products-item img {
    width: 270px;
    transition: 0.3s ease;
}

.products-item img:hover {
    transform: scale(1.1);
}

.products-item p {
    color: #696969;
    font-size: 16px;
    margin-top: 20px;
}

.newsletter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.newsletter h3 {
    margin-bottom: 30px;
}

.newsletter p {
    color: #696969;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 40px;
}

.newsletter a {
    background-color: #ff7581;
    width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    border-radius: 30px;
    transition: transform 0.3s ease;
}

.newsletter a span {
    color: #ffffff;
    font-size: 18px;
    margin-left: 10px;
}

.newsletter a::after {
    width: 0;
}

.newsletter a:hover {
    transform: scale(1.05);
}

.footer {
    background-image: url("../images/footer-ohi.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 50px;
}

.footer a {
    color: #796767;
}

.footer-container {
    margin: 0 auto;
    padding: 0 50px;
    max-width: 1300px;
}

.footer-title {
    font-size: 40px;
    text-align: center;
    font-weight: 400;
    color: #796767;
    margin-top: 50px;
}

.footer-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #796767;
    text-align: center;
    margin: 16px auto 0;
    max-width: 560px;
    line-height: 1.55;
}

.footer-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-social {
    margin-top: 80px;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.footer-social-logos {
    display: flex;
    align-items: center;
    gap: 36px;
}

.footer-social-logos img {
    width: 35px;
}

.footer-social-logos a:first-child img {
    margin-left: 0;
}

.footer-social-logos a {
    margin-right: 0;
}

.footer-social-logos a::after {
    border: none;
}

.footer-links {
    margin-top: 35px;
    font-size: 22px;
    display: flex;
    align-items: end;
}

.footer-links a {
    margin-bottom: 15px;
    margin-right: 30px;
}

.footer-links a:last-child {
    margin-right: 0;
}

.footer-copy {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #796767;
    margin-top: 80px;
}

.footer-copy a {
    margin-right: 20px;
    display: block;
}

.footer-copy .footer-copy-text {
    margin-right: 20px;
    display: block;
}

.footer-copy span {
    display: block;
}

.footer-facebook-link img {
    width: 22px;
}

@media (max-width: 1440px) {
    .top-description p {
        font-size: 20px;
    }

    .work-inner img {
        width: 350px;
    }

    .work-inner {
        gap: 30px;
        max-width: 1150px;
    }

    .products-item {
        margin-right: 20px;
    }

    .products-item img {
        width: 250px;
    }
}

@media (max-width: 1230px) {
    .team {
        margin: 150px 0;
    }

    .team-text h3 {
        font-size: 32px;
    }

    .team-text p {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .team-image-orb {
        width: 175px;
    }

    .team-skills-header {
        margin-top: 220px;
        margin-bottom: 56px;
    }

    .team-skills {
        max-width: 1180px;
        gap: 44px;
        padding: 0 40px;
    }

    .team-skill {
        max-width: 360px;
    }

    .work,
    .products,
    .newsletter {
        margin-bottom: 150px;
    }

    .work h3,
    .products h3,
    .newsletter h3 {
        font-size: 38px;
    }

    .work h3,
    .products h3 {
        margin-bottom: 80px;
    }

    .work-inner {
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 5px;
    }

    .work-inner a {
        margin-bottom: 30px;
    }

    .work-lists {
        gap: 50px;
    }

    .products h3 span {
        max-width: 580px;
    }

    .products-inner {
        max-width: 900px;
        gap: 24px;
    }

    .products-item {
        margin: 0 5px 30px;
    }

    .products-item p {
        margin-top: 10px;
    }

    .newsletter p {
        font-size: 22px;
    }
}

@media (max-width: 1024px) {
    .header-links li a img {
        right: -29px;
    }

    .top-main-logo {
        width: 50%;
    }

    .top-description p {
        font-size: 20px;
    }

    .team-inner {
        flex-direction: column;
    }

    .team-text {
        margin-bottom: 70px;
        margin-right: 0;
    }

    .team-images-left {
        display: flex;
    }

    .team-images-left .team-image-orb {
        margin-bottom: 0;
        margin-left: 15px;
    }

    .work-inner {
        flex-direction: column;
        gap: 0;
    }

    .products-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 650px;
        gap: 28px 24px;
    }

    .work-list:nth-child(1) img {
        width: 75px;
    }

    .work-list:nth-child(2) img {
        width: 100px;
    }

    .work-list:nth-child(3) img {
        width: 125px;
    }

    .work-list:nth-child(4) img {
        width: 100px;
    }

    .footer-title {
        font-size: 40px;
        margin-top: 20px;
    }

    .footer-social {
        margin-top: 50px;
    }

    .footer-links {
        margin-top: 30px;
    }

    .footer-links a {
        margin-bottom: 0;
    }

    .footer-social-logos img {
        width: 25px;
    }

    .footer-social-logos a:first-child img {
        margin-left: 0;
    }

    .footer-copy {
        font-size: 12px;
        margin-top: 35px;
    }

    .footer-facebook-link img {
        width: 16px;
    }

    .team-skills {
        gap: 34px;
        padding: 0 35px;
    }

    .team-skill {
        max-width: 310px;
    }
}

@media (max-width: 900px) {
    .team-skills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 780px;
        gap: 28px;
        padding: 0 24px;
    }

    .team-skill {
        max-width: 230px;
    }

    .team-skill:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .team-skill-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .team-skill h4 {
        font-size: 21px;
    }

    .team-skill p {
        font-size: 16px;
        line-height: 1.42;
    }
}

@media (max-width: 768px) {
    .header-home-logo {
        top: 30px;
        left: 30px;
    }

    .header-home-logo img {
        width: 44px;
    }

    .header-links {
        width: 100%;
        text-align: inherit;
        right: inherit;
        left: 0;
        top: 0;
        z-index: 20;
        padding-left: 50px;
        background-color: #ffffff;
    }

    .products-inner {
        grid-template-columns: 1fr;
    }

    .header-links li {
        margin-bottom: 15px;
    }

    .header-menu-btn {
        width: 26px;
        top: 40px;
        right: 5%;
    }

    .header-menu-btn span {
        border: 1px solid #ffffff;
        top: 7px;
    }

    .header-menu-btn span:last-child {
        top: 14px;
    }

    .change-btn span:first-child {
        top: 7px;
    }

    .change-btn span:last-child {
        top: 7px;
    }

    .top-main-logo {
        width: 55%;
    }

    .top-description p {
        font-size: 18px;
    }

    .team {
        margin: 100px 0;
    }

    .team-text h3 {
        font-size: 26px;
    }

    .team-text p {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .team-image-orb {
        width: 150px;
    }

    .team-inner {
        margin-bottom: 100px;
    }

    .team-skills-header {
        margin-top: 140px;
        margin-bottom: 44px;
    }

    .team-skills {
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: start;
        max-width: 560px;
        padding: 0 40px;
        gap: 38px;
    }

    .team-skill {
        max-width: 450px;
        width: 100%;
    }

    .team-skill:last-child {
        grid-column: auto;
    }

    .work,
    .products,
    .newsletter {
        margin-bottom: 100px;
    }

    .work h3,
    .products h3,
    .newsletter h3 {
        font-size: 30px;
    }

    .work h3,
    .products h3 {
        margin-bottom: 50px;
    }

    .work-lists {
        gap: 10px;
    }

    .work-list:nth-child(1) img {
        width: 50px;
    }

    .work-list:nth-child(2) img {
        width: 75px;
    }

    .work-list:nth-child(3) img {
        width: 90px;
    }

    .work-list:nth-child(4) img {
        width: 72px;
    }

    .products h3 span {
        max-width: 460px;
    }

    .products-inner {
        max-width: 420px;
    }

    .newsletter h3 {
        margin-bottom: 15px;
    }

    .newsletter p {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .newsletter a {
        width: 300px;
        padding: 10px 0;
    }

    .newsletter a span {
        font-size: 16px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-title {
        font-size: 35px;
    }

    .footer-social {
        flex-direction: column;
    }

    .footer-social-logos {
        margin-top: 20px;
    }

    .footer-links a {
        margin-right: 20px;
    }
}

@media (max-width: 690px) {
    .team-images {
        flex-direction: column;
    }

    .team-image-orb {
        margin-bottom: 15px;
    }

    .team-images-left {
        flex-direction: column;
    }

    .team-images-left .team-image-orb {
        margin-left: 0;
    }
}

@media (max-width: 550px) {
    .container {
        padding: 0 30px;
    }

    .team-skills {
        padding: 0 18px;
        gap: 34px;
    }

    .team-skill-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }

    .team-skill h4 {
        font-size: 20px;
    }

    .team-skill p {
        font-size: 15px;
        line-height: 1.42;
    }

    .work-lists {
        gap: 5px;
    }

    .work-list:nth-child(1) img {
        width: 30px;
    }

    .work-list:nth-child(2) img {
        width: 40px;
    }

    .work-list:nth-child(3) img {
        width: 60px;
    }

    .work-list:nth-child(4) img {
        width: 48px;
    }

    .footer-copy {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .footer-copy a,
    .footer-copy span,
    .footer-copy .footer-copy-text {
        margin: 0 5px 10px;
    }
}

@media (max-width: 500px) {
    .top-main-logo {
        width: 65%;
    }

    .container,
    .footer-container {
        padding: 0 10px;
    }
}

@media (max-width: 425px) {
    .header-home-logo {
        top: 24px;
        left: 20px;
    }

    .header-home-logo img {
        width: 40px;
    }

    .header-menu-btn {
        top: 32px;
    }

    .top-main-logo {
        width: 70%;
    }

    .top-description p {
        font-size: 16px;
    }

    .team-text h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .team-text p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .work h3,
    .products h3,
    .newsletter h3 {
        font-size: 26px;
    }

    .work img {
        width: 300px;
    }

    .newsletter p {
        font-size: 16px;
    }

    .newsletter a {
        width: 250px;
        padding: 10px 0;
    }

    .newsletter a span {
        font-size: 14px;
    }

    .footer-copy {
        margin-top: 25px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-links a,
    .footer-copy-text {
        margin-right: 0;
    }
}
