 /* ==========================
   Rayhan Teacher Profile
========================== */

.rayhan-teacher-page{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
    font-family:Cairo,sans-serif;
}

/* ================= Hero ================= */

.rayhan-hero{
    position:relative;
    margin-bottom:140px;
}

.rayhan-cover{
    height:340px;
    border-radius:24px;
    overflow:hidden;
    position:relative;
}

.rayhan-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.rayhan-cover-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

/* ================= Profile Card ================= */

.rayhan-profile-card{
    position:absolute;
    left:50%;
    bottom:-95px;
    transform:translateX(-50%);
    width:92%;
    max-width:1100px;
    background:#fff;
    border-radius:24px;
    padding:35px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.rayhan-profile-header{
    text-align:center;
}

.rayhan-avatar{
    width:160px;
    height:160px;
    margin:-115px auto 20px;
    border-radius:50%;
    overflow:hidden;
    border:6px solid #fff;
}

.rayhan-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.rayhan-name{
    margin:10px 0;
    font-size:34px;
    font-weight:700;
    color:#12345a;
}

.rayhan-specialization{
    color:#666;
    font-size:18px;
}

.rayhan-rating-row{
    margin:15px 0 30px;
}

.rayhan-profile-right{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.rayhan-stat-box{
    width:180px;
    padding:22px;
    background:#f8fafc;
    border-radius:16px;
}

.rayhan-stat-value{
    font-size:34px;
    color:#0d6efd;
    font-weight:bold;
}

.rayhan-stat-label{
    margin-top:8px;
    color:#666;
}

/* ================= Contact ================= */

.teacher-contact-box{
    background:#fff;
    border-radius:20px;
    padding:40px;
    margin:40px auto;
    max-width:800px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.teacher-contact-box h3{
    font-size:34px;
    color:#0b5d38;
    margin-bottom:20px;
}

.teacher-contact-box p{
    color:#555;
    line-height:2;
    font-size:18px;
    margin-bottom:25px;
}

.teacher-whatsapp-btn{
    display:inline-block;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    padding:16px 40px;
    border-radius:12px;
    font-size:18px;
    font-weight:bold;
}

.teacher-whatsapp-btn:hover{
    background:#1ca851;
    color:#fff;
}

/* ================= Grid ================= */

.rayhan-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
    margin-top:40px;
}

.rayhan-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    margin-bottom:25px;
}

.rayhan-card h2,
.rayhan-card h3{
    color:#163a63;
    margin-top:0;
}

.rayhan-content{
    line-height:2;
    color:#555;
}

.rayhan-list{
    list-style:none;
    padding:0;
    margin:0;
}

.rayhan-list li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #eee;
}

.rayhan-social{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.rayhan-social a{
    background:#f5f7fb;
    padding:10px 18px;
    border-radius:30px;
    text-decoration:none;
    color:#163a63;
    font-weight:600;
}

.rayhan-review{
    padding:20px 0;
}

.rayhan-review-stars{
    font-size:22px;
    color:#ffb400;
    margin-bottom:10px;
}

.rayhan-review-text{
    color:#555;
    line-height:1.9;
}

.rayhan-review-date{
    color:#999;
    margin-top:10px;
    font-size:13px;
}

/* ================= Mobile ================= */

@media (max-width:768px){

.rayhan-hero{
    margin-bottom:40px;
}

.rayhan-profile-card{
    position:relative;
    left:auto;
    bottom:auto;
    transform:none;
    width:100%;
    padding:25px;
}

.rayhan-avatar{
    width:120px;
    height:120px;
    margin:-80px auto 15px;
}

.rayhan-name{
    font-size:28px;
}

.rayhan-profile-right{
    flex-direction:column;
    align-items:center;
}

.rayhan-stat-box{
    width:100%;
}

.rayhan-grid{
    grid-template-columns:1fr;
}

.teacher-contact-box{
    padding:25px;
}

.teacher-contact-box h3{
    font-size:26px;
}

.teacher-contact-box p{
    font-size:16px;
}

.teacher-whatsapp-btn{
    display:block;
    width:100%;
}

}
