@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* =============================================================== */
/* Base */
/* =============================================================== */
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #333;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

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

iframe {
    width: 100%;
    max-width: 600px;
    height: 450px;
}

/* =============================================================== */
/* Header */
/* =============================================================== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
}

.logo {
    text-align: left;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin: 0 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0056b3;
}

.nav-links li:last-child a {
    color: #0056b3;
    font-weight: 600;
}

.nav-links li:last-child a:hover {
    color: #002f5f;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

/* =============================================================== */
/* Buttons */
/* =============================================================== */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    background-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #003d80;
}

.hero-button {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    font-size: 1.1rem;
    background-color: #004080;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hero-button:hover {
    background-color: #002f5f;
}

/* =============================================================== */
/* Hero */
/* =============================================================== */
.hero {
    padding-top: 80px;
    height: auto;
    background-image: url('/images/hero0.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero .container {
    text-align: center;
    padding: 0 24px;
}

.hero-content {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #003366;
}

.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #003366;
}

.hero-content p {
    font-size: 1.3rem;
    color: #333;
}

/* =============================================================== */
/* Generic Sections */
/* =============================================================== */
.section {
    padding: 80px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #002d60;
}

.section h3 {
    color: #003366;
}

.section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Index spacing */
#skin-booster {
    padding-top: 10px;
    padding-bottom: 40px;
}

#products {
    padding-top: 40px;
}

#laser-removal {
    padding-top: 0;
}

/* =============================================================== */
/* Intro / Image rows */
/* =============================================================== */
.section.intro .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.section.intro .image-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 66.66%;
    max-width: 900px;
    margin: 30px 0;
}

.section.intro .image-row img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.section.intro .cta-button {
    margin-top: 20px;
    padding: 14px 32px;
    font-size: 1.1rem;
    background-color: #004080;
    color: #ffffff;
    border-radius: 8px;
}

.section.intro .cta-button:hover {
    background-color: #002f5f;
}

/* =============================================================== */
/* Location */
/* =============================================================== */
.section.location .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-map {
    width: 66.66%;
    height: 450px;
    border: 2px solid #ccc;
    border-radius: 8px;
    display: block;
    margin: 20px auto;
}

.office-location {
    margin-top: 20px;
    line-height: 1.7;
}

/* =============================================================== */
/* Homepage: Home-care products */
/* =============================================================== */
.homecare-section {
    text-align: center;
}

.homecare-category-title {
    text-align: center;
    margin-top: 40px;
    font-size: 1.8rem;
    color: #003366;
}

.homecare-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 24px auto 0;
    padding: 0 20px;
}

.homecare-grid.special-care {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
}

.homecare-card {
    text-align: center;
}

.homecare-card img {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    padding: 12px;
}

.homecare-card h4 {
    margin: 8px 0 8px;
    font-size: 1.05rem;
    color: #222;
}

.homecare-card p {
    margin: 0 auto;
    max-width: 220px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.homecare-cta {
    margin-top: 40px;
}

/* =============================================================== */
/* Laser section copy */
/* =============================================================== */
.laser-copy {
    max-width: 700px;
    text-align: left;
    line-height: 1.75;
}

.laser-copy p {
    margin: 0 0 18px;
}

.laser-copy p:last-child {
    margin-bottom: 0;
}

/* =============================================================== */
/* Before/After Carousel */
/* =============================================================== */
.before-after-carousel {
    width: 40%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.carousel-slide img {
    max-width: 49%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel-arrow.left {
    left: 10px;
}

.carousel-arrow.right {
    right: 10px;
}

.carousel-arrow.left::before {
    content: '<';
}

.carousel-arrow.right::before {
    content: '>';
}

.carousel-arrow::before {
    font-size: 24px;
    font-weight: bold;
}

/* =============================================================== */
/* Policy pages */
/* =============================================================== */
.policy-page {
    padding-top: 100px;
    padding-bottom: 40px;
}

.policy-section {
    padding: 40px 20px 80px;
}

.policy-container {
    max-width: 900px;
}

.policy-text {
    text-align: left;
    line-height: 1.8;
}

.policy-title {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: #002d60;
    text-align: left;
}

.policy-text h2 {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #003366;
}

.policy-text p,
.policy-text li {
    font-size: 1rem;
    color: #333;
}

.policy-text ul {
    padding-left: 20px;
    margin-bottom: 24px;
}

.policy-text a {
    color: #0056b3;
    text-decoration: none;
}

.policy-text a:hover {
    text-decoration: underline;
}

/* =============================================================== */
/* Footer */
/* =============================================================== */
footer {
    background: #2b2b2b;
    color: #cccccc;
    padding: 60px 24px;
    font-size: 1rem;
    line-height: 1.7;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-left {
    text-align: center;
}

.footer-left p {
    margin: 0;
}

.footer-left a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-left a:hover {
    color: #bbbbbb;
    text-decoration: underline;
}

.footer-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.footer-right a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #ffffff;
}

.footer-right i {
    font-size: 1.6rem;
}

.footer-copy {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #888888;
}

footer small {
    display: block;
    margin-top: 15px;
    text-align: center;
    font-size: 0.8rem;
    color: #666666;
}

.footer-links {
    text-align: center;
    margin-top: 8px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 6px;
}

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

/* =============================================================== */
/* Mobile */
/* =============================================================== */
@media (max-width: 767px) {
    .topbar {
        position: static;
        padding: 16px 20px;
    }

    .topbar .container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: relative;
        height: 60px;
    }

    .logo {
        width: auto;
        text-align: center;
        margin-bottom: 0;
    }

    .logo img {
        height: 30px;
    }

    .menu {
        position: static;
        width: auto;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 101;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        z-index: 100;
        padding-bottom: 10px;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links li:last-child a {
        background-color: transparent;
        color: #333;
        padding: 0;
    }

    .nav-links li:last-child a:hover {
        background-color: transparent;
        color: #0056b3;
    }

    .hero {
        padding-top: 20px;
        height: auto;
    }

    .hero-content {
        position: static;
        transform: none;
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.7rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-button {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .section {
        padding: 60px 16px;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .section p {
        font-size: 1rem;
    }

    .section.intro .image-row {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .section.intro .image-row img {
        width: 100%;
        max-width: 700px;
    }

    .location-map {
        width: 100%;
    }

    .before-after-carousel {
        width: 100%;
        padding: 20px 10px;
    }

    .carousel-slide img {
        max-width: 49%;
    }

    .homecare-category-title {
        font-size: 1.4rem;
        margin-top: 32px;
    }

    .homecare-grid,
    .homecare-grid.special-care {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        max-width: 100%;
        padding: 0 16px;
    }

    .homecare-card img {
        max-width: 170px;
    }

    .homecare-card p {
        max-width: 180px;
        font-size: 0.9rem;
    }

    .laser-copy {
        max-width: 100%;
    }

    .policy-page {
        padding-top: 30px;
    }

    .policy-section {
        padding: 20px 16px 60px;
    }

    .policy-title {
        font-size: 1.8rem;
    }

    .policy-text h2 {
        font-size: 1.15rem;
    }

    footer {
        font-size: 0.8rem;
        padding: 24px 16px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .footer-left {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }

    .footer-left p {
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .homecare-grid,
    .homecare-grid.special-care {
        grid-template-columns: 1fr;
    }

    .homecare-card img {
        max-width: 220px;
    }

    .homecare-card p {
        max-width: 220px;
    }
}

/* =============================================================== */
/* Products page */
/* =============================================================== */
.product-listing-page {
    background: #f9f9f9;
}

.product-section {
    padding: 110px 20px 80px;
    text-align: center;
}

.product-section .container {
    max-width: 1360px;
    margin: 0 auto;
}

.product-section h2 {
    font-size: 3rem;
    margin: 0 0 42px;
    color: #0d3f84;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.product-grid-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 22px;
    align-items: start;
}

.product-item {
    text-align: center;
}

.product-item a {
    text-decoration: none;
    color: inherit;
}

.product-image-box {
    width: 100%;
    max-width: 415px;
    height: 380px;
    margin: 0 auto;
    padding: 26px 18px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.product-card-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 185px;
    max-height: 310px;
    margin: 0 auto;
    object-fit: contain;
}

.product-details {
    margin-top: 18px;
}

.product-name {
    margin: 0 auto;
    max-width: 340px;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
    color: #2f3136;
    text-align: center;
}

/* tablet */
@media (max-width: 1024px) {
    .product-grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

    .product-image-box {
        max-width: 420px;
        height: 360px;
    }
}

/* mobile */
@media (max-width: 640px) {
    .product-section {
        padding: 96px 16px 56px;
    }

    .product-section h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .product-grid-container {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .product-image-box {
        max-width: 420px;
        height: 340px;
    }

    .product-card-img {
        max-width: 170px;
        max-height: 280px;
    }

    .product-name {
        font-size: 0.95rem;
    }
}