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

body {
    font-family: 'Inter', sans-serif;
    background-color: #FAF7F0;
    color: #5A5E45;
    overflow-x: hidden;
}

h1, h2, h3, h4, .hero-tagline, .insight-author {
    font-family: 'Playfair Display', serif;
}


nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    background: linear-gradient(to bottom, rgba(60, 65, 45, 0.98), rgba(60, 65, 45, 0.94), rgba(60, 65, 45, 0.7), rgba(60, 65, 45, 0.2));
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.logo img {
    margin-top: 10px;
    height: 135px;
    width: auto;
    margin-bottom: 0px;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav ul li a {
    color: #F5F1E6;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    letter-spacing: 0.5px;
}

nav ul li a:hover, nav ul li a.active {
    color: #D4CFB0;
    border-bottom: 2px solid #D4CFB0;
    padding-bottom: 5px;
}


nav a {
    color: #E8F1F2;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}


.intro {
    text-align: center;
    padding: 70px 200px;

    background:

    margin-top: 0;
    height: 290px;

    animation: floatUp 1.2s ease;
}

.intro h1 {
    font-size: 62px;
    font-family: 'Playfair Display', serif;
}

.intro-types {
    position: relative;
    min-height: 100vh;
    background:  url('images/types-hero-bg.jpg');
    background-size: cover;
    background-position: center 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    overflow: hidden;
}

.intro-types-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.intro-types-content {
    position: relative;
    z-index: 2;

    width: 9000px;
    padding: 40px 40px;
    animation: fadeInUp 1.2s ease;
    background: linear-gradient( to right, rgba(60, 65, 45, 0),rgba(60, 65, 45, 0.2),  rgba(60, 65, 45, 0.6), rgba(60, 65, 45, 0.7),rgba(60, 65, 45, 0.8),rgba(60, 65, 45, 0.8), rgba(60, 65, 45, 0.7), rgba(60, 65, 45, 0.6),rgba(60, 65, 45, 0.2),  rgba(60, 65, 45, 0) );

}

.intro-tagline {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #D4CFB0;
    margin-bottom: 20px;
    font-weight: 400;
}

.intro-types h1 {
    font-size: 72px;
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.2;
}

.intro-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: #D4CFB0;
}

.intro-decoration img {
    height: 15vh;
    width: auto;    
}

.intro-types p {
    font-size: 20px;
    line-height: 1.7;
    color: #F0ECD8;
    max-width: 750px;
    margin: 0 auto 35px auto;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.type-block {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: space-between;
    float: center;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.reverse {
    flex-direction: row-reverse;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
}

p {
    font-size: 20px;
    line-height: 1.7;
}

.text {
    max-width: 500px;
}

.funfact {
    margin-top: 15px;
    padding: 15px;
    background-color: #797A5E;
    color: #E8F1F2;
    border-radius: 10px;
    font-size: 14px;
}

.flip-card {
    width: 350px;
    height: 350px;
    perspective: 1000px;
}

.flip-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 350px;
    height: 350px;
    backface-visibility: hidden;
    border-radius: 15px;
}

.flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.flip-back {
    background-color: white;
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.summary {
    font-size: 25px;
}

.full-text {
    display: none;
    font-size: 13px;
    text-align: left;
}

.flip-back button {
    margin-top: 10px;
    padding: 6px 12px;
    background-color: #797A5E;
    color: white;
    border: none;
    border-radius: 5px;
}

footer{
    text-align:center;
    padding:15px;
    background-color:#4D4B35;
    color:white;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

a{
    color: #607346;
    text-decoration: none;
    font-weight: bold;
}

.link {
    font-style: italic;
}

.dropdown {
    margin: 0px auto;
    border-radius: 14px;
    overflow: hidden;
    background-color: white;
    backdrop-filter: blur(4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.02);
    width: 1100px;
    border: 2px solid white;
}

.dropdown-header {
    display: flex;

    justify-content: space-between;

    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    background-color: white;
    transition: 0.3s ease;
    font-weight: bold;
d
}

.dropdown-header:hover {
    background-color: #797A5E;
    color: #F8F6F1;
    font-weight: bold;

}


.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    padding: 0 18px;
    background-color: white;
}

.dropdown-content p {
    font-size: 20px;
    line-height: 1.7;
    margin: 18px 0;
    color: #666A4D;
    oppacity: 0;
}

.dropdown.open .dropdown-content {
    max-height: 1400px;
    padding: 10px 18px 25px 18px;
}

.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.herb-gallery {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 500px;
    padding: 10px;
    scrollbar-width: none;
}

.herb-gallery::-webkit-scrollbar {
    display: none;
}

.herb-card {
    min-width: 150px;
    background-color: #F5F4EC;
    border-radius: 14px;
    overflow: hidden;
     box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    flex-shrink: 0;
}

.herb-card:hover {
    transform: translateY(-6px);
}

.herb-card img {
    width: 100%;
    height: 120px;

    object-fit: cover;
}

.herb-card h4 {
    text-align: center;
     padding: 12px;
    margin: 0;
    font-size: 16px;
    color: #5E6248;
}

.gallery-btn {
    width: 42px;
     height: 42px;
    border: none;
    border-radius: 50%; 
    background-color: #7C8260;
    color: white ;
     cursor: pointer;
    font-size: 22px;
    transition: 0.3s ease;
    margin: 0 10px;
}

.gallery-btn:hover {
    background-color: #5E6248;
}


.card-carousel {
    display: flex;
    align-items: center;
     justify-content: center;
    margin-top: 40px;
}

.carousel-container {
    position: relative;

    width: 500px;

    height: 380px;
}

.plant-card {

    position: absolute;
    width: 260px;
    height: 340px;
    left: 50%;
    top: 50%;
    border-radius: 24px;
    overflow: hidden;
    background-color: #F7F4EA;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    transition: all 0.7s ease;
}
.plant-card img {
    width: 100%;

    height: 280px;

    object-fit: cover;
}

.plant-card h4 {
    text-align: center;

    margin-top: 12px;

    font-size: 22px;

    color: #5D6045;
}

.arrow-btn {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background-color: #7A8060;
    color: white;
    font-size: 26px;
    cursor: pointer;
    transition: 0.3s ease;
}

.arrow-btn:hover {
    background-color: #5B6044;
}

.carousel-container {
    position: relative;
    width: 900px;
    height: 420px;
    overflow: hidden;
}

.card2{

}



.acupuncture-map {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;

    padding: 80px 40px;

    max-width: 1200px;
    margin: auto;
}

.map-container {
    position: relative;
}

.body-image {
    width: 460px;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.point {
    position: absolute;

    width: 20px;
    height: 20px;
    border-radius: 50%;

    border: none;
    background-color: rgba(255,255,255,0.7);
    border: 3px solid #7A8060;

    cursor: pointer;
    transition: 0.3s ease;
}

.point1{
    top: 7%;
    left: 47%;
}

.point2{
    top: 18%;
    left: 50%;
}

.point3{
    top: 24%;
    left: 44%;
}

.point4{
    top: 41%;
    left: 47%;
}

.point5{
    top: 58%;
    left: 46%;
}

.point6{
    top: 76%;
    left: 36%;
}

.point7{
    top: 88%;
    left: 45%;
}

.point8{
    top: 96%;
    left: 50%;
}

.point:hover {
    transform: scale(1.25);
}

.point.active {
    background-color: #D98C5F;
    box-shadow: 0 0 18px rgba(217,140,95,0.7);
}

.point-info {
    width: 420px;

    background-color: white;

    padding: 40px;

    border-radius: 24px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.point-info h2 {
    margin-top: 0;

    font-size: 42px;

    color: #5E6248;

    font-family: 'Playfair Display', serif;
}

.point-info p {
    font-size: 20px;

    line-height: 1.8;

    color: #666A4D;
}

.acupuncture-map {
    display: flex;

    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 50px 20px;
    max-width: 1300px;

    margin: auto;
}

.map-container {
    position: relative;
}

.body-image {
    width: 560px;

    border-radius: 28px;

    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.point {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255,255,255,0.7);
    border: 3px solid #7A8060;
    cursor: pointer;
    transition: 0.3s ease;
}

.point:hover {
    transform: scale(1.3);
}


.point-info {
    width: 430px;
    background-color: #FDFCF8;
    padding: 45px;
    border-radius: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.point-info h2 {
    margin-top: 0;

    font-size: 42px;

    color: #5E6248;

    font-family: 'Playfair Display', serif;
}

.point-info p {
    font-size: 20px;
    line-height: 1.9;
    color: #666A4D;
}

.point.active {
    background-color: #D9895B;
    box-shadow: 0 0 20px rgba(217,137,91,0.7);
}


.acu-point{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(190,140,82,0.95);
    border: 3px solid #F8F6F1;
    position: absolute;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.18);
}

.acu-point:hover{
    transform: scale(1.25);
    background-color: #C97B4B;
}



.medicine-gallery{
    width:100%;
    height:100vh;

    display:flex;
    justify-content:left;
    align-items:start;
    gap:35px;

    overflow:hidden;

    padding:0px 60px;
    box-sizing:border-box;

    background:#f7f0e1;
}

.gallery-column{
    width:20%;
    height:100vh;

    overflow-y:auto;
    overflow-x:hidden;

    border-radius:0px;

    position:relative;

    scrollbar-width:none;
    cursor:grab;
}

.gallery-column::-webkit-scrollbar{
    display:none;
}

.gallery-track{
    display:flex;
    flex-direction:column;
    gap:28px;

    padding:10px;
}

.medicine-card{
    position:relative;

    width:100%;
    height:430px;

    border-radius:24px;

    overflow:hidden;

    flex-shrink:0;

    box-shadow:0 18px 35px rgba(82, 89, 43,0.38);
}

.medicine-card img{
    width:100%;
    height:100%;

    object-fit:cover;

    transition:0.5s;
}

.medicine-card:hover img{
    transform:scale(1.05);
}

.overlay{
    position:absolute;

    bottom:0;
    left:0;

    width:100%;

    padding:22px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0)
    );
}

.overlay h3{
    color:white;
    font-size:24px;
    font-family:'Playfair Display', serif;
    letter-spacing:0.5px;
}

.top{
    position:absolute;

    top:0;
    left:0;

    width:100%;
    height: 10vh;
    padding:22px;
    z-index: 300;
    background:linear-gradient(
        to bottom,
        rgba(250, 247, 240,1),
        rgba(250, 247, 240,0.6),
         rgba(250, 247, 240,0.3),
         rgba(250, 247, 240,0.1),
        rgba(250, 247, 240,0)
    );
}

.bottom{
    position:absolute;

    bottom:0;
    left:0;

    width:100%;
    height: 7vh;
    padding:22px;
    z-index: 300;
    background:linear-gradient(
        to top,
        rgba(247, 240, 225,1),
        rgba(2247, 240, 225,0.6),
         rgba(247, 240, 225,0.3),
         rgba(247, 240, 225,0.1),
        rgba(247, 240, 225,0)
    );
}



.gallery-column{
    overflow-y: scroll;
    scrollbar-width: none;
    scroll-behavior: auto;
}

.gallery-column::-webkit-scrollbar{
    display:none;
}

.medicine-info{
    width:35%;

}


.medicine-info h1{
    font-size: 48px;
    line-height:1.1;
    margin-top:10vh;

    color:#4F533D;
    font-family:'Playfair Display', serif;
}

.line{
    width:300px;
    height:1px;
    background:#7A8060;

    margin:28px 0;
}

.medicine-info p{
    font-size:15px;
    line-height:1.9;
    color:#666A4D;

    margin-bottom:25px;
}

.info-box{
    padding:10px 30px 10px 20px;

    border-radius:22px;

    background:white;

    box-shadow:0 10px 25px rgba(0,0,0,0.06);
    border-left:5px solid #adad89;

}

.info-box h3{
    margin-bottom:15px;

    color:#4F533D;

    font-size:28px;
}


.info-box p1{
    font-size:15px;
    line-height:1.9;
    color:#666A4D;
    line-height: 22px;
}

.secondary-btn {
    background: transparent;
    border: 2px solid #8B8E6B;
    padding: 12px 48px;
    font-size: 16px;
    font-weight: 600;
    color: #6A6E4E;
    border-radius: 40px;
    cursor: pointer;
    margin-top: 5vh;
    transition: 0.3s;
    margin-left: 5px;
    z-index: 400;
}

.secondary-btn:hover {
    background: #8B8E6B;
    color: white;
}

