﻿
.header-top {
    background-color: #009F9C;
    color: white;
    padding: 10px 200px;
    font-family: 'Montserrat', sans-serif;
}

    .header-top .contact {
        display: flex;
        justify-content: flex-end;
        gap: 20px;
        font-size: 0.8vw;
        font-weight: 500;
        align-items: center;
    }

    .header-top .flags img {
        width: 31px;
        margin-left: 5px;
    }

.header-main {
    padding: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .header-main .logo {
        margin-right: 20px;
    }

        .header-main .logo img {
            width: 80%;
            height: 80%;
        }

    .header-main .nav a {
        color: #333;
        text-decoration: none;
        margin: 0 15px;
        font-weight: 600;
    }

        .header-main .nav a.register {
            background-color: #F26522;
            color: white;
            padding: 5px 15px;
            border-radius: 5px;
        }
/* Cơ bản cho toggle */
.toggle-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

    .toggle-menu span {
        height: 3px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

/* Ẩn nav mặc định trên mobile */
.mobile-nav {
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 0 20px;
}

    .mobile-nav a {
        padding: 10px 0;
        text-decoration: none;
        color: #333;
        border-bottom: 1px solid #ddd;
    }


    .mobile-nav.active {
        max-height: 500px;
        opacity: 1;
        padding: 10px 20px;
    }

/* Slide animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    padding: 40px 200px;
    background-color: #EDFFFF;
    color: #000;
    font-family: 'Manrope', sans-serif;
    position: static !important;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1 1 25%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .footer-logo img {
        height: 50px;
    }

.footer-name h2 {
    color: #009ca6;
    margin: 0;
    font-size: 20px;
}

.footer-name p {
    color: #009ca6;
    font-size: 12px;
    margin: 0;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    word-break: break-word;
    padding: 0;
    margin: 0 auto;
    max-width: 400px;
    color: #000000;
    padding-left: 0px
}

.footer-socials a {
    display: inline-block;
    margin-right: 10px;
}

.footer-cols {
    margin-left: 80px;
    display: flex;
    gap: 35px;
    flex: 1 1 50%;
    justify-content: space-between;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 20px 0px;
}

.footer-col li {
    font-size: 14px;
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 40px;
    color: #777;
}

.footer-copy-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* tự xuống dòng nếu màn nhỏ */
    font-size: 14px;
    padding: 10px 0;
}

/* Mobile */
@media (max-width: 767px) {
    .header-main {
        justify-content: space-between;
        align-items: center;
    }

    .constact-btn {
        width: 100px;
        padding: 0px;
    }

    .translate-btn {
        display: flex !important;
        gap: 10px;
        margin-top: 11px;
        margin-bottom: 11px;
    }

    .nav {
        display: none !important;
    }

    .toggle-menu {
        display: flex;
    }

    .logo img {
        width: 120px;
        height: auto;
    }

    .footer-desc {
        font-size: 14px;
        line-height: 1.6;
        text-align: center;
        word-break: break-word;
        padding: 0;
        margin: 0 auto;
        max-width: 400px;
        color: #000000;
    }

    .footer-copy-right {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 90vw !important;
    }
    .container-mobile {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .constact-btn {
        width: 150px;
        padding: 0px;
    }

    .translate-btn {
        display: flex !important;
        margin-left: 0px;
        margin-top: 11px !important;
        margin-bottom: 11px !important;
    }

    .header-top .contact {
        display: none;
    }
    .background-sunmedical {
        background: #009f9c !important;
    }
    .slicknav_nav a {
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        text-transform: capitalize;
        line-height: 1.8;
        text-align: left;
        text-transform: capitalize;
        font-weight: 500;
        font-family: 'Montserrat', sans-serif;
    }
    .slicknav_nav .slicknav_arrow {
        float: right;
        font-size: 30px !important;
        position: absolute;
        float: right;
        font-weight: 100;
        top: -12px !important;
        margin-left: 9px !important;
    }
    .service-card-y {
        position: inherit;
        top: 0px !important;
    }
   
    .txt-main-footer {
        font-weight: bold;
        margin-bottom: 20px !important;
    }
    .mr-md-0 {
        margin-right: 0 !important;
    }
    .ml-md-0 {
        margin-left: 0 !important;
    }
}

/* PC / Desktop */
@media (min-width: 1025px) {
    .txt-main-footer {
        font-weight: bold;
        margin-bottom: 20px !important;
    }

    .mr-md-0 {
        margin-right: 15px !important;
    }

    .ml-md-0 {
        margin-left: 15px !important;
    }
}
