/* HEADER */
.header-bar {
    padding: 30px 0;
}

/* CENTER CONTAINER */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LOGO */
.main-logo {
    max-width: 320px;
    height: auto;
}



/* FORCE CENTER LOGO */
.logo-header {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 30px 0 20px;
}

.center-logo {
    width: 450px;
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto !important;
}

body.survey-body{
    background:#eef0f3;
    min-height:100vh;
    font-family:'Segoe UI',sans-serif;
}

.survey-wrapper{
    max-width:1100px;
    margin:auto;
    background:white;
    border-radius:35px;
    padding:50px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.question-pill{
    display:inline-block;
    background:#edf3ff;
    color:#0d4dff;
    border-radius:18px;
    padding:14px 22px;
    font-size:13px;
    font-weight:700;
    margin-bottom:30px;
}

.question-title{
    font-size:28px;
    font-weight:700;
    color:#071d49;
}

.question-arabic{
    color:#9aa8be;
    margin-bottom:40px;
}

.rating-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
}

.rating-item{
    text-align:center;
    cursor:pointer;
}

.rating-item input{
    display:none;
}

.rating-box{
    border:2px solid #e6ebf2;
    border-radius:20px;
    height:110px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    font-size:32px;
    transition:.3s;
}

.rating-box span{
    font-size:22px;
    font-weight:700;
    color:#7284a3;
}

.rating-item:hover .rating-box{
    border-color:#0d6efd;
    transform:translateY(-4px);
}

.rating-item input:checked + .rating-box{
    background:#0d6efd;
    border-color:#0d6efd;
    color:white;
}

.rating-item input:checked + .rating-box span{
    color:white;
}

.rating-label{
    margin-top:15px;
    font-weight:700;
}

.rating-ar{
    color:#a0a8b6;
    font-size:14px;
}

.survey-footer{
    margin-top:50px;
    border-top:1px solid #edf1f5;
    padding-top:25px;
    display:flex;
    justify-content:space-between;
}

.prev-btn{
    border:none;
    background:none;
    color:#0d6efd;
    font-weight:700;
}

.next-btn{
    border:none;
    background:#0d6efd;
    color:white;
    padding:12px 24px;
    border-radius:12px;
}


/* FEEDBACK CARD */
.feedback-wrapper{
    max-width:1100px;
    margin:auto;
    background:white;
    border-radius:35px;
    padding:50px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* TITLES */
.feedback-title{
    font-size:24px;
    font-weight:700;
    color:#071d49;
    margin-bottom:8px;
}

.feedback-arabic{
    color:#a7b0c1;
    font-size:20px;
    margin-bottom:45px;
}

.section-title{
    font-size:18px;
    font-weight:800;
    letter-spacing:1px;
    color:#071d49;
    margin-bottom:8px;
}

.section-ar{
    color:#a7b0c1;
    margin-bottom:16px;
}

/* TEXTAREA */
.feedback-textarea{
    width:100%;
    min-height:170px;
    border:1px solid #dbe3ef;
    background:#f9fbff;
    border-radius:22px;
    padding:25px;
    outline:none;
    resize:none;
    font-size:20px;
}

/* INPUT */
.feedback-input{
    width:100%;
    height:70px;
    border:1px solid #dbe3ef;
    background:#f9fbff;
    border-radius:22px;
    padding:0 20px;
    outline:none;
    font-size:20px;
}

/* FOCUS */
.feedback-input:focus,
.feedback-textarea:focus{
    border-color:#0d6efd;
}

/* FOOTER */
.feedback-footer{
    margin-top:50px;
    border-top:1px solid #edf1f5;
    padding-top:30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.feedback-prev{
    text-decoration:none;
    font-weight:700;
    color:#8b99b1;
    letter-spacing:1px;
}

.feedback-prev:hover{
    color:#0d6efd;
}

.submit-btn{
    border:none;
    background:#0d4dff;
    color:white;
    border-radius:22px;
    padding:18px 40px;
    font-size:26px;
    font-weight:700;
    box-shadow:0 10px 25px rgba(13,77,255,.25);
}

.submit-btn:hover{
    background:#003fe0;
}
.text-muted
{
    font-size: 20px;
}
/* MOBILE */
@media(max-width:768px){
    .feedback-wrapper{
        padding:25px;
    }

    .submit-btn{
        width:100%;
        margin-top:20px;
        font-size:18px;
    }

    .feedback-footer{
        flex-direction:column;
        align-items:stretch;
    }
}

/* Thank You Page */
/* CENTER PAGE */
.thankyou-container{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:70vh;
}

/* CARD */
.thankyou-card{
    width:100%;
    max-width:420px;
    background:white;
    border-radius:25px;
    padding:40px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

/* ICON */
.check-icon{
    width:70px;
    height:70px;
    background:#28c76f;
    color:white;
    font-size:40px;
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 20px;
}

/* TITLE */
.thank-title{
    color:#1f3c88;
    font-weight:700;
}

/* TEXT */
.thank-text{
    color:#6c757d;
    margin-bottom:25px;
}

/* BUTTON */
.thank-btn{
    display:block;
    background:#0d6efd;
    color:white;
    padding:12px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
}

.thank-btn:hover{
    background:#0b5ed7;
}

/* LOGO FIX */
.logo-header{
    display:flex;
    justify-content:center;
    margin-top:30px;
}

.center-logo{
    width:260px;
}

/* =========================
   MOBILE RESPONSIVE FIX
   ========================= */

@media (max-width: 768px) {

    body.survey-body {
        padding: 0;
        overflow-x: hidden;
    }

    .logo-header {
        padding: 20px 0 10px;
    }

    .center-logo {
        width: 220px;
        max-width: 85%;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .survey-wrapper,
    .feedback-wrapper,
    .thankyou-card {
        width: 100%;
        border-radius: 22px;
        padding: 25px 20px;
        margin: 0 auto;
    }

    .question-pill {
        font-size: 12px;
        padding: 10px 16px;
        margin-bottom: 25px;
    }

    .question-title {
        font-size: 22px;
        line-height: 1.35;
    }

    .question-arabic {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .rating-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rating-box {
        height: 80px;
        border-radius: 16px;
        font-size: 26px;
    }

    .rating-label {
        margin-top: 8px;
        font-size: 15px;
    }

    .rating-ar {
        font-size: 13px;
    }

    .survey-footer,
    .feedback-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .prev-btn,
    .next-btn,
    .submit-btn,
    .thank-btn {
        width: 100%;
        text-align: center;
    }

    .next-btn,
    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }

    .feedback-title {
        font-size: 22px;
        line-height: 1.35;
    }

    .feedback-arabic {
        font-size: 17px;
    }

    .feedback-textarea {
        min-height: 140px;
        font-size: 16px;
        padding: 18px;
    }

    .feedback-input {
        height: 55px;
        font-size: 16px;
    }
}

/* FINAL MOBILE FIX */
@media (max-width: 768px) {

    .survey-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 24px 18px;
        overflow: hidden;
    }

    .rating-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        overflow: visible !important;
        width: 100% !important;
    }

    .rating-item {
        min-width: 0 !important;
        width: 100% !important;
    }

    .rating-box {
        width: 100% !important;
        height: 85px;
        border-radius: 16px;
    }

    .rating-label {
        font-size: 12px;
        line-height: 1.2;
        min-height: 32px;
    }

    .rating-ar {
        font-size: 11px;
        line-height: 1.2;
    }

    .question-title {
        font-size: 24px;
        line-height: 1.35;
    }

    .survey-footer {
        margin-top: 35px;
    }

    .next-btn,
    .prev-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}


/* SERVICE CARD */
.card-select{
    background:white;
    border-radius:28px;
    padding:40px 25px;
    text-align:center;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    border:2px solid transparent;
}

.card-select:hover{
    transform:translateY(-5px);
    border-color:#0d6efd;
}

.service-icon{
    font-size:50px;
    margin-bottom:20px;
}

.service-title{
    font-size:24px;
    font-weight:700;
    color:#071d49;
    margin-bottom:10px;
}

.service-ar{
    color:#212529;
    font-size:18px;
}


/** Select Branch**/
.card-select {
    cursor: pointer;
    transition: 0.3s;
    border-radius: 20px;
}
.card-select:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.icon-box {
    width: 70px;
    height: 70px;
    background: #e9f0ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 30px;
}
.logo {
    max-width: 450px;
    height: auto;
    margin-top: 50px;
}
/** Mobile Select Branch**/
@media (max-width: 768px) {
    
    .logo {
        max-width: 250px;
        height: auto;
        margin-top: 40px;
    }
    .bg-light {
     padding-left: 8px;
     padding-right: 8px;
    }
    .fw-bold {
       font-size: 24px;
    }
    h3 {
        font-size: 20px;
    }
    .text-muted {
        font-size: 18px;
    }
    .col-md-4 {
        width: 85%;
      
    }
    .card-select
    {
        margin-top: 20px;
    }
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:15px;
    margin-bottom:20px;
}

.card{
    background:#fff;
    padding:20px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.card h3{
    font-size:15px;
    color:#6b7280;
    margin-bottom:8px;
}

.card p{
    font-size:30px;
    font-weight:bold;
    color:#111827;
}

.filter-box{
    background:#fff;
    padding:15px;
    border-radius:15px;
    margin-bottom:20px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.filter-box form{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.filter-box select,
.filter-box button,
.filter-box a{
    padding:12px;
    border-radius:10px;
    border:1px solid #d1d5db;
    font-size:14px;
}

.filter-box button{
    background:#2563eb;
    color:#fff;
    border:none;
    cursor:pointer;
}

.filter-box a{
    background:#6b7280;
    color:#fff;
    text-decoration:none;
}
.filter-box input{
    padding:12px;
    border-radius:10px;
    border:1px solid #d1d5db;
    font-size:14px;
}
.chart-box{
    background: #fff;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 350px;
    align-content: center;
    width: 50%;
    margin: 0 auto;
    padding: 20px;
}


