        /* Scoped Reset for Widget */
        .lawfirm-chat-button, 
        .lawfirm-chat-popup, 
        .lawfirm-chat-popup * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }

        /* Page Layout */
        body {
            margin: 0;
            min-height: 100vh;
            background-color: #111;
            color: #eee;
        }

        .lawfirm-page-navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 87px;
            background: #000;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            z-index: 100;
        }

        .lawfirm-page-logo-head {
            height: 50px;
            width: auto;
            position: absolute;
            top: 48%;
            left: 7%;
            transform: translate(-50%, -50%);            
            object-fit: contain;
        }

        .lawfirm-page-logo-text {
            height: 40px;
            position: absolute;
            top: 47%;
            left: 18%;
            transform: translate(-50%, -50%);
            width: auto;
            object-fit: contain;
        }

        /* Banner Content */        
        .lawfirm-page-banner {
            margin-top: 80px;
            width: 100%;
            height: 600px;
            background-image: url("../asset/image/banner.jpeg");
            background-size: cover;
            background-position: center;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            padding-bottom: 80px;
            overflow: hidden;
        }

        .lawfirm-page-banner::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.35);
            z-index: 0;
            pointer-events: none;
        }

        .lawfirm-page-banner::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 160px;
            background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%);
            z-index: 0;
            pointer-events: none;
        }

        .lawfirm-page-banner-title-background {
            background-color: rgba(255, 255, 255, 0.96);
            padding: 28px 44px;
            position: relative;
            margin: 0 auto;
            text-align: center;
            display: inline-block;
            z-index: 1;
            max-width: 440px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
        }

        .lawfirm-page-banner-title {
            font-size: 38px;
            line-height: 1.25;
            color: #222;
            margin: 0 0 16px 0;
            font-weight: 400;
        }

        .lawfirm-page-banner-subtitle {
            font-size: 16px;
            line-height: 1.7;
            color: #444;
            margin: 0;
        }       

        .lawfirm-page-banner-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-top: 20px;
            padding: 12px 28px;
            background-color: #C8A775;
            color: white;
            text-decoration: none;
            border-radius: 3px;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
        }

        .lawfirm-page-banner-button:hover {
            background-color: #b28f54;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
            transform: translateY(-2px);
        }

        .lawfirm-page-banner-button-text {
            margin: 0;
            color: inherit;
        }

        /* Centered Circle Button */
        .lawfirm-chat-button {
            width: 80px;
            height: 80px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            z-index: 50;
            position: fixed;
            right: 25px;
            bottom: 25px;
        }

        .lawfirm-chat-button:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
        }

        .lawfirm-chat-button svg {
            width: 45px;
            height: 45px;
            fill: #25D366;
        }

        /* Popup Container */
        .lawfirm-chat-popup {
            position: fixed;
            right: 24px;
            bottom: 128px;
            width: 350px;
            max-width: 90%;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            opacity: 0;
            transform: translateY(20px) scale(0.95);
            pointer-events: none;
            transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
            z-index: 60;
        }

        .lawfirm-chat-popup.lawfirm-chat-active {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: all;
        }

        /* Header */
        .lawfirm-chat-header {
            background-color: #095e54;
            padding: 20px;
            color: white;
            display: flex;
            align-items: center;
            position: relative;
        }

        .lawfirm-chat-close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            cursor: pointer;
            font-size: 20px;
            opacity: 0.8;
            color: white; /* Ensure color is explicit */
            line-height: 1; /* Fix vertical alignment */
        }
        
        .lawfirm-chat-close-btn:hover {
            opacity: 1;
        }

        .lawfirm-chat-profile-pic {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 15px;
            background-color: #ddd;
            background-image: url('https://ui-avatars.com/api/?name=Duma+Asianna&background=random&size=128');
            background-size: cover;
            position: relative;
        }

        .lawfirm-chat-online-dot {
            position: absolute;
            bottom: 2px;
            right: 2px;
            width: 10px;
            height: 10px;
            background-color: #25D366;
            border-radius: 50%;
            border: 1px solid #095e54;
        }

        .lawfirm-chat-header-info .lawfirm-chat-header-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 2px;
            color: white; /* Explicit color */
        }

        .lawfirm-chat-header-info .lawfirm-chat-header-subtitle {
            font-size: 12px;
            opacity: 0.9;
            color: white; /* Explicit color */
        }

        /* Body */
        .lawfirm-chat-body {
            background-color: #E5DDD5;
            padding: 20px;
            min-height: 200px;
            position: relative;
            z-index: 1;
        }

        .lawfirm-chat-body::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("https://elfsight.com/assets/chats/patterns/whatsapp.png");
            background-size: 400px;
            opacity: 0.08;
            z-index: -1;
            pointer-events: none;
        }



        .lawfirm-chat-bubble {
            background-color: white;
            padding: 10px 15px;
            border-radius: 0 10px 10px 10px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
            position: relative;
            max-width: 85%;
            margin-bottom: 10px; /* Spacing between bubbles if needed */
        }

        .lawfirm-chat-bubble::before {
            content: '';
            position: absolute;
            top: 0;
            left: -10px;
            width: 0;
            height: 0;
            border-top: 10px solid white;
            border-left: 10px solid transparent;
        }

        .lawfirm-chat-sender-name {
            font-size: 13px;
            color: #999;
            font-weight: bold;
            margin-bottom: 5px;
            display: block;
        }

        .lawfirm-chat-message-text {
            font-size: 14px;
            color: #111;
            line-height: 1.4;
        }

        .lawfirm-chat-message-time {
            font-size: 11px;
            color: #999;
            text-align: right;
            margin-top: 4px;
        }

        /* Footer */
        .lawfirm-chat-footer {
            padding: 15px 20px;
            background-color: white;
            display: flex;
            justify-content: center;
        }

        .lawfirm-chat-start-btn {
            background-color: #25D366;
            color: white;
            border: none;
            padding: 10px 24px;
            border-radius: 24px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            justify-content: center;
            transition: background-color 0.2s;
            text-decoration: none;
        }

        .lawfirm-chat-start-btn:hover {
            background-color: #20b858;
        }
        
        /* Overlay to close popup when clicking outside */
        .lawfirm-chat-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.2);
            z-index: 40;
            display: none;
        }
        
        .lawfirm-chat-overlay.lawfirm-chat-active {
            display: block;
        }

        /* Typing Indicator */
        .lawfirm-chat-typing-indicator {
            display: flex;
            align-items: center;
            gap: 4px;
            width: fit-content;
            min-height: 42px;
        }

        .lawfirm-chat-typing-dot {
            width: 6px;
            height: 6px;
            background-color: #b6b5ba;
            border-radius: 50%;
            animation: lawfirm-chat-typing 1.4s infinite ease-in-out both;
        }

        .lawfirm-chat-typing-dot:nth-child(1) {
            animation-delay: -0.32s;
        }

        .lawfirm-chat-typing-dot:nth-child(2) {
            animation-delay: -0.16s;
        }

        @keyframes lawfirm-chat-typing {
            0%, 80%, 100% { 
                transform: scale(0); 
            } 
            40% { 
                transform: scale(1); 
            }
        }
        
        @keyframes lawfirm-chat-fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }


        .lawfirm-page-about-us{
            padding: 100px 30px 110px;
            background-color: #ffffff;
        }

        .lawfirm-page-about-us-content {
            max-width: 1100px;
            margin: auto;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
        }

        .lawfirm-page-about-us-content-left {
            flex: 0 0 auto;
            display: flex;
            justify-content: center;
        }

        .lawfirm-page-about-us-content-left-logo {
            max-height: 320px;
            width: auto;
            object-fit: contain;
        }

        .lawfirm-page-about-us-content-right {
            flex: 1;
            color: #222;
            margin-left: 10px;
        }

        .lawfirm-page-about-us-content-right-title {
            font-size: 32px;
            margin: 0 0 18px 0;
            font-weight: 650;
            color: #333;
            display: inline-block;
            position: relative;
            padding-bottom: 10px;
        }

        .lawfirm-page-about-us-content-right-title::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 90px;
            height: 4px;
            background-color: #C8A775;
        }

        .lawfirm-page-about-us-content-right-subtitle {
            font-size: 18px;
            line-height: 1.7;
            margin: 0;
            color: #555;
            max-width: 520px;
            text-align: justify;
        }

        @media (max-width: 768px) {
            .lawfirm-page-about-us {
                padding: 56px 24px;
            }

            .lawfirm-page-about-us-content {
                flex-direction: column;
                text-align: center;
                gap: 24px;
            }

            .lawfirm-page-about-us-content-right-subtitle {
                max-width: none;
            }
        }

        .lawfirm-page-practice-area {
            margin: 0;
            padding: 130px 20px 80px;
            background-color: #0D2E5D;
        }

        .lawfirm-page-practice-area-title {
            max-width: 1180px;
            margin: 0 auto 85px;
            text-align: center;
            font-size: 30px;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            font-weight: 600;
            color: #f5f5f5;
        }

        .lawfirm-page-practice-area-title::after {
            content: "";
            display: block;
            width: 82px;
            height: 2px;
            margin: 14px auto 0;
            background: linear-gradient(90deg, #C8A775, #f5f5f5);
        }

        .lawfirm-page-practice-area-row {
            max-width: 1180px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            gap: 40px;
        }

        .lawfirm-page-practice-area-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 18px;
            flex: 1 1 0;
            cursor: pointer;
            opacity: 0;
            transform: translateY(0);
            transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s ease-out;
            animation: lawfirm-practice-fade-up 0.6s ease-out forwards;
        }

        .lawfirm-page-practice-area-card-icon-circle {
            width: 160px;
            height: 160px;
            position: relative;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
        }

        .lawfirm-page-practice-area-card-icon-circle::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 2px solid #f5f5f5;
        }

        .lawfirm-page-practice-area-card-icon {
            font-size: 68px;
            color: #f5f5f5;
            transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.3s ease-out;
        }

        .lawfirm-page-practice-area-card-title {
            font-size: 17px;
            font-weight: 600;
            letter-spacing: 0.02em;
            color: #f0f0f0;
            text-align: center;
            max-width: 260px;
            transition: color 0.3s ease-out, transform 0.3s ease-out, letter-spacing 0.3s ease-out;
        }

        .lawfirm-page-practice-area-card:hover {
            transform: translateY(-4px);
        }

        .lawfirm-page-practice-area-card:hover .lawfirm-page-practice-area-card-icon-circle {
            transform: scale(1.03);
        }

        .lawfirm-page-practice-area-card:hover .lawfirm-page-practice-area-card-icon-circle::before {
            border-color: #b28f54;
            animation: lawfirm-practice-circle-spin 1.1s ease-in-out;
        }

        .lawfirm-page-practice-area-card:hover .lawfirm-page-practice-area-card-icon {
            transform: translateY(-2px) scale(1.02);
            color: #c1995a;
        }

        .lawfirm-page-practice-area-card:hover .lawfirm-page-practice-area-card-title {
            color: #C8A775;
            letter-spacing: 0.06em;
            transform: translateY(2px);
        }

        @keyframes lawfirm-practice-circle-spin {
            0% {
                transform: rotate(0deg);
            }
            60% {
                transform: rotate(340deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes lawfirm-practice-fade-up {
            from {
                opacity: 0;
                transform: translateY(16px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .lawfirm-page-practice-area-card:nth-child(1) { animation-delay: 0.05s; }
        .lawfirm-page-practice-area-card:nth-child(2) { animation-delay: 0.12s; }
        .lawfirm-page-practice-area-card:nth-child(3) { animation-delay: 0.19s; }
        .lawfirm-page-practice-area-card:nth-child(4) { animation-delay: 0.26s; }
        .lawfirm-page-practice-area-card:nth-child(5) { animation-delay: 0.33s; }

        @media (max-width: 768px) {
            .lawfirm-page-practice-area {
                margin-top: 48px;
                padding: 40px 16px;
            }

            .lawfirm-page-practice-area-row {
                flex-wrap: wrap;
                justify-content: center;
                gap: 24px;
            }

            .lawfirm-page-practice-area-card {
                flex: 0 0 46%;
                max-width: 220px;
            }
        }





























        /* Footer */
        .lawfirm-page-footer {
            background: #050505;
            color: #f5f5f5;
            padding: 56px 40px 24px;
            border-top: 1px solid rgba(255,255,255,0.08);
        }

        .lawfirm-page-footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.4fr 1.1fr 1.2fr;
            gap: 40px;
            align-items: flex-start;
        }

        .lawfirm-page-footer-brand {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .lawfirm-page-footer-logo {
            height: 70px;
            width: auto;
            object-fit: contain;
        }

        .lawfirm-page-footer-tagline {
            font-size: 14px;
            line-height: 1.7;
            color: #b8b8b8;
            max-width: 360px;
        }

        .lawfirm-page-footer-contact {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .lawfirm-page-footer-location {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .lawfirm-page-footer-title {
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin: 0 0 12px 0;
            color: #f0f0f0;
        }

        .lawfirm-page-footer-info {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .lawfirm-page-info-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 14px;
            line-height: 1.6;
            color: #d0d0d0;
        }

        .lawfirm-page-icon {
            flex-shrink: 0;
            margin-top: 2px;
        }

        .lawfirm-page-map {
            width: 100%;
            max-width: 360px;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(0,0,0,0.45);
        }

        .lawfirm-page-footer-bottom {
            max-width: 1200px;
            margin: 32px auto 0;
            padding-top: 16px;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            font-size: 13px;
            color: #8a8a8a;
        }

        @media (max-width: 900px) {
            .lawfirm-page-footer-content {
                grid-template-columns: 1fr 1fr;
                row-gap: 32px;
            }

            .lawfirm-page-footer-location {
                grid-column: span 2;
            }
        }

        @media (max-width: 640px) {
            .lawfirm-page-footer {
                padding: 40px 20px 24px;
            }

            .lawfirm-page-footer-content {
                grid-template-columns: 1fr;
            }

            .lawfirm-page-footer-brand,
            .lawfirm-page-footer-contact,
            .lawfirm-page-footer-location {
                text-align: center;
                align-items: center;
            }

            .lawfirm-page-footer-tagline {
                max-width: 100%;
            }

            .lawfirm-page-info-item {
                justify-content: center;
                text-align: left;
            }

            .lawfirm-page-map {
                max-width: 100%;
            }
        }
