/* ==========================================================
   PRACTITIONERS.CSS
   Rising Sons Africa
========================================================== */


/* ==========================================================
   HERO
========================================================== */

.practitioners-hero{
    position:relative;
    min-height:70vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    background:
        linear-gradient(rgba(51, 17, 17, 0.65), rgba(0,0,0,.65)),
        url("/static/images/branding/pr.jpg") center/cover no-repeat;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:800px;
}

.hero-content h1{
    margin-bottom:1rem;
    font-size:clamp(2.5rem,5vw,4rem);
}

.hero-content p{
    max-width:700px;
    margin:0 auto 2rem;
    line-height:1.8;
    font-size:1.05rem;
}


/* ==========================================================
   SECTIONS
========================================================== */

.section{
    padding:5rem 0;
}

.section-light{
    background:#f8f9fb;
}

.section-header{
    max-width:760px;
    margin:0 auto 3rem;
    text-align:center;
}

.section-header h2{
    margin-bottom:1rem;
}

.section-header p{
    color:#666;
    line-height:1.8;
}


/* ==========================================================
   CARDS
========================================================== */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:2rem;
}

.card{
    background:#fff;
    padding:2rem;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-6px);
}

.card h3{
    margin-bottom:1rem;
}

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


/* ==========================================================
   FORM
========================================================== */

.form{
    max-width:900px;
    margin:auto;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1.5rem;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:1.5rem;
}

.full-width{
    grid-column:1 / -1;
}

.form-group label{
    margin-bottom:.6rem;
    font-weight:600;
}

.form-control{
    width:100%;
    padding:1rem;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:1rem;
    transition:.3s;
}

.form-control:focus{
    outline:none;
    border-color:var(--primary-color,#f59e0b);
    box-shadow:0 0 0 3px rgba(245,158,11,.15);
}

textarea.form-control{
    resize:vertical;
    min-height:180px;
}

.form-actions{
    text-align:center;
    margin-top:2rem;
}


/* ==========================================================
   FLASH MESSAGES
========================================================== */

.flash-messages{
    margin-bottom:2rem;
}

.alert{
    padding:1rem 1.2rem;
    border-radius:10px;
    margin-bottom:1rem;
}

.alert-success{
    background:#d1fae5;
    color:#065f46;
}

.alert-danger{
    background:#fee2e2;
    color:#991b1b;
}


/* ==========================================================
   CTA
========================================================== */

.cta-section{
    padding:5rem 0;
    background:#111;
    color:#fff;
    text-align:center;
}

.cta-section h2{
    margin-bottom:1rem;
}

.cta-section p{
    max-width:700px;
    margin:0 auto 2rem;
    color:#ddd;
    line-height:1.8;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:768px){

    .practitioners-hero{
        min-height:60vh;
        padding:4rem 0;
    }

    .form-grid{
        grid-template-columns:1fr;
    }

    .full-width{
        grid-column:auto;
    }

    .cards{
        grid-template-columns:1fr;
    }

}