/* --- 1. User Provided Variables --- TEST 1*/
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #A115BEFF;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #8e969e;
    --gray-dark: #343a40;
    --primary: #24bee2;
    --secondary: #6c757d;
    --success: #5fb412;
    --info: #17a2b8;
    --warning: #ff9600;
    --danger: #f7381e;
    --light: #f8f9fa;
    --dark: #373E44;
    
    /* Custom spacing/fonts */
    --font-family-sans-serif: "Prompt", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --section-padding: 80px 0;
}

/* --- 2. Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* --- 1. TOP BAR STYLES --- */

header {
    top: 0;
    z-index: 1000;
}

.dropdown-item {
    position: relative;
    padding-bottom: 10px; 
    margin-bottom: -10px;
}

/* 2. The Menu Box (Hidden by default) */
.dropdown-menu {
    position: absolute;
    top: 100%; /* Push it right below the button */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: white;
    width: 250%; /* Minimum width of the box */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    
    /* Animation Properties */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
    
    /* Reset List Styles */
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden; /* Keeps corners rounded */
    border: 1px solid #f0f0f0;
}

/* 3. HOVER EFFECT: Show the menu */
.dropdown-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* Slide up into place */
}

/* 4. Dropdown Links Styling */
.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #444;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.2s;
    border-bottom: 1px solid #f9f9f9;
    text-align: left; /* Ensure text aligns left */
}

/* Remove bottom border for the very last item */
.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Hover on the links inside */
.dropdown-menu li a:hover {
    background-color: #fcfcfc;
    color: #b08d55; /* Gold text on hover */
    padding-left: 25px; /* Slight slide-right effect */
}

/* =========================================
   SPECIAL GOLD HEADER (For "More" Menu)
   ========================================= */
.menu-header {
    background-color: #b08d55; /* Gold Background */
    color: white;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: default; /* Shows regular arrow cursor */
}

.top-bar {
    background-color: #A115BEFF; /* Bright purple */
    padding: 1.1rem 0;
    color: white;
    font-size: 1rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Phone Number Link */
.tel-link {
    text-decoration: underline;
    font-weight: 500;
    color: white;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- 2. SOCIAL ICONS --- */
.social-icons-top {
    display: flex;
    gap: 5px;
}

.social-sq {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 14px;
    border-radius: 2px;
}

/* Brand Colors */
.social-sq.fb { background-color: #3b5998; }
.social-sq.x { background-color: #009dff; }
.social-sq.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-sq.yt { background-color: #FF0000; }
.social-sq.line { background-color: #00C300; }
.social-sq.tt { background-color: #000000; }

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    cursor: pointer;
}

.lang-switch img {
    width: 24px;
    height: auto;
    border-radius: 2px;
}


.nav-links {
    display: flex; /* Ensure links are in a row */
    align-items: center;
    gap: 0.2rem; /* Space between pill buttons */
}

/* The "Pill" Link Style */
.nav-item {
    font-size: 1rem;
    color: #444;
    font-weight: lighter;
    text-decoration: none;
    
    /* Shape and Transition */
    padding: 0.5rem 1rem;
    border-radius: 50px; /* Makes it a pill */
    transition: all 0.3s ease;
    margin-left: 2px;
}

.nav-item i {
    font-size: 0.8rem;
    color: #888;
    margin-left: 0.3rem;
}

/* HOVER EFFECT: The Gold Pill (Like your image) */
.nav-item:hover {
    background-color: #b08d55; /* Muted Gold */
    color: white !important; /* Text turns white */
    box-shadow: 0 2px 5px rgba(176, 141, 85, 0.4); /* Soft gold shadow */
}

.nav-item:hover i {
    color: #b08d55;
}

.nav-dropdown {
    font-size: 1rem;
    color: #444;
    font-weight: lighter;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 2px;
    margin-top: 7px;
}

.nav-dropdown i {
    font-size: 0.8rem;
    color: #888;
}

/* HOVER EFFECT: The Gold Pill (Like your image) */
.nav-dropdown:hover {
    color: #b08d55 !important;
}

/* The "Home" button (already active) */
.active-btn {
    background-color: #b08d55;
    color: white !important;
    padding: 0.5rem 0.9rem;
    border-radius: 22px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.dropdown-active {
    color: #b08d55 !important;
}

.general-btn{
    background-color: #b08d55;
    color: white !important;
    font-size: 20px;
    padding: 0.6rem 1.2rem;
    border-radius: 22px;
    border: none;
    display: inline-block;
    max-width: fit-content;
}

/* Define the Slide Down Animation */
@keyframes slideDown {
    from {
        transform: translateY(-35%);
    }
    to {
        transform: translateY(0);
    }
}

.fixed-padding{
    padding-top: 10rem;
}
/* This class triggers the animation */
.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow */
    animation: slideDown 0.4s ease-out; /* The "Push" effect */
}

/* --- 4. MOBILE VIEW CLEANUP --- */
@media screen and (max-width: 768px) {
    
    /* 1. Hide Socials and Language (ETC) */
    .social-icons-top, 
    .lang-switch,
    .top-right { 
        display: none !important; 
    }

    .top-bar{
        padding: 0.6rem 0;
    }
    /* 2. Center the Phone Number */
    .top-bar-content {
        justify-content: center !important; /* Centers items horizontally */
    }

    .tel-link {
        font-size: 1.1rem; /* Make phone number slightly bigger on mobile */
        text-align: center;
    }
}

body {
    font-family: var(--font-family-sans-serif);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
}

.container.hero-container{
    width: 80%;
    max-width: none;
}

.section-padding { padding: var(--section-padding); }
.text-center { text-align: center; justify-self: center; }
.bg-light { background-color: var(--light); }


.section-header h2 {
    font-size: 4rem;
    color: #373E44;
    font-weight: 600;
}
.section-header .subtitle {
    font-size: 2rem;
    color: #373E44;
}

/* --- Header & Navigation --- */

.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 90px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    font-size: 1.1rem;
}
.nav-links a:hover { color: var(--purple); }

.hamburger { display: none; font-size: 1.5rem; color: var(--purple); cursor: pointer; }

/* --- Hero Section --- */
.hero-section {
    /* Used purple with opacity for overlay to match brand */
    background: linear-gradient(rgba(255, 255, 255, 0.826), rgba(255, 255, 255, 0.886)), url(assets/hero-bg.jpg);
    background-size: cover;
    background-position: center;    
    color: var(--white);
    text-align: center;
    padding-top: 2rem;
}
.hero-section h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 20px; }
.hero-section p { font-size: 1.5rem; }

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
}

.flex-container.hero{
    top: 0;
}

.vflex-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
/* --- About Section --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.highlight-text {
    color: var(--purple);
    font-weight: 600;
    font-size: 1.2rem;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    justify-items: center;
    margin-top: 2rem;
}

.service-item { text-align: center; }
.service-icon-wrapper {
    width: 180px;
    height: 180px;
    background-color: #f3e5f5; /* Keeping a very light purple tint for bubbles */
    border: 2px solid var(--purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.service-icon-wrapper:hover { transform: translateY(-5px); }
.service-img { width: 100%; height: 100%; object-fit: cover; }
.service-item h3 { color: var(--purple); font-size: 1.3rem; }

/* --- Doctor Section --- */
.doctor-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.doctor-image { flex: 1; }
.doctor-image img { border-radius: 20px; box-shadow: 0 10px 30px rgba(111, 66, 193, 0.2); }
.doctor-info { flex: 1; }
.doctor-info h2 { color: var(--purple); font-size: 2.5rem; margin-bottom: 10px; }
.doctor-info h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--dark); }
.doctor-info .doctor-title { color: var(--secondary); font-size: 1.2rem; margin-bottom: 30px; font-weight: 500; }

.doctor-credentials li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--gray-dark);
    text-align: left;
}
.doctor-credentials i { color: var(--success); margin-right: 15px; font-size: 1.2rem;}

.experience-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.years-container {
    display: flex;
    align-items: center;
    line-height: 1;
}

.experience-box .years {
    font-size: 3.5rem;
    font-weight: 700;
    color: #b08d55;
}

.experience-box .plus {
    font-size: 2.5rem;
    font-weight: 700;
    color: #b08d55;
    margin-left: 2px;
}

.experience-box .text {
    font-size: 1.2rem;
    color: #666;
    margin-top: 5px;
}

/* --- Results Section --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 1rem;
}
.result-item img { width: 100%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- Reviews Section --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}   
.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--light);
}
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.review-header h4 { font-size: 1.2rem; color: var(--dark); }
.stars { color: var(--yellow); letter-spacing: 2px; }
.review-text { color: var(--secondary); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.review-source { color: var(--secondary); font-size: 0.9rem; display: flex; align-items: center; }
.review-source i { margin-right: 8px; }
.google-rating { color: var(--secondary); }
.google-rating a { color: var(--purple); text-decoration: underline; }

/* --- Blog Section --- */
.blog-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.blog-main { position: relative; border-radius: 15px; overflow: hidden; }
.blog-main img { width: 100%; height: 100%; object-fit: cover; }
.blog-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
}
.blog-main-content h3 { font-size: 2rem; margin-bottom: 10px; }
.read-more { color: var(--white); font-weight: 600; }

.blog-list { display: flex; flex-direction: column; gap: 20px; }
.blog-item { display: flex; gap: 20px; background: var(--white); padding: 15px; border-radius: 10px; align-items: center; }
.blog-item img { width: 150px; height: 100px; object-fit: cover; border-radius: 8px; }
.blog-info h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--purple); }
.blog-info p { font-size: 0.9rem; color: var(--secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- Footer --- */
.footer-section {
    background: var(--dark); /* Changed to dark grey per modern footer standards, or use --purple */
    background: linear-gradient(to right, #4a2c74, #A115BEFF); /* Gradient using the Purple var */
    color: var(--white);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 { font-size: 1.2rem; margin-bottom: 25px; color: var(--white); }
.footer-col p { margin-bottom: 15px; color: var(--light); display: flex; align-items: flex-start; }
.footer-col p i { margin-right: 10px; margin-top: 5px; }
.logo-col { text-align: center; }
.footer-logo { width: 120px; margin: 0 auto 30px; }
.social-links { display: flex; justify-content: center; gap: 15px; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 50px;
    max-height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    padding: 20px;
}
.social-links a:hover { background: var(--white); color: var(--purple); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--light); }
.footer-links a:hover { color: var(--white); padding-left: 5px; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: #ccc; }
.copyright a {
    color: #006EFF;
    font-weight: 600;
 }
 
 /* =========================================
   PAGE SPECIFIC: ABOUT US (Doctor Section)
   ========================================= */
.doctor-section {
    background-color: #e3d5f2; /* Soft Lavender */
    padding: 80px 0;
}

.doctor-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.doctor-image-box {
    flex: 1;
    text-align: center;
}

.dr-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(122, 43, 143, 0.2);
}

.doctor-info-box {
    flex: 1;
}

.doctor-card {
    background: white;
    border: 2px solid #b08d55; /* Gold Border */
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dr-name {
    font-size: 2.2rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 5px;
}

.dr-subname {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.dr-badge {
    background: #f7efff;
    color: #7a2b8f; /* Brand Purple */
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.gold-divider {
    width: 60px;
    height: 4px;
    background: #b08d55;
    margin-bottom: 25px;
    border-radius: 2px;
}

.dr-checklist li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: start;
}

.dr-checklist i {
    color: #b08d55;
    margin-right: 12px;
    margin-top: 5px;
}

/* =========================================
   PAGE SPECIFIC: ABOUT US (Clinic Story)
   ========================================= */
.about-section {
    background: #7a2b8f;
    color: white;
    padding-top: 80px;
}

.crown-icon {
    font-size: 2.5rem;
    color: #b08d55;
    margin-bottom: 15px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #b08d55;
    margin-bottom: 5px;
}

.sub-title {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.divider-fancy {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.divider-fancy::before,
.divider-fancy::after {
    content: "";
    width: 80px;
    height: 1px;
    background: #b08d55;
    opacity: 0.7;
}

.divider-fancy span {
    padding: 0 15px;
    color: #b08d55;
    font-size: 1.2rem;
}


.topic-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.desc-text {
    line-height: 1.8;
    color: #ffffff;
    font-size: 1rem;
}

.about-bottom-img {
    display: flex;
    justify-content: center;
}

.about-bottom-img img {
    max-width: 100%;
    border-radius: 20px 20px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
    margin-top: 3rem;
}

/* =========================================
   PAGE SPECIFIC: BODYTITE.HTML
   ========================================= */

/* --- 1. HERO SECTION --- */
.bodytite-hero {
    /* Replace with your actual banner image URL */
    background: linear-gradient(rgba(255, 255, 255, 0.826), rgba(255, 255, 255, 0.886)), url(assets/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #7a2b8f;
}
.hero-content {
    background: rgba(255, 255, 255, 0.85); /* Box behind text for readability */
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #e3d5f2;
}
.hero-sub { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; color: #7a2b8f; }
.hero-title { font-size: 3rem; font-weight: 700; margin-bottom: 10px; color: #333; }
.hero-doctor { font-size: 1.8rem; font-weight: 500; margin-bottom: 20px; color: #555; }
.hero-desc { font-size: 1.1rem; line-height: 1.6; color: #444; }

/* --- 2. INTRO SECTION --- */
.bodytite-intro {
    background-color: #7a2b8f; /* Brand Purple */
    padding: 80px 0;
    color: white;
}
.section-title-white { font-size: 2.5rem; font-weight: 700; margin-bottom: 5px; color: white; }
.section-subtitle-white { font-size: 1.8rem; font-weight: 400; margin-bottom: 20px; color: #e0e0e0; }
.intro-divider { width: 100px; height: 3px; background: #b08d55; margin: 0 auto 30px auto; }
.intro-text { max-width: 900px; margin: 0 auto 20px auto; font-size: 1.1rem; line-height: 1.8; }

/* --- 3. CANDIDATES SECTION --- */
.candidate-section { padding: 80px 0; background: white; }
.section-title-purple { font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; color: #7a2b8f; }
.section-desc { font-size: 1.1rem; color: #555; max-width: 800px; margin: 0 auto; }
.mb-50 { margin-bottom: 50px; }

.candidate-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.candidate-item {
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #e3d5f2;
    font-size: 1.1rem;
    color: #444;
    text-align: center;
}

/* --- 4. WHY MEDIQUEEN SECTION --- */
.why-section { padding: 80px 0; background: #fcfcfc; }
.why-container { display: flex; align-items: center; gap: 50px; }
.why-img-box { flex: 1; text-align: center; }
.why-info-box { flex: 1; }
.rounded-img { border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); width: 100%; }
.left-align { text-align: left; }

.gold-bullet-list { list-style: none; padding: 0; }
.gold-bullet-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
.gold-bullet-list li::before {
    content: "•"; /* Or use a gold circle */
    color: #b08d55;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* --- 5. BENEFITS SECTION --- */
.benefits-section { padding: 80px 0; background: white; }
.small-gold-title { font-size: 1.2rem; color: #b08d55; margin-bottom: 5px; }
.big-gold-title { font-size: 3rem; color: #b08d55; font-weight: 700; margin-bottom: 50px; text-transform: uppercase; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}
.benefit-item { text-align: center; padding: 20px; }
.icon-circle {
    width: 80px; height: 80px;
    background: #7a2b8f; /* Purple Circle */
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px auto;
    border: 3px solid #b08d55; /* Gold Border */
}
.benefit-item p { font-size: 0.95rem; color: #555; line-height: 1.6; }

/* --- 6. PREP SECTION --- */
.prep-section { padding: 80px 0; background: #fff; }
.prep-container { display: flex; align-items: center; gap: 50px; flex-direction: row-reverse; /* Image on right, flip order if needed */ }
.prep-img-box { flex: 0.8; }
.prep-info-box { flex: 1.2; }
.prep-img { border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); width: 100%; }

/* --- 7. AFTERCARE SECTION --- */
.aftercare-section {
    background: #7a2b8f;
    padding: 80px 0;
    color: white;
}
.aftercare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.aftercare-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    color: #333;
    display: flex;
    flex-direction: column;
}
.aftercare-card img { width: 100%; height: 200px; object-fit: cover; }
.ac-content { padding: 20px; flex: 1; }
.ac-content h4 { color: #7a2b8f; margin-bottom: 10px; font-size: 1.1rem; }
.ac-content p { font-size: 0.9rem; color: #555; line-height: 1.5; }

/* --- 8. REVIEW SECTION --- */
.review-section { padding: 80px 0; background: #f9f0ff; /* Light Lavender */ }
.review-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.review-img {
    border-radius: 15px;
    border: 2px solid #b08d55;
    max-width: 100%;
    height: auto;
}

/* --- 9. FAQ SECTION --- */
.faq-section { padding: 80px 0;}
.faq-container { max-width: 800px; margin: 40px auto 0 auto; }
.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eee;
}
.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #7a2b8f;
    list-style: none; /* Hide default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer {
    padding: 0 20px 20px 20px;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #f0f0f0;
}

/* --- SECTION TITLES --- */
.section-title {
    text-align: center;
    color: var(--purple-main);
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* --- 1. INTRO SECTION --- */
    .cause-number {
        width: 35px;
        height: 35px;
        background: #ff6b6b;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 0.8rem;
    }
    .tech-highlight {
        background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
        border: 2px dashed #ff6b6b !important;
    }
    .text-gradient {
        background: -webkit-linear-gradient(#333, #777);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
.filler-intro-section {
    background-color: var(--purple-main);
    color: white;
    padding: 60px 0;
}
.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.intro-text {
    flex: 1;
}
.intro-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    border-bottom: 3px solid var(--gold-main);
    display: inline-block;
}
.highlight-box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-left: 4px solid var(--gold-main);
    margin: 20px 0;
    border-radius: 4px;
}
.intro-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- 2. TYPES SECTION --- */
.filler-types-section {
    padding: 60px 0;
    background: #f9f9f9;
}
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.type-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}
.type-card:hover {
    transform: translateY(-10px);
}
.type-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}
.type-card h3 {
    color: var(--purple-main);
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.type-card h3 span {
    font-size: 0.9rem;
    color: #888;
}

/* --- 3. WHY US SECTION --- */
.why-us-section {
    background-color: var(--purple-main);
    color: white;
    text-align: center;
    padding: 60px 0;
}
.crown-icon {
    font-size: 40px;
    color: var(--gold-main);
    margin-bottom: 15px;
}
.highlight-content {
    max-width: 800px;
    margin: 0 auto;
}

.highlight-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.highlight-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0e6ff;
}

/* --- 4. COMPARISON SLIDER (Essential) --- */
.comparison-section {
    padding: 60px 0;
    text-align: center;
}
.comparison-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px; /* Size of your images */
    margin: 0 auto;
}
.img-comp-container {
    position: relative;
    height: 500px; /* Must match image height */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: col-resize;
}
.img-comp-img {
    position: absolute;
    width: auto;
    height: auto;
    overflow: hidden;
}
.img-comp-img img {
    display: block;
    vertical-align: middle;
}
.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gold-main);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid white;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through to container */
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.drag-instruction {
    margin-top: 10px;
    color: #888;
    font-size: 0.9rem;
}

/* --- 5. FAQ --- */
.faq-section {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}
.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary i {
    transition: transform 0.3s;
}
/* Rotate icon when open */
.faq-item[open] summary i {
    transform: rotate(180deg);
    color: var(--purple-main);
}
.faq-content {
    padding: 0 20px 20px 20px;
    color: #666;
    line-height: 1.6;
}


/* --- 0. VARIABLES (If you haven't added them yet) --- */
:root {
    --purple-main: #7a2b8f;
    --gold-main: #A68B5B;
}

/* --- 1. HERO BANNER SECTION --- */
.hero-banner-section {
    /* Replace the URL below with your actual background image file */
    background-image: url('assets/hero-bg.jpg'); 
    background-size: cover;
    background-position: center center; /* Focuses the image */
    background-repeat: no-repeat;
    
    /* Height of the banner */
    height: 600px; /* Adjust this number if you want it taller/shorter */
    display: flex;
    align-items: center; /* Vertically centers the content */
    position: relative;
}

/* Optional: This adds a white fade from Left to Right so text is readable */
.hero-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: White on left (80%) -> Transparent on right */
    background: linear-gradient(to right, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

/* --- 2. LAYOUT & SPACING --- */
.hero-banner-section .container {
    position: relative;
    z-index: 2; /* Puts text above the white fade overlay */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text-box {
    max-width: 600px;
}

/* --- 3. TYPOGRAPHY --- */
/* Main Title (Clinic Name) */
.hero-text-box h1 {
    font-size: 3.5rem; /* Large text */
    color: var(--purple-main);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Subtitle (Service Description) */
.hero-subtitle {
    font-size: 1.5rem;
    color: #444; /* Dark Grey */
    font-weight: 400;
    margin-bottom: 15px;
}

.antiaging-text {
    width: 100%;
}

.antiaging-text h1 {
    font-size: 4rem; /* Large text */
    color: var(--purple-main);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.antiaging-text p {
    font-size: 1.6rem;
    color: #444; /* Dark Grey */
    font-weight: 400;
    margin-bottom: 15px;
}

/* Doctor Highlight (Experience) */
.doctor-highlight {
    font-size: 1.5rem;
    color: var(--gold-main); /* Gold Color */
    font-weight: 600; /* Bold */
}

/* --- 1. HERO SECTION (Botox Specific) --- */
.botox-hero-section {
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    position: relative;
}

/* White Fade Overlay (Left to Right) */
.botox-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-box h1 {
    font-size: 3.5rem;
    color: var(--purple-main);
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* --- 2. INTRO SECTION (Purple Background) --- */
.botox-intro-purple {
    background-color: var(--purple-main); /* Purple Background */
    color: white;
    padding: 80px 0;
}

.intro-split-wrapper {
    display: flex;
    align-items: center; /* Vertically center text with image */
    gap: 60px; /* Space between text and image */
}

/* Text Side Styling */
.intro-text-side {
    flex: 1; /* Takes 50% width */
    text-align: left;
}

.intro-text-side h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gold-divider-left {
    border: 0;
    height: 3px;
    width: 100px;
    background-color: var(--gold-main);
    margin: 0 0 30px 0; /* Align Left */
}

.intro-text-side p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
}

/* Image Side Styling */
.intro-image-side {
    flex: 1; /* Takes 50% width */
    display: flex;
    justify-content: center;
}

.intro-image-side img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    border: 4px solid var(--gold-main); /* Gold Border */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .intro-split-wrapper {
        flex-direction: column; /* Stack vertically on mobile */
    }
    
    .intro-text-side {
        text-align: center; /* Center text on mobile */
    }
    
    .gold-divider-left {
        margin: 0 auto 30px auto; /* Center divider on mobile */
    }
    
    .intro-image-side {
        margin-top: 30px;
    }

    .flex-container.hero{
        display: flex;
        flex-direction: column !important;
        gap: 0;
    }
}   

/* --- 3. TECHNIQUE SECTION --- */
.botox-technique-section {
    padding: 70px 0;
    background-color: #f9f9f9;
}

.technique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 4px solid transparent;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--gold-main);
}

.icon-wrapper {
    font-size: 3rem;
    color: var(--purple-main);
    margin-bottom: 20px;
}

.tech-card h3 {
    color: var(--gold-main);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.tech-card p {
    color: #666;
    line-height: 1.6;
}

/* --- 4. PROCESS SECTION --- */
.botox-process-section {
    padding: 80px 0;
    background: white;
}

.process-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.process-text { flex: 1; }
.process-image { flex: 1; }

.process-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-list {
    list-style: none;
    margin-top: 25px;
}

.process-list li {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid var(--gold-main);
}

.process-list strong {
    display: block;
    color: var(--purple-main);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* --- 5. PRECAUTIONS SECTION --- */
.botox-warning-section {
    padding: 80px 0;
    background-color: #f4eaf7; /* Very light purple */
}

.warning-title {
    text-align: center;
    color: var(--purple-main);
    margin-bottom: 50px;
    font-size: 2rem;
}

.warning-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.warning-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    gap: 20px;
    list-style: none;
}

.warning-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.warning-list li i {
    color: #d9534f; /* Red/Orange for warning */
    font-size: 1.2rem;
    margin-top: 4px;
}



/* --- 1. HERO SECTION --- */
.thread-hero-section {
    /* Replace with image_06e79a.jpg or similar */
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    position: relative;
}
.thread-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient: White Left -> Transparent Right */
    background: linear-gradient(to right, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

/* --- 2. INTRO PURPLE --- */
.thread-intro-purple {
    background-color: var(--purple-main);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.thread-intro-purple h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.highlight-box-gold {
    border: 2px solid var(--gold-main);
    padding: 20px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 800px;
    background: rgba(166, 139, 91, 0.1);
}
.highlight-box-gold p {
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
}

/* --- 3. TYPES SECTION --- */
.thread-types-section {
    padding: 70px 0;
    background: #fff;
}
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.type-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
    border-top: 5px solid var(--purple-main);
}
.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.type-card h3 {
    color: var(--purple-main);
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.type-card h3 span {
    color: var(--gold-main);
    font-size: 1.1rem;
    font-weight: 400;
}

/* --- 4. AREAS SECTION (Icons) --- */
.thread-areas-section {
    padding: 60px 0;
    background: #fcfcfc;
}
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.area-item {
    background: white;
    width: 130px;
    height: 130px;
    border-radius: 50%; /* Circle shape */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--purple-main);
    color: var(--purple-main);
    font-size: 14px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.area-item:hover {
    background: var(--purple-main);
    color: white;
    transform: scale(1.1);
}
.area-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

/* --- 5. FAQ SECTION (Split Layout) --- */
.thread-faq-split-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-split-wrapper {
    display: flex;
    align-items: flex-start; /* Aligns items to top */
    gap: 50px; /* Space between Text and Image */
}

/* LEFT SIDE: Text Styling */
.faq-text-side {
    flex: 1; /* Takes up 50% space */
}

.section-title-left {
    text-align: left;
    color: var(--purple-main);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gold-line-left {
    border: 0;
    height: 3px;
    width: 80px;
    background-color: var(--gold-main);
    margin: 0 0 40px 0; /* Aligned left */
}

.faq-box-item {
    margin-bottom: 30px;
    border-left: 4px solid #eee; /* Light grey line on left */
    padding-left: 20px;
    transition: 0.3s;
}

.faq-box-item:hover {
    border-left: 4px solid var(--gold-main); /* Turns Gold on Hover */
}

.faq-box-item h3 {
    font-size: 1.25rem;
    color: var(--purple-main);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-box-item h3 i {
    color: var(--gold-main);
    font-size: 1.1rem;
}

.faq-box-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* RIGHT SIDE: Image Styling */
.faq-image-side {
    flex: 1; /* Takes up 50% space */
    display: flex;
    justify-content: center;
}

.faq-image-side img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* --- 6. FAQ SECTION (Accordion Style) --- */
.thread-faq-section {
    padding: 60px 0;
    /* Adds the subtle purple fade seen in image_06e41e.png */
    background: linear-gradient(180deg, #ffffff 0%, #fbf5fd 100%);
}

/* This makes the section "Small" (Narrow width) */
.thread-faq-section .container {
    max-width: 750px; /* Limits width so it doesn't stretch across the screen */
    margin: 0 auto;   /* Centers it perfectly */
}

/* Title Styling */
.section-title {
    text-align: center;
    color: var(--purple-main); /* Uses your purple color */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

/* The Question List Item */
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1); /* Thin divider line */
    margin-bottom: 10px;
}

/* The Question Text (Clickable part) */
.faq-item summary {
    padding: 15px 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--purple-main); /* Purple text like the image */
    list-style: none; /* Removes default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.faq-item summary:hover {
    color: var(--gold-main); /* Changes to Gold on hover */
}

/* Hide the default marker for Chrome/Safari */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* The Icon Rotation */
.faq-item summary i {
    transition: transform 0.3s;
    font-size: 0.9rem;
}

.faq-item[open] summary i {
    transform: rotate(180deg); /* Flips arrow when open */
}

/* The Answer Text */
.faq-content {
    padding: 0 10px 20px 10px;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    animation: fadeIn 0.3s ease-in-out;
}

/* --- Global Reset & Fonts for Main Content --- */
.mediqueen-content {
    font-family: 'Kanit', sans-serif;
    color: #333;
    width: 100%;
    overflow-x: hidden;
}

.mediqueen-content .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

/* --- Section 1: Hero Banner --- */
.mq-hero {
    position: relative;
    height: 500px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
}

.mq-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(243, 235, 255, 0.9) 0%, rgba(243, 235, 255, 0.6) 50%, rgba(255,255,255,0) 100%);
}

.mq-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text {
    width: 100%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    animation: glassRise 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--purple-main); /* Defined in previous steps (#7a2b8f) */
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.5rem;
    color: #444; /* Dark Grey */
    font-weight: 400;
    margin-bottom: 15px;
}

.hero-image {
    width: 100%;
    display: flex;
    animation: glassRise 2.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.services-hero-image {
    max-width: 450px;
    margin-left: 20px;
}

.services-hero-image img{
    border-radius: 50px;
}

.mq-intro {
    background-color: #7a2b8f;
    background: linear-gradient(180deg, #963aad 0%, #7a2b8f 40%, #58166b 100%);
    color: #fff;
    padding-top: 60px; /* Space for the logo to overlap */
    padding-bottom: 80px;
    position: relative;
    overflow: visible; /* Allows logo to poke out top */
}

/* Flex container to stack everything vertically and center it */
.mq-stack-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    position: relative;
}

/* 1. Logo Styles */
.floating-logo {
    margin-bottom: 30px;
    margin-top: -100px;
    z-index: 10;
}

.logo-circle {
    width: 90px;
    height: 90px;
    background-color: #7a2b8f;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 5px rgba(122, 43, 143, 0.5); /* Outer glow ring effect */

}

.logo-text {
    font-family: 'Times New Roman', serif;
    font-size: 3rem;
    color: #d4af37; /* Gold Text */
    line-height: 1;
    margin-top: 5px;
}

/* 2. Heading Styles */
.intro-headings {
    margin-bottom: 40px;
    width: 100%;
}

.intro-headings h2 {
    font-size: 2.5rem; /* Large font for first line */
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.intro-headings h3 {
    font-size: 2.2rem; /* Slightly smaller for English */
    font-weight: 700;
    margin: 0;
    margin-top: 5px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 3. Text Body Styles */
.intro-text-body {
    max-width: 980px; /* Limits width so lines break nicely like the image */
    margin: 0 auto;
}

.intro-text-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 25px;
    padding: 0 10px; /* Small padding prevents text hitting edges on small screens */
}

.intro-text-body strong {
    font-weight: 600;
    color: #fff;
}

/* 4. Gold Divider Graphic Styles */
.gold-divider-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    opacity: 0.8;
}

.gold-divider-graphic .line {
    height: 2px;
    flex-grow: 1;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

/* Creates the little design in the center of the line */
.gold-divider-graphic .diamond {
    width: 10px;
    height: 10px;
    background-color: #d4af37;
    transform: rotate(45deg);
    margin: 0 10px;
    position: relative;
}

.gold-divider-graphic .diamond::after,
.gold-divider-graphic .diamond::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #d4af37;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
}

/* --- Section 3: Causes of Aging --- */
.mq-causes {
    background-image: url('assets/science.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.causes-container {
    display: flex;
    align-items: center;
}

.causes-content {
    width: 65%;
    padding-left: 50px;
    text-align: center; /* Centered content as per image */
}

.purple-heading {
    color: #7a2b8f;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.sub-heading {
    color: #555;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.causes-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    text-align: left; /* List items align left but centered in block */
    display: inline-block; /* Allows list to be centered */
}

.causes-list li {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

/* Gold Bullets */
.causes-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px; /* Visual alignment */
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ffd700, #b8860b);
    border-radius: 50%;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.causes-summary {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* --- Common Styles --- */
.script-font {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
}

.gold-divider-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    margin: 10px auto 20px;
    opacity: 0.8;
}
.gold-divider-mini .line {
    height: 1px;
    flex-grow: 1;
    background: #d4af37;
}
.gold-divider-mini .diamond {
    width: 6px;
    height: 6px;
    background-color: #d4af37;
    transform: rotate(45deg);
    margin: 0 8px;
}

/* --- Section 4: Reviews Capsule --- */
.mq-reviews {
    padding: 60px 0;
    background-color: #fff;
}

.review-capsule {
    background: linear-gradient(90deg, #7a2b8f 0%, #a64ac2 50%, #7a2b8f 100%);
    border-radius: 100px; /* Capsule shape */
    position: relative;
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Crops the side images */
    box-shadow: 0 10px 30px rgba(122, 43, 143, 0.3);
}

.review-content {
    z-index: 5;
    text-align: center;
    color: #fff;
}

.review-content h2 {
    font-size: 4rem;
    color: #ffd700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.btn-gold {
    display: inline-block;
    background-color: #bfa15f; /* Muted gold color from image */
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #d4af37;
}

.btn-gold:hover {
    background-color: #fff;
    color: #7a2b8f;
}

/* Side Images inside Capsule */
.review-side-img {
    position: absolute;
    top: 0;
    height: 100%;
    width: 30%;
    z-index: 1;
}

.review-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* Positioning */
.review-side-img.left {
    left: 0;
    /* Mask effect to fade into purple */
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
    mask-image: linear-gradient(to right, black 50%, transparent 100%);
}

.review-side-img.right {
    right: 0;
    /* Mask effect to fade into purple */
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
    mask-image: linear-gradient(to left, black 50%, transparent 100%);
}

/* --- Section 5: Promotions --- */
.mq-promos {
    background-color: #9d3eb5; /* Brighter purple base */
    background: linear-gradient(180deg, #b04cc6 0%, #7a2b8f 100%);
    padding: 60px 0 80px;
    color: #fff;
    text-align: center;
}

.promo-header .script-font {
    font-size: 3rem;
    color: #d4af37;
    display: block;
}

.promo-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.promo-header p {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Grid Layout */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items per row */
    gap: 15px;
    padding: 0 10px;
}

.promo-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.promo-item:hover {
    transform: translateY(-5px);
}

.promo-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Lightbox Modal Styles --- */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    animation-name: zoom;
    animation-duration: 0.3s;
    border-radius: 5px;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #d4af37;
    text-decoration: none;
    cursor: pointer;
}

/* Import the cursive font for 'Our Reviews' */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

.review-hero {
    /* Purple Gradient Background from the image */
    background: linear-gradient(180deg, #9d3eb5 0%, #7a2b8f 100%);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    font-family: 'Kanit', sans-serif; /* Standard Thai font */
}

.script-font {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 0;
}

.gold-text {
    color: #d4af37; /* Gold color for the script */
}

.review-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 15px 0;
    letter-spacing: 1px;
}

.hero-disclaimer {
    max-width: 900px;
    margin: 25px auto 0;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.95;
}

/* Gold Divider Graphics */
.gold-divider-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    margin: 5px auto;
}

.gold-divider-mini .line {
    height: 1.5px;
    flex-grow: 1;
    background: #d4af37;
}

.gold-divider-mini .diamond {
    width: 8px;
    height: 8px;
    background-color: #d4af37;
    transform: rotate(45deg);
    margin: 0 10px;
}

.gold-divider-mini.thin {
    width: 400px;
    margin-top: 0;
    opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .review-hero h1 { font-size: 2rem; }
    .script-font { font-size: 2.5rem; }
    .gold-divider-mini.thin { width: 80%; }
}

.reviews-page {
    background-color: #fdfbff;
}

/* Review Nav Cards (Purple Cards) */
.review-nav-section {
    padding: 50px 0;
}

.review-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-nav-card {
    background-color: #f3ebff; /* Light purple tint */
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e2d1f0;
    transition: transform 0.3s ease;
}

.review-nav-card:hover {
    transform: translateY(-10px);
}

.before-after-box {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #d4af37; /* Gold border around the BA image */
}

.before-after-box img {
    width: 100%;
    display: block;
}

.review-nav-card h3 {
    color: #4a1a5e;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.view-link {
    color: #7a2b8f;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
}

.view-link:hover {
    text-decoration: underline;
}

/* Gallery Sections */
.review-gallery-section {
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.gallery-title {
    color: #7a2b8f;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #7a2b8f;
    display: inline-block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.gallery-grid img:hover {
    opacity: 0.8;
}

/* CONTACT HERO */
.contact-hero {
    background: linear-gradient(180deg, #9d3eb5 0%, #7a2b8f 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.contact-hero h1 { font-size: 3rem; margin-top: 10px; }

/* MAIN CONTENT LAYOUT */
.contact-main { 
    padding: 80px 0; 
    background-color: #fcfaff; 
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}



/* FORM STYLING */
.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(122, 43, 143, 0.1);
}

.contact-form-container h2 { color: #7a2b8f; margin-bottom: 10px; }

.form-group { margin-bottom: 20px; }

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fdfbff;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus { border-color: #7a2b8f; outline: none; }

/* BTN STYLE MATCHING image_1993ac.png */
.btn-message {
    background-color: #bfa15f; /* Gold-brown from image */
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    font-weight: 500;
}

.btn-message:hover {
    background-color: #a68b4d;
    transform: translateY(-2px);
}

.mail-icon { font-size: 1.4rem; }

/* BRANCH CARDS STYLING */
.branch-card {
    background: #fff;
    border: 1px solid #d4af37;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;   
}

.branch-card h3 { color: #7a2b8f; font-size: 1.2rem; margin-bottom: 10px; }
.branch-card p { font-size: 0.95rem; margin-bottom: 5px; color: #555; }

/* Hamburger Menu Icon */   
.hamburger .bar {
    z-index: 1001;
    display: block;
    width: 50px;
    height: 6px;
    margin: 10px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--purple); /* Dunkelgrau/Schwarz */
}

.phone-icon {
    display: none;
    color: var(--gold-main);
}

.nav-icons{
    display: none;
}

/* =========================================================
   DESKTOP --> TABLET (<= 1024px)
   ========================================================= */
@media screen and (max-width: 1024px) {
    body.menu-open {
        overflow: hidden !important;
        height: 100vh;
    }

    .top-bar {
        display: none;
    }

    .navbar {
        display: flex;
        margin: 0;
        padding: 0.5rem 4rem;
        width: 100%;
        justify-content: center;
    }

    .navbar .container {
        margin: 0;
        padding: 0;
        max-width: 100%;
    }

    .phone-icon {
        z-index: 1600;
        display: flex;
        font-size: 2.5rem;
        background-color: transparent;
        padding: 8px;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .nav-icons{
        display: flex;
        align-items: center;
        gap: 2.5rem;
    }

    /* Navigation */
    .hamburger {
        display: block;
        z-index: 1600;
        position: relative;
    }

    .hamburger.is-active .bar {
        margin: 0;
    }

    /* Hamburger Animation to X */
    .hamburger.is-active .bar:nth-child(2) {
        opacity: 0; 
    }

    .hamburger.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg); 
    }

    .hamburger.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg); 
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%; /* Hidden off-screen */
        height: 100vh;
        width: 85%;   /* Covers 3/4 of the screen */
        background-color: #2b2b2b; /* Dark background like screenshot */
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Align text to left */
        justify-content: flex-start;
        padding-top: 80px; /* Space for the X button */
        padding-left: 40px;
        transition: right 0.4s ease;
        z-index: 1500;
        overflow-y: auto; /* Scroll if menu is long */
    }

    /* Active state to slide menu in */
    .nav-links.active {
        left: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-links a{
        font-size: 2rem;
    }

    /* 3. Reset Link Styles for Mobile */
    .nav-item {
        color: #fff !important; /* White text */
        width: 100%;
        display: flex;
        justify-content: space-between; /* Push arrow to right */
        padding: 15px 0;
        border-radius: 0;
        background-color: transparent !important; /* Remove gold pill */
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Thin separator line */
        align-items: center;
    }

    /* Hover/Active color */
    .nav-item:hover, .active-btn {
        color: #b08d55 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    

    .nav-item {
        justify-content: left;
        color: white !important;
    }
    .intro-content {
        display: flex;
        flex-direction: column; 
        align-items: center;  
        text-align: center; 
    }

    .intro-text {
        width: 100%;
        max-width: 850px;   
        margin-bottom: 40px; 
    }

    .intro-image {
        width: 100%;
        max-width: 1000px;   
        margin-left: 205px;
    }

    .intro-image img {
        width: 100%;
        height: auto;
        border-radius: 20px;    /* Rounded corners like an iPad screen */
        box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* Soft shadow for premium look */
    }

    /* 4. THE ACCORDION LOGIC (Push Content Down) */
    .dropdown-menu {
        position: static; /* Vital: Removes it from floating */
        float: none;
        display: none;    /* Hidden by default */
        max-width: 110%;
        box-shadow: none;
        background-color: transparent; /* Slightly darker for submenu */
        border-radius: 0;
        padding-left: 50px; /* Indent the sub-items */
        opacity: 1;       /* Ensure visibility when displayed */
        transition: none;
        justify-self: center;
        border: none;
    }

    .dropdown-menu li a {
        color: #ccc;
        padding: 12px 0;
        border-bottom: none;
        font-size: 1.5rem;
    }

    /* 5. OPEN STATE (Triggered by JS) */
    .dropdown-item.is-open .dropdown-menu {
        display: flex;
        flex-direction: column;
        left: 0;
    }

    /* Rotate the arrow when open */
    .dropdown-item.is-open .nav-item i {
        transform: rotate(180deg);
        color: #b08d55;
    }

    .dropdown-item:hover .dropdown-menu {
    transform: none; /* Slide up into place */
    }


    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
        padding: 0 10px;
        justify-items: center;
    }

    .service-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .service-icon-wrapper {
        width: 140px;
        height: 140px;
        overflow: hidden;
        border-radius: 50%;
        border: 3px solid #7a2b8f;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
    }

    .service-img {
        width: 25rem;
        height: 25rem;
        object-fit: cover;
        object-position: center;
    }

    .service-item h3 {
        margin-top: 15px;
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
    }

    .blog-item {
        display: flex;
        flex-direction: column;
    }

    .blog-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;   /* same look as second image */
        object-fit: cover;
        display: block;
    }

    .blog-info {
        padding: 15px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .promo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .review-capsule {
        border-radius: 50px;
        height: 300px;
    }

    .doctor-container {
        flex-direction: column;
        text-align: center;
    }

    .doctor-image img {
        max-width: 80%;
        margin: 0 auto;
    }

    .doctor-credentials li {
        justify-content: center;
    }

    .experience-box {
        align-items: center;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-main {
        height: 400px;
    }

        .footer-col {
        align-items: center;
        max-width: 100%;
    }

    .logo-col {
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE (≤ 768px)
   ========================================================= */
@media (max-width: 768px) {

    .navbar {
        padding: 5px 0;
        max-height: 70px;
        display: flex;
    }

    .phone-icon {
        font-size: 1.5rem;
        margin-left: 10px;
    }

    .nav-icons{
        gap: 1.5rem;
    }

    .hamburger .bar {
        z-index: 1001;
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: var(--purple); /* Dunkelgrau/Schwarz */
    }

    .hamburger.is-active .bar {
        margin: 4px;
    }

    .hamburger.is-active {
        transform: translateX(-10px); 
        margin-left: 0.5rem;
    }

    .nav-links {
        padding-top: 80px;
        padding-left: 30px;
    }

    .nav-links a{
        font-size: 1.2rem;
    }

    .dropdown-menu li a {
        font-size: 1.1rem;
    }


    .logo img{
        height: 100%;
        width: 60px;  
    }   

    .logo{
        max-height: 100%;
        max-width: 100%;
    }

    /* Layout & Grids */
    .review-nav-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .warning-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .subtitle {
        font-weight: 500;
        font-size: 20px !important;
        width: 18rem;
    }

    /* Capsules & Cards */
    .review-capsule {
        height: auto;
        padding: 40px 20px;
        flex-direction: column;
        border-radius: 20px;
    }

    .review-side-img {
        display: none;
    }


    /* Hero Sections */
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text-box h1 {
        font-size: 2.2rem;
    }

    .mq-hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text {
        width: 100%;
        padding: 20px 0;
    }

    .hero-image {
        width: 80%;
        margin: 0 auto;
    }

    .hero-banner-section {
        height: auto;
        padding: 60px 0;
        background-position: 70% center;
    }

    .hero-banner-section::before {
        background: rgba(255,255,255,0.85);
    }

    .hero-subtitle,
    .doctor-highlight {
        font-size: 1.1rem;
    }


    /* Content Sections */
    .causes-container {
        flex-direction: column;
    }

    .causes-left-img {
        display: none;
    }

    .causes-content {
        width: 100%;
        padding: 0;
    }

    .intro-content {
        flex-direction: column;
    }

    .intro-content h2 {
        font-size: 1.6rem;
    }

    .why-container,
    .prep-container {
        flex-direction: column;
    }


    /* Image Comparison */
    .img-comp-container {
        height: 300px;
    }

    .img-comp-img img {
        height: 300px;
        width: auto;
    }


    /* FAQ */
    .faq-split-wrapper {
        flex-direction: column;
    }

    .faq-image-side {
        order: -1;
        margin-bottom: 30px;
    }

    .section-title-left {
        text-align: center;
    }

    .gold-line-left {
        margin: 0 auto 30px auto;
    }


    /* Pages */
    .thread-hero-section {
        height: auto;
        padding: 60px 0;
    }

    .botox-hero-section {
        height: auto;
        padding: 80px 0;
    }

    .process-wrapper {
        flex-direction: column;
    }

    .area-item {
        width: 100px;
        height: 100px;
        font-size: 12px;
    }

    .doctor-container {
        flex-direction: column;
    }

    .main-title {
        font-size: 2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        box-sizing: border-box;
        max-width: 100%;
    }

    .review-card {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 30px;
    }

    .social-links a {
        font-size: 1rem;
        padding: 16px;
    }

    /* Misc */
    .modal-content {
        width: 95%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-col p {
        justify-content: center;
    }

    .logo-col {
        order: -1;
    }

    .contact-container {
        margin: 0 10px;
        align-self: center;
        width: 95%;
    }

    .contact-main {
        display: flex; 
        flex-direction: column;
    }
}



/* =========================================================
   SMALL PHONES (≤ 480px)
   ========================================================= */
@media screen and (max-width: 480px) {

    .service-icon-wrapper {
        width: 120px;
        height: 120px;
    }

    .services-grid {
        gap: 20px 10px;
    }
}



/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glassRise {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes elasticPop {
  0% { transform: scale(1); }
  30% { transform: scale(1.08); }
  60% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

@keyframes liquidSlide {
  0% { transform: translateX(-100px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes textSplit {
  0% { letter-spacing: -5px; opacity: 0; filter: blur(5px); }
  100% { letter-spacing: normal; opacity: 1; filter: blur(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 122, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0); }
}

@keyframes revealCover {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

@keyframes lift {
  0% { transform: perspective(1000px) rotateX(0deg) translateY(0); }
  100% { transform: perspective(1000px) rotateX(10deg) translateY(-10px); }
}

@keyframes softShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
}

@keyframes fadeExit {
  0% { opacity: 1; transform: scale(1); filter: blur(0); }
  100% { opacity: 0; transform: scale(0.9); filter: blur(10px); }
}


.mq-intro, 
.service-item, 
.doctor-image, 
.doctor-info, 
.result-item, 
.review-card,
.blog-item,
.intro-headings, 
.intro-text-body {
    transition: opacity 0.5s ease;
}

/* --- Triggered Animations --- */

.intro-headings.active {
    animation: glassRise 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-text-body.active {
    animation: glassRise 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-item.active {
    animation: elasticPop 0.6s ease-in-out forwards;
}

.doctor-image.active {
    animation: liquidSlide 1.0s cubic-bezier(0.85, 0, 0.15, 1) forwards;
}

.doctor-info.active {
    animation: glassRise 1.0s ease-out 0.2s forwards;
}

.result-item.active {
    animation: revealCover 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.review-card.active {
    animation: glassRise 0.8s ease-out forwards;
}

.blog-item.active {
    animation: textSplit 0.8s ease-out forwards;
}

/* New Wave Animation */
@keyframes pulseWave { 
  0% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 122, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0); }
}

/* Button Styling with Pseudo-element Wave */
.general-btn {
  position: relative; /* Essential for the wave positioning */
  z-index: 1;
  transition: transform 0.3s ease;
}

.general-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  z-index: -1;
  animation: pulseWave 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.general-btn:hover {
  transform: scale(1.05); /* Slight pop on hover */
}

.floating-logo {
    animation: float 5s ease-in-out infinite;
}

.doctor-image-box, 
.doctor-info-box, 
.text-center, 
.about-content, 
.about-bottom-img,
.footer-col {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}


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


.doctor-image-box {
    transform: translateX(-60px);
}


.doctor-info-box {
    transform: translateX(60px);
    transition-delay: 0.2s;
}


.about-bottom-img {
    transform: scale(0.9);
}


.about-bottom-img.reveal-active {
    transform: scale(1) !important;
}


.footer-col:nth-child(1) { transition-delay: 0.1s; }
.footer-col:nth-child(2) { transition-delay: 0.2s; }
.footer-col:nth-child(3) { transition-delay: 0.3s; }
.footer-col:nth-child(4) { transition-delay: 0.4s; }

.bodytite-hero .hero-content > *,
.mq-stack-container > *,
.candidate-item,
.benefit-item,
.aftercare-card,
.review-img,
.faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}


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


.candidate-item:nth-child(1) { transition-delay: 0.1s; }
.candidate-item:nth-child(2) { transition-delay: 0.2s; }
.candidate-item:nth-child(3) { transition-delay: 0.3s; }
.candidate-item:nth-child(4) { transition-delay: 0.4s; }
.candidate-item:nth-child(5) { transition-delay: 0.5s; }


.benefit-item:nth-child(odd) { transform: translateX(-20px); }
.benefit-item:nth-child(even) { transform: translateX(20px); }


.aftercare-card {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.aftercare-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
}


.review-img {
    filter: grayscale(100%);
    transition: all 1s ease;
}

.review-img.reveal-active {
    filter: grayscale(0%);
}

.promo-header > *,
.promo-item,
.review-capsule,
.footer-col {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform, opacity;
}


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


.promo-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.8s ease;
}

.promo-item:hover {
    transform: translateY(-10px) scale(1.03) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 2;
}


.review-side-img.left { transform: translateX(-50px); opacity: 0; }
.review-side-img.right { transform: translateX(50px); opacity: 0; }
.review-content { transform: scale(0.9); opacity: 0; }

.review-capsule.reveal-active .review-side-img {
    transform: translateX(0);
    opacity: 1;
}

.review-capsule.reveal-active .review-content {
    transform: scale(1);
    opacity: 1;
}

/* การตั้งค่าเริ่มต้นสำหรับองค์ประกอบที่จะแสดง */
.antiaging-text h1, 
.antiaging-text p, 
.services-hero-image img,
.mq-stack-container > *,
.causes-content > *,
.causes-list li {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* คลาสที่จะถูกกระตุ้นด้วย JS */
.reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* เอฟเฟกต์พิเศษสำหรับรูปภาพ Hero ให้ค่อยๆ ขยาย */
.services-hero-image img {
    transform: scale(0.9) translateY(30px);
}

.services-hero-image img.reveal-active {
    transform: scale(1) translateY(0) !important;
}

/* การทยอยแสดงผล (Stagger) ของรายการสาเหตุ 7 ประการ */
.causes-list li:nth-child(1) { transition-delay: 0.1s; }
.causes-list li:nth-child(2) { transition-delay: 0.2s; }
.causes-list li:nth-child(3) { transition-delay: 0.3s; }
.causes-list li:nth-child(4) { transition-delay: 0.4s; }
.causes-list li:nth-child(5) { transition-delay: 0.5s; }
.causes-list li:nth-child(6) { transition-delay: 0.6s; }
.causes-list li:nth-child(7) { transition-delay: 0.7s; }

/* เอฟเฟกต์แสงฟุ้ง (Glow) ด้านล่าง */
.bottom-glow {
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}
.hero-text-box,
.intro-text-side,
.intro-image-side,
.tech-card,
.process-text,
.process-image,
.warning-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.tech-card {
    transition-delay: calc(var(--order) * 0.15s);
}

.tech-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(128, 0, 128, 0.15);
    border-color: #d4af37;
}

.icon-wrapper i {
    transition: transform 0.5s ease;
}

.tech-card:hover .icon-wrapper i {
    transform: rotateY(360deg);
}

.warning-box {
    border-left: 5px solid #ff4d4d;
    background: #fff5f5;
}

.warning-list li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.warning-box.reveal-active .warning-list li {
    opacity: 1;
    transform: translateX(0);
}

.warning-list li:nth-child(1) { transition-delay: 0.1s; }
.warning-list li:nth-child(2) { transition-delay: 0.2s; }
.warning-list li:nth-child(3) { transition-delay: 0.3s; }
.warning-list li:nth-child(4) { transition-delay: 0.4s; }
.warning-list li:nth-child(5) { transition-delay: 0.5s; }
.warning-list li:nth-child(6) { transition-delay: 0.6s; }
.contact-hero h1, 
.contact-hero .gold-text,
.contact-form-container,
.branch-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

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

.branch-card {
    transition-delay: calc(var(--order) * 0.2s);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
    outline: none;
    transform: scale(1.01);
}

.btn-message {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-message:hover {
    background-color: #5d005d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-message:active {
    transform: translateY(0);
}

.contact-map iframe {
    filter: grayscale(20%);
    transition: filter 0.5s ease;
}

.contact-map iframe:hover {
    filter: grayscale(0%);
}
/* Image Comparison Slider */
.comparison-wrapper {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.img-comp-container {
    position: relative;
    height: 500px; /* ปรับตามความสูงรูป */
}

.img-comp-img {
    position: absolute;
    width: auto;
    height: 100%;
    overflow: hidden;
}

.img-comp-img img {
    display: block;
    vertical-align: middle;
    width: 800px; /* ต้องเท่ากับความกว้าง container */
    height: 500px;
    object-fit: cover;
}

.img-comp-overlay {
    width: 50%; /* เริ่มต้นที่ครึ่งหนึ่ง */
    z-index: 2;
}

.slider-handle {
    position: absolute;
    z-index: 9;
    cursor: ew-resize;
    width: 40px;
    height: 40px;
    background-color: #d4af37;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.slider-handle::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 500px;
    background: white;
    z-index: -1;
}

/* FAQ Accordion Styling */
.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item summary {
    padding: 20px;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary i {
    transition: transform 0.3s ease;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 20px 20px;
    line-height: 1.8;
    color: #555;
    border-top: 1px solid #f0f0f0;
}
/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.zoomable-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    border: 3px solid transparent;
}

.zoomable-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(122, 43, 143, 0.2);
    border-color: #d4af37;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #d4af37;
}

/* Smooth Scroll for Nav Cards */
html {
    scroll-behavior: smooth;
}

/* FAQ Split Section */
.thread-faq-split-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-split-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.faq-text-side {
    flex: 1;
    min-width: 300px;
}

.faq-image-side {
    flex: 1;
    min-width: 300px;
}

.faq-image-side img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px #f8f4ff; /* เพิ่มลูกเล่นเงาด้านหลัง */
}

.section-title-left {
    font-size: 2.5rem;
    color: #7a2b8f;
    margin-bottom: 10px;
}

.gold-line-left {
    width: 80px;
    height: 4px;
    background: #d4af37;
    border: none;
    margin-bottom: 30px;
}

.faq-box-item {
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 3px solid #7a2b8f;
}

.faq-box-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.faq-box-item i {
    color: #d4af37;
    margin-right: 8px;
}

/* Thread Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.area-item {
    background: #fdfbff;
    padding: 30px 15px;
    text-align: center;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.area-item i {
    font-size: 2rem;
    color: #7a2b8f;
    margin-bottom: 15px;
}

.area-item:hover {
    background: #7a2b8f;
    color: white;
    transform: translateY(-5px);
}

.area-item:hover i {
    color: #d4af37;
}

@keyframes pulseWaveBlue {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.highlight-box {
    position: relative;
    z-index: 1;
}

.highlight-box::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: rgba(0, 122, 255, 0.4);
    z-index: -1;
    animation: pulseWaveBlue 2.5s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-text-box,
.filler-intro-section, 
.type-card, 
.highlight-content,
.comparison-wrapper,
.faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

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

.type-card:nth-child(1) { transition-delay: 0.1s; }
.type-card:nth-child(2) { transition-delay: 0.3s; }
.type-card:nth-child(3) { transition-delay: 0.5s; }

.intro-image img {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.filler-intro-section.reveal-active .intro-image img {
    clip-path: inset(0 0 0 0);
}
/* --- Reveal Animation --- */
.hero-text-box,
.faq-box-item,
.faq-image-side,
.type-card,
.area-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* --- Stagger Delays --- */
.type-card:nth-child(2) { transition-delay: 0.2s; }
.type-card:nth-child(3) { transition-delay: 0.4s; }

.area-item:nth-child(2) { transition-delay: 0.1s; }
.area-item:nth-child(3) { transition-delay: 0.2s; }
.area-item:nth-child(4) { transition-delay: 0.3s; }
.area-item:nth-child(5) { transition-delay: 0.4s; }
.area-item:nth-child(6) { transition-delay: 0.5s; }
.area-item:nth-child(7) { transition-delay: 0.6s; }

/* --- Blue Wave Pulse for FAQ Box --- */
@keyframes pulseWaveBlue {
    0% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 122, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0); }
}

.faq-box-item {
    border-left: 4px solid #007aff;
}

.faq-box-item:hover {
    animation: pulseWaveBlue 1.5s infinite;
}
/* --- Reveal on Scroll --- */
.review-nav-card,
.gallery-grid img,
.review-hero h1,
.hero-disclaimer {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* --- Stagger for Cards --- */
.review-nav-card:nth-child(1) { transition-delay: 0.1s; }
.review-nav-card:nth-child(2) { transition-delay: 0.3s; }
.review-nav-card:nth-child(3) { transition-delay: 0.5s; }

/* --- Hover Effects --- */
.zoomable-img {
    cursor: zoom-in;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.zoomable-img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.review-nav-card:hover .before-after-box img {
    transform: scale(1.1);
}

.before-after-box {
    overflow: hidden;
}

.before-after-box img {
    transition: transform 0.6s ease;
}

/* --- Smooth Gold Pulse for Titles --- */
@keyframes goldGlow {
    0% { text-shadow: 0 0 5px rgba(212, 175, 55, 0); }
    50% { text-shadow: 0 0 15px rgba(212, 175, 55, 0.5); }
    100% { text-shadow: 0 0 5px rgba(212, 175, 55, 0); }
}

.gallery-title {
    animation: goldGlow 3s infinite ease-in-out;
}

.section-padding {
    padding: 100px 0;
    font-family: var(--font-family-sans-serif) !important;
}

.bg-light {
    background-color: #fcfcfd !important;
}

.section-title {
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 40px;
    position: relative;
    font-family: var(--font-family-sans-serif) !important;
}

.custom-list {
    padding-left: 0;
    margin-top: 30px;
}

.custom-list li {
    background: #ffffff;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    font-family: var(--font-family-sans-serif) !important;
}

.custom-list li:hover {
    transform: translateX(10px);
    border-color: #6c5ce7;
}

.custom-list i {
    color: #6c5ce7;
    font-size: 22px;
    margin-right: 15px;
}

.pricing-info-box {
    background: #ffffff;
    border-radius: 30px;
    padding: 50px 40px !important;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: var(--font-family-sans-serif) !important;
}

.price-tag {
    font-size: 48px;
    font-weight: 800;
    color: #6c5ce7;
    margin: 15px 0;
    letter-spacing: -1px;
    font-family: var(--font-family-sans-serif) !important;
}

.price-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #636e72;
    font-weight: 600;
    font-family: var(--font-family-sans-serif) !important;
}

.trust-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 20px;
    font-family: var(--font-family-sans-serif) !important;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    .pricing-info-box {
        margin-top: 50px;
    }
}

.mq-section {
            padding: 80px 5%;
            max-width: 1400px;
            margin: 0 auto;
            text-align: center;
        }

        .mq-header {
            margin-bottom: 60px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s forwards;
        }

        .mq-title {
            color: var(--mq-purple);
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .mq-subtitle {
            font-size: 1.2rem;
            color: #666;
            max-width: 800px;
            margin: 0 auto;
        }

        .mq-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            perspective: 1000px;
        }

        .mq-card {
            background: var(--mq-card-bg);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            opacity: 0;
            transform: translateY(50px);
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(161, 21, 190, 0.05);
        }

        .mq-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 20px 40px rgba(161, 21, 190, 0.15);
            border-color: var(--mq-gold);
        }

        .image-wrapper {
            width: 100%;
            aspect-ratio: 4/3;
            background: #f0f0f0;
            position: relative;
            overflow: hidden;
        }

        .image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .mq-card:hover .image-wrapper img {
            transform: scale(1.1);
        }

        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 60%, rgba(161, 21, 190, 0.2));
        }

        .content-box {
            padding: 30px 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .content-box h3 {
            color: var(--mq-purple);
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 12px;
            transition: color 0.3s;
        }

        .mq-card:hover h3 {
            color: var(--mq-gold);
        }

        .content-box p {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #555;
            margin: 0;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .mq-card:nth-child(1) { animation: fadeInUp 0.8s 0.2s forwards; }
        .mq-card:nth-child(2) { animation: fadeInUp 0.8s 0.4s forwards; }
        .mq-card:nth-child(3) { animation: fadeInUp 0.8s 0.6s forwards; }
        .mq-card:nth-child(4) { animation: fadeInUp 0.8s 0.8s forwards; }

        @media (max-width: 1024px) {
            .mq-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
            .mq-title { font-size: 2.2rem; }
        }

        @media (max-width: 600px) {
            .mq-grid {
                grid-template-columns: 1fr;
            }
            .mq-section {
                padding: 60px 20px;
            }
            .mq-title { font-size: 1.8rem; }
            .content-box { padding: 25px 15px; }
        }

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

        /* --- Instruction Grid --- */
        .mq-instruction-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-bottom: 80px;
        }

        .mq-care-panel {
            background: linear-gradient(145deg, #ffffff, #f0f0f0);
            border-radius: 30px;
            padding: 50px;
            box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
            border: 1px solid rgba(176, 141, 85, 0.2);
            transition: transform 0.3s ease;
        }

        .mq-care-panel:hover { transform: scale(1.02); }

        .mq-panel-label {
            color: var(--elite-g);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            display: block;
            margin-bottom: 10px;
        }

        .mq-panel-title {
            color: var(--elite-p);
            font-size: 2rem;
            margin: 0 0 30px 0;
        }

        .mq-step-list { list-style: none; padding: 0; }

        .mq-step-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        .mq-step-check {
            width: 24px;
            height: 24px;
            background: var(--elite-g);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            flex-shrink: 0;
            margin-top: 5px;
        }

        /* --- Elite Accordion (FAQ) --- */
        .mq-faq-container { max-width: 900px; margin: 0 auto; }
        
        .mq-faq-header { text-align: center; margin-bottom: 50px; }

        .mq-faq-box {
            background: var(--elite-w);
            border: 1px solid #eee;
            border-radius: 15px;
            margin-bottom: 15px;
            overflow: hidden;
            transition: 0.3s;
        }

        .mq-faq-box:hover { border-color: var(--elite-p); }

        .mq-faq-trigger {
            padding: 25px 30px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: var(--elite-p);
            font-size: 1.1rem;
        }

        .mq-faq-content {
            padding: 0 30px 25px 30px;
            color: #666;
            line-height: 1.8;
            display: none;
            border-top: 1px solid #f9f9f9;
        }

        .mq-faq-box.active .mq-faq-content { display: block; animation: slideIn 0.4s ease; }

        @keyframes slideIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 992px) {
            .mq-instruction-grid { grid-template-columns: 1fr; }
        }

.mq-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
        .mq-reveal.active { opacity: 1; transform: translateY(0); }

        .mq-wrapper { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }

        /* --- Section Header --- */
        .mq-header { text-align: center; margin-bottom: 60px; }
        .mq-header h2 { color: var(--mq-p); font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; }
        .mq-header p { color: #666; font-size: 1.1rem; max-width: 800px; margin: 0 auto; }

        /* --- Core Benefits (4 Cards) --- */
        .mq-benefit-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
            gap: 25px; 
            margin-bottom: 100px;
        }

        .mq-benefit-card {
            background: var(--mq-soft);
            border-radius: 25px;
            overflow: hidden;
            transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(161, 21, 190, 0.05);
            text-align: center;
        }

        .mq-benefit-card:hover { transform: translateY(-10px); border-color: var(--mq-g); background: white; box-shadow: 0 20px 40px rgba(161, 21, 190, 0.1); }

        .mq-pic-frame { width: 100%; aspect-ratio: 16/10; background: #e0e0e0; overflow: hidden; }
        .mq-pic-frame img { width: 100%; height: 100%; object-fit: cover; }

        .mq-card-body { padding: 30px 20px; }
        .mq-card-body h3 { color: var(--mq-p); font-size: 1.2rem; margin-bottom: 10px; }

        /* --- Specific Areas (6 Items) --- */
        .mq-area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-bottom: 100px; }
        
        .mq-area-pill {
            display: flex;
            align-items: center;
            gap: 20px;
            background: white;
            padding: 15px 25px;
            border-radius: 100px;
            border: 1px solid #eee;
            transition: 0.3s;
        }

        .mq-area-pill:hover { border-color: var(--mq-p); transform: translateX(10px); background: var(--mq-soft); }

        .mq-badge { width: 45px; height: 45px; background: var(--mq-p); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

        /* --- Authenticity Section (Based on Image 3) --- */
        .mq-auth-section { background: var(--mq-soft); padding: 80px 0; border-radius: 50px; }
        .mq-auth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding: 0 40px; }
        
        .mq-auth-card { text-align: center; }
        .mq-auth-pic { border-radius: 20px; overflow: hidden; margin-bottom: 15px; border: 4px solid white; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
        .mq-auth-label { background: linear-gradient(90deg, #94aefc, #d996ff); color: white; padding: 10px; border-radius: 12px; font-size: 0.9rem; }

        /* --- FAQ Section (Required Class) --- */
        .faq-section { background: var(--mq-white); padding: 80px 0; }
        .faq-item { background: #fdfbff; margin-bottom: 10px; border-radius: 15px; border: 1px solid #eee; }
        .faq-item summary { padding: 20px 30px; cursor: pointer; font-weight: 600; color: var(--mq-p); display: flex; justify-content: space-between; align-items: center; }
        .faq-content { padding: 0 30px 20px; color: #666; line-height: 1.7; }

        @media (max-width: 768px) {
            .mq-benefit-grid, .mq-area-grid { grid-template-columns: 1fr; }
            .mq-header h2 { font-size: 1.7rem; }
        }

.reveal { opacity: 1; transform: translateY(0); transition: all 0.8s ease-out; }
        
        /* เมื่อ JS ทำงาน จะเริ่มจาก opacity 0 */
        .js-enabled .reveal { opacity: 0; transform: translateY(30px); }
        .js-enabled .reveal.active { opacity: 1; transform: translateY(0); }

        .mq-container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
        .mq-header { text-align: center; margin-bottom: 60px; }
        .mq-header h2 { color: var(--mq-primary); font-size: 2.2rem; margin-bottom: 15px; font-weight: 700; }
        .mq-header p { max-width: 800px; margin: 0 auto; line-height: 1.6; color: #666; }

        /* --- Benefit Grid --- */
        .benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; margin-bottom: 80px; }
        .benefit-card { background: var(--mq-soft); border-radius: 20px; overflow: hidden; text-align: center; border: 1px solid rgba(161, 21, 190, 0.08); transition: 0.3s; }
        .benefit-card:hover { transform: translateY(-10px); border-color: var(--mq-gold); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
        .pic-placeholder { width: 100%; aspect-ratio: 4/3; background: #e8e8e8; display: flex; align-items: center; justify-content: center; }
        .pic-placeholder img { width: 100%; height: 100%; object-fit: cover; }
        .card-body { padding: 25px 15px; }
        .card-body h3 { color: var(--mq-primary); font-size: 1.15rem; margin-bottom: 10px; font-weight: 600; }
        .card-body p { font-size: 0.95rem; line-height: 1.6; color: #555; }

        /* --- 6 Target Areas --- */
        .area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-bottom: 100px; }
        .area-pill { display: flex; align-items: center; gap: 20px; background: white; padding: 18px 25px; border-radius: 100px; border: 1px solid #eee; transition: 0.3s; }
        .area-pill:hover { border-color: var(--mq-primary); transform: translateX(10px); background: var(--mq-soft); }
        .pill-img { width: 55px; height: 55px; background: var(--mq-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
        .pill-text h4 { color: var(--mq-primary); margin: 0 0 5px 0; font-size: 1.05rem; }
        .pill-text p { margin: 0; font-size: 0.9rem; color: #777; }

        /* --- Trust Process --- */
        .trust-section { background: var(--mq-soft); padding: 80px 20px; border-radius: 40px; margin-bottom: 80px; }
        .trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; }
        .trust-card { text-align: center; }
        .trust-pic { border-radius: 20px; overflow: hidden; margin-bottom: 20px; border: 5px solid white; box-shadow: 0 10px 25px rgba(0,0,0,0.05); aspect-ratio: 1/1.1; background: #eee; }
        .trust-pic img { width: 100%; height: 100%; object-fit: cover; }
        .trust-label { background: linear-gradient(90deg, #94aefc, #d996ff); color: white; padding: 12px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; display: inline-block; }

        @media (max-width: 768px) {
            .mq-header h2 { font-size: 1.8rem; }
            .area-grid { grid-template-columns: 1fr; }
            .trust-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
            .area-pill { border-radius: 20px; }
        }