/**
 * Regal Law Centre — Index Stylesheet
 * File: public_html/assets/css/index.css
 */



        /* Default Two-Column Hero Layout Styles (Dark Mode) */
        .hero-section {
            background-color: var(--bg-canvas);
            padding: 64px 40px 56px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: var(--transition-smooth);
        }
        .hero-container {
            max-width: 1200px;
            width: 100%;
            display: flex;
            align-items: center;
            gap: 48px;
        }
        .hero-left {
            flex: 1;
            text-align: left;
        }
        .hero-tag {
            font-family: Arial, sans-serif;
            font-size: 11px;
            font-weight: bold;
            letter-spacing: 3px;
            color: var(--gold) !important;
            margin-bottom: 18px;
            text-transform: uppercase;
        }
        .hero-left h1 {
            font-family: Georgia, 'Times New Roman', serif;
            font-size: 30px;
            color: var(--text-primary);
            font-weight: 400;
            line-height: 1.25;
            margin: 0 0 14px;
            text-transform: none;
            letter-spacing: normal;
        }
        .hero-left h1 em {
            font-family: Georgia, 'Times New Roman', serif;
            font-style: italic;
            color: var(--gold) !important;
            text-transform: none;
        }
        .hero-left p {
            font-family: Arial, sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.8;
            color: var(--text-secondary);
            margin: 0 0 28px;
            max-width: 420px;
        }
        .btn-book-appointment {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: var(--gold);
            color: #061A21;
            font-family: Arial, sans-serif;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            text-decoration: none;
            padding: 1rem 2rem;
            border-radius: 4px;
            box-shadow: 0 4px 10px rgba(6, 26, 33, 0.15);
            transition: var(--transition-smooth);
        }
        .btn-book-appointment:hover {
            background-color: var(--gold-hover);
            color: #061A21;
            box-shadow: 0 4px 15px rgba(169, 134, 92, 0.3);
        }
        .hero-right {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }
        .badge-stack {
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 100%;
            max-width: 200px;
        }
        .badge-card {
            border-radius: 4px;
            padding: 18px 16px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            box-shadow: 0 4px 12px rgba(6, 26, 33, 0.04);
            transition: var(--transition-smooth);
            border: 1px solid var(--border-color);
        }
        .dark-badge {
            background-color: var(--gold);
            border: 1px solid var(--gold);
        }
        .light-badge {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
        }
        .badge-value {
            font-family: Georgia, 'Times New Roman', serif;
            font-size: 24px;
            font-weight: 400;
            line-height: 1.1;
            margin-bottom: 0.3rem;
            color: var(--text-primary);
        }
        .dark-badge .badge-value {
            color: #061A21;
        }
        .dark-badge .badge-value span {
            color: #061A21;
        }
        .light-badge .badge-value {
            color: var(--text-primary);
        }
        .badge-label {
            font-family: Arial, sans-serif;
            font-size: 9px;
            font-weight: bold;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--gold);
        }
        .dark-badge .badge-label {
            color: rgba(6, 26, 33, 0.9);
            font-weight: bold;
        }



        /* Scoped Typography and Layout Overrides in Light Mode per Specifications */
        body.light-mode .hero-section {
            background: #F8F5F0;
        }
        body.light-mode .hero-tag {
            color: #C9A84C;
        }
        body.light-mode .hero-left h1 {
            color: #061A21;
        }
        body.light-mode .hero-left h1 em {
            color: #C9A84C !important;
        }
        body.light-mode .hero-left p {
            color: #000000;
        }
        body.light-mode .btn-book-appointment {
            background: #061A21;
            color: #FFFFFF;
            font-size: 10px;
            letter-spacing: 2.5px;
            padding: 14px 30px;
            border: none;
            font-family: Arial, sans-serif;
            font-weight: 700;
            cursor: pointer;
            border-radius: 2px;
            border-bottom: 3px solid #030E12;
            text-decoration: none;
            display: inline-flex;
            box-shadow: none;
        }
        body.light-mode .btn-book-appointment:hover {
            background: #0A2530;
            color: #FFFFFF;
            box-shadow: none;
        }

        body.light-mode .badge-card {
            border-radius: 4px;
            padding: 18px 16px;
            text-align: center;
            box-shadow: none;
            display: block;
            border: none;
        }
        body.light-mode .badge-card.dark-badge {
            background: #061A21;
            color: #C9A84C;
        }
        body.light-mode .badge-card.light-badge {
            background: #EDE8DF;
            color: #061A21;
        }
        body.light-mode .badge-card .badge-value {
            font-size: 24px;
            font-weight: 400;
            font-family: Georgia, 'Times New Roman', serif;
            margin-bottom: 0;
            line-height: 1.1;
        }
        body.light-mode .badge-card.dark-badge .badge-value {
            color: #C9A84C;
        }
        body.light-mode .badge-card.dark-badge .badge-value span {
            color: #C9A84C;
        }
        body.light-mode .badge-card.light-badge .badge-value {
            color: #061A21;
        }
        body.light-mode .badge-card .badge-label {
            font-size: 9px;
            letter-spacing: 2px;
            margin-top: 4px;
            font-family: Arial, sans-serif;
            font-weight: bold;
            text-transform: uppercase;
        }
        body.light-mode .badge-card.dark-badge .badge-label {
            color: #4A8A90;
            font-weight: bold;
        }
        body.light-mode .badge-card.light-badge .badge-label {
            color: #7A6E5C;
            font-weight: bold;
        }

        /* Adjustments for Responsive layout (Shared) */
        @media (max-width: 768px) {
            .hero-container {
                flex-direction: column;
                padding: 40px 20px;
                gap: 24px;
            }
            .hero-left {
                text-align: center;
            }
            .hero-left p {
                margin: 0 auto 28px auto;
            }
            .hero-right {
                width: 100%;
                flex-direction: row;
                justify-content: center;
            }
            .badge-stack {
                flex-direction: row;
                max-width: 100%;
                width: 100%;
            }
            .badge-card {
                flex: 1;
            }
        }

        /* Combined Card Animations */
        details.dept-accordion {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                        border-color 0.3s ease,
                        box-shadow 0.3s ease;
            cursor: pointer;
            border: 1.5px solid var(--border-color) !important;
        }

        details.dept-accordion.in-view {
            opacity: 1;
            transform: translateY(0);
        }

        details.dept-accordion:hover {
            transform: translateY(-6px) scale(1.02);
            border-color: var(--gold) !important;
            box-shadow: 0 12px 30px rgba(169, 134, 92, 0.3) !important;
            transition-delay: 0s !important;
        }

        details.dept-accordion[open] {
            transform: none !important;
            cursor: default;
            box-shadow: none !important;
            transition-delay: 0s !important;
        }

        /* Compact Quick Action Section */
        .quick-action-bar {
            text-align: center;
            margin-bottom: 0.8rem;
            padding: 0 5%;
        }

        .book-trigger-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background-color: var(--gold);
            color: var(--bg-canvas);
            font-family: 'Outfit', sans-serif;
            font-size: 0.75rem;
            font-weight: bold;
            letter-spacing: 1px;
            text-transform: uppercase;
            text-decoration: none;
            padding: 0.75rem 1.8rem;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            box-shadow: var(--shadow-premium);
            transition: var(--transition-smooth);
        }

        .book-trigger-btn:hover {
            background-color: var(--gold-hover);
        }

        /* 3-Column Layout Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.2rem;
            max-width: 1400px;
            margin: 0 auto 2rem auto;
            padding: 0 5%;
            align-items: stretch;
        }

        /* Index grid alignment for opened department card */
        details.dept-accordion[open] {
            grid-column: span 3;
            border: 1.5px solid var(--border-sharp);
            background-color: var(--bg-expanded);
            height: auto;
        }

        /* Large SVG Icons on homepage summary */
        .summary-content svg {
            width: 42px;
            height: 42px;
        }

        /* Nested Accordion for Rates */
        .nested-rates-list {
            margin: 0.8rem 0;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        details.subcat-accordion {
            background-color: var(--bg-nested-card);
            border: 1px solid var(--border-color);
            border-radius: 4px;
            box-shadow: none;
        }

        details.subcat-accordion[open] {
            border-color: var(--gold);
        }

        details.subcat-accordion > summary {
            padding: 0.7rem 0.9rem;
            font-size: 0.82rem;
            background-color: rgba(169, 134, 92, 0.03);
            color: var(--text-primary);
            flex-direction: row;
            justify-content: space-between;
            text-align: left;
            height: auto;
            cursor: pointer;
            user-select: none;
        }

        details.subcat-accordion[open] > summary {
            border-bottom: 1px solid var(--border-color);
        }

        details.subcat-accordion > summary::after {
            content: '＋';
            color: var(--gold);
            font-size: 0.7rem;
        }

        details.subcat-accordion[open] > summary::after {
            content: '－';
        }

        .table-container {
            width: 100%;
            overflow-x: auto;
            border: none;
            margin: 0;
            padding: 0.3rem 0.6rem;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 0.8rem;
        }

        th {
            background-color: transparent;
            color: var(--gold);
            font-weight: bold;
            text-transform: uppercase;
            font-size: 0.75rem;
            letter-spacing: 0.5px;
            padding: 0.4rem 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        td {
            padding: 0.5rem 0.5rem;
            border-bottom: 1px solid rgba(169, 134, 92, 0.08);
            color: var(--text-secondary);
        }

        tr:last-child td {
            border-bottom: none;
        }

        .fee-cell {
            font-family: 'Courier New', Courier, monospace;
            font-weight: bold;
            color: var(--gold);
            font-size: 0.85rem;
            text-align: right;
            white-space: nowrap;
        }

        /* Action Buttons Row */
        .action-row {
            display: flex;
            gap: 0.8rem;
            margin-top: 1.2rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 0.75rem 1.4rem;
            border-radius: 4px;
            font-family: var(--font-family);
            font-size: 0.8rem;
            font-weight: bold;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            text-decoration: none;
            cursor: pointer;
            transition: var(--transition-smooth);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .btn-primary {
            background-color: var(--gold);
            color: var(--bg-canvas);
            border: 1px solid var(--gold);
        }

        .btn-primary:hover {
            background-color: var(--gold-hover);
            border-color: var(--gold-hover);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }

        .btn-secondary:hover {
            border-color: var(--gold);
            color: var(--gold);
        }

        .category-footer-note {
            font-size: 0.72rem;
            color: var(--text-muted);
            margin-top: 0.8rem;
            font-style: italic;
        }

        /* Popup Booking Engine Modal */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(3, 6, 7, 0.9);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 1000;
            padding: 2rem 1rem;
            overflow-y: auto;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.active {
            display: block;
            opacity: 1;
        }

        .modal-container {
            max-width: 550px;
            margin: 1.5rem auto;
            background-color: var(--bg-card);
            border: 2px solid var(--border-sharp);
            border-radius: 6px;
            box-shadow: var(--shadow-premium);
            overflow: hidden;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }

        .modal-overlay.active .modal-container {
            transform: translateY(0);
        }

        .modal-header {
            background-color: rgba(169, 134, 92, 0.08);
            padding: 1.2rem 1.8rem;
            border-bottom: 2px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h2 {
            font-size: 0.95rem;
            color: var(--gold);
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: normal;
        }

        .modal-close-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.6rem;
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .modal-close-btn:hover {
            color: var(--gold);
        }

        .modal-body {
            padding: 1.2rem 1.8rem;
            font-size: 0.72rem;
        }

        .form-group {
            margin-bottom: 0.8rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.25rem;
            font-size: 0.68rem;
            color: var(--gold);
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-control {
            width: 100%;
            padding: 0.55rem;
            background-color: var(--bg-input);
            border: 1px solid var(--border-color);
            border-radius: 4px;
            color: var(--text-primary);
            font-family: var(--font-family);
            font-size: 0.72rem;
            transition: var(--transition-smooth);
        }

        select.form-control {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml;utf8,<svg fill='%23A9865C' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
            background-repeat: no-repeat;
            background-position: right 8px center;
            background-size: 16px;
            padding-right: 1.8rem;
            cursor: pointer;
        }

        select.form-control option {
            background-color: #0A1215;
            color: #FFFFFF;
            font-family: var(--font-family);
        }

        body.light-mode .form-control {
            background-color: #FFFFFF;
            border: 1px solid var(--border-color);
        }

        body.light-mode select.form-control option {
            background-color: #FFFFFF;
            color: #0F172A;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--border-sharp);
        }

        /* Security Readout Box */
        .security-readout {
            background-color: rgba(169, 134, 92, 0.02);
            border: 1.5px dashed var(--gold);
            padding: 0.8rem;
            border-radius: 4px;
            margin: 1.2rem 0;
            text-align: center;
        }

        .security-readout span {
            display: block;
            font-size: 0.6rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.2rem;
        }

        .security-readout h3 {
            font-size: 1.2rem;
            color: var(--text-primary);
            font-weight: normal;
        }

        .security-readout h3 span {
            color: var(--gold);
            display: inline;
            font-size: 1.2rem;
        }



        /* Footer - Rebranded to follow Header background alternating theme */
        footer {
            background-color: var(--bg-footer);
            border-top: 2px solid var(--border-header-footer);
            padding: 1.8rem 5% 1.2rem 5%;
            color: var(--text-header-footer);
            font-size: 0.7rem;
            margin-top: auto;
            transition: var(--transition-smooth);
        }

        .footer-container {
            max-width: 1250px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1.5rem;
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
            max-width: 400px;
        }

        .footer-logo {
            height: 60px;
            width: auto;
            align-self: flex-start;
        }

        .footer-brand p {
            line-height: 1.4;
            font-size: 0.68rem;
            color: var(--text-header-footer);
            opacity: 0.8;
        }

        .footer-links {
            display: flex;
            gap: 2.5rem;
            flex-wrap: wrap;
        }

        .footer-column h5 {
            color: #A9865C;
            margin-bottom: 0.6rem;
            text-transform: uppercase;
            font-size: 0.62rem;
            letter-spacing: 1px;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column li {
            margin-bottom: 0.3rem;
        }

        .footer-column a {
            color: var(--text-header-footer);
            opacity: 0.8;
            text-decoration: none;
            font-size: 0.68rem;
            transition: var(--transition-smooth);
        }

        .footer-column a:hover {
            color: #A9865C;
            opacity: 1;
        }

        .footer-bottom {
            max-width: 1250px;
            margin: 1.2rem auto 0 auto;
            padding-top: 1rem;
            border-top: 1px solid var(--border-header-footer);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.8rem;
            font-size: 0.68rem;
            color: var(--text-header-footer);
            opacity: 0.8;
        }

        .footer-bottom-links {
            display: flex;
            gap: 1.2rem;
        }

        .footer-bottom-links a {
            color: var(--text-header-footer);
            text-decoration: none;
            transition: var(--transition-smooth);
        }

        .footer-bottom-links a:hover {
            color: #A9865C;
        }

        /* Mobile Menu Toggle Button (Hidden on Desktop) */
        .mobile-menu-toggle {
            display: none;
            align-items: center;
            gap: 6px;
            background: transparent;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            color: var(--text-header-footer);
            padding: 0.4rem 0.8rem;
            cursor: pointer;
            font-family: var(--font-family);
            font-size: 0.75rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: var(--transition-smooth);
            z-index: 101;
        }

        .mobile-menu-toggle:hover {
            border-color: var(--gold);
            color: var(--gold);
        }

        .mobile-menu-toggle svg {
            fill: currentColor;
        }

        /* Mobile Menu Drawer Overlay */
        .mobile-nav-overlay {
            position: fixed;
            top: 54px; /* Header height */
            left: 0;
            width: 100%;
            height: calc(100vh - 54px);
            background-color: var(--bg-canvas);
            z-index: 90;
            display: none; /* Toggled via JS */
            flex-direction: column;
            padding: 2.5rem 8%;
            gap: 2rem;
            box-shadow: var(--shadow-premium);
            animation: slideDown 0.25s ease-out;
            box-sizing: border-box;
        }

        .mobile-nav-overlay.active {
            display: flex;
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .mobile-nav-links a {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 0.8rem;
            transition: var(--transition-smooth);
        }

        .mobile-nav-links a:hover {
            color: var(--gold);
            border-color: var(--gold);
        }

        .mobile-nav-controls {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            margin-top: auto;
            padding-bottom: 2rem;
        }

        @keyframes slideDown {
            from { transform: translateY(-10px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        /* Responsive Layouts */
        @media (max-width: 992px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            details.dept-accordion[open] {
                grid-column: span 2;
                height: auto;
            }
        }

        @media (max-width: 768px) {
            .header-nav, .header-controls .contact-email {
                display: none;
            }
            .mobile-menu-toggle {
                display: flex;
            }
        }

        @media (max-width: 600px) {
            .hero-section {
                padding: 1rem 5% 0.5rem 5%;
            }
            .hero-left h1 {
                font-size: 1.15rem;
            }
            .hero-left p {
                font-size: 0.7rem;
            }
            .quick-action-bar {
                margin-bottom: 1rem;
            }
            .book-trigger-btn {
                padding: 0.6rem 1.4rem;
                font-size: 0.7rem;
            }
            .services-grid {
                grid-template-columns: 1fr;
                gap: 0.8rem;
                padding: 0 4%;
                margin-bottom: 1.5rem;
            }
            details.dept-accordion {
                height: auto;
            }
            details.dept-accordion[open] {
                grid-column: span 1;
            }
            details.dept-accordion > summary {
                padding: 1rem 1.2rem;
            }
            .summary-content svg {
                width: 32px;
                height: 32px;
            }
            .summary-title {
                font-size: 0.88rem;
            }
            .expanded-content {
                padding: 1rem 0.8rem;
                font-size: 0.8rem;
            }
            .expanded-description {
                font-size: 0.8rem;
                margin-bottom: 0.8rem;
            }
            details.subcat-accordion > summary {
                padding: 0.6rem 0.8rem;
                font-size: 0.78rem;
            }
            table {
                font-size: 0.75rem;
            }
            th, td {
                padding: 0.4rem 0.3rem;
            }
            .fee-cell {
                font-size: 0.78rem;
            }
            .action-row {
                gap: 0.5rem;
            }
            .btn {
                padding: 0.6rem 1rem;
                font-size: 0.75rem;
            }
            .footer-container {
                flex-direction: column;
                align-items: flex-start;
                gap: 1.2rem;
            }
            .footer-links {
                gap: 2rem;
                width: 100%;
                justify-content: space-between;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        /* Scrolling client logos slider styles */
        .partners {
            background-color: var(--bg-card);
            padding: 1.25rem 1rem;
            text-align: center;
            margin-top: 1rem;
            border-top: 3px solid var(--gold);
            overflow: hidden;
            transition: var(--transition-smooth);
        }
        body.light-mode .partners {
            background-color: #FFFFFF;
        }
        .partners h2 {
            font-size: 1.1rem;
            color: var(--gold);
            margin-bottom: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .logo-slider {
            overflow: hidden;
            position: relative;
            width: 100%;
            mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
        }
        .logo-track {
            display: flex;
            gap: 4rem;
            align-items: center;
            white-space: nowrap;
            position: relative;
            width: max-content;
        }
        .logo-track img {
            height: 42px;
            object-fit: contain;
            flex-shrink: 0;
            opacity: 0.85;
            transition: var(--transition-smooth);
        }
        .logo-track img:hover {
            opacity: 1;
        }
        body.light-mode .logo-track img {
            opacity: 0.9;
        }
        body.light-mode .logo-track img:hover {
            opacity: 1;
        }
    