
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    color: #333;
    min-height: 100vh;
    overflow-x: hidden; /* Fix horizontal scroll on mobile */
}

/* Container - Remove default padding */
.container {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
    /* overflow: hidden; Removed to prevent clipping of chart labels */
}

/* Banner Fix for Mobile */
.banner-full-width {
    display: block;
    width: 100%;
    overflow: hidden; 
    height: auto; 
    min-height: 400px; /* Reduced minimum height */
    max-height: none; 
    position: relative;
    margin-top: -5px; 
}

.banner-full-width img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Reverted to cover to fill width */
    object-position: center; 
}

/* Framework Details Section (Accordion Style) */
.framework-accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.framework-accordion-item {
    background: #ffffff;
    margin-bottom: 20px; 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    border: 1px solid #eee;
    overflow: visible; /* Changed to visible to fix clipping issues if any */
    transition: all 0.3s ease;
    border-left: 6px solid transparent; 
}

.framework-accordion-item:nth-child(1) { border-left-color: #e8491d; }
.framework-accordion-item:nth-child(2) { border-left-color: #00bcd4; }
.framework-accordion-item:nth-child(3) { border-left-color: #9370DB; }
.framework-accordion-item:nth-child(4) { border-left-color: #0097a7; }
.framework-accordion-item:nth-child(5) { border-left-color: #ffc107; }
.framework-accordion-item:nth-child(6) { border-left-color: #28a745; }
.framework-accordion-item:nth-child(7) { border-left-color: #17a2b8; }
.framework-accordion-item:nth-child(8) { border-left-color: #6c757d; }

.framework-accordion-header {
    width: 100%;
    background: #fff;
    border: none;
    padding: 25px 30px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s;
    border-radius: 12px 12px 0 0; /* Rounded top only */
}

.framework-accordion-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-content i {
    font-size: 24px;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Match icon colors to border */
.framework-accordion-item:nth-child(1) i { color: #e8491d; }
.framework-accordion-item:nth-child(2) i { color: #00bcd4; }
.framework-accordion-item:nth-child(3) i { color: #9370DB; }
.framework-accordion-item:nth-child(4) i { color: #0097a7; }
.framework-accordion-item:nth-child(5) i { color: #ffc107; }
.framework-accordion-item:nth-child(6) i { color: #28a745; }
.framework-accordion-item:nth-child(7) i { color: #17a2b8; }
.framework-accordion-item:nth-child(8) i { color: #6c757d; }

.framework-accordion-item:hover i {
    transform: scale(1.2);
}

.header-content h3 {
    margin: 0;
    font-size: 1.4rem; /* Larger title */
    color: #2c3e50;
    font-weight: 700; /* Bold title */
    letter-spacing: 0.5px;
}

.toggle-icon {
    font-size: 24px;
    font-weight: bold;
    color: #ccc;
    transition: transform 0.3s ease, color 0.3s;
}

/* Active State */
.framework-accordion-item.active {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.framework-accordion-item.active .toggle-icon {
    transform: rotate(45deg);
    color: #333;
}

.framework-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out; 
    background: #f9f9f9; 
    width: 100%; /* Ensure full width */
    box-sizing: border-box; /* Include padding in width */
    border-radius: 0 0 12px 12px; /* Rounded bottom */
}

.framework-accordion-item.active .framework-accordion-content {
    padding: 0 25px 25px 70px; /* Indent to align with text */
}

.framework-accordion-content p {
    margin: 0;
    color: #4a5568; 
    line-height: 1.8; 
    font-size: 1.05rem; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 25px 30px 30px 30px; /* Reduced left padding to fix cut-off */
    background: transparent; 
    border-top: 1px solid #eee; 
    width: 100%; /* Ensure text container fills width */
    box-sizing: border-box; /* Prevent overflow */
}

/* Entrance Animation */
.framework-accordion-item {
    animation: fadeInUp 0.5s ease-out backwards;
}
.framework-accordion-item:nth-child(1) { animation-delay: 0.1s; }
.framework-accordion-item:nth-child(2) { animation-delay: 0.15s; }
.framework-accordion-item:nth-child(3) { animation-delay: 0.2s; }
.framework-accordion-item:nth-child(4) { animation-delay: 0.25s; }
.framework-accordion-item:nth-child(5) { animation-delay: 0.3s; }
.framework-accordion-item:nth-child(6) { animation-delay: 0.35s; }
.framework-accordion-item:nth-child(7) { animation-delay: 0.4s; }
.framework-accordion-item:nth-child(8) { animation-delay: 0.45s; }

/* Enhanced Cards/Containers for better contrast against background */
.hero-section, 
.audience-card, 
.process-step,
.option-card, 
.faq-item,
#pdf-content,
#structure-details,
#question-screen .container {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1) !important;
}

/* Specific colorful accents for containers */
.hero-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(232, 244, 255, 0.9) 100%) !important;
    border-top: 5px solid #e8491d;
}

.audience-card {
    border-top: 5px solid #00bcd4 !important;
}

.process-step {
    border-bottom: 5px solid #0097a7 !important;
}

/* Process step numbering colors */
.process-step:nth-child(1) .step-number { background: #e8491d !important; }
.process-step:nth-child(2) .step-number { background: #00bcd4 !important; }
.process-step:nth-child(3) .step-number { background: #9370DB !important; }

/* FAQ styling updates */
.faq-question {
    background: linear-gradient(to right, #ffffff, #f4f6f9);
    border-left: 5px solid #00bcd4;
}

/* Diagnostic card styling */
.option-card {
    border-left: 5px solid #ddd;
}
.option-card:hover {
    border-left-color: #00bcd4;
}
.option-card.selected {
    border-left-color: #00bcd4;
    background: linear-gradient(to right, #e0f7fa, #ffffff);
}

/* Animated Background Shapes */
body::before {
    content: '';
    position: fixed;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: linear-gradient(to right, #ffafbd, #ffc3a0);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatShape 20s infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    bottom: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: linear-gradient(to left, #2193b0, #6dd5ed);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.3;
    animation: floatShape 25s infinite alternate-reverse;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(20deg); }
}

/* Header */
header {
    background: linear-gradient(135deg, #FFB6C1 0%, #9370DB 100%);
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #dda0dd 3px solid;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    transition: color 0.3s ease;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

/* Header container with explicit padding for alignment */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header #branding {
    float: none;
    margin: 0;
    animation: slideInLeft 0.8s ease-out;
}

/* Branding Logo Scale */
header #branding h1 a {
    margin: 0;
    padding: 0;
    font-size: 32px !important; /* Restored to original size */
    display: inline-block;
    vertical-align: middle;
}

header #branding img {
    max-height: 35px; /* Kept small as requested */
    width: auto;
    vertical-align: middle;
    margin-right: 10px; /* Add spacing between icon and text */
}

header nav {
    float: none;
    margin-top: 0;
    animation: slideInRight 0.8s ease-out;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* FAQ Accordion Styles */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.faq-item {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.faq-question {
    background-color: #fff;
    color: #333;
    padding: 25px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #f8f9fa;
    color: #e8491d;
}

.faq-question.active {
    background-color: #f0f8ff;
    color: #00bcd4;
    border-bottom: 1px solid #e0e0e0;
}

.faq-question::after {
    content: '+';
    color: #e8491d;
    font-weight: bold;
    float: right;
    margin-left: 5px;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
    color: #00bcd4;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: #fff;
}

.faq-answer p {
    margin: 20px 0;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

.faq-question.active + .faq-answer {
    padding-bottom: 10px;
}

header .highlight, header .current a {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    border-bottom: 2px solid white;
}

header a:hover {
    color: #f0f0f0;
    font-weight: bold;
    transform: scale(1.05);
}

/* Showcase */
#showcase {
    min-height: 400px;
    background: url('Images/workshapebanner.png') no-repeat center center;
    background-size: cover;
    text-align: center;
    color: #ffffff;
}

#showcase h1 {
    margin-top: 100px;
    font-size: 55px;
    margin-bottom: 10px;
}

#showcase p {
    font-size: 20px;
}

/* Newsletter */
#newsletter {
    padding: 15px;
    color: #ffffff;
    background: #35424a;
}

#newsletter h1 {
    float: left;
}

#newsletter form {
    float: right;
    margin-top: 15px;
}

#newsletter input[type="email"] {
    padding: 4px;
    height: 25px;
    width: 250px;
}

.button_1 {
    height: 38px;
    background: #e8491d;
    border: 0;
    padding-left: 20px;
    padding-right: 20px;
    color: #ffffff;
}

/* Boxes */
#boxes {
    margin-top: 20px;
}

#boxes .box {
    float: left;
    text-align: center;
    width: 30%;
    padding: 10px;
}

#boxes .box img {
    width: 90px;
}

/* Sidebar */
aside#sidebar {
    float: right;
    width: 30%;
    margin-top: 10px;
}

aside#sidebar .quote input, aside#sidebar .quote textarea {
    width: 90%;
    padding: 5px;
}

/* Main-col */
article#main-col {
    float: left;
    width: 65%;
}

/* Main content container - add padding for content areas */
.container:not(header .container):not(footer .container) {
    padding: 0 20px;
}

/* Footer */
footer {
    padding-top: 40px;
    margin-top: 20px;
    color: #ffffff;
    background-color: #00bcd4;
    text-align: left;
    border-top: 3px solid #0097a7;
}

/* Footer container with explicit padding */
footer .container {
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-col:first-child {
    padding-left: 0;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: none;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Social Icons */
.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    background-color: #3b5998;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s, background-color 0.3s;
}

.social-icons a:hover {
    transform: translateY(-5px) rotate(360deg);
}

.social-icons a.fa-facebook-f { background-color: #3b5998; }
.social-icons a.fa-x-twitter { background-color: #000; }
.social-icons a.fa-youtube { background-color: #c4302b; }
.social-icons a.fa-instagram { background-color: #E1306C; }
.social-icons a.fa-linkedin-in { background-color: #0077b5; }
.social-icons a.fa-tiktok { background-color: #000; }


/* Contact Info */
.contact-info div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 15px;
    margin-top: 5px;
    font-size: 16px;
}

/* Facebook Plugin Placeholder */
.fb-plugin {
    background: #fff;
    color: #333;
    padding: 10px;
    min-height: 200px;
    border-radius: 5px;
}

.fb-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.fb-header img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.fully-booked {
    background-color: #cc0000;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    transform: rotate(-20deg);
    margin-top: 50px;
    border: 2px solid white;
}

/* Copyright */
.copyright {
    text-align: center;
    padding: 15px;
    background-color: #0097a7;
    font-size: 12px;
    border-top: 1px solid #00838f;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    margin-left: 10px;
    font-size: 20px;
}

/* Media Queries Adjustment */
@media(max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    .footer-col {
        margin-bottom: 30px;
        padding: 0;
    }
    header #branding,
    header nav,
    header nav li {
        float: none;
        text-align: center;
        width: 100%;
    }
    header {
        padding-bottom: 20px;
    }
    header .container {
        flex-direction: column;
    }
}

/* Diagnostic Tool Styles */
.screen {
    display: none;
    padding: 20px;
    width: 100%;
    margin: 0 auto;
}

.screen.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.option-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.option-card:hover {
    background: #f0f8ff;
    border-color: #00bcd4;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.option-card.selected {
    background: #e0f7fa;
    border-color: #00bcd4;
    border-width: 2px;
}

.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 20px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    background-color: #00bcd4;
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s;
}

.hidden {
    display: none !important;
}

.alert-box {
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    border-left: 5px solid;
}

#hybrid-alert {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

#misalignment-alert {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}



.nav-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: #00bcd4;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-danger {
    background-color: #dc3545;
}

#tooltip-text {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
    display: block;
    background: #f9f9f9;
    padding: 10px;
    border-left: 3px solid #00bcd4;
}

.chart-container {
    position: relative; 
    min-height: 350px;
    height: 40vh; 
    max-height: 500px;
    width: 100%; 
    max-width: 600px;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas#radarChart {
    max-width: 100%;
    margin: 0 auto;
}

.cta-button-large {
    display: inline-block;
    background: linear-gradient(135deg, #e8491d 0%, #d13f18 100%);
    color: #ffffff !important;
    padding: 18px 40px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(232, 73, 29, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.cta-button-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.cta-button-large:hover::after {
    left: 100%;
}

.cta-button-large:hover {
    background: linear-gradient(135deg, #ff5e3a 0%, #e8491d 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(232, 73, 29, 0.6);
    color: #ffffff;
}

.cta-button-large:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(232, 73, 29, 0.4);
}

/* =========================================
   NEW ANIMATIONS & HOME PAGE STYLES
   ========================================= */

/* Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Hero Section */
.hero-section {
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(135deg, #ffffff 0%, #f4f6f9 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eef2f5;
    transition: transform 0.3s ease;
}

.hero-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Framework Chips */
.framework-chip {
    background: #e8491d;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    margin: 5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    animation: popIn 0.5s forwards;
    display: inline-block;
}

/* Stagger animation delays for chips */
.framework-chip:nth-child(1) { animation-delay: 0.1s; }
.framework-chip:nth-child(2) { animation-delay: 0.2s; }
.framework-chip:nth-child(3) { animation-delay: 0.3s; }
.framework-chip:nth-child(4) { animation-delay: 0.4s; }
.framework-chip:nth-child(5) { animation-delay: 0.5s; }
.framework-chip:nth-child(6) { animation-delay: 0.6s; }
.framework-chip:nth-child(7) { animation-delay: 0.7s; }
.framework-chip:nth-child(8) { animation-delay: 0.8s; }

.framework-chip:hover {
    transform: scale(1.15) rotate(2deg);
    background: #ff5e3a !important; 
    box-shadow: 0 8px 15px rgba(232, 73, 29, 0.4);
    z-index: 10;
}

/* Audience Cards */
.audience-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    background: white;
    position: relative;
    top: 0;
}

.audience-card:hover {
    top: -10px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
    border-color: #e8491d !important;
}

.audience-card i {
    transition: all 0.5s ease;
}

.audience-card:hover i {
    animation: float 2s infinite ease-in-out;
    color: #00bcd4 !important;
    transform: scale(1.2);
}

/* Process Steps */
.process-step {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    color: white !important;
}

.process-step:hover h3, 
.process-step:hover p {
    color: white !important;
}

.process-step:hover::before {
    opacity: 1;
}

.process-step .step-number {
    transition: all 0.5s ease;
}

.process-step:hover .step-number {
    background: white !important;
    color: #00bcd4 !important;
    transform: rotate(360deg) scale(1.2);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* =========================================
   UNIFIED ANALYSIS CARD STYLING
   ========================================= */

/* Reusable Card Class for All Analysis Sections */
.analysis-card {
    width: 100%; /* Fix: Ensure it fills width to avoid empty right space */
    max-width: 100%; /* Override previous 900px limit */
    margin: 25px 0;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    box-sizing: border-box;
}

/* Headings in Analysis Cards */
.analysis-card h3,
.analysis-card h4 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #00bcd4; /* Theme accent color */
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.analysis-card h3:first-child,
.analysis-card h4:first-child {
    margin-top: 0;
}

/* Specific Header Colors for Strengths & Weaknesses */
.analysis-card .strengths-header {
    color: #28a745;
    border-bottom-color: #28a745;
}

.analysis-card .weaknesses-header {
    color: #dc3545;
    border-bottom-color: #dc3545;
}

/* Body Text & Lists */
.analysis-card p, 
.analysis-card li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    list-style: none; /* Remove default bullets as we use chips */
}

/* Sub-labels / Chips (Bold terms) */
.analysis-card b, 
.analysis-card strong {
    display: block; /* Forces a line break */
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 1.15rem;
    color: #00838f;
    font-weight: 700;
    background: linear-gradient(to right, rgba(0, 188, 212, 0.1), transparent);
    padding: 5px 10px;
    border-left: 4px solid #00bcd4;
    border-radius: 0 4px 4px 0;
    width: fit-content;
}

/* Remove top margin for first chip in a block */
.analysis-card p b:first-child,
.analysis-card p strong:first-child,
.analysis-card li b:first-child,
.analysis-card li strong:first-child {
    margin-top: 0;
}

/* Strengths & Weaknesses Grid Layout */
.sw-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.sw-col {
    flex: 1;
    min-width: 300px; /* Ensure columns don't get too narrow */
}

/* Specific styling for list items to ensure spacing */
.analysis-card ul {
    padding: 0;
    margin: 0;
}

.analysis-card li {
    margin-bottom: 25px; /* Spacing between points */
}

/* Adjust Extended Analysis ID to match new class behavior if needed */
#extended-analysis {
    /* Inherit properties via class, specific overrides here if any */
}

/* Print Adjustments */
@media print {
    .analysis-card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    .sw-grid {
        display: block; /* Stack for print */
    }
    .sw-col {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* =========================================
   DETAILED SCORES TABLE ENHANCEMENTS
   ========================================= */

/* Ensure table fits the card style */
#scores-table {
    width: 100%;
    border-collapse: separate; /* Changed from collapse for border-radius */
    border-spacing: 0;
    margin-top: 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden; /* For border radius */
}

#scores-table th, 
#scores-table td {
    padding: 15px; /* Increased padding for breathability */
    text-align: left;
    border-bottom: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
}

#scores-table th:last-child, 
#scores-table td:last-child {
    border-right: none;
}

#scores-table tr:last-child td {
    border-bottom: none;
}

#scores-table th {
    background-color: #00bcd4;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Zebra striping for better readability */
#scores-table tr:nth-child(even) {
    background-color: #f9fbfd;
}

#scores-table tr:hover {
    background-color: #f0f8ff;
    transition: background-color 0.2s ease;
}

/* Score styling */
#scores-table td:last-child {
    font-weight: 700;
    color: #00838f;
    text-align: center; /* Center the scores */
}

#scores-table th:last-child {
    text-align: center;
}
