/* ================================
   Talent Loop - Main Stylesheet
   ================================ */

/* General Styles */
body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #495057;
    background-color: #FDFDFD;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* ================================
   NAVBAR
   ================================ */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: 51px;
    margin-right: 0.5rem;
}

.logo-svg {
    margin-right: 0.5rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: #007BFF;
}

.cta-link {
    background-color: #007BFF;
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-link:hover {
    background-color: #0056b3;
    color: #fff !important;
}

/* Hamburger — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
}

.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.accent {
    color: #28A745;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.8);
    border-bottom: 2px solid rgba(255,255,255,0.8);
    transform: rotate(45deg);
    animation: bounceDown 1.4s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%       { transform: rotate(45deg) translateY(5px); }
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background-color: #007BFF;
    color: #fff;
    border-color: #007BFF;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* ================================
   FEATURES / STATS / CTA SECTIONS
   ================================ */
.features, .stats, .cta-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Features */
.features {
    color: #fff;
}

.features .section-header h2,
.features .section-header p,
.features .feature-card h3,
.features .feature-card p {
    color: #fff;
}

.features::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?q=60&w=1920&fm=webp&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    /* FIX: was background-attachment: fixed — causes massive mobile repaint */
    background-attachment: scroll;
    z-index: -1;
    will-change: transform;
}

.features::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: -1;
}

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

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

/* Stats */
.stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1557682250-33bd709cbe85?q=60&w=1920&fm=webp&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    /* FIX: was background-attachment: fixed */
    background-attachment: scroll;
    z-index: -1;
    will-change: transform;
}

.stats::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: -1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-top: 0.25rem;
}

/* CTA */
.cta-section {
    color: #fff;
    text-align: center;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?q=60&w=1920&fm=webp&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    /* FIX: was background-attachment: fixed */
    background-attachment: scroll;
    z-index: -1;
    will-change: transform;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: -1;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background-color: #007BFF;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer .logo-text {
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer p {
    color: rgba(255,255,255,0.9);
}

.footer-col h3,
.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255,255,255,0.9);
}

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

.footer-contact p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.4rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: #fff;
}

/* ================================
   PAGE HERO (About, Contact, etc.)
   ================================ */
.page-hero {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   SHARED FORM ELEMENTS
   ================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #dde2ed;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.form-group input[type="file"] {
    padding: 0.5rem;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.12);
}

.form-group select:disabled {
    background: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
}

.form-group small {
    display: block;
    color: #999;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* ================================
   CONTACT PAGE
   ================================ */
.contact-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a2b5f;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #1a2b5f;
    margin: 0 0 0.25rem;
}

.contact-text p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-text a {
    color: #007BFF;
}

.contact-form-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 2.5rem;
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a2b5f;
    margin-bottom: 1.5rem;
}

/* FAQ */
.faq-section {
    padding: 5rem 0;
    background: #fff;
}

.faq-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a2b5f;
    text-align: center;
    margin-bottom: 3rem;
}

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

.faq-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 4px solid #007BFF;
}

.faq-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: #1a2b5f;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ================================
   ASSESSMENT PAGE
   ================================ */
.assessment-section {
    padding: 4rem 0 6rem;
    min-height: calc(100vh - 80px);
    background: #f0f4f8;
}

.personal-info-form,
.assessment-intro,
.assessment-container,
.assessment-complete {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.09);
    padding: 3rem 3.5rem;
}

.intro-text {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Assessment intro */
.assessment-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: #f0f4f8;
    border-radius: 10px;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #007BFF;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2b5f;
    margin: 0 0 0.25rem;
}

.benefit-text p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007BFF, #0056b3);
    border-radius: 99px;
    transition: width 0.4s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 2rem;
}

/* Question slides */
.question-slide {
    display: none;
}

.question-slide.active {
    display: block;
}

.question-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a2b5f;
    margin-bottom: 1.75rem;
    line-height: 1.35;
    text-align: center;
}

/* Option cards */
.question-options {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid #dde2ed;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.option-card:hover {
    border-color: #007BFF;
    background: #f0f7ff;
}

.option-card input[type="radio"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #007BFF;
    cursor: pointer;
}

.option-card:has(input:checked) {
    border-color: #007BFF;
    background: #f0f7ff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.option-title {
    font-weight: 700;
    color: #1a2b5f;
    font-size: 0.95rem;
}

.option-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.4;
}

/* Navigation buttons */
.question-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Priority / Q10 */
.priority-info {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #cce0ff;
}

.priority-badge {
    display: inline-block;
    background: #007BFF;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.priority-description {
    color: #333;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.priority-benefits {
    background: #fff;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.priority-benefits h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a2b5f;
    margin-bottom: 0.5rem;
}

.priority-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.priority-benefits li {
    font-size: 0.9rem;
    color: #333;
    padding: 0.2rem 0;
}

.verification-note {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.priority-option {
    border-color: #007BFF;
    background: #f0f7ff;
}

.verification-options {
    margin-top: 0;
}

/* Completion */
.assessment-complete {
    text-align: center;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.assessment-complete h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a2b5f;
    margin-bottom: 1rem;
}

/* Address autocomplete */
.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #dde2ed;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f0f7ff;
    color: #007BFF;
}

/* ================================
   MODAL
   ================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover { color: #333; }

.modal-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.modal-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a2b5f;
    margin: 0;
}

.modal-body {
    color: #555;
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.modal-highlight {
    background: #f0f7ff;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 1px solid #cce0ff;
    color: #1a2b5f;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   TEAM & TESTIMONIALS
   ================================ */
.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    border: 3px solid #007BFF;
    flex-shrink: 0;
}

.member-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.testimonial-author-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #007BFF;
}

.testimonial-author-img img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-section {
    margin-bottom: 4rem;
    text-align: center;
}

.team-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

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

.team-member {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover { transform: translateY(-5px); }

.team-member h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.member-title {
    color: #007BFF;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.member-bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.testimonials-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.testimonial-rating {
    color: #f5a623;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    color: #555;
    font-style: italic;
    font-size: 0.98rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1.25rem;
}

.testimonial-author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.2rem;
}

.testimonial-author-info p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

/* ================================
   ABOUT PAGE
   ================================ */
.about-content { padding: 5rem 0; }

.content-block {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.content-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mv-card {
    background: #f8f9fa;
    border-left: 4px solid #007BFF;
    padding: 2rem;
    border-radius: 8px;
}

.mv-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #007BFF;
    margin-bottom: 1rem;
}

.values-section {
    margin-bottom: 4rem;
    text-align: center;
}

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

.value-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
}

.value-item:hover { transform: translateY(-5px); }

.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.value-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    /* Hero image served by <picture> element — see index.html */

    /* Mobile nav */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
        padding: 1rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu li a {
        display: block;
        padding: 0.75rem 2rem;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Layout */
    .hero-title { font-size: 3rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .mission-vision { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .page-title { font-size: 2rem; }

    /* Assessment */
    .personal-info-form,
    .assessment-intro,
    .assessment-container,
    .assessment-complete {
        padding: 2rem 1.5rem;
    }

    .question-title { font-size: 1.2rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-container { padding: 1.5rem; }
    .modal-content { padding: 1.75rem 1.5rem; }
    .modal-actions { flex-direction: column; }

    /* FIX: Completely disable fixed backgrounds on mobile
       background-attachment:fixed forces full-page repaints on scroll
       which destroys LCP and Speed Index on mobile */
    .features::before,
    .stats::before,
    .cta-section::before {
        background-attachment: scroll;
        background-size: cover;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 2rem; }
}
