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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --success: #06d6a0;
    --warning: #ffd60a;
    --danger: #f72585;
    --dark: #0f0f23;
    --dark-card: #1a1a2e;
    --dark-lighter: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle, #0F3276 0%, #0F2143 100%);
    background-attachment: scroll;
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 60px 20px 40px;
}

.header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.header p {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.sticky-progress {
    position: sticky;
    height: 18px;
    top: 0;
    z-index: 100;
    background: rgba(15, 50, 118, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(20px);
    padding: 6px;
}

.progress-section {
    max-width: 1060px;
    margin: 0 auto;
}

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

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%);
    background-size: 20px 20px;
    animation: progress-shine 2s infinite linear;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--success), var(--primary));
    border-radius: 100px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progress-glow 2s infinite ease-in-out;
}

@keyframes progress-glow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.progress-text {
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    display: none;
    justify-content: space-between;
    align-items: center;
}

.progress-step {
    font-size: 0.9rem;
    opacity: 0.8;
}

.main-card {
    background: rgba(15, 50, 118, 0.2);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.category {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    position: relative;
    background: transparent;
    will-change: transform, opacity;
}

.category.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 16px;
}

.category-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.category-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 8px;
}

.question {
    margin-bottom: 32px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.question.answered {
    border-color: rgba(6, 214, 160, 0.3);
    background: rgba(6, 214, 160, 0.05);
}

.question-text {
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-size: 1.2rem;
    line-height: 1.4;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: all 0.3s ease;
}

.option.high::before { background: var(--success); }
.option.medium::before { background: var(--warning); }
.option.low::before { background: var(--danger); }

.option:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.option.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 16px;
    accent-color: var(--primary);
    transform: scale(1.2);
}

.option-label {
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    font-size: 1rem;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    flex: 1;
    margin: 0 8px;
    max-width: 300px;
    transform: translateZ(0);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.nav-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.5;
}

.nav-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.complete-btn {
    background: linear-gradient(135deg, var(--success), #059669);
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.3);
}

.complete-btn:hover {
    box-shadow: 0 12px 35px rgba(6, 214, 160, 0.4);
}

/* 3. Risk Message - Reference (no changes needed) */
.risk-message {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 0 24px 0;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.5;
    text-align: center;
    transition: all 0.3s ease;  /* REFERENCE */
}

/* Add hover effect matching category-detail-card */
.risk-message:hover {
    transform: translateX(4px);  /* REFERENCE */
    background: rgba(255, 255, 255, 0.12);  /* REFERENCE */
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);  /* REFERENCE */
}

.category-breakdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 16px 0 20px 0;
}

.cta-section {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
    margin-top: 24px;
    padding: 20px 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

/* SECONDARY CTA = Expert Call (Purple) - Second/Bottom */
.cta-secondary {
    order: 3;
    text-align: center;
    margin-bottom: 0;
}

.cta-secondary::before {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 16px;
    font-weight: 500;
    color: #8b5cf6;
}

.cta-secondary h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cta-secondary p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-secondary::after {
    content: "💼 30-minute consultation • Immediate recommendations";
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 12px;
    font-weight: 400;
    font-style: italic;
}

.cta-divider {
    order: 2;
    text-align: center;
    margin: 16px 0;
    position: relative;
}

.cta-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.cta-divider span {
    background: rgba(99, 102, 241, 0.15);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.cta-primary {
    order: 1;
    text-align: center;
    margin-bottom: 8px;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
}

.cta-primary h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    opacity: 0.9;
}

.cta-primary p {
    opacity: 0.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.cta-button {
    display: inline-block;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0px;
}

/* SECONDARY CTA BUTTON = Expert Call (Purple) */
.cta-button.secondary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    border: none;
}

.cta-button.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px rgba(99, 102, 241, 0.5);
}

/* PRIMARY CTA BUTTON = Calculator (Orange) */
.cta-button.primary {
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(255, 94, 0, 0.5);
    transition: background 0.3s ease, transform 0.2s ease;
    background: linear-gradient(90deg, #FF5C00, #FF9900);
    border-radius: 12px;
}

.cta-button.primary:hover {
    background: linear-gradient(90deg, #FF4400, #FF8800);
    transform: scale(1.05);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .cta-button {
        display: block;
        width: 100%;
        margin: 8px 0;
    }

    .container {
        padding: 15px;
    }

    .main-card {
        padding: 24px;
        border-radius: 20px;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .category-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .question {
        padding: 20px 16px;
    }

    .option {
        padding: 14px 16px;
    }

    .category-breakdown {
        gap: 8px;
        margin: 16px 0;
    }

    .cta-section {
        padding: 32px 24px;
    }

    .cta-secondary h3 {
        font-size: 1.3rem;
    }

    .cta-primary h3 {
        font-size: 1.1rem;
    }

    .navigation {
        flex-direction: column;
        gap: 16px;
    }

    .nav-btn {
        width: 100%;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .category-breakdown {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: 16px 0;
    }

}

/* Dashboard Layout Styles */

/* 2. Overall Score Header - Updated to match risk-message */
.overall-score-header {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0;
    transition: all 0.3s ease;  /* MATCHES risk-message */
}
/* Add hover effect matching category-detail-card */
.overall-score-header:hover {
    transform: translateX(4px);  /* MATCHES risk-message */
    background: rgba(255, 255, 255, 0.12);  /* MATCHES risk-message */
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);  /* MATCHES risk-message */
}
.score-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    position: relative;
    background: conic-gradient(
        from 0deg,
        var(--danger) 0deg,
        var(--danger) 120deg,
        var(--warning) 120deg,
        var(--warning) 240deg,
        var(--success) 240deg,
        var(--success) 360deg
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    animation: scoreReveal 1s ease-out;
}

@keyframes scoreReveal {
    from {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.score-inner {
    width: 100%;
    height: 100%;
    background: rgba(15, 50, 118, 0.9);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.score-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    animation: countUp 1s ease-out;
}

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

.score-total {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 4px;
}

.score-grade {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.score-grade.high { color: var(--success); }
.score-grade.medium { color: var(--warning); }
.score-grade.low { color: var(--danger); }

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

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

/* Dashboard Grid Layout */
.category-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
    gap: 20px;
    margin: 0px 0;
}

/* Category Details - Left Side */
.category-details {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* 1. Category Detail Card - Updated to match risk-message */
.category-detail-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;  /* MATCHES risk-message */
    animation: slideInLeft 0.6s ease-out;  /* Keep entrance animation */
}

.category-detail-card:nth-child(1) { animation-delay: 0.1s; }
.category-detail-card:nth-child(2) { animation-delay: 0.2s; }
.category-detail-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-detail-card:hover {
    transform: translateX(4px);  /* MATCHES risk-message */
    background: rgba(255, 255, 255, 0.12);  /* MATCHES risk-message */
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);  /* MATCHES risk-message */
}

.category-header-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.category-title-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.category-icon-inline {
    font-size: 1.3rem;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), rgba(139, 92, 246, 0.8));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.category-name-inline {
    font-size: 1rem;
    font-weight: 600;
}

.category-score-inline {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--success), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-progress-inline {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.category-progress-fill-inline {
    height: 100%;
    border-radius: 3px;
    transition: width 1.2s ease 0.5s;
}

.category-status-inline {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

.status-strong {
    background: rgba(6, 214, 160, 0.2);
    color: var(--success);
    border: 1px solid rgba(6, 214, 160, 0.3);
}
.status-moderate {
    background: rgba(255, 214, 10, 0.2);
    color: var(--warning);
    border: 1px solid rgba(255, 214, 10, 0.3);
}
.status-weak {
    background: rgba(247, 37, 133, 0.2);
    color: var(--danger);
    border: 1px solid rgba(247, 37, 133, 0.3);
}

/* Dashboard Results Container */
.dashboard-results {
    animation: slideInUp 0.8s ease-out;
}

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

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .category-dashboard {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 16px;
    }

    .overall-score-header {
        grid-column: 1;
        grid-row: 1;
        padding: 20px;
    }

    .category-details {
        grid-column: 1;
        grid-row: 2;
    }

    .score-circle {
        width: 100px;
        height: 100px;
    }

    .score-number {
        font-size: 2rem;
    }

    .category-detail-card {
        padding: 16px;
    }

    .category-icon-inline {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }

    .category-score-inline {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .overall-score-header {
        padding: 20px;
    }

    .score-circle {
        width: 80px;
        height: 80px;
    }

    .score-number {
        font-size: 1.5rem;
    }

    .category-detail-card {
        padding: 14px;
    }
}

/* -- new mdoal-overlay --/

/* Modal Overlay Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 1100px; /* Match main-card max-width */
    height: 95vh;
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.modal-iframe {
    width: 100%;
    height: calc(95vh - 80px); /* Full height minus header */
    border: none;
    background: white;
    transition: height 0.3s ease;
}

/* Responsive adjustments for mobile */
@media (max-width: 1150px) {
    .modal-content {
        width: 95%;
        max-width: 1100px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 95vh; /* Same 95% height on mobile */
        margin: 0 10px;
    }

    .modal-iframe {
        height: calc(95vh - 80px); /* Consistent with desktop */
    }
}

/* Blur effect for background when modal is open */
body.modal-open .container {
    filter: blur(5px);
    pointer-events: none;
}

body.modal-open {
    overflow: hidden;
}
