/* Extracted from Review.html; shared chrome styles live in base.css. */

/*badge + heading + paragraph + buttons,bg image*/
.hero-section {
    position: relative;
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: url('review.png') no-repeat center 50% ;
    background-size: cover;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 23, 57, 0.68);
    pointer-events: none;
}
.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding-right: 40px;
    padding-left: 40px;
    padding-top: 10px;
    padding-bottom: 40px;

    height: 100%;
    box-sizing: border-box;
    overflow: hidden;

    background-size: cover;
    background-position: center;
}

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

.info-pill-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 30px;
    margin-bottom: 15px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-content h1 {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--white);
    line-height: 1.20;
    margin-top: 20px;
    letter-spacing: -0.5px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}

   .hero-content p {
font-size: 15px;
font-weight: 600;
color: rgba(255, 255, 255, 0.85);
line-height: 1.5;
margin-top: 10px;
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
max-width: 750px; 
width: 100%;
}

.breadcrumb {
margin-top: 20px;
font-size: 1rem;
font-weight: 600;
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
}

.breadcrumb a {
color: #ffffff;
text-decoration: none;
transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
opacity: 0.8;
}

.breadcrumb .separator {
color: #ffffff;
font-size: 0.9rem;
}

.breadcrumb .current {
color: #ffffff;
}

/* --- REVIEW US SECTION --- */
.review-section {
width: 100%;
background-color: #fcfbf9;
padding: 60px 0 60px 0;
}
.review-container {
width: 92%;
max-width: 1000px;
margin: 0 auto;
}
.review-header {
text-align: center;
margin-bottom: 45px;
}
.review-subtitle {
font-size: 13px;
font-weight: 700;
color: #c92127;
letter-spacing: 1px;
display: block;
margin-bottom: 8px;
}
.review-header h2 {
font-family: 'Playfair Display', Georgia, serif;
font-size: 30px;
color: #031739;
font-weight: 700;
margin: 0 0 12px 0;
}
.review-header h2 .highlight-red {
font-family: 'Playfair Display', Georgia, serif;
color: #c92127;
}
.review-description {
font-size: 14px;
font-weight: 500;
color: #64748b;
max-width: 540px;
margin: 0 auto;
line-height: 1.5;
}

/* Grid Layout */
.qr-grid {
width: 100%;
display: grid;
grid-template-columns: repeat(2, 1fr);
max-width: 640px;
margin: 0 auto;
gap: 24px;
}

.qr-card {
background-color: #ffffff;
border-radius: 14px;
border: 1px solid #d1d5d8;
padding: 24px 18px 22px 18px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.qr-card:hover {
transform: translateY(-3px);
box-shadow: 0 16px 32px rgba(15, 23, 42, 0.30);
}
.qr-card h3 {
font-family: 'Playfair Display', Georgia, serif;
font-size: 14px;
font-weight: 550;
color: #031739;
margin: 0 0 16px 0;
}

.qr-box {
background-color: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 10px;
padding: 12px;        
width: 100%;
max-width: 150px;        
min-height: 150px;      
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.qr-box img {
width: 100%;
height: 100%;
max-width: 125px;        
max-height: 125px;
object-fit: contain;
display: block;
}

.scan-text {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
font-size: 12px;
font-weight: 600;
color: #64748b;
margin-bottom: 16px;
}
.qr-icon {
color: #64748b;
}

.review-btn {
background-color: #c92127;
color: #ffffff;
font-size: 12.5px;
font-weight: 600;
text-decoration: none;
padding: 10px 16px;
border-radius: 6px; 
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
width: 100%;
max-width: 150px; 
box-shadow: 0 3px 10px rgba(201, 33, 39, 0.22);
transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.review-btn:hover {
background-color: #b01b20;
box-shadow: 0 6px 16px rgba(201, 33, 39, 0.35);
transform: translateY(-1px);
}

@media (max-width: 1024px) {
.qr-grid {
    grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.qr-grid {
    grid-template-columns: 1fr;
}
}

/* --- CUSTOMER FEEDBACK SECTION --- */
.feedback-section {
width: 100%;
background-color: #f8fafc;
padding: 20px 0 60px 0;
}
.feedback-container {
width: 92%;
max-width: 900px;
margin: 0 auto;
}

/* Header */
.feedback-header {
text-align: center;
margin-bottom: 40px;
}
.feedback-subtitle {
font-size: 13px;
font-weight: 700;
color: #c92127;
letter-spacing: 1px;
display: block;
margin-bottom: 8px;
}
.feedback-header h2 {
font-family: 'Playfair Display', Georgia, serif;
font-size: 30px;
color: #010a26;
font-weight: 600;
margin: 0 0 12px 0;
}
.feedback-header h2 .highlight-red {
font-family: 'Playfair Display', Georgia, serif;
color: #c92127;
}
.feedback-description {
font-size: 14.5px;
font-weight: 500;
color: #64748b;
max-width: 580px;
margin: 0 auto;
line-height: 1.5;
}

/* Card Wrapper */
.feedback-card {
background-color: #ffffff;
border-radius: 20px;
padding: 45px 50px;
box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
}

/* Inputs Grid */
.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 28px;
margin-bottom: 35px;
}
.form-group {
display: flex;
flex-direction: column;
gap: 8px;
}
.form-group label {
font-size: 14px;
font-weight: 700;
color: #0b1a4a;
}
.form-group input {
width: 100%;
padding: 14px 18px;
background-color: #f8fafc;
border: 1px solid #d2ddeb;
border-radius: 8px;
font-size: 14px;
color: #1e293b;
outline: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input::placeholder {
color: #94a3b8;
}
.form-group input:focus {
border-color: #cbd5e1;
background-color: #ffffff;
box-shadow: 0 0 0 3px rgba(11, 26, 74, 0.05);
}

/* Form Subheading */
.form-section-title {
font-family: 'Playfair Display', Georgia, serif;
font-size: 16px;           
font-weight: 600;           
color: #0b1a4a;
letter-spacing: 0.5px;     
line-height: 1.6;          
margin-bottom: 20px;
}

/* Matrix Table Styling */
.matrix-table-wrapper {
width: 100%;
overflow-x: auto;
border: 1.5px solid #b8cce6;
border-radius: 12px;
}
.matrix-table {
width: 100%;
border-collapse: collapse;
background-color: #ffffff;
text-align: left;
}
.matrix-table thead tr {
background-color: #f8fafc;
border-bottom: 1px solid #e2e8f0;
}
.matrix-table th {
padding: 18px 20px;
font-size: 14px;
font-weight: 700;
color: #0b1a4a;
}
.col-criteria {
width: 52%;
}
.col-rating {
text-align: center;
width: 12%;
}
.matrix-table tbody tr {
border-bottom: 1px solid #f1f5f9;
}
.matrix-table tbody tr:last-child {
border-bottom: none;
}
.criteria-text {
padding: 16px 20px;
font-size: 13.5px;
font-weight: 500;
color: #334155;
}
.matrix-table td {
vertical-align: middle;
}
.matrix-table td:not(.criteria-text) {
text-align: center;
}

.custom-radio {
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
position: relative;
user-select: none;
}
.custom-radio input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
.radio-mark {
height: 18px;
width: 18px;
background-color: #ffffff;
border: 1px solid #cbd5e1;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
/* HIGH: Increase touch target for accessibility */
.custom-radio {
    min-width: 44px;
    min-height: 44px;
}
.custom-radio:hover input ~ .radio-mark {
border-color: #c92127;
}
.custom-radio input:checked ~ .radio-mark {
border-color: #c92127;
background-color: #ffffff;
}
.custom-radio input:checked ~ .radio-mark::after {
content: '';
width: 8px;
height: 8px;
border-radius: 50%;
background: #c92127;
}

/* Responsive Styles */
@media (max-width: 768px) {
.feedback-card {
    padding: 25px 20px;
}
.form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}
.col-criteria {
    min-width: 180px;
}
.col-rating {
    min-width: 70px;
}
/* CRITICAL: Matrix table - improved mobile scroll with visual hint */
.matrix-table-wrapper {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 0 0 1px #b8cce6;
}
.matrix-table-wrapper::after {
    content: '← Scroll →';
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
}
.matrix-table th {
    padding: 14px 12px;
    font-size: 12px;
}
.matrix-table td {
    padding: 12px;
}
.criteria-text {
    font-size: 13px;
    padding: 12px;
}
/* Scale table mobile layout */
.rating-options-wrapper {
    gap: 25px !important;
    justify-content: space-around !important;
}
}

/* --- COUNSELLOR RATING BOX --- */
.rating-section-title {
margin-top: 35px;
}
.counsellor-rating-box {
border: 1.5px solid #b8cce6;
border-radius: 12px;
padding: 45px 40px;         
background-color: #ffffff;
margin-bottom: 35px;
}

.rating-options-wrapper {
display: flex;
gap: 65px;                  
align-items: center;
}

.rating-num {
font-size: 16px;        
font-weight: 700;
color: #0b1a4a;
}

.rating-col {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
}

.scale-table-wrapper {
margin-bottom: 35px;
}
.col-scale {
text-align: center;
width: 9%;
font-size: 14px;
font-weight: 700;
color: #0b1a4a;
}

/* --- TEXT FEEDBACK INPUTS --- */
.text-feedback-group {
display: flex;
flex-direction: column;
gap: 24px;
margin-bottom: 35px;
}
.text-feedback-group label {
font-size: 14px;
font-weight: 700;
color: #0b1a4a;
}

.text-feedback-group textarea.large-textarea {
width: 100%;
min-height: 110px;         
padding: 14px 18px;
background-color: #f8fafc;
border: 1px solid #d2ddeb;
border-radius: 8px;
font-size: 14px;
font-family: 'Plus Jakarta Sans', sans-serif;
color: #1e293b;
outline: none;
resize: vertical;          
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.text-feedback-group textarea.large-textarea::placeholder {
color: #94a3b8;
}

.text-feedback-group textarea.large-textarea:focus {
border-color: #cbd5e1;
background-color: #ffffff;
box-shadow: 0 0 0 3px rgba(11, 26, 74, 0.05);
}

/* --- SUBMIT BUTTON STYLING  */
.form-submit-wrapper {
margin-top: 10px;
text-align: left;
}
.submit-feedback-btn {
background-color: #c92127;
color: #ffffff;
border: none;
font-size: 14px;
font-weight: 600;
padding: 12px 24px;
border-radius: 6px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
box-shadow: 0 4px 14px rgba(201, 33, 39, 0.3);
transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.submit-feedback-btn:hover {
background-color: #b01b20;
transform: translateY(-1px);
box-shadow: 0 6px 18px rgba(201, 33, 39, 0.4);
}
.submit-feedback-btn svg {
stroke: #ffffff;
}

/* Mobile responsiveness adjustments */
@media (max-width: 768px) {
.rating-options-wrapper {
    gap: 25px;
    justify-content: space-between;
}
.col-scale {
    min-width: 50px;
}
.hero-container { padding: 10px 20px; }
.counsellor-rating-box { padding: 30px 20px; }
/* MODERATE: Hero height and button sizing */
.hero-section {
    height: auto;
    min-height: 300px;
    padding-bottom: 40px;
}
.review-btn {
    max-width: 200px;
    padding: 12px 20px;
    font-size: 13px;
}
}

@media (max-width: 480px) {
    .qr-grid {
        gap: 16px;
    }

    .hero-container {
        padding: 10px 16px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .rating-options-wrapper {
        gap: 18px;
    }

    .counsellor-rating-box {
        padding: 24px 16px;
    }

    .review-btn {
        max-width: 180px;
        padding: 10px 16px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .qr-grid {
        gap: 12px;
    }

    .qr-item {
        padding: 14px;
    }

    .qr-item h4 {
        font-size: 12px;
    }

    .qr-item p {
        font-size: 11px;
    }

    .hero-container {
        padding: 10px 12px;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 12px;
    }

    .hero-section {
        min-height: 240px;
        padding-bottom: 32px;
    }

    .rating-options-wrapper {
        gap: 14px;
    }

    .col-scale {
        min-width: 40px;
        font-size: 12px;
    }

    .counsellor-rating-box {
        padding: 20px 14px;
    }

    .counsellor-rating-box h3 {
        font-size: 16px;
    }

    .counsellor-rating-box p {
        font-size: 12px;
    }

    .review-btn {
        max-width: 160px;
        padding: 9px 14px;
        font-size: 11px;
    }
}