/* ============================================================
   Self-hosted Barlow — China-safe, no Google Fonts dependency.
   Font files live in /ohi/fonts/ at the site root.
   ============================================================ */
@font-face {
    font-family: "Barlow";
    src: url("../../ohi/fonts/Barlow-Thin-100.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../../ohi/fonts/Barlow-Light-300.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../../ohi/fonts/Barlow-Regular-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../../ohi/fonts/Barlow-SemiBold-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../../ohi/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 {
    font-family: "Barlow", sans-serif;
    background-image: url("../images/background.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    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: .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 {
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 100;
}

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

.header-logo a:hover::after {
    width: 0;
}

.header-logo img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.header-menu-btn {
    position: fixed;
    top: 45px;
    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 a img {
    position: absolute;
    right: -32px;
    top: 0;
    transform: rotate(45deg);
}

.main-logo {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('../images/header-background.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 100px;
}

.main-logo-img {
    width: 500px;
}

.main-logo-inner {
    display: flex;
    align-items: center;
    margin-top: 100px;
}

.main-logo-inner span {
    color: #ffffff;
    font-size: 25px;
    padding: 0 20px 10px 0;
}

.main-logo-link {
    color: #ffffff;
    font-size: 25px;
    padding-bottom: 10px;
    margin-left: 80px;
}

.main-logo-inner a::after,
.main-logo-link::after {
    border-bottom: 1px solid #ffffff;
}

.main-logo-inner img {
    width: 200px;
    margin-bottom: 3px;
}

.main-logo,
.team {
    margin-bottom: 200px;
}

.team-inner {
    width: 100%;
    max-width: 1200px;
    padding: 0 50px;
    margin: 200px auto 0;
}

.team-text {
    display: flex;
    justify-content: space-between;

    h3 {
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 35px;
        margin-right: 20px;
        color: #696969;
        max-width: 500px;

        a {
            display: block;
            font-size: 22px;
            font-weight: 400;
            margin-top: 50px;

            img {
                width: 190px;
                margin-top: 20px;
            }

            img:hover {
                transform: scale(1.05);
                transition: 0.3s ease;
            }
        }

        a::after {
            width: 0;
        }
    }

    p {
        max-width: 560px;
        font-size: 24px;
        font-weight: 400;
        margin-bottom: 35px;
        color: #696969;

        span {
            display: block;
            margin-bottom: 30px;
        }

        span:last-child {
            margin-bottom: 0;
        }
    }
}

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

.team-video {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    iframe {
        width: 100%;
        max-width: 950px;
        height: 720px;
        border: none;
        border-radius: 30px;
    }
}

.team-presentation {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 50px;
    margin: 200px auto 0;

    img {
        width: 400px;
    }

    p {
        font-size: 16px;
        font-weight: 600;
        margin: 40px 0 0;
        color: #696969;
        max-width: 360px;
        text-align: center;
    }
}

.team-presentation-images {
    margin-top: 150px;

    img {
        width: 1000px;
        margin-bottom: 40px;
        border-radius: 24px;
    }
}

.team-presentation-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;

    h3 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 40px;
        color: #696969;
        max-width: 360px;
    }

    a {
        margin-right: 20px;
        transition: 0.3s ease;

        img {
            border-radius: 12px;
            width: 250px;
        }
    }

    a:last-child {
        margin-right: 0;
    }

    a:after {
        width: 0;
    }

    a:hover {
        transition: 0.3s ease;
        transform: scale(1.05);
    }
}

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

    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-social {
    margin-top: 80px;
    font-size: 22px;
}

.footer-links {
    margin-top: 35px;
    font-size: 22px;
}

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

.footer-social {
    display: flex;
    align-items: center;
}

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

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

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

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

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

.footer-links {
    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: 1300px) {
    .main-logo, .team { margin-bottom: 150px; }
    .team-presentation { margin: 150px 0; }
    .team-video { iframe { width: 970px; height: 548px; } }
    .team-inner { max-width: 1000px; margin-top: 150px; }
    .team-text h3 { font-size: 28px; max-width: 360px; a { margin-top: 30px; } }
    .team-text p { font-size: 22px; max-width: 475px; }
}

@media (max-width: 1230px) {
    .team-video { iframe { width: 730px; height: 411px; } }
    .team-text { flex-direction: column; align-items: center; h3 { max-width: 475px; } }
    .team-presentation p { font-size: 22px; }
    .team-presentation-images img { width: 800px; }
}

@media (max-width: 1024px) {
    .header-links li a img { right: -29px; }
    .main-logo-img { width: 450px; }
    .main-logo-inner { margin-top: 40px; }
    .main-logo-inner span, .main-logo-link { font-size: 24px; padding: 0 10px 5px 0; }
    .main-logo-inner img { width: 140px; margin-bottom: 0; margin-top: 2px; }
    .second-logo { height: 500px; }
    .team-presentation img { width: 350px; }
    .team-presentation-images { margin-top: 110px; img { width: 650px; margin-bottom: 30px; } }
    .team-presentation-links { margin-top: 80px; h3 { font-size: 26px; margin-bottom: 35px; } a { margin-right: 12px; img { width: 250px; } } }
    .footer-title { font-size: 40px; margin-top: 20px; }
    .footer-social { margin-top: 50px; }
    .footer-email { margin-top: 0; }
    .footer-links { margin-top: 30px; }
    .footer-links a { margin-bottom: 0; }
    .footer-email, .footer-links { font-size: 20px; }
    .footer-social-logos img { width: 25px; }
    .footer-social-logos a:first-child img { margin-left: 30px; }
    .footer-copy { font-size: 12px; margin-top: 35px; }
    .footer-facebook-link img { width: 16px; }
}

@media (max-width: 768px) {
    .header-logo { top: 30px; left: 30px; }
    .main-logo-img { width: 350px; }
    .header-links { width: 100%; text-align: inherit; right: inherit; left: 0; top: 0; z-index: 20; padding-left: 50px; background-color: #8baebf; }
    .header-links li { margin-bottom: 15px; }
    .header-links li a { color: #ffffff; }
    .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; }
    .main-logo, .team { margin-bottom: 100px; }
    .main-logo-inner { max-width: 350px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
    .main-logo-inner a { margin-left: 0; }
    .team-inner { margin: 100px 0; }
    .team-text h3 { font-size: 26px; }
    .team-text p { font-size: 20px; }
    .team-presentation { margin: 100px 0; }
    .team-presentation-images img { width: 450px; }
    .team-presentation-links { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: center; a { margin: 0 10px 10px; display: block; } }
    .team-video { iframe { width: 405px; height: 227px; } }
    .footer-container { padding: 0 15px; }
    .footer-title { font-size: 35px; }
    .footer-social { flex-direction: column; }
    .footer-social-logos { margin-top: 20px; }
    .footer-email, .footer-links { font-size: 20px; }
    .footer-links a { margin-right: 20px; }
}

@media (max-width: 550px) {
    .container { padding: 0 30px; }
    .team-presentation { img { width: 320px; } p { font-size: 20px; max-width: 300px; margin: 20px 0 0; } }
    .team-presentation-images { margin-top: 90px; img { width: 350px; } }
    .team-presentation-links { margin-top: 50px; }
    .footer-copy { flex-wrap: wrap; justify-content: space-evenly; a { margin: 0 5px 10px; } span { margin: 0 5px 10px; } .footer-copy-text { margin: 0 5px 10px; } }
}

@media (max-width: 500px) {
    .container { padding: 0 10px; }
    .footer-email, .footer-links { font-size: 18px; }
    .footer-container { padding: 0 10px; }
}

@media (max-width: 425px) {
    .header-menu-btn { top: 32px; }
    .header-logo { top: 21px; }
    .main-logo { padding-bottom: 20px; }
    .main-logo-inner span, .main-logo-link { font-size: 20px; padding: 0 10px 5px 0; }
    .main-logo-inner img { width: 120px; }
    .team-text h3 { font-size: 22px; margin-bottom: 20px; }
    .team-text p { font-size: 18px; margin-bottom: 20px; }
    .team-video { iframe { width: 357px; height: 200px; } }
    .footer-copy { margin-top: 25px; }
    .footer-links { flex-direction: column; align-items: center; }
    .footer-links a { margin-right: 0; }
    .footer-copy-text { margin-right: 0; }
}
