/* Modern Legal Brand Color Matrix */
        :root {
            --brand-primary: #1e40af;     /* Professional Royal Deep Blue */
            --brand-secondary: #b91c1c;   /* Authoritative Court Crimson */
            --brand-accent: #d97706;      /* Trust Premium Deep Gold */
            --whatsapp-green: #25d366;    /* Active WhatsApp Conversion Tone */
            --bg-clean: #f8fafc;          /* Pure Off-White Soft Base */
            --bg-card: #ffffff;           /* Ultra Layer White */
            --text-main: #0f172a;         /* High-Contrast Deep Slate */
            --text-sub: #475569;          /* Readable Medium Slate For Copy */
            --shadow-premium: 0 20px 40px rgba(15, 23, 42, 0.04);
            --border-light: #e2e8f0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-clean);
            color: var(--text-main);
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
        }

        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Top Action Access Ribbon */
        .top-action-strip {
            background: var(--text-main);
            color: #f1f5f9;
            text-align: center;
            padding: 12px;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }
        
        .top-action-strip .wa-link {
            color: var(--whatsapp-green);
            text-decoration: none;
            margin-left: 6px;
        }

        /* 100% Fluid Responsive Navigation Header */
        .site-navigation {
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(12px);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border-light);
            padding: 18px 0;
        }

        .nav-flex {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .brand-identity-block h2 {
            font-family: 'Cabinet Grotesk', sans-serif;
            font-size: 28px;
            color: var(--text-main);
            letter-spacing: -0.5px;
            line-height: 1.1;
        }

        .brand-identity-block h2 span {
            color: var(--brand-primary);
        }

        .brand-identity-block p {
            font-size: 11px;
            text-transform: uppercase;
            font-weight: 800;
            letter-spacing: 1.5px;
            color: var(--text-sub);
            margin-top: 4px;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-menu a {
            color: var(--text-sub);
            font-size: 15px;
            font-weight: 700;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .nav-menu a:hover {
            color: var(--brand-primary);
        }

        .btn-header-cta {
            background: var(--brand-primary);
            color: white;
            padding: 12px 24px;
            font-size: 14px;
            font-weight: 700;
            border-radius: 8px;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
            transition: all 0.2s ease;
            display: inline-block;
        }

        .btn-header-cta:hover {
            transform: translateY(-1px);
            opacity: 0.9;
        }

        /* Hero Split UI Section */
        .hero-layout-section {
            padding: 80px 0;
            background: radial-gradient(circle at 85% 15%, rgba(30, 64, 175, 0.04) 0%, transparent 50%);
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 40px;
            align-items: center;
        }

        .hero-tag-badge {
            display: inline-flex;
            align-items: center;
            background: white;
            border: 1px solid var(--border-light);
            color: var(--text-main);
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        }

        .hero-tag-badge span {
            color: var(--brand-primary);
            margin-right: 6px;
        }

        .hero-layout-section h1 {
            font-family: 'Cabinet Grotesk', sans-serif;
            font-size: 48px;
            line-height: 1.15;
            color: var(--text-main);
            margin-bottom: 24px;
            letter-spacing: -1px;
        }

        .hero-layout-section h1 span {
            color: var(--brand-primary);
        }

        .hero-body-description {
            font-size: 17px;
            color: var(--text-sub);
            margin-bottom: 35px;
            font-weight: 500;
        }

        /* Compact Responsive Image Canvas Frame */
        .advocate-portrait-frame {
            position: relative;
            width: 100%;
            max-width: 320px;
            margin: 0 auto;
        }

        .portrait-canvas-wrapper {
            width: 100%;
            height: 360px;
            background: linear-gradient(180deg, #f1f5f9 0%, #cbd5e1 100%);
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
            border: 5px solid var(--bg-card);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .portrait-placeholder-message {
            text-align: center;
            padding: 20px;
        }

        .portrait-placeholder-message .icon-seal {
            font-size: 40px;
            display: block;
            margin-bottom: 8px;
        }

        .portrait-placeholder-message h4 {
            font-size: 15px;
            font-weight: 800;
            color: var(--text-main);
        }

        .portrait-floating-card-detail {
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--bg-card);
            padding: 12px 24px;
            border-radius: 10px;
            box-shadow: var(--shadow-premium);
            border: 1px solid var(--border-light);
            white-space: nowrap;
            text-align: center;
        }

        .portrait-floating-card-detail h4 {
            font-size: 14px;
            color: var(--text-main);
            font-weight: 800;
        }

        .portrait-floating-card-detail p {
            font-size: 11px;
            color: var(--brand-primary);
            font-weight: 700;
            text-transform: uppercase;
        }

        /* Jurisdiction SEO Geo-Target Strips */
        .jurisdiction-ribbon {
            background: white;
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
            padding: 25px 0;
            text-align: center;
        }
        
        .jurisdiction-title {
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--brand-secondary);
            font-weight: 800;
            margin-bottom: 12px;
        }

        .jurisdiction-flex {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .location-tag {
            background: var(--bg-clean);
            border: 1px solid var(--border-light);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 700;
            color: var(--text-main);
        }

        /* Practice Area Cards UI Grid */
        .practice-portfolio-section {
            padding: 80px 0;
            background-color: var(--bg-card);
        }

        .section-headline-block {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-headline-block span {
            color: var(--brand-secondary);
            font-weight: 800;
            text-transform: uppercase;
            font-size: 13px;
            letter-spacing: 2px;
            display: block;
            margin-bottom: 8px;
        }

        .section-headline-block h2 {
            font-family: 'Cabinet Grotesk', sans-serif;
            font-size: 38px;
            color: var(--text-main);
        }

        .portfolio-vibrant-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 25px;
        }

        .modern-feature-card {
            background: var(--bg-clean);
            border-radius: 16px;
            padding: 30px;
            transition: all 0.3s ease;
            border: 1px solid #f1f5f9;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .modern-feature-card.mutual { border-left: 5px solid #3b82f6; }
        .modern-feature-card.contested { border-left: 5px solid #ef4444; }
        .modern-feature-card.custody { border-left: 5px solid #10b981; }
        .modern-feature-card.alimony { border-left: 5px solid #f59e0b; }
        .modern-feature-card.nri-matrimonial { border-left: 5px solid #8b5cf6; }
        .modern-feature-card.mediation { border-left: 5px solid #ec4899; }
        .modern-feature-card.defense { border-left: 5px solid #64748b; }
        .modern-feature-card.property { border-left: 5px solid #06b6d4; }

        .modern-feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-premium);
            background: white;
            border-color: var(--border-light);
        }

        .card-glyph-icon {
            font-size: 32px;
            margin-bottom: 16px;
        }

        .modern-feature-card h3 {
            font-size: 20px;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 12px;
        }

        .modern-feature-card p {
            font-size: 14px;
            color: var(--text-sub);
            margin-bottom: 20px;
            text-align: justify;
        }

        .card-action-anchor {
            color: var(--brand-primary);
            font-weight: 700;
            font-size: 14px;
            text-decoration: none;
        }

        /* Premium Case Processing Intel Hub (Intake Form) */
        .intake-consultation-section {
            padding: 80px 0;
        }

        .intake-dual-panel {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 30px;
            background: var(--bg-card);
            border-radius: 20px;
            box-shadow: var(--shadow-premium);
            border: 1px solid var(--border-light);
            overflow: hidden;
        }

        .form-interactive-area {
            padding: 40px;
        }

        .form-interactive-area h3 {
            font-family: 'Cabinet Grotesk', sans-serif;
            font-size: 30px;
            margin-bottom: 8px;
        }

        .form-interactive-area p {
            font-size: 14px;
            color: var(--text-sub);
            margin-bottom: 25px;
        }

        .form-input-split-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .input-element-container {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .input-element-container label {
            font-size: 13px;
            font-weight: 700;
            color: var(--text-main);
        }

        .input-element-container input, .input-element-container select, .input-element-container textarea {
            width: 100%;
            background: var(--bg-clean);
            border: 2px solid var(--border-light);
            padding: 14px;
            font-size: 14px;
            border-radius: 8px;
            color: var(--text-main);
            outline: none;
        }

        .input-element-container input:focus, .input-element-container select:focus, .input-element-container textarea:focus {
            border-color: var(--brand-primary);
            background: white;
        }

        .btn-submit-action-engine {
            width: 100%;
            background: var(--brand-primary);
            color: white;
            border: none;
            padding: 16px;
            font-size: 15px;
            font-weight: 700;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
        }

        /* Chambers Communications Dashboard Panel */
        .chambers-address-panel {
            background: #475569;
            color: white;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 15px;
        }

        .chambers-address-panel h3 {
            font-family: 'Cabinet Grotesk', sans-serif;
            font-size: 26px;
            margin-bottom: 2px;
        }

        .chambers-address-panel .sub {
            color: #FFFFFF;
            font-size: 14px;
            margin-bottom: 15px;
        }

        .credential-card-row {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.07);
            padding: 18px;
            border-radius: 10px;
        }

        .credential-card-row label {
            display: block;
            font-size: 11px;
            text-transform: uppercase;
            font-weight: 800;
            color: var(--brand-accent);
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }

        .credential-card-row p {
            font-size: 14px;
            color: #f1f5f9;
            font-weight: 600;
            line-height: 1.5;
        }
        
        .credential-card-row.wa-card label {
            color: var(--whatsapp-green);
        }

        .credential-card-row .whatsapp-action-btn {
            display: inline-flex;
            align-items: center;
            background: var(--whatsapp-green);
            color: white;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
            margin-top: 10px;
        }

        /* Responsive Google Maps Canvas Box */
        .chambers-map-wrapper {
            width: 100%;
            height: 200px;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 5px;
        }

        .chambers-map-wrapper iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* Structural Regulatory Compliance Footer Block */
        .site-regulatory-footer {
            background: #090d16;
            color: #cbd5e1; 
            padding: 60px 0 30px 0;
            font-size: 14px;
            border-top: 000000; 
        }

        .footer-logo-title h3 {
            font-family: 'Cabinet Grotesk', sans-serif;
            font-size: 24px;
            color: white;
            margin-bottom: 15px;
        }

        .footer-bar-disclaimer {
            background: rgba(255, 255, 255, 0.05); 
            padding: 20px;
            border-radius: 10px;
            font-size: 13px; 
            line-height: 1.6;
            text-align: justify;
            margin-bottom: 30px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #cbd5e1; 
        }
        
        .footer-bar-disclaimer strong {
            color: #ff6b6b; 
            display: block;
            margin-bottom: 6px;
            font-size: 14px;
        }

        .footer-copyright-row {
            text-align: center;
            font-size: 13px;
            color: #94a3b8;
        }

        /* 100% PERFECT CROSS-DEVICE BREAKPOINTS */
        @media (max-width: 1024px) {
            .hero-grid, .intake-dual-panel { 
                grid-template-columns: 1fr; 
            }
            .hero-layout-section { 
                text-align: center; 
                padding: 60px 0;
            }
            .hero-tag-badge { 
                justify-content: center; 
            }
            .advocate-portrait-frame { 
                margin-top: 20px; 
            }
            .form-interactive-area, .chambers-address-panel {
                padding: 30px;
            }
        }

        @media (max-width: 768px) {
            .nav-menu, .nav-flex .btn-header-cta { 
                display: none; 
            }
            .hero-layout-section h1 { 
                font-size: 34px; 
            }
            .section-headline-block h2 { 
                font-size: 28px; 
            }
            .form-input-split-row { 
                grid-template-columns: 1fr; 
                gap: 15px;
            }
            .container {
                padding: 0 16px;
            }
        }
    
	/* Container for the photo */
.portrait-canvas-wrapper {
    position: relative;        /* Crucial for layering the image over the placeholder */
    width: 100%;               /* Adjusts dynamically to the parent container width */
    height: 450px;             /* Set your desired height here */
    background-color: #f4f4f6; /* Soft background color for the placeholder */
    border-radius: 12px;       /* Gives smooth rounded corners */
    overflow: hidden;          /* Prevents image overflowing the boundaries */
}

/* Centers the placeholder content perfectly */
.portrait-placeholder-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;                /* Keeps it in the background when image loads */
}

/* Automatically adjusts and fits the portrait image */
.portrait-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;         /* Forces the photo to fill the frame nicely without stretching */
    object-position: center;   /* Keeps the subject's face/center of the photo in focus */
    z-index: 2;                /* Layered on top of the placeholder text */
}
 /* BAR COUNCIL DISCLAIMER POPUP MODAL STYLES */
        .disclaimer-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(15, 23, 42, 0.95);
            z-index: 99999;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            backdrop-filter: blur(5px);
        }
        .disclaimer-modal {
            background-color: #ffffff;
            max-width: 650px;
            width: 100%;
            border-radius: 12px;
            padding: 35px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
            font-family: 'Plus Jakarta Sans', sans-serif;
            border-top: 6px solid #b45309;
        }
        .disclaimer-header {
            color: #9a3412;
            font-size: 20px;
            font-weight: 700;
            margin-top: 0;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .disclaimer-body {
            color: #334155;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 25px;
            text-align: justify;
        }
        .disclaimer-actions {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
        }
        .btn-disclaimer-agree {
            background-color: #1e293b;
            color: #ffffff;
            border: none;
            padding: 12px 28px;
            font-size: 14px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        .btn-disclaimer-agree:hover {
            background-color: #0f172a;
        }
        .btn-disclaimer-decline {
            background-color: #f1f5f9;
            color: #64748b;
            border: 1px solid #e2e8f0;
            padding: 12px 24px;
            font-size: 14px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .btn-disclaimer-decline:hover {
            background-color: #e2e8f0;
            color: #334155;
        }
        body.modal-open {
            overflow: hidden;
        }

        /* FOOTER CENTERED ALIGNMENT STYLES */
        .site-regulatory-footer {
			background: #475569;
            text-align: center !important;
            padding: 40px 20px !important;
            color: #ffffff !important;
        }
        .footer-logo-title {
            text-align: center !important;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
        }
        .footer-bar-disclaimer {
            text-align: center !important;
            max-width: 900px;
            margin: 0 auto 25px auto !important;
            color: #ffffff !important;
        }
        .footer-copyright-row {
            text-align: center !important;
            color: #ffffff !important;
        }

        /* NEW: Footer Services Locations Style */
        .footer-services-title {
            color: var(--brand-accent); /* Premium Gold color logic unga root-la irunthu */
            font-size: 14px;
            text-transform: uppercase;
            font-weight: 800;
            letter-spacing: 1.5px;
            margin-bottom: 15px;
        }
        .footer-services-flex {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }
        .footer-service-location {
            color: #ffffff !important;
            font-size: 14px;
            font-weight: 600;
            opacity: 0.85;
            text-decoration: none;
        }
        .footer-service-location:not(:last-child)::after {
            content: " |";
            color: var(--brand-secondary); /* Court Crimson separator */
            padding-left: 20px;
        }
		/* HAMBURGER EXPAND FIXED */
@media (max-width: 768px) {
    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        padding: 20px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-premium);
        gap: 20px;
        z-index: 999;
    }
}
/* Mobile Menu-kkana basic CSS (Unga style.css-il illai endral idhu uthavum) */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            z-index: 1001;
        }
        .mobile-menu-btn span {
            display: block;
            height: 3px;
            width: 100%;
            background-color: #333; /* Unga theme-ukku etra maathiri color maathikolga */
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: flex; /* Mobile screen-il hamburger line-ai kaattum */
            }
            .nav-menu {
                display: none; /* JavaScript toggle moolam open aagum */
            }
            .nav-menu.active {
                display: block;
            }
        }