:root{
    /* First Cure Hospital logo palette */
    --blue:#0565aa;
    --blue-dark:#045486;
    --cyan:#00aec6;
    --green:#087f41;
    --green-dark:#087f41;
    --lime:#aeca1c;

    /* Neutral UI colors */
    --text:#172033;
    --muted:#667085;
    --border:#e3eaf1;
    --soft:#f5f9fc;
    --soft-green:#f3f8df;
    --white:#fff;
    --shadow:0 15px 45px rgba(5,101,170,.08);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
    font-family:Inter,Arial,sans-serif;
    background:#f7f9fc;
    color:var(--text);
    line-height:1.55
}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

.container{width:min(1180px,calc(100% - 40px));margin:auto}

/* Header */
.header{
    height:80px;
    background:#fff;
    border-bottom:1px solid var(--border);
    position:sticky;
    top:0;
    z-index:50
}
.header-inner{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px
}
.logo img{width:115px;display:block}
.nav{
    display:flex;
    align-items:center;
    gap:26px;
    font-size:13px;
    font-weight:600;
    color:#475467
}
.nav a:hover{color:var(--blue)}
.nav .nav-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:40px;
    color:#fff;
    background:var(--blue);
    padding:0 17px;
    border-radius:8px;
    line-height:1;
    transition:.18s ease
}
.nav .nav-cta:hover{
    color:#fff;
    background:var(--blue-dark);
    transform:translateY(-1px)
}

/* Hero */
.hero{
    background:linear-gradient(135deg,var(--green),var(--blue) 58%,var(--cyan));
    color:#fff;
    position:relative;
    overflow:hidden
}
.hero:before{
    content:"";
    position:absolute;
    width:430px;
    height:430px;
    border:65px solid rgba(255,255,255,.045);
    border-radius:50%;
    right:-160px;
    top:-230px
}
.hero-inner{
    padding:72px 0 78px;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:65px;
    align-items:center;
    position:relative;
    z-index:1
}
.kicker{
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--lime);
    margin-bottom:12px
}
.hero h1{
    font-size:clamp(38px,5vw,58px);
    line-height:1.06;
    letter-spacing:-.04em;
    margin-bottom:18px
}
.hero h1 span{color:var(--lime)}
.hero p{
    max-width:620px;
    color:rgba(255,255,255,.82);
    font-size:15px;
    line-height:1.8
}
.hero-actions{
    display:flex;
    gap:11px;
    margin-top:26px;
    flex-wrap:wrap
}
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:9px;
    height:45px;
    padding:0 19px;
    font-size:12px;
    font-weight:800;
    line-height:1;
    white-space:nowrap;
    transition:.18s ease;
    cursor:pointer
}
.btn-primary{
    background:var(--green);
    color:#fff;
    box-shadow:0 5px 12px rgba(8,127,65,.16)
}
.btn-primary:hover{
    background:#066b37;
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 7px 16px rgba(8,127,65,.2)
}
.btn-light{
    background:#fff;
    color:var(--blue)
}
.btn-light:hover{
    background:#f2f7fb;
    color:var(--blue);
    transform:translateY(-1px)
}
.hero-card{
    background:#fff;
    color:var(--text);
    border-radius:18px;
    padding:25px;
    box-shadow:0 24px 65px rgba(0,0,0,.16)
}
.hero-card h3{font-size:17px;margin-bottom:5px}
.hero-card p{
    font-size:12px;
    color:var(--muted);
    margin-bottom:17px
}
.search{
    height:48px;
    width:100%;
    border:1px solid var(--border);
    border-radius:9px;
    display:flex;
    align-items:center;
    padding:0 13px;
    gap:10px
}
.search svg{width:17px;color:var(--blue)}
.search input{
    border:0;
    outline:0;
    width:100%;
    font-size:12px
}

/* Sections */
.section{padding:52px 0 75px}
.section-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:23px
}
.eyebrow{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.1em;
    font-weight:800;
    color:var(--blue);
    margin-bottom:5px
}
.section h2{font-size:28px;letter-spacing:-.025em}
.section-sub{
    font-size:13px;
    color:var(--muted);
    margin-top:5px
}
.count{
    font-size:12px;
    color:var(--muted);
    white-space:nowrap
}

/* Doctor cards */
.filters{
    background:#fff;
    border:1px solid var(--border);
    padding:12px;
    border-radius:13px;
    display:grid;
    grid-template-columns:1fr 220px;
    gap:10px;
    margin-bottom:22px
}
.filters input,.filters select{
    height:44px;
    width:100%;
    border:1px solid var(--border);
    border-radius:8px;
    padding:0 12px;
    outline:0;
    background:#fff;
    font-size:12px;
    color:var(--text)
}
.filters input:focus,.filters select:focus{border-color:var(--cyan)}

.doctor-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px
}
.doctor-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:15px;
    padding:20px;
    transition:.2s
}
.doctor-card:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow);
    border-color:#b9d9e6
}
.doctor-top{
    display:flex;
    gap:13px;
    align-items:center
}
.avatar{
    width:70px;
    height:70px;
    flex:0 0 70px;
    border-radius:13px;
    background:linear-gradient(145deg,var(--blue),var(--cyan));
    display:grid;
    place-items:center;
    overflow:hidden;
    color:#fff;
    font-size:19px;
    font-weight:800
}
.avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:inherit;
    display:block
}
.doctor-name{
    font-size:16px;
    font-weight:800;
    margin-bottom:3px
}
.speciality{
    font-size:12px;
    color:var(--blue);
    font-weight:700;
    margin-bottom:3px
}
.qualification{
    font-size:10px;
    color:var(--muted)
}
.meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    border-top:1px solid #edf1f5;
    border-bottom:1px solid #edf1f5;
    margin:18px 0;
    padding:14px 0
}
.meta small{
    display:block;
    color:#98a2b3;
    font-size:10px;
    margin-bottom:2px
}
.meta strong{font-size:11px}
.availability{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:var(--soft-green);
    color:var(--green);
    padding:5px 8px;
    border-radius:6px;
    font-size:10px;
    font-weight:700
}
.dot{
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--lime)
}
.card-btn{
    width:100%;
    height:43px;
    border:0;
    border-radius:8px;
    background:var(--blue);
    color:#fff;
    font-size:11px;
    font-weight:800;
    margin-top:17px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    line-height:1;
    box-shadow:0 5px 12px rgba(5,101,170,.14);
    transition:.18s ease
}
.card-btn:hover{
    background:var(--blue-dark);
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 7px 16px rgba(5,101,170,.18)
}
.card-btn:active{
    transform:translateY(0);
    box-shadow:0 3px 8px rgba(5,101,170,.12)
}

/* Profile */
.profile-layout{
    /*display:grid;*/
    /*grid-template-columns:1fr 370px;*/
    gap:22px;
    align-items:start
}


.doctor-card-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:17px;
}

.doctor-card-actions .card-btn{
    width:100%;
    margin-top:0;
}


.profile-card,.booking-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:0 7px 30px rgba(20,55,90,.04)
}
.profile-card{padding:26px}
.profile-head{
    display:flex;
    gap:18px;
    align-items:center;
    padding-bottom:23px;
    border-bottom:1px solid var(--border)
}
.profile-avatar{
    width:105px;
    height:105px;
    border-radius:18px;
    background:linear-gradient(145deg,var(--blue),var(--cyan));
    display:grid;
    place-items:center;
    overflow:hidden;
    color:#fff;
    font-size:30px;
    font-weight:800;
    flex:0 0 105px
}
.profile-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:inherit;
    display:block
}
.profile-name{
    font-size:25px;
    font-weight:800;
    letter-spacing:-.025em
}
.profile-speciality{
    color:var(--blue);
    font-weight:700;
    font-size:13px;
    margin:4px 0
}
.profile-qual{
    font-size:12px;
    color:var(--muted)
}
.profile-tags{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:12px
}
.tag{
    font-size:10px;
    background:var(--soft);
    border:1px solid var(--border);
    border-radius:999px;
    padding:5px 9px;
    color:#475467;
    font-weight:600
}
.profile-section{
    padding:22px 0;
    border-bottom:1px solid var(--border)
}
.profile-section:last-child{
    border-bottom:0;
    padding-bottom:0
}
.profile-section h3{
    font-size:14px;
    margin-bottom:8px
}
.profile-section span{
    font-size:12px;
    text-align: justify;
    color:#667085;
    line-height:1.8
}
.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:18px
}
.stat{
    background:var(--soft);
    border-radius:10px;
    padding:13px
}
.stat strong{
    display:block;
    font-size:16px;
    color:var(--blue)
}
.stat span{
    font-size:10px;
    color:var(--muted)
}

/* Booking */
.booking-card{
    position:sticky;
    top:102px;
    overflow:hidden
}
.booking-head{
    padding:20px;
    border-bottom:1px solid var(--border)
}
.booking-head h3{font-size:17px}
.booking-head p{
    font-size:11px;
    color:var(--muted);
    margin-top:3px
}
.booking-body{padding:20px}
.form-title{
    font-size:12px;
    font-weight:800;
    margin-bottom:10px
}
.date-list{
    display:flex;
    gap:7px;
    overflow-x:auto;
    padding-bottom:3px
}
.date-btn{
    min-width:62px;
    border:1px solid var(--border);
    background:#fff;
    border-radius:8px;
    padding:8px 5px;
    text-align:center
}
.date-btn span{display:block}
.date-btn .day,.date-btn .month{
    font-size:9px;
    color:#98a2b3
}
.date-btn .number{
    font-size:16px;
    font-weight:800;
    margin:2px 0
}
.date-btn.active{
    background:var(--blue);
    border-color:var(--blue);
    color:#fff
}
.date-btn.active .day,.date-btn.active .month{
    color:rgba(255,255,255,.7)
}
.slot-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:7px
}
.slot{
    height:38px;
    border:1px solid var(--border);
    border-radius:7px;
    background:#fff;
    font-size:10px;
    font-weight:600;
    color:#475467
}
.slot:hover:not(:disabled){
    border-color:var(--cyan);
    color:var(--blue)
}
.slot.active{
    background:var(--blue);
    border-color:var(--blue);
    color:#fff
}
.slot:disabled{
    background:#f4f5f7;
    color:#aab1ba;
    text-decoration:line-through;
    cursor:not-allowed
}
.booking-divider{
    height:1px;
    background:var(--border);
    margin:19px 0
}
.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px
}
.field.full{grid-column:1/-1}
.field label{
    display:block;
    font-size:10px;
    font-weight:700;
    color:#475467;
    margin-bottom:5px
}
.field input,.field select,.field textarea{
    width:100%;
    border:1px solid var(--border);
    border-radius:7px;
    height:40px;
    outline:0;
    padding:0 10px;
    font-size:11px;
    color:var(--text)
}
.field textarea{
    height:65px;
    padding-top:9px;
    resize:vertical
}
.field input:focus,.field select:focus,.field textarea:focus{
    border-color:var(--cyan)
}
.summary{
    background:var(--soft);
    border-radius:9px;
    padding:11px;
    font-size:10px;
    color:var(--muted);
    line-height:1.8;
    margin-top:15px
}
.summary strong{color:var(--text)}
.confirm{
    width:100%;
    height:45px;
    border:0;
    border-radius:9px;
    background:var(--green);
    color:#fff;
    font-size:11px;
    font-weight:800;
    margin-top:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    box-shadow:0 5px 12px rgba(8,127,65,.16);
    transition:.18s ease
}
.confirm:hover{
    background:#066b37;
    transform:translateY(-1px);
    box-shadow:0 7px 16px rgba(8,127,65,.2)
}

.confirm:disabled{
    background:#cbd5e1;
    color:#f8fafc;
    cursor:not-allowed;
    opacity:.7;
    box-shadow:none;
    transform:none;
}

.confirm:disabled:hover{
    background:#cbd5e1;
    box-shadow:none;
    transform:none;
}
.notice{
    font-size:9px;
    color:#98a2b3;
    text-align:center;
    margin-top:8px
}

/* Footer */
/* =========================================
   First Cure Hospital Footer
   All classes are uniquely prefixed
   ========================================= */

.fch-footer{
    background:var(--green);
    color:#fff;
}

.fch-footer-container{
    width:min(1180px,calc(100% - 40px));
    margin:0 auto;
}

.fch-footer-main{
    padding:45px 0 35px;
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr 1fr;
    gap:35px;
}

.fch-footer-brand{
    min-width:0;
}

.fch-footer-logo{
    width:220px;
    max-width:100%;
    background:#fff;
    padding:7px;
    border-radius:7px;
    margin-bottom:14px;
    display:block;
}

.fch-footer-brand p{
    font-size:11px;
    color:rgba(255,255,255,.78);
    line-height:1.8;
    max-width:285px;
}

.fch-footer-column{
    min-width:0;
}

.fch-footer-title{
    font-size:12px;
    font-weight:800;
    margin-bottom:13px;
}

.fch-footer-link{
    display:block;
    color:rgba(255,255,255,.75);
    font-size:11px;
    margin-bottom:8px;
    text-decoration:none;
}

.fch-footer-link:hover{
    color:var(--lime);
}

.fch-footer-contact{
    display:flex;
    gap:9px;
    margin-bottom:15px;
}

.fch-footer-contact-icon{
    width:29px;
    height:29px;
    flex:0 0 29px;
    border-radius:7px;
    background:rgba(0,174,198,.15);
    display:grid;
    place-items:center;
    color:#00aec6;
}

.fch-footer-contact-icon svg{
    width:14px;
    height:14px;
}

.fch-footer-contact h4{
    font-size:10px;
    text-transform:uppercase;
    margin-bottom:3px;
}

.fch-footer-contact p,
.fch-footer-contact a{
    font-size:10px;
    line-height:1.7;
    color:rgba(255,255,255,.75);
}

.fch-footer-contact a{
    text-decoration:none;
}

.fch-footer-contact a:hover{
    color:var(--lime);
}

.fch-footer-bottom{
    border-top:1px solid rgba(255,255,255,.15);
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:rgba(255,255,255,.65);
    font-size:10px;
}

.fch-footer-bottom a{
    color:var(--lime);
    text-decoration:none;
}

.fch-footer-bottom a:hover{
    color:#fff;
}


/* =========================================
   Footer Responsive
   ========================================= */

@media(max-width:950px){

    .fch-footer-main{
        grid-template-columns:1fr 1fr;
    }

}


@media(max-width:650px){

    .fch-footer-container{
        width:calc(100% - 28px);
    }

    .fch-footer-main{
        grid-template-columns:1fr;
    }

    .fch-footer-bottom{
        padding:14px 0;
        flex-direction:column;
        align-items:flex-start;
        gap:5px;
    }

}

/* Success */
.success{
    display:none;
    text-align:center;
    padding:35px 10px
}
.success.show{display:block}
.success-icon{
    width:58px;
    height:58px;
    border-radius:50%;
    background:var(--soft-green);
    color:var(--green);
    display:grid;
    place-items:center;
    margin:0 auto 12px;
    font-size:26px;
    font-weight:800
}
.success h3{
    font-size:19px;
    margin-bottom:5px
}
.success p{
    font-size:11px;
    color:var(--muted)
}
.appointment-no{
    display:inline-block;
    background:var(--soft);
    color:var(--blue);
    padding:10px 15px;
    border-radius:8px;
    font-weight:800;
    margin:13px 0
}

/* Responsive */
@media(max-width:950px){
    .hero-inner{grid-template-columns:1fr}
    .hero-card{max-width:520px}
    .doctor-grid{grid-template-columns:repeat(2,1fr)}
    .profile-layout{grid-template-columns:1fr}
    .booking-card{position:relative;top:auto}
    .footer-main{grid-template-columns:1fr 1fr}
}

@media(max-width:650px){
    .container{width:calc(100% - 28px)}
    .header{height:68px}
    .logo img{width:175px}
    .nav{display:none}
    .hero-inner{padding:48px 0 52px;gap:30px}
    .hero h1{font-size:37px}
    .section{padding:38px 0 55px}
    .section-head{
        align-items:flex-start;
        flex-direction:column;
        gap:3px
    }
    .filters{grid-template-columns:1fr}
    .doctor-grid{grid-template-columns:1fr}
    .profile-head{align-items:flex-start}
    .profile-avatar{
        width:80px;
        height:80px;
        flex-basis:80px;
        font-size:23px
    }
    .profile-name{font-size:20px}
    .stats{grid-template-columns:1fr 1fr}
    .form-grid{grid-template-columns:1fr}
    .field.full{grid-column:auto}
    .footer-main{grid-template-columns:1fr}
    .footer-bottom{
        padding:14px 0;
        flex-direction:column;
        align-items:flex-start;
        gap:5px
    }
}

.no-slots {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px 10px;
    color: var(--muted);
    font-size: 11px;
    background: var(--soft);
    border-radius: 8px;
}