/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #CFB53B;
    --accent-color: #5e5c53;
    --light-gray: #f5f7fa;
    --mid-gray: #e0e6ed;
    --dark-gray: #7f8c8d;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --dropdown-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --dropdown-bg: rgba(255, 255, 255, 0.95);
    --dropdown-border: rgba(44, 62, 80, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-color);
    background-color: #f9f9f9;
    line-height: 1.6;
}

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

button, .btn {
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
}

/* ===== PROFESSIONAL DROPDOWN NAVIGATION ===== */
.config-navigation {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
    border-radius: 12px;
    box-shadow: var(--dropdown-shadow);
    margin-bottom: 30px;
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid var(--dropdown-border);
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    max-width: none;
    flex: 1;
}

.nav-item {
    position: relative;
    flex: 1 1 0;
}

.nav-link {
    display: block;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    background: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    border-radius: 8px;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    transform: translateZ(0);
    white-space: nowrap !important;
}

.nav-link:hover {
    background: linear-gradient(135deg, var(--secondary-color), #d4c441);
    color: var(--white);
    transform: translateY(-1px);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--secondary-color), #d4c441);
    color: var(--white);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link::after {
    content: '▼';
    margin-left: 8px;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-item:hover .nav-link::after {
    transform: rotate(180deg);
}

/* Professional Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dropdown-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--dropdown-border);
    border-radius: 12px;
    box-shadow: var(--dropdown-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    margin-top: 8px;
    overflow: visible;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding: 16px;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
    gap: 12px;
}

.dropdown-option {
    padding: 14px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(44, 62, 80, 0.08);
    text-align: center;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.dropdown-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(207, 181, 59, 0.2), transparent);
    transition: left 0.5s;
}

.dropdown-option:hover::before {
    left: 100%;
}

.dropdown-option:hover {
    background: linear-gradient(135deg, var(--secondary-color), #d4c441);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 181, 59, 0.3);
}

.dropdown-option.selected {
    background: linear-gradient(135deg, var(--secondary-color), #d4c441);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(207, 181, 59, 0.4);
}

/* Special styling for different dropdown types */
.size-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.size-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: var(--transition);
}

.size-option:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateX(4px);
}

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

.wall-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 400px;
}

.selection-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-align: center;
}

/* Wall Position Selection */
.wall-position-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.wall-position-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.wall-position-option:hover {
    background: linear-gradient(135deg, var(--secondary-color), #d4c441);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 181, 59, 0.3);
}

.wall-position-option.selected {
    background: linear-gradient(135deg, var(--secondary-color), #d4c441);
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(207, 181, 59, 0.4);
}

.wall-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.wall-position-option span {
    font-size: 13px;
    font-weight: 500;
}

/* Wall Type Selection */
.wall-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.wall-type-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.wall-type-option:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-1px);
}

.wall-type-option.selected {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.wall-preview {
    width: 30px;
    height: 20px;
    background: linear-gradient(45deg, #ddd, #f0f0f0);
    border-radius: 3px;
    margin-bottom: 6px;
    border: 1px solid #ccc;
}

.wall-type-option span {
    font-size: 12px;
    font-weight: 500;
}

/* Wall Actions */
.wall-actions {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.remove-wall-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-wall-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
}

/* Smooth reveal animation for wall type selection */
.wall-type-selection {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.wall-type-selection.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.color-option:hover .color-swatch {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.color-name {
    font-size: 0.8rem;
    font-weight: 500;
}

#light-control-container {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

#rotary-track {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#rotary-handle {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background-color: #36454F;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    cursor: pointer;
    transform-origin: 8px 48px;
}

#sun-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: sun-glow 2s infinite ease-in-out;
    pointer-events: none;
    z-index: 5;
}

@keyframes sun-glow {
    0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.8); }
    50% { text-shadow: 0 0 15px rgba(255, 215, 0, 1); }
    100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.8); }
}

#angle-display {
    margin-top: 10px;
    padding: 4px 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Courier New', Courier, monospace;
}

/* ===== VISUALIZATION AND CONTENT LAYOUT ===== */
.visualization-and-content {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

#visualization-area {
    flex: 2;
    position: relative;
    height: 500px;
    background: linear-gradient(to bottom, #87CEEB, #2c3e50);
    border-radius: 15px;
    box-shadow: var(--dropdown-shadow);
    overflow: hidden;
}

#scene-canvas {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    z-index: 1;
}

.side-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#louvre-controls-wrapper {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.louvre-control-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 500;
}

.louvre-control-value button {
    background: rgba(44, 62, 80, 0.1);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.louvre-control-value button:hover {
    background: rgba(44, 62, 80, 0.2);
}

/* ===== PROCESS STEPS ===== */
.process-steps {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    padding: 0 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 20%;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-gray), var(--mid-gray));
    color: var(--dark-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
    border: 2px solid var(--mid-gray);
    transition: var(--transition);
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--secondary-color), #d4c441);
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(207, 181, 59, 0.4);
}

.step-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.step.active .step-text {
    color: var(--secondary-color);
    font-weight: 600;
}

.step::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--mid-gray), transparent);
    z-index: -1;
}

.step:last-child::after {
    display: none;
}

.description-section {
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--dropdown-shadow);
    border: 1px solid var(--dropdown-border);
}

.description-section h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.side-panel-container {
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--dropdown-shadow);
    border: 1px solid var(--dropdown-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-header {
    text-align: center;
    margin-bottom: 25px;
}

.info-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.info-subtitle {
    font-size: 1rem;
    color: var(--dark-gray);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    transition: var(--transition);
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(207, 181, 59, 0.1);
    background: var(--white);
}

.form-group textarea {
    resize: none;
    height: 90px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(94, 92, 83, 0.3);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), #d4c441);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 181, 59, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--mid-gray);
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.company-info {
    max-width: 60%;
    font-weight: 500;
}

.contact-info {
    text-align: right;
    font-weight: 600;
    color: var(--secondary-color);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .visualization-and-content {
        flex-direction: column;
    }

    .side-content {
        flex-direction: row;
        gap: 30px;
    }

    .description-section,
    .customer-info {
        flex: 1;
    }
}

.spinner-input.input-error {
    border: 1.5px solid #e74c3c;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.5);
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

#hangar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hangar-door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #1a1a1a;
    transition: transform 1.2s cubic-bezier(0.86, 0, 0.07, 1);
}

.hangar-door.left {
    left: 0;
}

.hangar-door.right {
    right: 0;
}

#hangar-overlay.hangar-open .hangar-door.left {
    transform: translateX(-100%);
}

#hangar-overlay.hangar-open .hangar-door.right {
    transform: translateX(100%);
}

.hangar-content {
    position: relative;
    z-index: 10000;
    color: #fff;
    text-align: center;
    transition: opacity 0.5s ease;
}

#hangar-overlay.hangar-open .hangar-content {
    opacity: 0;
}

.boot-logo {
    width: 150px;
    margin-bottom: 20px;
    animation: pulse 2s infinite ease-in-out;
}

.boot-status {
    display: flex;
    align-items: center;
    justify-content: center;
}

.boot-status p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 14px;
}

.spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.clickable,
.btn,
[role="button"],
.nav-dropdown-button,
#get-quote-btn {
    cursor: pointer;
}

#rotary-track,
#rotary-handle,
#louvreControl {
    cursor: grab !important;
}

#rotary-track:active,
#rotary-handle:active,
#louvreControl:active {
    cursor: grabbing !important;
}

#asset-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

#asset-loader.visible {
    opacity: 1;
    pointer-events: all;
}

.loader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
}

.loader-logo-pulse {
    width: 64px;
    height: auto;
    position: absolute;
    z-index: 2;
    animation: breathe 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

@keyframes breathe {
    0%, 100% { 
        opacity: 0.85;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.02);
    }
}

.loader-ring {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transform: rotate(-90deg);
}

.loader-ring-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1.5;
}

.loader-ring-progress {
    fill: none;
    stroke: rgba(207, 181, 59, 0.5);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    animation: loading-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes loading-ring {
    0% {
        stroke-dashoffset: 339.292;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 84.823;
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: 339.292;
        opacity: 0.3;
    }
}

.accessories-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    user-select: none;
}

.checklist-option:hover {
    background-color: #f0f4f8;
}

.checkbox-icon {
    width: 18px;
    height: 18px;
    border: 2px solid #adb5bd;
    border-radius: 4px;
    margin-right: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checklist-option.selected .checkbox-icon {
    background-color: #3498db;
    border-color: #3498db;
}

.checklist-option.selected .checkbox-icon::after {
    content: '✔';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Hamburger menu button – always visible and clickable on mobile */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1003;
}

/* Focus style for keyboard navigation accessibility */
.hamburger-menu:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 8px;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Transform to "X" when active */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Consolidated mobile styles (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigation layout adjustments */
    .config-navigation {
        justify-content: space-between;
        padding: 15px 20px;
    }

    #brand-container {
        padding: 0;
    }

    #nav-logo {
        height: 35px;
    }

    /* Show hamburger */
    .hamburger-menu {
        display: flex;
    }

    /* Mobile menu – fixed overlay */
    .nav-menu {
        position: fixed;
        top: 80px;
        inset-inline: 0;
        flex-direction: column;
        background: var(--dropdown-bg);
        backdrop-filter: blur(20px);
        padding: 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--dropdown-shadow);
        border-radius: 0 0 12px 12px;
        pointer-events: none;
        z-index: 1001;
    }

    .nav-menu.active {
        max-height: 80vh;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
        pointer-events: all;
    }

    /* Full-width nav items */
    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--dropdown-border);
    }

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

    .nav-link {
        padding: 15px 10px;
        text-align: left;
    }

    /* Mobile dropdowns – controlled exclusively by JS */
    .dropdown-menu {
        position: static;
        display: none;
        margin-top: 10px;
        background: transparent;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-content {
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        padding: 12px;
    }

    /* Disable any hover-based dropdown behavior */
    .nav-item:hover .dropdown-menu {
        display: none !important;
    }

    /* Accessibility: focus style for nav links */
    .nav-link:focus-visible {
        outline: 2px solid var(--secondary-color);
        outline-offset: 2px;
        border-radius: 6px;
    }

    /* Other responsive adjustments */
    .process-steps {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    .step {
        width: 100%;
        flex-direction: row;
        margin-bottom: 15px;
        align-items: flex-start;
    }

    .step-number {
        margin-right: 15px;
        margin-bottom: 0;
    }

    .side-content {
        flex-direction: column;
    }

    #light-control-container {
        display: none;
    }
}