/* ============================================ */
        /* PROJECTS INDEX - TOP RIBBON TABS */
        /* ============================================ */
        .ribbon-tab:focus { outline: none !important; box-shadow: none !important; }
        
        .ribbon-container {
            display: flex;
            flex-direction: column;
            gap: 0;
            margin: 20px 0 30px;
            min-height: 400px;
        }

        /* ============================================ */
        /* TOP RIBBON - Horizontal Bookmark Tabs */
        /* ============================================ */
        .ribbon-top {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            padding-left: 0;
            border-bottom: 2px solid var(--border-light, #e8e8e8);
            margin-bottom: -1px;
            position: relative;
        }

        .ribbon-tab-top {
            position: relative;
            padding: 10px 20px 8px 20px;
            background: var(--bg-card-front, #ffffff);
            border: 1px solid var(--border-light, #e8e8e8);
            border-bottom: none;
            border-radius: 8px 8px 0 0;
            font-family: var(--font-primary, 'Georgia', serif);
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary, #555555);
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: -2px;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }

        .ribbon-tab-top::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 10px solid var(--bg-card-front, #ffffff);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .ribbon-tab-top.active {
            background: var(--gold, #c9a84c);
            color: #ffffff;
            border-color: var(--gold, #c9a84c);
            box-shadow: 0 -4px 15px rgba(201, 168, 76, 0.2);
            z-index: 2;
        }

        .ribbon-tab-top.active::after {
            opacity: 1;
            border-top-color: var(--gold, #c9a84c);
        }

        .ribbon-tab-top:hover:not(.active) {
            background: var(--gold-light, #e8d5a3);
            border-color: var(--gold, #c9a84c);
            color: var(--text-primary, #1a1a1a);
            transform: translateY(-2px);
        }

        .ribbon-tab-top:hover:not(.active)::after {
            opacity: 0.5;
            border-top-color: var(--gold-light, #e8d5a3);
        }

        .ribbon-tab-top i {
            font-size: 14px;
            flex-shrink: 0;
        }

        .ribbon-tab-top.active i {
            color: #ffffff;
        }

        /* ============================================ */
        /* CONTENT AREA */
        /* ============================================ */
        .ribbon-content-area {
            flex: 1;
            background: var(--bg-card-front, #ffffff);
            border: 1px solid var(--border-light, #e8e8e8);
            border-radius: 0 8px 8px 8px;
            padding: 30px 35px;
            box-shadow: 0 4px 20px var(--shadow-light, rgba(0,0,0,0.04));
            min-height: 400px;
            position: relative;
            z-index: 1;
            overflow-x: hidden;
        }

        /* ============================================ */
        /* IMAGE CAROUSEL - LARGE BANNER */
        /* ============================================ */
        .image-carousel-wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            border: 1px solid var(--border-light, #e8e8e8);
            background: #1a1a1a;
            -webkit-overflow-scrolling: touch;
        }

        .image-carousel {
            display: flex;
            transition: transform 0.5s ease;
            will-change: transform;
        }

        .image-carousel .slide {
            flex: 0 0 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            cursor: pointer;
            background: #1a1a1a;
            -webkit-tap-highlight-color: transparent;
        }

        .image-carousel .slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            -webkit-user-drag: none;
            user-select: none;
            pointer-events: none;
        }

        .image-carousel .slide .slide-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 40px 30px 20px;
            color: #fff;
            pointer-events: none;
        }

        .image-carousel .slide .slide-overlay .slide-title {
            font-family: var(--font-primary, 'Georgia', serif);
            font-size: 22px;
            font-weight: 700;
            margin: 0;
        }

        .image-carousel .slide .slide-overlay .slide-title span {
            color: var(--gold, #c9a84c);
        }

        .image-carousel .slide .slide-overlay .slide-subtitle {
            font-size: 14px;
            opacity: 0.8;
            margin: 4px 0 0;
            font-family: 'Segoe UI', sans-serif;
        }

        .image-carousel .slide .slide-overlay .latest-badge {
            display: inline-block;
            background: #ff4444;
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            padding: 2px 10px;
            border-radius: 12px;
            margin-bottom: 4px;
            text-transform: uppercase;
            font-family: 'Segoe UI', sans-serif;
        }

        .image-carousel .slide .zoom-hint {
            position: absolute;
            bottom: 20px;
            right: 20px;
            background: rgba(0,0,0,0.7);
            color: #fff;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-family: 'Segoe UI', sans-serif;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .image-carousel .slide:hover .zoom-hint {
            opacity: 1;
        }

        .carousel-dots {
            display: flex !important;
            justify-content: center;
            align-items: center;
            gap: 10px;
            padding: 12px 0;
            background: rgba(0,0,0,0.7);
            flex-wrap: wrap;
        }

        .carousel-dots .dot {
            display: inline-block !important;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            min-width: 10px;
            min-height: 10px;
            padding: 0;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        .carousel-dots .dot.active {
            background: var(--gold, #c9a84c);
            transform: scale(1.2);
        }

        .carousel-dots .dot:hover {
            background: rgba(255,255,255,0.6);
        }

        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 5;
            background: rgba(0,0,0,0.5);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-arrow:hover {
            background: var(--gold, #c9a84c);
        }

        .carousel-arrow-left { left: 10px; }
        .carousel-arrow-right { right: 10px; }

        /* ============================================ */
        /* NO PROJECTS STATE */
        /* ============================================ */
        .no-projects {
            text-align: center;
            padding: 60px 20px;
            color: #999;
        }

        .no-projects .empty-icon {
            font-size: 60px;
            color: var(--gold, #c9a84c);
            opacity: 0.2;
            display: block;
            margin-bottom: 20px;
        }

        .no-projects h3 {
            font-size: 20px;
            color: #666;
            font-weight: 300;
        }

        .no-projects p {
            font-size: 14px;
            color: #999;
        }

        /* ============================================ */
        /* IMAGE MODAL */
        /* ============================================ */
        .image-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.92);
            z-index: 99999;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .image-modal.show {
            display: flex !important;
        }

        .modal-container {
            position: relative;
            max-width: 90%;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            padding: 8px;
            background: transparent;
        }

        .modal-image-wrapper {
            position: relative;
            max-height: 80vh;
            overflow: hidden;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            touch-action: none;
        }

        .modal-image-wrapper img {
            max-width: 100%;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 8px;
            display: block;
            cursor: grab;
            user-select: none;
            -webkit-user-drag: none;
            touch-action: none;
        }

        .modal-image-wrapper img:active {
            cursor: grabbing;
        }

        .modal-close {
            position: absolute;
            top: 10px;
            right: 10px;
            color: #fff;
            font-size: 20px;
            background: rgba(0,0,0,0.7);
            border: 2px solid rgba(255,255,255,0.2);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        .modal-close:hover {
            background: #dc3545;
            transform: rotate(90deg) scale(1.1);
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(0,0,0,0.6);
            color: #fff;
            border: 2px solid rgba(255,255,255,0.15);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        .modal-nav:hover {
            background: var(--gold, #c9a84c);
            border-color: var(--gold, #c9a84c);
            transform: translateY(-50%) scale(1.1);
        }

        .modal-nav-left { left: 10px; }
        .modal-nav-right { right: 10px; }

        .modal-counter {
            color: rgba(255,255,255,0.4);
            font-size: 13px;
            margin-top: 10px;
            font-weight: 300;
        }

        .modal-counter span {
            color: var(--gold, #c9a84c);
            font-weight: 600;
        }

        .modal-title {
            color: rgba(255,255,255,0.8);
            font-size: 16px;
            margin-top: 8px;
            font-weight: 400;
            font-family: var(--font-primary, 'Georgia', serif);
            text-align: center;
        }

        /* ============================================ */
        /* RESPONSIVE - ALL BUTTONS ALWAYS VISIBLE */
        /* ============================================ */

        /* Prevent horizontal scroll */
        body {
            overflow-x: hidden;
            max-width: 100vw;
        }

        .book-wrapper {
            max-width: 100%;
            overflow-x: hidden;
        }

        @media (max-width: 1024px) {
            .ribbon-content-area { padding: 25px 20px; }
            .ribbon-tab-top { padding: 8px 14px 6px 14px; font-size: 12px; }
            .ribbon-tab-top i { font-size: 12px; }
        }

        @media (max-width: 992px) {
            .ribbon-content-area { padding: 20px 18px; }
            .ribbon-container { min-height: 300px; }
            .ribbon-tab-top { padding: 7px 12px 5px 12px; font-size: 11px; gap: 5px; }
            .ribbon-tab-top i { font-size: 11px; }
        }

        @media (max-width: 820px) {
            .ribbon-tab-top { padding: 6px 10px 5px 10px; font-size: 10px; gap: 4px; }
            .ribbon-tab-top i { font-size: 10px; }
            .ribbon-top { gap: 3px; }
        }

        @media (max-width: 768px) {
            .ribbon-container { margin: 15px 0 20px; min-height: auto; }
            
            .ribbon-top {
                gap: 4px;
                padding: 6px 0 8px 0;
                border-bottom: 2px solid var(--border-light, #e8e8e8);
                margin-bottom: 0;
                flex-wrap: wrap;
                overflow-x: visible;
            }
            
            .ribbon-tab-top {
                padding: 6px 12px 5px 12px;
                font-size: 10px;
                gap: 4px;
                border-radius: 16px;
                background: #f5f5f5;
                border: 1px solid var(--border-light, #e8e8e8);
                border-bottom: 1px solid var(--border-light, #e8e8e8);
                margin-bottom: 0;
                white-space: nowrap;
            }
            
            .ribbon-tab-top i {
                font-size: 10px;
                color: var(--text-secondary, #555555);
            }
            
            .ribbon-tab-top::after {
                display: none;
            }
            
            .ribbon-tab-top.active {
                background: var(--gold, #c9a84c);
                color: #ffffff;
                border-color: var(--gold, #c9a84c);
                box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
            }
            
            .ribbon-tab-top.active i {
                color: #ffffff;
            }
            
            .ribbon-tab-top:hover:not(.active) {
                background: var(--gold-light, #e8d5a3);
                border-color: var(--gold, #c9a84c);
                color: var(--text-primary, #1a1a1a);
                transform: none;
            }
            
            .ribbon-content-area {
                border-radius: 0 0 8px 8px;
                padding: 20px 15px;
                min-height: auto;
            }
        }

        @media (max-width: 580px) {
            .ribbon-top { gap: 3px; padding: 4px 0 6px 0; }
            .ribbon-tab-top { 
                padding: 5px 8px 4px 8px;
                font-size: 9px;
                gap: 3px;
                border-radius: 12px;
            }
            .ribbon-tab-top i { font-size: 9px; }
            .ribbon-content-area { padding: 14px 10px; }
        }

        @media (max-width: 480px) {
            .ribbon-top { gap: 3px; padding: 4px 0 5px 0; }
            .ribbon-tab-top { 
                padding: 4px 7px 4px 7px;
                font-size: 8px;
                gap: 3px;
                border-radius: 10px;
            }
            .ribbon-tab-top i { font-size: 8px; }
            .ribbon-content-area { padding: 12px 8px; }
        }

        @media (max-width: 400px) {
            .ribbon-top { gap: 2px; padding: 3px 0 4px 0; }
            .ribbon-tab-top { 
                padding: 3px 6px 3px 6px;
                font-size: 7.5px;
                gap: 2px;
                border-radius: 8px;
            }
            .ribbon-tab-top i { font-size: 7px; }
        }

        @media (max-width: 360px) {
            .ribbon-content-area { padding: 10px 6px; }
            .ribbon-top { gap: 2px; padding: 2px 0 3px 0; }
            .ribbon-tab-top { 
                padding: 3px 5px 3px 5px;
                font-size: 7px;
                gap: 2px;
                border-radius: 6px;
            }
            .ribbon-tab-top i { font-size: 7px; }
        }

        /* ============================================ */
        /* IMAGE CAROUSEL RESPONSIVE */
        /* ============================================ */
        @media (max-width: 768px) {
            .image-carousel .slide { aspect-ratio: 4 / 3; }
            .carousel-arrow { width: 30px; height: 30px; font-size: 12px; }
            .carousel-arrow-left { left: 4px; }
            .carousel-arrow-right { right: 4px; }
            .carousel-dots { padding: 6px 0; gap: 4px; }
            .carousel-dots .dot { width: 6px !important; height: 6px !important; min-width: 6px !important; min-height: 6px !important; }
            .image-carousel .slide .zoom-hint { display: none; }
            .image-carousel .slide .slide-overlay .slide-title { font-size: 16px; }
            .image-carousel .slide .slide-overlay .slide-subtitle { font-size: 11px; }
            .image-carousel .slide .slide-overlay { padding: 20px 15px 12px; }
        }

        @media (max-width: 480px) {
            .image-carousel .slide { aspect-ratio: 1 / 1; }
            .carousel-arrow { width: 24px; height: 24px; font-size: 10px; }
            .carousel-dots { padding: 4px 0; gap: 3px; }
            .carousel-dots .dot { width: 4px !important; height: 4px !important; min-width: 4px !important; min-height: 4px !important; }
            .image-carousel-wrapper { border-radius: 6px; }
            .image-carousel .slide .slide-overlay .slide-title { font-size: 13px; }
            .image-carousel .slide .slide-overlay .slide-subtitle { font-size: 10px; }
            .image-carousel .slide .slide-overlay { padding: 12px 10px 8px; }
        }

        /* ============================================ */
        /* MODAL RESPONSIVE */
        /* ============================================ */
        @media (max-width: 768px) {
            .modal-container { max-width: 95%; max-height: 95vh; padding: 4px; }
            .modal-image-wrapper { max-height: 60vh; }
            .modal-image-wrapper img { max-height: 60vh; }
            .modal-nav { width: 30px; height: 30px; font-size: 12px; }
            .modal-nav-left { left: 4px; }
            .modal-nav-right { right: 4px; }
            .modal-close { width: 30px; height: 30px; font-size: 14px; top: 4px; right: 4px; }
            .modal-counter { font-size: 11px; margin-top: 6px; }
            .modal-title { font-size: 12px; }
        }

        @media (max-width: 480px) {
            .modal-container { max-width: 98%; max-height: 98vh; padding: 2px; }
            .modal-image-wrapper { max-height: 50vh; }
            .modal-image-wrapper img { max-height: 50vh; }
            .modal-nav { width: 26px; height: 26px; font-size: 10px; }
            .modal-nav-left { left: 2px; }
            .modal-nav-right { right: 2px; }
            .modal-close { width: 26px; height: 26px; font-size: 12px; top: 4px; right: 4px; }
            .modal-counter { font-size: 10px; margin-top: 4px; }
            .modal-title { font-size: 10px; }
        }

        @media (max-height: 500px) and (orientation: landscape) {
            .ribbon-container { min-height: auto; margin: 10px 0 15px; }
            .ribbon-content-area { padding: 15px 20px; min-height: 200px; }
            .image-carousel .slide { aspect-ratio: 16 / 9; max-height: 50vh; }
            .modal-image-wrapper { max-height: 60vh; }
            .modal-image-wrapper img { max-height: 60vh; }
        }

        /* ============================================ */
        /* ACCESSIBILITY */
        /* ============================================ */
        @media (prefers-reduced-motion: reduce) {
            .image-carousel { transition: none !important; }
            .ribbon-tab-top { transition: none !important; }
            .carousel-arrow { transition: none !important; }
            .modal-close { transition: none !important; }
            .modal-nav { transition: none !important; }
        }

        @media (prefers-color-scheme: dark) {
            .image-carousel-wrapper { border-color: #333; }
            .carousel-dots { background: rgba(0,0,0,0.9); }
        }


        /* ============================================ */
        /* TOP RIBBON - Horizontal Bookmark Tabs */
        /* ============================================ */
        .ribbon-top {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            padding-left: 0;
            border-bottom: 2px solid #e8e8e8;
            margin-bottom: -1px;
        }

        .ribbon-tab-top {
            position: relative;
            padding: 10px 20px 8px 20px;
            background: #ffffff;
            border: 1px solid #e8e8e8;
            border-bottom: none;
            border-radius: 8px 8px 0 0;
            font-family: 'Georgia', serif;
            font-size: 13px;
            font-weight: 600;
            color: #555555;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: -2px;
        }

        .ribbon-tab-top.active {
            background: #c9a84c;
            color: #ffffff;
            border-color: #c9a84c;
            box-shadow: 0 -4px 15px rgba(201, 168, 76, 0.2);
            z-index: 2;
        }

        .ribbon-tab-top:hover:not(.active) {
            background: #e8d5a3;
            border-color: #c9a84c;
            color: #1a1a1a;
            transform: translateY(-2px);
        }

        .ribbon-tab-top i {
            font-size: 14px;
        }

        /* ============================================ */
        /* CONTENT AREA */
        /* ============================================ */
        .ribbon-content-area {
            flex: 1;
            background: #ffffff;
            border: 1px solid #e8e8e8;
            border-radius: 0 8px 8px 8px;
            padding: 30px 35px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.04);
            min-height: 400px;
            position: relative;
            z-index: 1;
            text-align: center;
        }

        /* ============================================ */
        /* DROPDOWN SELECTOR - Styled & Centered */
        /* ============================================ */
        .service-selector-wrapper {
            margin-bottom: 25px;
            text-align: center;
        }

        .service-selector-wrapper label {
            font-family: 'Georgia', serif;
            font-size: 15px;
            font-weight: 600;
            color: #2c3e50;
            margin-right: 12px;
            display: inline-block;
        }

        .service-selector {
            padding: 10px 40px 10px 16px;
            font-size: 14px;
            font-weight: 500;
            color: #2c3e50;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            appearance: none;
            -webkit-appearance: none;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 250px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232c3e50' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            background-size: 12px 8px;
        }

        .service-selector:hover {
            border-color: #c9a84c;
            background-color: #ffffff;
        }

        .service-selector:focus {
            outline: none;
            border-color: #c9a84c;
            box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
        }

        .service-selector option {
            padding: 8px;
        }

        /* ============================================ */
        /* SERVICE DETAILS SECTION - Centered */
        /* ============================================ */
        .service-details {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 30px 35px;
            border: 1px solid #e9ecef;
            min-height: 250px;
            transition: all 0.3s ease;
            text-align: left;
            max-width: 800px;
            margin: 0 auto;
        }

        .service-details .service-title {
            font-size: 26px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 12px;
            text-align: center;
        }

        .service-details .service-title span {
            color: #c9a84c;
        }

        .service-details .service-description {
            font-size: 15px;
            line-height: 1.8;
            color: #555;
            text-align: left;
        }

        .service-details .service-description ul {
            list-style: none;
            padding: 0;
            margin-top: 12px;
        }

        .service-details .service-description ul li {
            padding: 6px 0;
            padding-left: 28px;
            position: relative;
            border-bottom: 1px solid #e9ecef;
            font-size: 14px;
            text-align: left;
            word-break: break-word;
        }

        .service-details .service-description ul li:last-child {
            border-bottom: none;
        }

        .service-details .service-description ul li:before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            color: #c9a84c;
        }

        .service-icon-large {
            font-size: 40px;
            color: #c9a84c;
            margin-bottom: 15px;
            text-align: center;
        }

        /* ============================================ */
        /* RESPONSIVE - MOBILE FIRST */
        /* ============================================ */

        /* Tablets and small desktops */
        @media (max-width: 992px) {
            .ribbon-content-area { 
                padding: 25px 20px; 
            }
            
            .service-selector {
                min-width: 200px;
            }
        }

        /* Mobile devices */
        @media (max-width: 768px) {
            /* Top Ribbon - Horizontal scroll */
            .ribbon-top {
                gap: 3px;
                padding-left: 0;
                overflow-x: auto;
                flex-wrap: nowrap;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                -ms-overflow-style: none;
                padding-bottom: 2px;
            }
            
            .ribbon-top::-webkit-scrollbar {
                display: none;
            }
            
            .ribbon-tab-top {
                padding: 8px 14px 6px 14px;
                font-size: 11px;
                border-radius: 6px 6px 0 0;
                flex: 0 0 auto;
                white-space: nowrap;
                gap: 6px;
                min-width: auto;
            }
            
            .ribbon-tab-top i {
                font-size: 11px;
            }
            
            .ribbon-content-area {
                border-radius: 0 0 8px 8px;
                padding: 20px 15px;
                min-height: auto;
                text-align: center;
            }

            /* Dropdown - Full width on mobile */
            .service-selector-wrapper {
                margin-bottom: 20px;
                width: 100%;
            }

            .service-selector-wrapper label {
                font-size: 14px;
                display: block;
                margin-bottom: 8px;
                text-align: center;
            }

            .service-selector {
                min-width: 100%;
                width: 100%;
                max-width: 100%;
                padding: 12px 40px 12px 16px;
                font-size: 14px;
                border-radius: 10px;
                background-position: right 16px center;
                background-size: 14px 10px;
                -webkit-tap-highlight-color: transparent;
            }

            /* Service details */
            .service-details {
                padding: 20px 16px;
                min-height: 200px;
                border-radius: 10px;
            }

            .service-details .service-title {
                font-size: 22px;
                margin-bottom: 10px;
            }

            .service-details .service-description {
                font-size: 14px;
                line-height: 1.7;
            }

            .service-details .service-description ul li {
                font-size: 13px;
                padding: 5px 0;
                padding-left: 24px;
            }

            .service-icon-large {
                font-size: 32px;
                margin-bottom: 12px;
            }
        }

        /* Small mobile phones */
        @media (max-width: 480px) {
            .ribbon-tab-top {
                padding: 6px 10px 4px 10px;
                font-size: 10px;
                gap: 4px;
            }
            
            .ribbon-tab-top i {
                font-size: 10px;
            }
            
            .ribbon-content-area {
                padding: 14px 10px;
            }

            .service-selector-wrapper label {
                font-size: 13px;
                margin-bottom: 6px;
            }

            .service-selector {
                padding: 10px 36px 10px 12px;
                font-size: 13px;
                border-radius: 8px;
                background-position: right 12px center;
                background-size: 12px 8px;
            }

            .service-details {
                padding: 15px 12px;
                min-height: 180px;
                border-radius: 8px;
            }

            .service-details .service-title {
                font-size: 19px;
                margin-bottom: 8px;
            }

            .service-details .service-description {
                font-size: 13px;
                line-height: 1.6;
            }

            .service-details .service-description ul li {
                font-size: 12px;
                padding: 4px 0;
                padding-left: 20px;
            }

            .service-icon-large {
                font-size: 28px;
                margin-bottom: 10px;
            }
        }

        /* Very small phones (iPhone SE, etc.) */
        @media (max-width: 380px) {
            .ribbon-content-area {
                padding: 10px 6px;
            }
            
            .ribbon-tab-top {
                font-size: 9px;
                padding: 4px 8px 3px 8px;
                gap: 3px;
            }
            
            .ribbon-tab-top i {
                font-size: 9px;
            }

            .service-selector-wrapper label {
                font-size: 12px;
            }

            .service-selector {
                padding: 8px 32px 8px 10px;
                font-size: 12px;
                border-radius: 6px;
                background-position: right 10px center;
                background-size: 10px 7px;
            }

            .service-details {
                padding: 12px 8px;
                min-height: 160px;
                border-radius: 6px;
            }

            .service-details .service-title {
                font-size: 17px;
                margin-bottom: 6px;
            }

            .service-details .service-description {
                font-size: 12px;
                line-height: 1.5;
            }

            .service-details .service-description ul li {
                font-size: 11px;
                padding: 3px 0;
                padding-left: 18px;
            }

            .service-icon-large {
                font-size: 24px;
                margin-bottom: 8px;
            }
        }

        /* Landscape phones */
        @media (max-height: 500px) and (orientation: landscape) {
            .ribbon-content-area {
                padding: 15px 20px;
                min-height: 200px;
            }

            .service-selector-wrapper {
                margin-bottom: 12px;
            }

            .service-selector-wrapper label {
                font-size: 13px;
                display: inline-block;
                margin-right: 10px;
            }

            .service-selector {
                padding: 8px 36px 8px 14px;
                font-size: 13px;
                min-width: 200px;
                width: auto;
                max-width: 300px;
            }

            .service-details {
                padding: 15px 20px;
                min-height: 120px;
            }

            .service-details .service-title {
                font-size: 20px;
                margin-bottom: 6px;
            }

            .service-details .service-description {
                font-size: 13px;
                line-height: 1.5;
            }

            .service-details .service-description ul li {
                font-size: 12px;
                padding: 3px 0;
                padding-left: 22px;
            }

            .service-icon-large {
                font-size: 28px;
                margin-bottom: 8px;
            }
        }

        /* ============================================ */
        /* TRANSITION FOR SMOOTH UPDATES */
        /* ============================================ */
        #serviceDetails {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        /* Touch-friendly button sizes */
        .service-selector,
        .ribbon-tab-top {
            touch-action: manipulation;
        }

        /* Prevent zoom on focus for iOS */
        select,
        button {
            font-size: 16px !important;
        }

        @media (max-width: 480px) {
            select,
            button {
                font-size: 16px !important;
            }
        }

        
        /* ============================================ */
        /* TOP RIBBON - Horizontal Bookmark Tabs */
        /* ============================================ */
        .ribbon-top {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            padding-left: 0;
            border-bottom: 2px solid #e8e8e8;
            margin-bottom: -1px;
            position: relative;
        }

        .ribbon-tab-top {
            position: relative;
            padding: 10px 20px 8px 20px;
            background: #ffffff;
            border: 1px solid #e8e8e8;
            border-bottom: none;
            border-radius: 8px 8px 0 0;
            font-family: 'Georgia', serif;
            font-size: 13px;
            font-weight: 600;
            color: #555555;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: -2px;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .ribbon-tab-top.active {
            background: #c9a84c;
            color: #ffffff;
            border-color: #c9a84c;
            box-shadow: 0 -4px 15px rgba(201, 168, 76, 0.2);
            z-index: 2;
        }

        .ribbon-tab-top:hover:not(.active) {
            background: #e8d5a3;
            border-color: #c9a84c;
            color: #1a1a1a;
            transform: translateY(-2px);
        }

        .ribbon-tab-top i {
            font-size: 14px;
            flex-shrink: 0;
        }

        .ribbon-tab-top.active i {
            color: #ffffff;
        }

        /* ============================================ */
        /* CONTENT AREA */
        /* ============================================ */
        .ribbon-content-area {
            flex: 1;
            background: #ffffff;
            border: 1px solid #e8e8e8;
            border-radius: 0 8px 8px 8px;
            padding: 30px 35px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.04);
            min-height: 400px;
            position: relative;
            z-index: 1;
            text-align: center;
            overflow-x: hidden;
        }

        /* ============================================ */
        /* DROPDOWN SELECTOR - Styled & Centered */
        /* ============================================ */
        .service-selector-wrapper {
            margin-bottom: 25px;
            text-align: center;
        }

        .service-selector-wrapper label {
            font-family: 'Georgia', serif;
            font-size: 15px;
            font-weight: 600;
            color: #2c3e50;
            margin-right: 12px;
            display: inline-block;
        }

        .service-selector {
            padding: 10px 40px 10px 16px;
            font-size: 14px;
            font-weight: 500;
            color: #2c3e50;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            appearance: none;
            -webkit-appearance: none;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 250px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232c3e50' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            background-size: 12px 8px;
        }

        .service-selector:hover {
            border-color: #c9a84c;
            background-color: #ffffff;
        }

        .service-selector:focus {
            outline: none;
            border-color: #c9a84c;
            box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
        }

        .service-selector option {
            padding: 8px;
        }

        /* ============================================ */
        /* SERVICE DETAILS SECTION - Centered */
        /* ============================================ */
        .service-details {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 30px 35px;
            border: 1px solid #e9ecef;
            min-height: 250px;
            transition: all 0.3s ease;
            text-align: left;
            max-width: 800px;
            margin: 0 auto;
        }

        .service-details .service-title {
            font-size: 26px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 12px;
            text-align: center;
        }

        .service-details .service-title span {
            color: #c9a84c;
        }

        .service-details .service-description {
            font-size: 15px;
            line-height: 1.8;
            color: #555;
            text-align: left;
        }

        .service-details .service-description ul {
            list-style: none;
            padding: 0;
            margin-top: 12px;
        }

        .service-details .service-description ul li {
            padding: 6px 0;
            padding-left: 28px;
            position: relative;
            border-bottom: 1px solid #e9ecef;
            font-size: 14px;
            text-align: left;
            word-break: break-word;
        }

        .service-details .service-description ul li:last-child {
            border-bottom: none;
        }

        .service-details .service-description ul li:before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            color: #c9a84c;
        }

        .service-icon-large {
            font-size: 40px;
            color: #c9a84c;
            margin-bottom: 15px;
            text-align: center;
        }

        /* ============================================ */
        /* RESPONSIVE - MOBILE FRIENDLY */
        /* ============================================ */

        body {
            overflow-x: hidden;
            max-width: 100vw;
        }

        .book-wrapper {
            max-width: 100%;
            overflow-x: hidden;
        }

        @media (max-width: 1024px) {
            .ribbon-tab-top { padding: 8px 14px 6px 14px; font-size: 12px; }
            .ribbon-tab-top i { font-size: 12px; }
        }

        @media (max-width: 992px) {
            .ribbon-content-area { padding: 25px 20px; }
            .service-selector { min-width: 200px; }
            .ribbon-tab-top { padding: 7px 12px 5px 12px; font-size: 11px; gap: 5px; }
            .ribbon-tab-top i { font-size: 11px; }
        }

        @media (max-width: 820px) {
            .ribbon-tab-top { padding: 6px 10px 5px 10px; font-size: 10px; gap: 4px; }
            .ribbon-tab-top i { font-size: 10px; }
            .ribbon-top { gap: 3px; }
        }

        @media (max-width: 768px) {
            .ribbon-top {
                gap: 6px;
                padding: 8px 0 10px 0;
                border-bottom: 2px solid #e8e8e8;
                margin-bottom: 0;
                flex-wrap: wrap;
                overflow-x: visible;
                justify-content: center;
            }
            
            .ribbon-tab-top {
                padding: 8px 16px 6px 16px;
                font-size: 12px;
                gap: 6px;
                border-radius: 20px;
                background: #f5f5f5;
                border: 1px solid #e8e8e8;
                border-bottom: 1px solid #e8e8e8;
                margin-bottom: 0;
                white-space: nowrap;
                flex-shrink: 1;
                flex: 0 1 auto;
            }
            
            .ribbon-tab-top i { font-size: 12px; color: #555555; }
            .ribbon-tab-top.active { background: #c9a84c; color: #ffffff; border-color: #c9a84c; box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3); }
            .ribbon-tab-top.active i { color: #ffffff; }
            .ribbon-tab-top:hover:not(.active) { background: #e8d5a3; border-color: #c9a84c; color: #1a1a1a; transform: none; }
            
            .ribbon-content-area {
                border-radius: 0 0 8px 8px;
                padding: 20px 15px;
                min-height: auto;
                text-align: center;
            }

            .service-selector-wrapper { margin-bottom: 20px; width: 100%; }
            .service-selector-wrapper label { font-size: 14px; display: block; margin-bottom: 8px; text-align: center; }
            .service-selector { min-width: 100%; width: 100%; max-width: 100%; padding: 12px 40px 12px 16px; font-size: 14px; border-radius: 10px; background-position: right 16px center; background-size: 14px 10px; -webkit-tap-highlight-color: transparent; }
            .service-details { padding: 20px 16px; min-height: 200px; border-radius: 10px; }
            .service-details .service-title { font-size: 22px; margin-bottom: 10px; }
            .service-details .service-description { font-size: 14px; line-height: 1.7; }
            .service-details .service-description ul li { font-size: 13px; padding: 5px 0; padding-left: 24px; }
            .service-icon-large { font-size: 32px; margin-bottom: 12px; }
        }

        @media (max-width: 580px) {
            .ribbon-top { gap: 5px; padding: 6px 0 8px 0; }
            .ribbon-tab-top { padding: 6px 12px 5px 12px; font-size: 10px; gap: 4px; border-radius: 16px; }
            .ribbon-tab-top i { font-size: 10px; }
        }

        @media (max-width: 480px) {
            .ribbon-tab-top { padding: 5px 9px 4px 9px; font-size: 9px; gap: 3px; border-radius: 14px; }
            .ribbon-tab-top i { font-size: 9px; }
            .ribbon-content-area { padding: 14px 10px; }
            .service-selector-wrapper label { font-size: 13px; margin-bottom: 6px; }
            .service-selector { padding: 10px 36px 10px 12px; font-size: 13px; border-radius: 8px; background-position: right 12px center; background-size: 12px 8px; }
            .service-details { padding: 15px 12px; min-height: 180px; border-radius: 8px; }
            .service-details .service-title { font-size: 19px; margin-bottom: 8px; }
            .service-details .service-description { font-size: 13px; line-height: 1.6; }
            .service-details .service-description ul li { font-size: 12px; padding: 4px 0; padding-left: 20px; }
            .service-icon-large { font-size: 28px; margin-bottom: 10px; }
        }

        @media (max-width: 400px) {
            .ribbon-top { gap: 3px; padding: 4px 0 5px 0; }
            .ribbon-tab-top { padding: 4px 7px 3px 7px; font-size: 8px; gap: 2px; border-radius: 12px; }
            .ribbon-tab-top i { font-size: 8px; }
        }

        @media (max-width: 380px) {
            .ribbon-content-area { padding: 10px 6px; }
            .ribbon-top { gap: 2px; padding: 3px 0 4px 0; }
            .ribbon-tab-top { padding: 3px 5px 3px 5px; font-size: 7px; gap: 2px; border-radius: 10px; }
            .ribbon-tab-top i { font-size: 7px; }
            .service-selector-wrapper label { font-size: 12px; }
            .service-selector { padding: 8px 32px 8px 10px; font-size: 12px; border-radius: 6px; background-position: right 10px center; background-size: 10px 7px; }
            .service-details { padding: 12px 8px; min-height: 160px; border-radius: 6px; }
            .service-details .service-title { font-size: 17px; margin-bottom: 6px; }
            .service-details .service-description { font-size: 12px; line-height: 1.5; }
            .service-details .service-description ul li { font-size: 11px; padding: 3px 0; padding-left: 18px; }
            .service-icon-large { font-size: 24px; margin-bottom: 8px; }
        }

        @media (max-height: 500px) and (orientation: landscape) {
            .ribbon-content-area { padding: 15px 20px; min-height: 200px; }
            .service-selector-wrapper { margin-bottom: 12px; }
            .service-selector-wrapper label { font-size: 13px; display: inline-block; margin-right: 10px; }
            .service-selector { padding: 8px 36px 8px 14px; font-size: 13px; min-width: 200px; width: auto; max-width: 300px; }
            .service-details { padding: 15px 20px; min-height: 120px; }
            .service-details .service-title { font-size: 20px; margin-bottom: 6px; }
            .service-details .service-description { font-size: 13px; line-height: 1.5; }
            .service-details .service-description ul li { font-size: 12px; padding: 3px 0; padding-left: 22px; }
            .service-icon-large { font-size: 28px; margin-bottom: 8px; }
        }

        #serviceDetails {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .service-selector,
        .ribbon-tab-top {
            touch-action: manipulation;
        }

        select,
        button {
            font-size: 16px !important;
        }

        @media (max-width: 480px) {
            select,
            button {
                font-size: 16px !important;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .ribbon-tab-top { transition: none !important; }
            #serviceDetails { transition: none !important; }
        }

        @media (prefers-color-scheme: dark) {
            .ribbon-tab-top { background: #2a2a2a; border-color: #444; color: #999; }
            .ribbon-tab-top i { color: #999; }
            .ribbon-tab-top.active { background: #c9a84c; color: #ffffff; border-color: #c9a84c; }
            .ribbon-tab-top.active i { color: #ffffff; }
            .service-details { background: #2a2a2a; border-color: #444; }
            .service-details .service-title { color: #eee; }
            .service-details .service-description { color: #aaa; }
            .service-details .service-description ul li { border-bottom-color: #444; }
        }