@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette - HSL-tailored premium light medical clinical-theme */
    --bg-dark: #f1f5f9;          /* Slate-100 soft clinical background */
    --bg-dark-secondary: #ffffff; /* Pure white for card layers */
    --accent-teal: #0d9488;      /* Deep medical teal */
    --accent-teal-rgb: 13, 148, 136;
    --accent-violet: #6366f1;    /* Healing purple/indigo */
    --accent-violet-rgb: 99, 102, 241;
    --accent-green: #10b981;     /* Compliant status indicator */
    --accent-amber: #f59e0b;     /* Warning/Moderate risk indicator */
    --accent-red: #ef4444;       /* Critical risk indicator */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Semantic Colors */
    --text-primary: #0f172a;     /* Slate-900 high readability body */
    --text-secondary: #475569;   /* Slate-600 secondary descriptors */
    --text-muted: #64748b;       /* Slate-500 muted text */
    
    /* Layout & UI */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(13, 148, 136, 0.08);
    --glass-border-hover: rgba(13, 148, 136, 0.25);
    --glass-shadow: 0 10px 30px 0 rgba(15, 23, 42, 0.04);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1280px;
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.03) 0%, rgba(241, 245, 249, 0) 50%),
                radial-gradient(circle at 0% 100%, rgba(13, 148, 136, 0.03) 0%, rgba(241, 245, 249, 0) 40%),
                var(--bg-dark);
    background-attachment: fixed;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border: 2px solid var(--bg-dark);
    border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal);
}

/* Typography Styling */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-purple {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NAVBAR & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(241, 245, 249, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.02);
}

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

/* Brand Logo with Glowing Medical Pulse Icon */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
}

.logo-pulse-circle {
    width: 16px;
    height: 16px;
    background-color: var(--accent-teal);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 12px var(--accent-teal);
}

.logo-pulse-circle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: 50%;
    animation: medicalPulse 2s infinite ease-out;
}

@keyframes medicalPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.8); opacity: 0; }
}

.logo span {
    color: var(--accent-teal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-violet));
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal) 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.06);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-violet) 0%, #3730a3 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

/* ==========================================================================
   GLASSMORPHIC CARDS & SECTIONS
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.06);
}

.glass-card:hover::before {
    opacity: 1;
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-teal);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-teal);
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-btn-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.badge-item svg {
    color: var(--accent-teal);
    width: 14px;
    height: 14px;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, rgba(241, 245, 249, 0) 70%);
    z-index: 1;
    filter: blur(30px);
}

.hero-graphic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(13, 148, 136, 0.12);
    box-shadow: 0 10px 40px rgba(13, 148, 136, 0.06);
    z-index: 2;
    position: relative;
    background-color: var(--bg-dark-secondary);
}

/* Floating HUD elements for futuristic medical-tech feel */
.floating-hud {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(13, 148, 136, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-sm);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    animation: floatHUD 6s infinite ease-in-out;
}

.hud-1 {
    top: 15%;
    left: -5%;
    animation-delay: 0s;
}

.hud-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 3s;
    border-color: rgba(124, 77, 255, 0.3);
}

@keyframes floatHUD {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hud-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.hud-val {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-teal);
}

/* ==========================================================================
   METRIC BANNER / STATS
   ========================================================================== */
.stat-banner {
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 4rem 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==========================================================================
   CORE SERVICES GRID
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 148, 136, 0.04);
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent-teal);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--accent-teal);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.25);
    border-color: var(--accent-teal);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link svg {
    transition: var(--transition-smooth);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* ==========================================================================
   WHY CHOOSE US / COMPARISON SECTION
   ========================================================================== */
.compare-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
}

.feature-badge {
    width: 32px;
    height: 32px;
    background: rgba(13, 148, 136, 0.06);
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-teal);
}

.feature-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.compliance-lockup {
    position: relative;
    padding: 3rem;
    background: radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.05) 0%, rgba(241, 245, 249, 0) 60%),
                rgba(255, 255, 255, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
}

.lockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lock-shield {
    color: var(--accent-teal);
    width: 48px;
    height: 48px;
}

.lockup-body h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.lockup-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.compliance-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ind-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.ind-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

/* ==========================================================================
   INTERACTIVE SECTOR SELECTOR (index.html)
   ========================================================================== */
.sectors-showcase {
    margin-top: 4rem;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    list-style: none;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: var(--border-radius-sm);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--accent-teal);
    background: rgba(13, 148, 136, 0.05);
    border: 1px solid rgba(13, 148, 136, 0.12);
}

.tab-content-panel {
    display: none;
}

.tab-content-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    animation: panelFadeIn 0.5s ease-out forwards;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.sector-info h3 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.sector-info .tagline {
    color: var(--accent-teal);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sector-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.sector-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.sector-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.sector-points li svg {
    color: var(--accent-teal);
    flex-shrink: 0;
}

.sector-illustration {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.sector-illustration img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.sector-illustration:hover img {
    transform: scale(1.05);
}

.illustration-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0) 0%, rgba(241, 245, 249, 0.95) 100%);
    padding: 2rem;
}

/* ==========================================================================
   COMPLIANCE QUIZ / ASSESSMENT TOOL (compliance.html)
   ========================================================================== */
.assessment-container {
    max-width: 900px;
    margin: 0 auto;
}

.quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    margin-bottom: 3.5rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 16.6%;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-violet));
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.quiz-slide {
    display: none;
}

.quiz-slide.active {
    display: block;
    animation: quizSlideIn 0.4s ease-out forwards;
}

@keyframes quizSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.quiz-question-header {
    margin-bottom: 2.5rem;
}

.quiz-step-indicator {
    font-size: 0.85rem;
    color: var(--accent-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.quiz-question {
    font-size: 1.85rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
}

.option-card:hover {
    border-color: rgba(13, 148, 136, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.option-card.selected {
    border-color: var(--accent-teal);
    background: rgba(13, 148, 136, 0.03);
    box-shadow: 0 0 15px rgba(13, 148, 136, 0.05);
}

.option-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.option-card.selected .option-check {
    border-color: var(--accent-teal);
    background-color: var(--accent-teal);
}

.option-check::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0;
    transition: var(--transition-smooth);
}

.option-card.selected .option-check::after {
    opacity: 1;
}

.option-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.option-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.quiz-nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Assessment Results Dashboard styling */
.results-dashboard {
    display: none;
    animation: panelFadeIn 0.8s ease-out forwards;
}

.results-dashboard.active {
    display: block;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    margin-top: 3rem;
}

.score-panel {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.radial-progress-widget {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
}

.radial-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.radial-bg {
    fill: none;
    stroke: rgba(13, 148, 136, 0.04);
    stroke-width: 8px;
}

.radial-fill {
    fill: none;
    stroke: url(#cyan-violet-gradient);
    stroke-width: 10px;
    stroke-linecap: round;
    stroke-dasharray: 565.48; /* 2 * pi * r (where r = 90) */
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-center-val {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-pct {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.score-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.score-level-badge {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.badge-level-compliant {
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--accent-green);
}
.badge-level-moderate {
    background: rgba(255, 234, 0, 0.08);
    border: 1px solid rgba(255, 234, 0, 0.3);
    color: var(--accent-amber);
}
.badge-level-critical {
    background: rgba(255, 23, 68, 0.08);
    border: 1px solid rgba(255, 23, 68, 0.3);
    color: var(--accent-red);
}

.breakdown-row {
    width: 100%;
    margin-top: 1.5rem;
}

.breakdown-item {
    margin-bottom: 1.25rem;
    text-align: left;
}

.breakdown-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.breakdown-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
}

.breakdown-bar-fill {
    height: 100%;
    background: var(--accent-teal);
    width: 0;
    transition: width 1.2s ease-out;
}

.breakdown-bar-fill.purple {
    background: var(--accent-violet);
}

.recommendations-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.rec-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.rec-item {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    gap: 1rem;
}

.rec-severity-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.severity-critical {
    background-color: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
}

.severity-warning {
    background-color: var(--accent-amber);
    box-shadow: 0 0 8px var(--accent-amber);
}

.rec-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.rec-details p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Print/Audit buttons styling */
.action-group {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   SLA CALCULATOR & CONTACT SECTION (contact.html)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--glass-border);
    padding: 0.85rem 1.2rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 10px rgba(13, 148, 136, 0.15);
    background: #ffffff;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* SLA Dynamic Estimate UI */
.sla-widget {
    background: radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.05) 0%, rgba(241, 245, 249, 0) 60%),
                rgba(255, 255, 255, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 3rem;
}

.sla-widget h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2.5rem;
}

.slider-group {
    position: relative;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.slider-label {
    color: var(--text-secondary);
}

.slider-val {
    color: var(--accent-teal);
}

/* Customizable range slider */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(13, 148, 136, 0.1);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-teal);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-teal);
    transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.toggle-group {
    display: flex;
    flex-direction: column;
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.pill-selector {
    display: flex;
    gap: 0.75rem;
}

.pill-option {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
}

.pill-option.active {
    background: rgba(13, 148, 136, 0.06);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

/* Live SLA output card */
.estimate-output-box {
    text-align: center;
    background: rgba(241, 245, 249, 0.6);
    border: 1px dashed rgba(13, 148, 136, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 2rem;
}

.est-sla-val {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent-teal);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.est-sla-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.est-tier-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.est-tier-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 1.25rem 0 2rem 0;
    max-width: 280px;
}

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

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--accent-teal);
    color: #ffffff;
    border-color: var(--accent-teal);
    box-shadow: 0 0 15px rgba(13, 148, 136, 0.35);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--accent-teal);
    padding-left: 4px;
}

.footer-contact-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-contact-item svg {
    flex-shrink: 0;
    transition: transform var(--transition-smooth);
}

.footer-contact-item:hover svg {
    transform: scale(1.1);
}

.footer-contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-smooth);
}

.footer-contact-item a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-link:hover {
    color: var(--text-secondary);
}

/* ==========================================================================
   ANIMATIONS & SCROLL-TRIGGERED TRANSITIONS
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.stagger-parent > .fade-in {
    transition-delay: calc(var(--item-index, 0) * 0.15s);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .section { padding: 6rem 0; }
    .section-title { font-size: 2.25rem; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title { font-size: 3rem; }
    .hero-subtitle { margin: 0 auto 2rem auto; }
    .hero-btn-group { justify-content: center; }
    .badge-row { justify-content: center; }
    
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .compare-container { grid-template-columns: 1fr; gap: 3rem; }
    .tab-content-panel.active { grid-template-columns: 1fr; gap: 2.5rem; }
    
    .dashboard-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    
    .hamburger { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--glass-border);
    }
    
    .nav-menu.open { left: 0; }
    
    .services-grid { grid-template-columns: 1fr; }
    .tabs-nav { flex-wrap: wrap; }
    .tab-btn { font-size: 0.9rem; padding: 0.5rem 1rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-bottom-links { justify-content: center; flex-wrap: wrap; }
    
    .action-group { flex-direction: column; }
}

/* Print Styles for Assessment Report */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    .header, .footer, .quiz-nav-footer, .action-group, .quiz-progress-bar {
        display: none !important;
    }
    .glass-card {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important;
    }
    .results-dashboard {
        display: block !important;
    }
    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    .score-level-badge {
        border: 1px solid black !important;
        color: black !important;
        background: transparent !important;
    }
}
