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

body{

font-family:Arial,Helvetica,sans-serif;
background:#f7fcff;
color:#444;
line-height:1.6;

}

.container{

width:90%;
max-width:1200px;
margin:auto;

}

header{

background:#fafafb;
position:sticky;
top:0;
z-index:1000;

}

.nav-toggle{

display:none;

flex-direction:column;
justify-content:center;
gap:5px;

width:34px;
height:34px;
padding:0;

background:none;
border:none;
cursor:pointer;

}

.nav-toggle span{

display:block;
width:100%;
height:3px;
border-radius:2px;
background:#468cbf;

transition:.3s ease;

}

.nav-toggle.open span:nth-child(1){

transform:translateY(8px) rotate(45deg);

}

.nav-toggle.open span:nth-child(2){

opacity:0;

}

.nav-toggle.open span:nth-child(3){

transform:translateY(-8px) rotate(-45deg);

}

.nav{

display:flex;
justify-content:space-between;
align-items:center;
padding:20px 0;

}

.logo{

font-size:28px;
font-weight:bold;
color:#468cbf;

}

nav a{

margin-left:30px;
text-decoration:none;
color:#468cbf;
font-weight:bold;

}

.hero {

    position: relative;

    min-height: 700px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: #0C3569;

    background:
       /* linear-gradient(
            rgba(20,55,90,.45),
            rgba(20,55,90,.45)
        ),*/
        url("../images/asiansmile.png");

/*    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat; */

    background-size: 40%;
    background-position: right center;
    background-repeat: no-repeat;
    background-color:#fafafb;
}

.hero h1 {

    font-size: 58px;
    font-weight: 700;
    margin-bottom: 20px;

    color: #0C3569;

    text-shadow: 0 2px 10px rgba(0,0,0,.35);

}

.hero p {

    font-size: 24px;
    max-width: 700px;
    margin: auto auto 35px;


    color: #0C3569;

    text-shadow: 0 2px 10px rgba(0,0,0,.35);

}

.btn {

    display: inline-block;

    background: #62b8e8;

    color: white;

    padding: 16px 38px;

    border: none;
    border-radius: 40px;

    text-decoration: none;

    font-size: 18px;

    font-weight: 600;

    transition: .3s;

    box-shadow: 0 8px 25px rgba(0,0,0,.25);

}

.btn:hover {

    transform: translateY(-3px);

    background: #4caee4;

}

.about{

    background:#edfaff;
    padding-top:50px;
    padding-bottom:50px;

}
.about h2{

    color:#4d84a8;
    margin-bottom:15px;
    font-size:38px;
    text-align:center;

}

footer{

padding:80px 0;
text-align:center;

}

/* ==========================
   SERVICES SECTION
========================== */

.services{

    background:#edfaff;
    padding-top:50px;
    padding-bottom:50px;

}

.services h2{

    color:#4d84a8;
    margin-bottom:15px;
    font-size:38px;
    text-align:center;

}

.services-intro{

    max-width:700px;
    margin:0 auto 50px;
    color:#666;
    font-size:18px;

}

.services-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:35px;

}

.services-member{

    background:#f7fcff;
    border-radius:16px;
    padding:30px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;

}

.services-member:hover{

    transform:translateY(-8px);

}

.services-member img{

    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #d8eefb;
    margin-bottom:20px;

}

.services-member h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-member p{

    color:#666;
    font-size:16px;

}

.service-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 15px;
    font-weight: bold;
    color: #468cbf;
    /*border: 1px solid #468cbf;*/
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: all 2s ease;
}

.service-info:hover {
    background: #468cbf;
    color: #fff;
    transform: scale(1.1);
}

.cards{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
margin-top:40px;
align-items:start;

}

.card{

background:white;
padding:30px;
border-radius:15px;
box-shadow:0 5px 20px rgba(0,0,0,.08);
text-align:left;

}

.card > h3{

text-align:center;
margin-bottom:15px;

}

footer{

background:#dff3ff;

}

/* Popup */

.chat {
    padding: 15px;
    max-height: 420px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.quick-replies button {
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #d6efff;
    cursor: pointer;
}

.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

.chat-input button {
    background: #6fbde7;
    border: none;
    color: white;
    padding: 10px 14px;
    cursor: pointer;
}
:root{

    --widget-width:min(560px, calc(100vw - 20px));

    --header-color:#7cb8da;
    --accent:#6fbde7;

}

#contact-widget{

    position:fixed;
    bottom:24px;
    right:24px;

    width:var(--widget-width);

    z-index:1000;

    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(20,55,90,.25);

    transform:translateY(0);
    opacity:1;

    transition:transform .35s ease, opacity .35s ease;

}

#contact-widget.hidden {

    transform: translateY(calc(100% + 40px));

    opacity: 0;

    pointer-events: none;
}


.widget-header{

background:var(--header-color);
color:white;
padding:14px 16px;
display:flex;
justify-content:space-between;
align-items:center;
cursor:pointer;

}

.chevron{
    display:inline-block;
    transition:transform .3s ease;
}

.widget-body{
    overflow:hidden;
    max-height:500px;
    transition:max-height .3s ease;
}

.widget-body.collapsed{
    max-height:0;
}

.chevron.collapsed{
    transform:rotate(-180deg);
}

.option-btn{

    width:100%;
    padding:14px;
    margin:10px 0;
    border:none;
    border-radius:8px;
    background:#6fbde7;
    color:#58acd8;
    font-size:16px;
    cursor:pointer;
    transition:.25s;

}

.option-btn:hover{

    background:#58acd8;
    color:#fff;

}

.option-btn.secondary{

    background:#9fd7f3;

}

.option-btn.secondary:hover{

    background:#88caeb;

}

.widget-content h3{

    color:#4d84a8;
    margin-bottom:15px;
    text-align:center;

}

.widget-content p{

    text-align:center;
    margin-bottom:15px;
    color:#555;

}

.widget-content{

padding:18px;

}

.widget-content input,
.widget-content textarea{

width:100%;
padding:12px;
margin-bottom:10px;
border:1px solid #ccc;
border-radius:6px;

}

.step {
    display:block;
}

.hidden {
    display:none;
}

.back-btn {
    margin-top: 10px;
    background: none;
    border: none;
    color: #4d84a8;
    cursor: pointer;
    font-size: 14px;
    display: block;
}

.submit-btn{

width:100%;
padding:12px;
border:none;
background:var(--accent);
color:white;
border-radius:6px;
cursor:pointer;

}

.success{

color:green;
margin-top:10px;

}

.error{

color:red;
margin-top:10px;

}

@media(max-width:700px){

.nav-toggle{

display:flex;

}

nav{

display:none;

flex-direction:column;

position:absolute;
top:100%;
left:0;
right:0;

background:#dff3ff;

padding:10px 20px 20px;

box-shadow:0 12px 20px rgba(0,0,0,.08);

}

nav.open{

display:flex;

}

nav a{

display:block;
margin:12px 0;

}

.hero h1{

font-size:38px;

}

}

@media(max-width:480px){

#contact-widget{

left:10px;
right:10px;
bottom:10px;
width:auto;

}

}

/* ==========================
   TEAM SECTION
========================== */

.team{

    padding:90px 0;
    background:#ffffff;
    text-align:center;

}

.team h2{

    color:#4d84a8;
    margin-bottom:15px;
    font-size:38px;

}

.team-intro{

    max-width:700px;
    margin:0 auto 50px;
    color:#666;
    font-size:18px;

}

.team-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:35px;

}

.team-member{

    background:#f7fcff;
    border-radius:16px;
    padding:30px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;

}

.team-member:hover{

    transform:translateY(-8px);

}

.team-member img{

    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #d8eefb;
    margin-bottom:20px;

}

.team-member h3{

    color:#468cbf;
    margin-bottom:10px;

}

.team-member p{

    color:#666;
    font-size:16px;

}

.bio-wrap{

    text-align:center;
    margin-top:12px;

}

/* The full bio text lives in the card as the source of truth, but
   is only ever shown inside the modal - not inline in the card. */
.bio-text{

    display:none;

}

.bio-toggle{

    display:inline-block;
    margin-top:4px;

    background:none;
    border:none;
    padding:02

    color:#468cbf;
    font-size:12px;
    font-weight:600;

    cursor:pointer;

}

.bio-toggle:hover{

    text-decoration:underline;

}

/* ==========================
   BIO MODAL
========================== */

.bio-modal-overlay{

    position:fixed;
    inset:0;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:20px;

    background:rgba(20,55,90,.55);

    opacity:0;
    pointer-events:none;

    transition:opacity 1s ease;

    z-index:2000;

}

.bio-modal-overlay.open{

    opacity:1;
    pointer-events:auto;

}

.bio-modal{

    background:#ffffff;
    border-radius:16px;

    width:100%;
    max-width:560px;
    max-height:80vh;
    overflow-y:auto;

    padding:34px;

    position:relative;

    box-shadow:0 25px 70px rgba(0,0,0,.3);

    transform:translateY(16px) scale(.96);
    opacity:0;

    transition:transform .3s ease, opacity .3s ease;

}

.bio-modal-overlay.open .bio-modal{

    transform:translateY(0) scale(1);
    opacity:1;

}

.bio-modal-close{

    position:absolute;
    top:12px;
    right:16px;

    background:none;
    border:none;

    font-size:30px;
    line-height:1;
    color:#999;

    cursor:pointer;

}

.bio-modal-close:hover{

    color:#468cbf;

}

.bio-modal h3{

    color:#468cbf;
    margin-bottom:4px;
    padding-right:20px;

}

.bio-modal-role{

    color:#888;
    font-size:14px;
    margin-bottom:18px;

}

.bio-modal-text{

    text-align:left;
    color:#444;
    font-size:15px;
    line-height:1.7;

}

/* ==========================
   ACCORDION (Services sub-items, Patient Info)
========================== */

.accordion{

    margin-top:16px;

}

.accordion-heading{

    margin:0;

}

.accordion-item{

    border-bottom:1px solid #d8eefb;

}

.accordion-item:last-child{

    border-bottom:none;

}

.accordion-header{

    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;

    background:none;
    border:none;

    padding:16px 2px;

    font-size:16px;
    font-weight:600;
    font-family:inherit;
    text-align:left;

    color:#468cbf;

    cursor:pointer;

}

.accordion-header:hover{

    color:#3573a0;

}

.accordion-icon{

    flex-shrink:0;

    font-size:20px;
    line-height:1;

    color:#6fbde7;

    transition:transform .3s ease;

}

.accordion-item.open .accordion-icon{

    transform:rotate(45deg);

}

.accordion-panel{

    max-height:0;
    overflow:hidden;

    transition:max-height .4s ease;

}

.accordion-item.open .accordion-panel{

    max-height:2000px;

}

.accordion-panel-inner{

    padding:0 2px 18px;

    color:#666;
    font-size:15px;
    line-height:1.65;

}

.accordion-panel-inner p + p{

    margin-top:10px;

}

.accordion-panel-inner ul{

    margin:10px 0;
    padding-left:20px;

}

.accordion-panel-inner li{

    margin:6px 0;

}

/* ==========================
   PATIENT INFO SECTION
========================== */

.patient-info{

    background:#ffffff;
    padding-top:50px;
    padding-bottom:50px;

}

.patient-info h2{

    color:#4d84a8;
    margin-bottom:15px;
    font-size:38px;
    text-align:center;

}

.patient-info .accordion{

    max-width:800px;
    margin:40px auto 0;
    text-align:left;

    background:white;
    border-radius:15px;
    padding:10px 30px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.patient-info .accordion-header{

    font-size:17px;

}

.msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
    animation: fadeIn .2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot {
    background: #e8f5ff;
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.user {
    background: #6fbde7;
    color: white;
    align-self: flex-end;
    border-top-right-radius: 4px;
}

#typing {
    font-style: italic;
    opacity: 0.7;
}

.message-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.message-row.user {
    justify-content: flex-end;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.chat-form {
    background: #f7fcff;
    border-radius: 12px;
    padding: 16px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-form h4 {
    color: #4d84a8;
    margin-bottom: 4px;
}

.chat-form input,
.chat-form textarea {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

.chat-form textarea{
    min-height:120px;
    resize:vertical;
}

.chat-card {
    background: #f7fcff;
    border-radius: 12px;
    padding: 16px;
    margin-top: 15px;
}

.chat-card label {
    display: block;
    margin: 8px 0;
}

.chat-card textarea {
    width: 100%;
    min-height: 80px;
    margin: 15px 0;
    resize: vertical;
}