/* ==========================================================================
   BrightSmile Elementor Widgets — Frontend CSS
   Prefix: bs-  (mọi class dùng prefix riêng để tránh xung đột với theme)
   ========================================================================== */

.bs-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.bs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    border: 2px solid transparent;
    text-decoration: none;
}
.bs-btn--primary {
    background: #65d615;
    color: #fff;
    box-shadow: 0 4px 20px rgba(101,214,21,.4);
}
.bs-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(101,214,21,.5);
    color: #fff;
}
.bs-btn--outline {
    background: transparent;
    color: #65d615;
    border-color: #65d615;
}
.bs-btn--outline:hover {
    background: #65d615;
    color: #fff;
    transform: translateY(-3px);
}
.bs-btn--block { width: 100%; }

/* ===== Section header (subtitle/title/desc) ===== */
.bs-section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.bs-section__subtitle {
    display: inline-block;
    color: #65d615;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.bs-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    color: #1a3a1f;
    margin: 0 0 16px;
    line-height: 1.2;
}
.bs-section__title span { color: #65d615; }
.bs-section__desc { color: #6b806e; font-size: 16px; }

/* ===== Grid helpers ===== */
.bs-grid--cols-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.bs-grid--cols-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.bs-grid--cols-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.bs-grid--cols-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }

@media (max-width: 1024px) {
    .bs-grid--cols-3, .bs-grid--cols-4, .bs-grid--cols-5 {
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 640px) {
    .bs-grid--cols-2, .bs-grid--cols-3, .bs-grid--cols-4, .bs-grid--cols-5 {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   1. HERO
   ============================================================ */
.bs-hero { position: relative; overflow: hidden; padding: 80px 0 100px; background: linear-gradient(135deg, #f4fdee 0%, #ebfbe0 100%); }
.bs-hero__container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.bs-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: #65d615;
    padding: 8px 18px; border-radius: 50px;
    font-size: 14px; font-weight: 600; margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(101,214,21,.10);
}
.bs-hero__badge-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1em; height: 1em; line-height: 1; flex-shrink: 0;
    color: inherit; fill: currentColor; font-size: inherit;
}
.bs-hero__badge-icon > * {
    width: 100%; height: 100%;
    color: inherit; fill: currentColor; line-height: 1;
}
.bs-hero__badge-icon svg { fill: currentColor; }
.bs-hero__title { font-family: 'Playfair Display', serif; font-size: 60px; line-height: 1.1; font-weight: 700; margin: 0 0 24px; color: #1a3a1f; }
.bs-hero__title span { color: #65d615; }
.bs-hero__desc { font-size: 17px; color: #6b806e; margin-bottom: 32px; max-width: 540px; }
.bs-hero__buttons { display: flex; gap: 16px; margin-bottom: 50px; flex-wrap: wrap; }
.bs-hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.bs-hero__stat-number { font-size: 42px; font-weight: 800; color: #65d615; line-height: 1; font-family: 'Playfair Display', serif; }
.bs-hero__stat-label { font-size: 14px; color: #6b806e; margin-top: 6px; }
.bs-hero__image { position: relative; }
.bs-hero__image-main { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; overflow: hidden; box-shadow: 0 20px 50px rgba(101,214,21,.18); aspect-ratio: 1; }
.bs-hero__image-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-hero__card {
    position: absolute; background: #fff; padding: 16px 20px; border-radius: 16px;
    box-shadow: 0 8px 30px rgba(101,214,21,.15);
    display: flex; align-items: center; gap: 14px; animation: bsFloat 3s ease-in-out infinite;
}
.bs-hero__card-icon {
    width: 48px; height: 48px;
    background: #ebfbe0;
    color: #65d615; fill: #65d615;
    border-radius: 12px;
    font-size: 20px; line-height: 1; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
.bs-hero__card-icon > * {
    width: 1em; height: 1em;
    color: inherit; fill: currentColor; line-height: 1;
}
.bs-hero__card-icon svg { fill: currentColor; }
.bs-hero__card-title { font-weight: 700; color: #1a3a1f; font-size: 15px; }
.bs-hero__card-desc { font-size: 12px; color: #6b806e; }
.bs-hero__card--1 { top: 10%; left: -10%; animation-delay: 0s; }
.bs-hero__card--2 { bottom: 20%; left: -5%; animation-delay: 1s; }
.bs-hero__card--3 { top: 20%; right: -10%; animation-delay: 2s; }
@keyframes bsFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

@media (max-width: 1024px) {
    .bs-hero__title { font-size: 44px; }
    .bs-hero__container { grid-template-columns: 1fr; }
    .bs-hero__card { display: none; }
}

/* ============================================================
   2. FEATURES
   ============================================================ */
.bs-features { padding: 60px 0; }
.bs-features__grid {
    background: #fff; padding: 40px; border-radius: 24px;
    box-shadow: 0 20px 50px rgba(101,214,21,.18);
    display: grid; gap: 20px;
}
.bs-features__grid--cols-2 { grid-template-columns: repeat(2,1fr); }
.bs-features__grid--cols-3 { grid-template-columns: repeat(3,1fr); }
.bs-features__grid--cols-4 { grid-template-columns: repeat(4,1fr); }
.bs-feature {
    text-align: center; padding: 20px;
    border-right: 1px solid #eee;
    transition: transform .3s;
}
.bs-feature:last-child { border-right: none; }
.bs-feature:hover { transform: translateY(-5px); }
.bs-feature__icon {
    color: #65d615; fill: #65d615;
    font-size: 36px; line-height: 1;
    width: 36px; height: 36px;
    margin-bottom: 14px;
    display: inline-flex; align-items: center; justify-content: center;
}
.bs-feature__icon > * {
    width: 100%; height: 100%;
    color: inherit; fill: currentColor; line-height: 1;
}
.bs-feature__icon svg { fill: currentColor; }
.bs-feature__title { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: #1a3a1f; }
.bs-feature__desc { font-size: 13px; color: #6b806e; margin: 0; }
@media (max-width: 1024px) {
    .bs-features__grid--cols-3, .bs-features__grid--cols-4 { grid-template-columns: repeat(2,1fr); }
    .bs-feature { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 24px; }
}
@media (max-width: 640px) {
    .bs-features__grid { grid-template-columns: 1fr !important; padding: 30px 20px; }
}

/* ============================================================
   3. ABOUT
   ============================================================ */
.bs-about { padding: 100px 0; }
.bs-about__container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.bs-about__image { position: relative; }
.bs-about__image img { border-radius: 24px; box-shadow: 0 20px 50px rgba(101,214,21,.18); width: 100%; display: block; }
.bs-about__exp {
    position: absolute; bottom: 30px; right: -20px;
    background: linear-gradient(135deg,#65d615 0%, #8be83a 100%);
    color: #fff; padding: 30px 40px; border-radius: 20px; text-align: center;
    box-shadow: 0 20px 50px rgba(101,214,21,.18);
}
.bs-about__exp-num { font-family: 'Playfair Display', serif; font-size: 50px; font-weight: 800; line-height: 1; }
.bs-about__exp-text { font-size: 14px; margin-top: 4px; }
.bs-about__desc { color: #6b806e; margin-bottom: 24px; font-size: 16px; }
.bs-about__list { list-style: none; padding: 0; margin: 0 0 32px; }
.bs-about__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: #1a3a1f; font-weight: 500; }
.bs-about__list-icon {
    color: #65d615; fill: #65d615;
    font-size: 20px; line-height: 1;
    width: 20px; height: 20px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
.bs-about__list-icon > * {
    width: 100%; height: 100%;
    color: inherit; fill: currentColor; line-height: 1;
}
.bs-about__list-icon svg { fill: currentColor; }
.bs-about .bs-section__title { text-align: left; }
@media (max-width: 1024px) {
    .bs-about__container { grid-template-columns: 1fr; }
}

/* ============================================================
   4. SERVICES
   ============================================================ */
.bs-services { padding: 100px 0; }
.bs-services__grid { display: grid; gap: 30px; }
.bs-services__grid.bs-grid--cols-2 { grid-template-columns: repeat(2,1fr); }
.bs-services__grid.bs-grid--cols-3 { grid-template-columns: repeat(3,1fr); }
.bs-services__grid.bs-grid--cols-4 { grid-template-columns: repeat(4,1fr); }
.bs-service {
    background: #fff; padding: 40px 30px; border-radius: 20px;
    box-shadow: 0 2px 10px rgba(101,214,21,.10);
    transition: all .3s; border: 1px solid #f0f0f0;
    position: relative; overflow: hidden;
}
.bs-service::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(135deg,#65d615 0%, #8be83a 100%);
    transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.bs-service:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(101,214,21,.18); }
.bs-service:hover::before { transform: scaleX(1); }
.bs-service__badge {
    position: absolute; top: 20px; right: 20px;
    background: #ffd93d; color: #1a3a1f;
    padding: 4px 12px; border-radius: 50px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.bs-service__icon {
    width: 70px; height: 70px;
    background: #ebfbe0;
    color: #65d615; fill: #65d615;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; line-height: 1;
    margin-bottom: 20px;
}
.bs-service__icon > * {
    width: 1em; height: 1em;
    color: inherit; fill: currentColor; line-height: 1;
}
.bs-service__icon svg { fill: currentColor; }
.bs-service__title { font-size: 20px; margin: 0 0 12px; color: #1a3a1f; font-weight: 700; }
.bs-service__desc { color: #6b806e; margin-bottom: 20px; font-size: 15px; }
.bs-service__features { list-style: none; padding: 0; margin: 0 0 24px; }
.bs-service__features li { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: #1a3a1f; font-size: 14px; }
.bs-service__features i { color: #65d615; font-size: 14px; }
.bs-service__link { display: inline-flex; align-items: center; gap: 6px; color: #65d615; font-weight: 600; font-size: 14px; text-decoration: none; }
.bs-service__link:hover { gap: 12px; }

/* ============================================================
   5. PROCESS
   ============================================================ */
.bs-process { padding: 100px 0; background: #f6faf3; position: relative; }
.bs-process__grid { display: grid; gap: 20px; position: relative; }
.bs-process__step {
    background: #fff; padding: 30px 20px; border-radius: 16px;
    text-align: center; position: relative;
    box-shadow: 0 2px 10px rgba(101,214,21,.10);
    transition: all .3s;
}
.bs-process__step:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(101,214,21,.18); }
.bs-process__step-number {
    font-family: 'Playfair Display', serif;
    font-size: 24px; font-weight: 800;
    color: #65d615; margin-bottom: 10px;
}
.bs-process__step-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg,#65d615 0%, #8be83a 100%);
    color: #fff; fill: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; line-height: 1;
    margin: 0 auto 20px;
}
.bs-process__step-icon > * {
    width: 1em; height: 1em;
    color: inherit; fill: currentColor; line-height: 1;
}
.bs-process__step-icon svg { fill: currentColor; }
.bs-process__step h3 { font-size: 17px; margin: 0 0 10px; color: #1a3a1f; }
.bs-process__step p { color: #6b806e; font-size: 13px; margin: 0; }

/* ============================================================
   6. DOCTORS
   ============================================================ */
.bs-doctors { padding: 100px 0; }
.bs-doctors__grid { display: grid; gap: 30px; }
.bs-doctor {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(101,214,21,.10);
    transition: all .3s;
}
.bs-doctor:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(101,214,21,.18); }
.bs-doctor__image { position: relative; overflow: hidden; aspect-ratio: 1; }
.bs-doctor__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.bs-doctor:hover .bs-doctor__image img { transform: scale(1.1); }
.bs-doctor__social {
    position: absolute; bottom: 20px; left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex; gap: 10px; transition: transform .3s;
}
.bs-doctor:hover .bs-doctor__social { transform: translateX(-50%) translateY(0); }
.bs-doctor__social a {
    width: 40px; height: 40px;
    background: #fff; color: #65d615;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all .3s;
}
.bs-doctor__social a:hover { background: #65d615; color: #fff; }
.bs-doctor__info { padding: 25px 20px; text-align: center; }
.bs-doctor__name { font-size: 18px; margin: 0 0 4px; color: #1a3a1f; }
.bs-doctor__role { color: #65d615; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.bs-doctor__desc { color: #6b806e; font-size: 13px; margin-top: 12px; }

/* ============================================================
   7. PRICING
   ============================================================ */
.bs-pricing { padding: 100px 0; background: #f6faf3; }
.bs-pricing__grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 30px;
    max-width: 1100px; margin: 0 auto;
}
.bs-pricing__card {
    background: #fff; border-radius: 24px; padding: 40px 30px;
    box-shadow: 0 2px 10px rgba(101,214,21,.10);
    transition: all .3s; position: relative; overflow: hidden;
    border: 2px solid transparent;
}
.bs-pricing__card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(101,214,21,.18); }
.bs-pricing__card--featured {
    transform: scale(1.05);
    border-color: #65d615;
    box-shadow: 0 8px 30px rgba(101,214,21,.15);
}
.bs-pricing__card--featured:hover { transform: scale(1.05) translateY(-10px); }
.bs-pricing__badge {
    position: absolute; top: 20px; right: -30px;
    background: #ffd93d; color: #1a3a1f;
    padding: 6px 40px; font-size: 12px; font-weight: 700;
    transform: rotate(35deg); text-transform: uppercase;
}
.bs-pricing__header {
    text-align: center; padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,.1); margin-bottom: 30px;
}
.bs-pricing__header h3 { font-size: 22px; margin: 0 0 16px; color: #1a3a1f; }
.bs-pricing__price { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.bs-pricing__from { font-size: 14px; color: #6b806e; }
.bs-pricing__amount { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 800; color: #65d615; line-height: 1; }
.bs-pricing__unit { font-size: 16px; color: #6b806e; font-weight: 600; }
.bs-pricing__features { list-style: none; padding: 0; margin: 0 0 30px; }
.bs-pricing__features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: #1a3a1f; font-size: 14px; }
.bs-pricing__features i {
    color: #65d615; width: 20px; height: 20px;
    background: #ebfbe0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; flex-shrink: 0;
}
@media (max-width: 1024px) {
    .bs-pricing__grid { grid-template-columns: 1fr; max-width: 600px; }
    .bs-pricing__card--featured { transform: none; }
    .bs-pricing__card--featured:hover { transform: translateY(-10px); }
}

/* ============================================================
   8. TESTIMONIALS
   ============================================================ */
.bs-testimonials { padding: 100px 0; }
.bs-testimonials__grid { display: grid; gap: 30px; }
.bs-testimonials__grid.bs-grid--cols-1 { grid-template-columns: 1fr; }
.bs-testimonials__grid.bs-grid--cols-2 { grid-template-columns: repeat(2,1fr); }
.bs-testimonials__grid.bs-grid--cols-3 { grid-template-columns: repeat(3,1fr); }
.bs-testimonials__grid.bs-grid--cols-4 { grid-template-columns: repeat(4,1fr); }
.bs-testimonial {
    background: #fff; padding: 35px 30px; border-radius: 20px;
    box-shadow: 0 2px 10px rgba(101,214,21,.10);
    transition: all .3s; border: 1px solid #f0f0f0; position: relative;
}
.bs-testimonial::before {
    content: '"'; position: absolute; top: 20px; right: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 80px; color: #ebfbe0; line-height: 1;
}
.bs-testimonial:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(101,214,21,.18); }
.bs-testimonial__rating { color: #ffd93d; margin-bottom: 16px; font-size: 16px; }
.bs-testimonial__text { color: #6b806e; margin-bottom: 24px; font-size: 15px; font-style: italic; }
.bs-testimonial__author { display: flex; align-items: center; gap: 14px; }
.bs-testimonial__author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.bs-testimonial__author h4 { font-size: 16px; color: #1a3a1f; margin: 0 0 2px; }
.bs-testimonial__author span { color: #65d615; font-size: 13px; }

/* ============================================================
   9. BOOKING
   ============================================================ */
.bs-booking { padding: 100px 0; background: #1a3a1f; color: #fff; position: relative; overflow: hidden; }
.bs-booking__container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    position: relative; z-index: 1;
}
.bs-booking .bs-section__title { color: #fff; text-align: left; }
.bs-booking .bs-section__title span { color: #65d615; }
.bs-booking .bs-section__desc { color: rgba(255,255,255,.8); }
.bs-booking__info { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.bs-booking__info-item { display: flex; align-items: center; gap: 18px; }
.bs-booking__info-item i {
    width: 50px; height: 50px;
    background: linear-gradient(135deg,#65d615 0%, #8be83a 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0; color: #fff;
}
.bs-booking__info-item strong { display: block; font-size: 15px; margin-bottom: 2px; }
.bs-booking__info-item p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }
.bs-booking__form {
    background: #fff; padding: 40px; border-radius: 24px; color: #1a3a1f;
    box-shadow: 0 20px 50px rgba(101,214,21,.18);
}
.bs-booking__form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px; margin: 0 0 24px; text-align: center; color: #1a3a1f;
}
.bs-form-group { margin-bottom: 18px; }
.bs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bs-form-group label { display: block; font-size: 13px; font-weight: 600; color: #1a3a1f; margin-bottom: 6px; }
.bs-form-group input, .bs-form-group select, .bs-form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid #e0e0e0; border-radius: 10px;
    font-size: 14px; font-family: inherit; color: #1a3a1f;
    transition: all .3s;
}
.bs-form-group input:focus, .bs-form-group select:focus, .bs-form-group textarea:focus {
    outline: none; border-color: #65d615;
    box-shadow: 0 0 0 3px rgba(101,214,21,.1);
}
.bs-form-group textarea { resize: vertical; }
@media (max-width: 1024px) {
    .bs-booking__container { grid-template-columns: 1fr; }
    .bs-form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   10. CONTACT BRANCHES
   ============================================================ */
.bs-contact { padding: 100px 0; }
.bs-contact__grid { display: grid; gap: 30px; }
.bs-contact-card {
    background: #fff; padding: 40px 30px; border-radius: 20px;
    text-align: center; box-shadow: 0 2px 10px rgba(101,214,21,.10);
    transition: all .3s; border: 1px solid #f0f0f0;
}
.bs-contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(101,214,21,.18);
    border-color: #65d615;
}
.bs-contact-card__icon {
    color: #65d615; fill: #65d615;
    font-size: 36px; line-height: 1;
    width: 36px; height: 36px;
    margin-bottom: 16px;
    display: inline-flex; align-items: center; justify-content: center;
}
.bs-contact-card__icon > * {
    width: 100%; height: 100%;
    color: inherit; fill: currentColor; line-height: 1;
}
.bs-contact-card__icon svg { fill: currentColor; }
.bs-contact-card h3 { font-size: 20px; margin: 0 0 12px; color: #1a3a1f; }
.bs-contact-card p { color: #6b806e; margin: 0 0 6px; font-size: 14px; }
.bs-contact-card strong { color: #1a3a1f; }
