/* ==========================================================================
   JMM LAW FIRM - PREMIUM LEGAL THEME
   Inspired by Legalor Law Firm & Attorney Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Google Fonts & Root Custom Properties
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --jmm-primary: #0c1626;
    --jmm-secondary: #142238;
    --jmm-dark-alt: #080f1a;
    --jmm-gold: #c5a880;
    --jmm-gold-light: #dfcaa7;
    --jmm-gold-dark: #a8885b;
    --jmm-gold-hover: #b8986c;
    --jmm-gold-gradient: linear-gradient(135deg, #c5a880 0%, #e5d4be 50%, #b59465 100%);
    --jmm-gold-glow: rgba(197, 168, 128, 0.25);
    
    --jmm-bg-light: #fbf9f6;
    --jmm-bg-cream: #f4efe7;
    --jmm-bg-card: #ffffff;
    --jmm-text-dark: #1e293b;
    --jmm-text-body: #475569;
    --jmm-text-muted: #64748b;
    --jmm-text-light: #cbd5e1;
    --jmm-border-light: #e7e2d8;
    --jmm-border-dark: rgba(197, 168, 128, 0.22);
    
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(12, 22, 38, 0.08);
    --shadow-lg: 0 20px 40px rgba(12, 22, 38, 0.12);
    --shadow-gold: 0 10px 25px rgba(197, 168, 128, 0.25);
}

/* --------------------------------------------------------------------------
   2. Base & Typography Resets
   -------------------------------------------------------------------------- */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--jmm-text-body);
    background-color: #ffffff;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--jmm-primary);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.font-serif {
    font-family: var(--font-serif) !important;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--jmm-gold-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--jmm-primary);
}

/* Overriding default template input cap */
input, select, textarea {
    max-width: 100% !important;
}

/* --------------------------------------------------------------------------
   3. Top Bar (Legalor Exact Style)
   -------------------------------------------------------------------------- */
.jmm-topbar {
    background-color: #0b0e14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #94a3b8;
    padding: 8px 0;
}

.jmm-topbar a {
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.jmm-topbar a:hover {
    color: #e59819;
}

.jmm-topbar .topbar-consult-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 6px;
    cursor: pointer;
}

.jmm-topbar .topbar-consult-link:hover {
    color: #e59819;
}

.jmm-topbar-meta-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 20px;
    font-size: 13px;
}

.jmm-topbar-meta-links a {
    color: #cbd5e1;
}

.jmm-topbar-meta-links span.sep {
    color: rgba(255, 255, 255, 0.2);
}

.jmm-topbar-socials {
    display: inline-flex;
    gap: 12px;
}

.jmm-topbar-socials a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 12px;
    transition: var(--transition-fast);
}

.jmm-topbar-socials a:hover {
    background-color: #e59819;
    color: #0b0e14;
}

/* --------------------------------------------------------------------------
   4. Main Navigation Header (Exact Legalor Theme)
   -------------------------------------------------------------------------- */
.jmm-navbar {
    background-color: #121722;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-bottom: 2px solid #e59819;
    position: relative;
    z-index: 1020;
}

.jmm-navbar.sticky-nav {
    position: sticky;
    top: 0;
}

.jmm-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 10px 0;
}

.jmm-brand-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e59819;
    box-shadow: 0 0 12px rgba(229, 152, 25, 0.4);
    background-color: #000000;
}

.jmm-brand-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
}

.jmm-brand-title span {
    color: #e59819;
}

.jmm-brand-sub {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #dfcaa7;
    text-transform: uppercase;
    margin-top: 2px;
}

.jmm-navbar .nav-link {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff !important;
    padding: 24px 14px !important;
    position: relative;
    transition: color 0.2s ease;
}

.jmm-navbar .nav-link:hover,
.jmm-navbar .nav-link.active {
    color: #e59819 !important;
}

.jmm-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    background: #e59819;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.jmm-navbar .nav-link:hover::after,
.jmm-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.jmm-search-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.jmm-search-btn:hover {
    color: #e59819;
}

/* Legalor Amber Phone Box */
.jmm-expert-box {
    background: #e59819;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
    border-radius: 0;
}

.jmm-expert-box:hover {
    background: #cf840f;
    color: #ffffff !important;
}

.jmm-expert-icon {
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

.jmm-expert-text-group {
    display: flex;
    flex-direction: column;
}

.jmm-expert-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.1;
    opacity: 0.95;
}

.jmm-expert-number {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-top: 3px;
}

.jmm-drawer-btn {
    background: #0b0e14;
    color: #ffffff;
    border: none;
    padding: 0 20px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.jmm-drawer-btn:hover {
    background: #172030;
    color: #e59819;
}

/* Subhajali Sinha Founder Profile & Quote Box */
.subhajali-quote-card {
    background: #ffffff;
    border: 1px solid var(--jmm-border-light);
    border-left: 5px solid #e59819;
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.subhajali-photo-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid #e59819;
    box-shadow: var(--shadow-lg);
}

.subhajali-photo-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
    transition: var(--transition-fast);
}

.jmm-navbar .nav-link:hover,
.jmm-navbar .nav-link.active {
    color: var(--jmm-gold) !important;
}

.jmm-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--jmm-gold);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.jmm-navbar .nav-link:hover::after,
.jmm-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.jmm-navbar-cta {
    margin-left: 15px;
}

/* --------------------------------------------------------------------------
   5. Buttons & Badges (Luxury Gold Theme)
   -------------------------------------------------------------------------- */
.btn-gold {
    background: var(--jmm-gold-gradient);
    color: var(--jmm-primary) !important;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #dfcaa7 0%, #c5a880 100%);
    color: var(--jmm-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(197, 168, 128, 0.45);
}

.btn-gold-outline {
    background: transparent;
    color: var(--jmm-gold) !important;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 11px 26px;
    border: 1px solid var(--jmm-gold);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: var(--jmm-gold);
    color: var(--jmm-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.25);
}

.btn-dark {
    background: var(--jmm-primary);
    color: #ffffff !important;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: var(--jmm-secondary);
    border-color: var(--jmm-gold);
    color: var(--jmm-gold) !important;
    transform: translateY(-2px);
}

/* Section Subtitle / Kicker */
.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--jmm-gold-dark);
    margin-bottom: 12px;
}

.section-subtitle::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--jmm-gold);
}

.section-subtitle.light {
    color: var(--jmm-gold-light);
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--jmm-primary);
}

.section-title.light {
    color: #ffffff;
}

.section-desc {
    font-size: 16px;
    color: var(--jmm-text-muted);
    max-width: 680px;
    margin-bottom: 0;
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--jmm-gold-gradient);
    margin: 16px 0 24px 0;
}

.gold-divider.center {
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   6. Inner Page Banner (Breadcrumb Hero)
   -------------------------------------------------------------------------- */
.jmm-page-banner {
    position: relative;
    background-color: var(--jmm-primary);
    background-image: linear-gradient(rgba(12, 22, 38, 0.88), rgba(12, 22, 38, 0.94)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 90px 0;
    text-align: center;
    color: #ffffff;
    border-bottom: 3px solid var(--jmm-gold);
}

.jmm-page-banner h1 {
    font-size: 46px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.jmm-page-banner .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jmm-page-banner .breadcrumb-item a {
    color: var(--jmm-gold-light);
}

.jmm-page-banner .breadcrumb-item.active {
    color: #ffffff;
}

.jmm-page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(197, 168, 128, 0.5);
    content: "•";
    padding: 0 10px;
}

/* --------------------------------------------------------------------------
   7. Home Hero Section
   -------------------------------------------------------------------------- */
.jmm-hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(8, 15, 26, 0.92) 0%, rgba(12, 22, 38, 0.85) 60%, rgba(20, 34, 56, 0.88) 100%), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 110px 0 90px 0;
    overflow: hidden;
}

.jmm-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--jmm-gold-gradient);
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 168, 128, 0.15);
    border: 1px solid var(--jmm-gold);
    color: var(--jmm-gold-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--jmm-gold);
    font-style: italic;
    font-family: var(--font-serif);
}

.hero-lead {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-floating-card {
    background: rgba(20, 34, 56, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--jmm-border-dark);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    position: relative;
}

.hero-floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--jmm-gold-gradient);
}

/* --------------------------------------------------------------------------
   8. Feature Highlights Banner (Top 4 Pillars)
   -------------------------------------------------------------------------- */
.jmm-features-strip {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--jmm-border-light);
    border-top: 3px solid var(--jmm-gold);
    padding: 32px 24px;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--jmm-primary);
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--jmm-bg-cream);
    border: 1px solid var(--jmm-border-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jmm-gold-dark);
    font-size: 26px;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.feature-box:hover .feature-icon-wrap {
    background: var(--jmm-primary);
    color: var(--jmm-gold);
}

.feature-box h4 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: var(--jmm-text-muted);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Practice Area Cards (Legalor Grid)
   -------------------------------------------------------------------------- */
.jmm-service-card {
    background: #ffffff;
    border: 1px solid var(--jmm-border-light);
    border-radius: 6px;
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.jmm-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--jmm-gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.jmm-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--jmm-gold-light);
}

.jmm-service-card:hover::after {
    transform: scaleX(1);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    background: var(--jmm-bg-cream);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--jmm-gold-dark);
    margin-bottom: 22px;
    transition: var(--transition-fast);
}

.jmm-service-card:hover .service-card-icon {
    background: var(--jmm-primary);
    color: var(--jmm-gold);
}

.service-card-title {
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 14px;
    color: var(--jmm-text-muted);
    margin-bottom: 18px;
}

.service-card-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 22px;
    font-size: 13px;
}

.service-card-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--jmm-text-body);
}

.service-card-list li i {
    color: var(--jmm-gold-dark);
    font-size: 12px;
}

.service-card-link {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jmm-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card-link i {
    color: var(--jmm-gold-dark);
    transition: transform 0.2s ease;
}

.service-card-link:hover i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   10. Attorney Team Card
   -------------------------------------------------------------------------- */
.jmm-attorney-card {
    background: #ffffff;
    border: 1px solid var(--jmm-border-light);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.jmm-attorney-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--jmm-gold);
}

.attorney-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 380px;
    background-color: var(--jmm-secondary);
}

.attorney-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.jmm-attorney-card:hover .attorney-img-wrapper img {
    transform: scale(1.05);
    filter: brightness(1.02);
}

.attorney-social-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(12, 22, 38, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    gap: 14px;
    transition: bottom 0.35s ease;
}

.jmm-attorney-card:hover .attorney-social-overlay {
    bottom: 0;
}

.attorney-social-overlay a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--jmm-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition-fast);
}

.attorney-social-overlay a:hover {
    background: var(--jmm-gold);
    color: var(--jmm-primary);
}

.attorney-info {
    padding: 24px 20px;
    text-align: center;
}

.attorney-role-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--jmm-gold-dark);
    margin-bottom: 6px;
}

.attorney-name {
    font-size: 20px;
    margin-bottom: 6px;
}

.attorney-details-meta {
    font-size: 13px;
    color: var(--jmm-text-muted);
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   11. Case Study Cards & Results
   -------------------------------------------------------------------------- */
.jmm-case-card {
    background: #ffffff;
    border: 1px solid var(--jmm-border-light);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jmm-case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--jmm-gold);
}

.case-card-header {
    background: var(--jmm-primary);
    color: #ffffff;
    padding: 20px 24px;
    position: relative;
    border-bottom: 2px solid var(--jmm-gold);
}

.case-result-badge {
    display: inline-block;
    background: var(--jmm-gold-gradient);
    color: var(--jmm-primary);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.case-card-title {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 0;
}

.case-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--jmm-text-muted);
    border-bottom: 1px solid var(--jmm-border-light);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.case-summary {
    font-size: 14px;
    color: var(--jmm-text-body);
    margin-bottom: 18px;
    flex-grow: 1;
}

/* --------------------------------------------------------------------------
   12. Statistics / Counter Bar
   -------------------------------------------------------------------------- */
.jmm-counter-section {
    background: var(--jmm-secondary);
    background-image: linear-gradient(rgba(12, 22, 38, 0.94), rgba(12, 22, 38, 0.96)), url('https://images.unsplash.com/photo-1450133064473-71024230f91b?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    border-top: 1px solid var(--jmm-border-dark);
    border-bottom: 1px solid var(--jmm-border-dark);
    padding: 70px 0;
    color: #ffffff;
}

.counter-item {
    text-align: center;
    padding: 15px;
}

.counter-icon {
    font-size: 36px;
    color: var(--jmm-gold);
    margin-bottom: 14px;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.counter-number span {
    color: var(--jmm-gold);
}

.counter-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--jmm-gold-light);
}

/* --------------------------------------------------------------------------
   13. Testimonials / Client Reviews
   -------------------------------------------------------------------------- */
.jmm-testimonial-card {
    background: #ffffff;
    border: 1px solid var(--jmm-border-light);
    border-radius: 6px;
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 15px;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 16px;
    color: var(--jmm-text-dark);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--jmm-gold);
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--jmm-primary);
    margin-bottom: 2px;
}

.testimonial-case {
    font-size: 12px;
    color: var(--jmm-text-muted);
}

/* --------------------------------------------------------------------------
   14. Career Job Openings Accordion & Cards
   -------------------------------------------------------------------------- */
.jmm-career-card {
    background: #ffffff;
    border: 1px solid var(--jmm-border-light);
    border-left: 4px solid var(--jmm-gold);
    border-radius: 6px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.jmm-career-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.career-meta-badge {
    display: inline-block;
    background: var(--jmm-bg-cream);
    color: var(--jmm-primary);
    border: 1px solid var(--jmm-border-light);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   15. Forms & Inputs (Contact / Consultation)
   -------------------------------------------------------------------------- */
.jmm-form-card {
    background: #ffffff;
    border: 1px solid var(--jmm-border-light);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.jmm-form-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--jmm-primary);
    margin-bottom: 6px;
}

.jmm-form-control {
    background-color: var(--jmm-bg-light);
    border: 1px solid var(--jmm-border-light);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--jmm-text-dark);
    transition: var(--transition-fast);
}

.jmm-form-control:focus {
    background-color: #ffffff;
    border-color: var(--jmm-gold);
    outline: none;
    box-shadow: 0 0 0 4px var(--jmm-gold-glow);
}

/* --------------------------------------------------------------------------
   16. CTA Banner
   -------------------------------------------------------------------------- */
.jmm-cta-banner {
    background: var(--jmm-primary);
    background-image: linear-gradient(135deg, rgba(12, 22, 38, 0.95), rgba(20, 34, 56, 0.92)), url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    border-top: 3px solid var(--jmm-gold);
    border-bottom: 3px solid var(--jmm-gold);
    color: #ffffff;
    text-align: center;
}

.jmm-cta-banner h2 {
    color: #ffffff;
    font-size: 38px;
    margin-bottom: 16px;
}

.jmm-cta-banner p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.jmm-footer {
    background-color: var(--jmm-dark-alt);
    border-top: 1px solid rgba(197, 168, 128, 0.2);
    color: #94a3b8;
    padding-top: 80px;
    font-size: 14px;
}

.footer-col-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--jmm-gold);
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a i {
    color: var(--jmm-gold);
    font-size: 11px;
}

.footer-links a:hover {
    color: var(--jmm-gold-light);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item i {
    color: var(--jmm-gold);
    font-size: 16px;
    margin-top: 4px;
}

.jmm-footer-bottom {
    background-color: #050a12;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    margin-top: 60px;
    font-size: 13px;
    color: #64748b;
}

.jmm-footer-bottom a {
    color: #94a3b8;
}

.jmm-footer-bottom a:hover {
    color: var(--jmm-gold);
}

/* --------------------------------------------------------------------------
   18. Modal & Utilities
   -------------------------------------------------------------------------- */
.modal-content.jmm-modal {
    background: #ffffff;
    border: 1px solid var(--jmm-border-light);
    border-radius: 8px;
    overflow: hidden;
}

.modal-content.jmm-modal .modal-header {
    background: var(--jmm-primary);
    color: #ffffff;
    border-bottom: 2px solid var(--jmm-gold);
    padding: 20px 24px;
}

.modal-content.jmm-modal .modal-header .btn-close {
    filter: invert(1);
}

.bg-cream {
    background-color: var(--jmm-bg-light) !important;
}

.bg-navy {
    background-color: var(--jmm-primary) !important;
}

.text-gold {
    color: var(--jmm-gold) !important;
}

/* Floating back to top button */
#btnBackToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: var(--jmm-gold-gradient);
    color: var(--jmm-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#btnBackToTop.show {
    opacity: 1;
    visibility: visible;
}

#btnBackToTop:hover {
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   19. Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 40px;
    }
    .jmm-features-strip {
        margin-top: 0 !important;
        padding-top: 24px;
        padding-bottom: 12px;
    }
    .section-title {
        font-size: 30px;
    }
    .jmm-navbar-cta {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 32px;
    }
    .jmm-topbar {
        text-align: center;
    }
    .jmm-topbar .topbar-item {
        margin-right: 12px;
        font-size: 12px;
    }
}

/* --------------------------------------------------------------------------
   20. Mission & Vision Showcase UI & 3D Interactive Hover Animations
   -------------------------------------------------------------------------- */
.jmm-mv-section {
    position: relative;
    background: radial-gradient(circle at 50% 20%, #152238 0%, #0c1626 70%, #070d17 100%);
    color: #ffffff;
    overflow: hidden;
}

.jmm-mv-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(rgba(229, 152, 25, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.6;
    pointer-events: none;
}

.jmm-mv-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(21, 34, 56, 0.95) 0%, rgba(12, 22, 38, 0.98) 100%);
    border: 1px solid rgba(229, 152, 25, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 44px 38px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.jmm-mv-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 152, 25, 0.12) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.jmm-mv-card:hover {
    transform: translateY(-10px) scale(1.012);
    border-color: rgba(229, 152, 25, 0.8);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(229, 152, 25, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.jmm-mv-card:hover::after {
    opacity: 1;
}

.jmm-mv-card .card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e59819 0%, #ffc857 50%, #e59819 100%);
    transition: height 0.3s ease, box-shadow 0.3s ease;
}

.jmm-mv-card:hover .card-top-accent {
    height: 6px;
    box-shadow: 0 0 18px #e59819;
}

.jmm-mv-watermark {
    position: absolute;
    right: -25px;
    bottom: -25px;
    font-size: 170px;
    color: rgba(229, 152, 25, 0.04);
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: rotate(-12deg);
    z-index: 0;
}

.jmm-mv-card:hover .jmm-mv-watermark {
    color: rgba(229, 152, 25, 0.09);
    transform: rotate(0deg) scale(1.1);
}

.jmm-mv-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(229, 152, 25, 0.16) 0%, rgba(229, 152, 25, 0.04) 100%);
    border: 2px solid rgba(229, 152, 25, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e59819;
    font-size: 34px;
    margin-bottom: 24px;
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.jmm-mv-card:hover .jmm-mv-icon-wrap {
    transform: scale(1.15) rotate(7deg);
    background: linear-gradient(135deg, #e59819 0%, #cf840f 100%);
    color: #0c1626;
    border-color: #ffe082;
    box-shadow: 0 14px 30px rgba(229, 152, 25, 0.5);
}

.jmm-mv-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(229, 152, 25, 0.14);
    border: 1px solid rgba(229, 152, 25, 0.38);
    color: #f7c948;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.jmm-mv-card:hover .jmm-mv-tag-pill {
    background: rgba(229, 152, 25, 0.25);
    border-color: #e59819;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(229, 152, 25, 0.35);
}

.jmm-mv-text {
    color: #e2e8f0;
    font-size: 15.5px;
    line-height: 1.78;
    position: relative;
    z-index: 1;
}

.jmm-mv-feature-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.jmm-mv-feature-pill i {
    color: #e59819;
    font-size: 15px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.jmm-mv-card:hover .jmm-mv-feature-pill {
    background: rgba(229, 152, 25, 0.09);
    border-color: rgba(229, 152, 25, 0.32);
    transform: translateX(6px);
}

.jmm-mv-feature-pill:hover {
    background: rgba(229, 152, 25, 0.18) !important;
    border-color: #e59819 !important;
    transform: translateX(10px) !important;
}

.jmm-mv-feature-pill:hover i {
    transform: scale(1.25);
}

/* Practice Tag Pills in About Section */
.jmm-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0c1626;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.jmm-badge-tag i {
    color: #e59819;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.jmm-badge-tag:hover {
    background: linear-gradient(135deg, #0c1626 0%, #172844 100%);
    color: #ffffff;
    border-color: #e59819;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(12, 22, 38, 0.18);
}

.jmm-badge-tag:hover i {
    color: #ffd666;
    transform: scale(1.2);
}

/* 3D Founder Card in About Section */
.jmm-founder-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    border: 2px solid rgba(229, 152, 25, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.jmm-founder-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.jmm-founder-frame:hover {
    transform: translateY(-8px);
    border-color: #e59819;
    box-shadow: 0 20px 40px rgba(229, 152, 25, 0.25);
}

.jmm-founder-frame:hover img {
    transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   21. Legalor Theme About Showcase & Floating Badges Component
   -------------------------------------------------------------------------- */
.legalor-about-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 40px 0 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 30px 0;
}

@media (max-width: 991.98px) {
    .legalor-about-counters {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }
}

@media (max-width: 575.98px) {
    .legalor-about-counters {
        grid-template-columns: 1fr;
        gap: 24px 0;
    }
}

.legalor-counter-item {
    text-align: center;
    position: relative;
    padding: 10px 20px;
}

.legalor-counter-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #e2e8f0;
}

@media (max-width: 991.98px) {
    .legalor-counter-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .legalor-counter-item::after {
        display: none !important;
    }
}

.legalor-counter-number {
    font-size: 46px;
    font-weight: 800;
    color: #0c1626;
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    margin-bottom: 6px;
}

.legalor-counter-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

/* Legalor Image Showcase with Floating Overlays */
.legalor-showcase-wrapper {
    position: relative;
    margin-bottom: 70px;
}

.legalor-showcase-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(12, 22, 38, 0.12);
    display: block;
}

@media (max-width: 767.98px) {
    .legalor-showcase-img {
        height: 380px;
    }
}

/* Floating Experience Badge (Bottom Left) */
.legalor-exp-badge {
    position: absolute;
    bottom: -25px;
    left: 40px;
    background: #e59819;
    color: #ffffff;
    padding: 22px 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 15px 35px rgba(229, 152, 25, 0.35);
    z-index: 5;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.legalor-exp-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(229, 152, 25, 0.45);
}

.legalor-exp-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: #e59819;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.legalor-exp-text {
    font-size: 20px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Floating Video Tour Card (Bottom Right) */
.legalor-video-card {
    position: absolute;
    bottom: -45px;
    right: 40px;
    width: 320px;
    max-width: 90%;
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(12, 22, 38, 0.16);
    border: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 5;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.legalor-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 75px rgba(12, 22, 38, 0.22);
}

.legalor-video-sub {
    color: #e59819;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 14px;
}

/* Pulsing Play Button */
.legalor-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e59819;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    position: relative;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: 0 10px 25px rgba(229, 152, 25, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.legalor-play-btn::before,
.legalor-play-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(229, 152, 25, 0.6);
    animation: legalorPulse 2.2s infinite ease-out;
}

.legalor-play-btn::after {
    animation-delay: 1.1s;
}

@keyframes legalorPulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }
    100% {
        width: 175%;
        height: 175%;
        opacity: 0;
    }
}

.legalor-play-btn:hover {
    transform: scale(1.1);
    background: #cf840f;
}

.legalor-video-title {
    font-size: 19px;
    font-weight: 700;
    color: #0c1626;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.legalor-video-desc {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .legalor-exp-badge {
        position: static;
        margin-top: 20px;
        display: inline-flex;
    }
    .legalor-video-card {
        position: static;
        width: 100%;
        margin-top: 20px;
    }
    .legalor-showcase-wrapper {
        margin-bottom: 30px;
    }
}

/* --------------------------------------------------------------------------
   22. Legalor Theme "Experience You Can Trust" Signature Mosaic Component
   -------------------------------------------------------------------------- */
.legalor-trust-section {
    position: relative;
    background: #141b29;
    color: #ffffff;
    padding: 95px 0 135px 0;
    overflow: hidden;
}

.legalor-trust-watermark {
    position: absolute;
    right: -40px;
    bottom: -20px;
    font-size: 440px;
    color: rgba(255, 255, 255, 0.038);
    pointer-events: none;
    z-index: 1;
    transform: rotate(-8deg);
}

.legalor-trust-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 2;
    pointer-events: none;
}

.legalor-trust-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* 4-Quadrant Mosaic Container */
.legalor-mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 230px 230px;
    gap: 14px;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

@media (max-width: 575.98px) {
    .legalor-mosaic-grid {
        grid-template-rows: 175px 175px;
        gap: 10px;
        max-width: 360px;
    }
}

/* Quadrant 1: Top-Left Amber Quarter Circle */
.legalor-mosaic-quad-1 {
    background: #e59819;
    border-top-left-radius: 230px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 24px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(229, 152, 25, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.legalor-mosaic-quad-1:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(229, 152, 25, 0.35);
}

.legalor-mosaic-quad-1 .quad-icon {
    font-size: 42px;
    margin-bottom: 14px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.legalor-mosaic-quad-1 .quad-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: capitalize;
    margin: 0;
}

/* Quadrant 2: Top-Right Image */
.legalor-mosaic-quad-2 {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.legalor-mosaic-quad-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.legalor-mosaic-quad-2:hover img {
    transform: scale(1.08);
}

/* Quadrant 3: Bottom-Left Image */
.legalor-mosaic-quad-3 {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.legalor-mosaic-quad-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.legalor-mosaic-quad-3:hover img {
    transform: scale(1.08);
}

/* Quadrant 4: Bottom-Right Amber Quarter Circle */
.legalor-mosaic-quad-4 {
    background: #e59819;
    border-bottom-right-radius: 230px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 24px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(229, 152, 25, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.legalor-mosaic-quad-4:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(229, 152, 25, 0.35);
}

.legalor-mosaic-quad-4 .quad-icon {
    font-size: 42px;
    margin-bottom: 14px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.legalor-mosaic-quad-4 .quad-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: capitalize;
    margin: 0;
}

/* Right Column Content & Cross-Divided 2x2 Counters Grid */
.legalor-cross-counters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    position: relative;
    margin-top: 35px;
    max-width: 480px;
}

.legalor-cross-cell {
    padding: 24px 28px;
    position: relative;
}

/* Horizontal Divider between Row 1 and Row 2 */
.legalor-cross-cell:nth-child(1),
.legalor-cross-cell:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Vertical Divider between Col 1 and Col 2 */
.legalor-cross-cell:nth-child(1),
.legalor-cross-cell:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.legalor-cross-num {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 8px;
}

.legalor-cross-label {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.3px;
}

.legalor-cross-cell:hover .legalor-cross-num {
    color: #e59819;
    transition: color 0.3s ease;
}




/* --------------------------------------------------------------------------
   23. Legalor Founder Message Section with Advanced Animations & Overlapping Card
   -------------------------------------------------------------------------- */
.legalor-founder-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    overflow: hidden;
}

/* Background Ambient Graphics */
.legalor-founder-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 152, 25, 0.08) 0%, rgba(229, 152, 25, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.legalor-founder-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 27, 41, 0.05) 0%, rgba(20, 27, 41, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

/* Founder Tab Switcher Pills */
.founder-tab-pills {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.founder-tab-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: #ffffff;
    color: #1e293b;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.founder-tab-btn:hover {
    border-color: #e59819;
    color: #e59819;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 152, 25, 0.15);
}

.founder-tab-btn.active {
    background: linear-gradient(135deg, #141b29 0%, #1e293b 100%);
    color: #e59819;
    border-color: #e59819;
    box-shadow: 0 8px 25px rgba(20, 27, 41, 0.25);
}

/* Master 2-Column Overlapping Showcase */
.founder-showcase-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 5;
    max-width: 1160px;
    margin: 0 auto;
}

/* Left Column: Big Image Container (BG Pic) */
.founder-bg-col {
    position: relative;
    width: 58%;
    flex: 0 0 58%;
    z-index: 2;
}

.founder-bg-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(229, 152, 25, 0.25);
    background-color: #141b29;
}

/* Luxury Corner Accents */
.founder-bg-frame::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
    border-top: 3px solid #e59819;
    border-left: 3px solid #e59819;
    z-index: 3;
    pointer-events: none;
    transition: all 0.4s ease;
}

.founder-bg-frame::after {
    content: '';
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-bottom: 3px solid #e59819;
    border-right: 3px solid #e59819;
    z-index: 3;
    pointer-events: none;
    transition: all 0.4s ease;
}

.founder-bg-frame:hover::before {
    top: 10px;
    left: 10px;
    width: 44px;
    height: 44px;
}

.founder-bg-frame:hover::after {
    bottom: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
}

/* The BG Pic with Keyframe Animation & Smooth Zoom */
.founder-bg-img-wrap {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 16px;
}

.founder-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    animation: founderBgFloat 6s ease-in-out infinite alternate;
}

.founder-bg-frame:hover .founder-bg-img {
    transform: scale(1.05);
    filter: brightness(1.03);
}

@keyframes founderBgFloat {
    0% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.018);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

/* Subtle Vignette Gradient Overlay */
.founder-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 27, 41, 0.05) 0%, rgba(20, 27, 41, 0.15) 60%, rgba(20, 27, 41, 0.4) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Concentric Pulsing Play Button Overlapping the Left Edge */
.founder-play-btn {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e59819 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding-left: 4px;
    cursor: pointer;
    z-index: 4;
    animation: founderPlayPulse 2.2s infinite;
    transition: transform 0.35s ease, background 0.35s ease;
}

.founder-play-btn:hover {
    transform: translateY(-50%) scale(1.12);
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #ffffff;
}

@keyframes founderPlayPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 152, 25, 0.75), 0 0 0 0 rgba(229, 152, 25, 0.45);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(229, 152, 25, 0), 0 0 0 36px rgba(229, 152, 25, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 152, 25, 0), 0 0 0 0 rgba(229, 152, 25, 0);
    }
}

/* Right Column: Floating Overlapping White Card */
.founder-card-col {
    position: relative;
    width: 54%;
    flex: 0 0 54%;
    margin-left: -12%;
    z-index: 6;
}

.founder-floating-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 44px 48px;
    box-shadow: 0 25px 65px -15px rgba(20, 27, 41, 0.16), 0 0 0 1px rgba(229, 152, 25, 0.15);
    border-top: 4px solid #e59819;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.founder-floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 75px -15px rgba(20, 27, 41, 0.22), 0 0 0 1px rgba(229, 152, 25, 0.25);
}

/* Gold Italicized Top Quote */
.founder-card-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #d97706;
    font-size: 1.08rem;
    line-height: 1.65;
    margin-bottom: 24px;
    position: relative;
    padding-left: 2px;
}

.founder-card-quote::before {
    content: '* ';
    color: #e59819;
    font-weight: 700;
}

.founder-card-quote::after {
    content: ' *';
    color: #e59819;
    font-weight: 700;
}

/* Profile Row with Small Pic, Name, Title, and Handwritten Signature */
.founder-profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
}

.founder-profile-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Animated Small Pic (Avatar) with Rotating Glowing Conic Ring & Floating Bob */
.founder-small-pic-ring {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 0deg, #e59819, #f59e0b, #fbbf24, #141b29, #e59819);
    animation: avatarRingSpin 5s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(229, 152, 25, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-small-pic-ring:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(229, 152, 25, 0.5);
}

@keyframes avatarRingSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.founder-small-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    animation: avatarBob 4s ease-in-out infinite alternate;
}

@keyframes avatarBob {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.03);
    }
}

.founder-name-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #141b29;
    margin: 0 0 3px 0;
    line-height: 1.25;
}

.founder-name-box span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.4px;
    display: block;
}

/* Handwritten Luxury Signature */
.founder-signature-box {
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.founder-signature-box:hover {
    opacity: 1;
    transform: scale(1.05);
}

.founder-signature-svg,
.founder-signature-img {
    width: 130px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
    display: block;
}

/* Accordion Numbered Items (01, 02, 03, 04) */
.founder-acc-list {
    display: flex;
    flex-direction: column;
}

.founder-acc-item {
    border-bottom: 1px solid #f1f5f9;
}

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

.founder-acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.founder-acc-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.founder-acc-num {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #141b29;
    min-width: 28px;
    transition: color 0.3s ease;
}

.founder-acc-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #1e293b;
    transition: color 0.3s ease, transform 0.3s ease;
    margin: 0;
}

.founder-acc-chevron {
    font-size: 13px;
    color: #94a3b8;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.founder-acc-header:hover .founder-acc-title {
    color: #e59819;
    transform: translateX(4px);
}

.founder-acc-header:hover .founder-acc-num {
    color: #e59819;
}

.founder-acc-header:hover .founder-acc-chevron {
    color: #e59819;
}

/* Active State */
.founder-acc-item.active .founder-acc-title {
    color: #e59819;
}

.founder-acc-item.active .founder-acc-num {
    color: #e59819;
}

.founder-acc-item.active .founder-acc-chevron {
    transform: rotate(180deg);
    color: #e59819;
}

/* Accordion Collapsible Body */
.founder-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    opacity: 0;
}

.founder-acc-item.active .founder-acc-body {
    max-height: 250px;
    opacity: 1;
}

.founder-acc-content {
    padding: 0 0 16px 40px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* Responsive Handling */
@media (max-width: 991.98px) {
    .legalor-founder-section {
        padding: 70px 0;
    }

    .founder-showcase-wrapper {
        flex-direction: column;
    }

    .founder-bg-col {
        width: 100%;
        flex: 0 0 100%;
    }

    .founder-bg-img-wrap {
        height: 420px;
    }

    .founder-card-col {
        width: 100%;
        flex: 0 0 100%;
        margin-left: 0;
        margin-top: -50px;
    }

    .founder-floating-card {
        padding: 32px 24px;
    }

    .founder-play-btn {
        left: 20px;
        top: 40px;
        transform: none;
    }

    .founder-play-btn:hover {
        transform: scale(1.1);
    }
}

@media (max-width: 575.98px) {
    .founder-bg-img-wrap {
        height: 280px;
    }

    .founder-card-quote {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .founder-profile-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .founder-signature-box {
        display: block !important;
        margin-top: 4px;
        align-self: flex-start;
    }

    .founder-signature-img,
    .founder-signature-svg {
        width: 120px !important;
        max-height: 40px !important;
    }

    .founder-acc-content {
        padding-left: 0;
    }
}

/* --------------------------------------------------------------------------
   24. Clean Attorney Card with Animated Social Icons & Hover Effects
   -------------------------------------------------------------------------- */
.jmm-attorney-card-clean {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 152, 25, 0.16);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
    position: relative;
    text-align: center;
}

.jmm-attorney-card-clean:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -10px rgba(20, 27, 41, 0.22), 0 0 0 1px #e59819;
    border-color: #e59819;
}

.jmm-attorney-card-clean .attorney-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 380px;
    background-color: #141b29;
}

.jmm-attorney-card-clean .attorney-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.jmm-attorney-card-clean:hover .attorney-img-wrapper img {
    transform: scale(1.08);
    filter: brightness(1.03);
}

/* Light sweep shimmer across image on card hover */
.jmm-attorney-card-clean .attorney-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.jmm-attorney-card-clean:hover .attorney-img-wrapper::after {
    left: 180%;
}

/* Bottom Information Box: Only Name, Role & Social Icons */
.attorney-clean-info {
    padding: 24px 20px 28px 20px;
    background: #ffffff;
    position: relative;
    z-index: 3;
}

.attorney-clean-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e59819;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.attorney-clean-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #141b29;
    margin: 0 0 14px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.jmm-attorney-card-clean:hover .attorney-clean-name {
    color: #e59819;
    transform: translateY(-2px);
}

/* Golden underline accent that expands on hover */
.attorney-clean-divider {
    width: 36px;
    height: 2px;
    background: #e59819;
    margin: 0 auto 16px auto;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.jmm-attorney-card-clean:hover .attorney-clean-divider {
    width: 64px;
    background: linear-gradient(90deg, #e59819, #f59e0b, #e59819);
}

/* Animated Social Icons Row */
.attorney-clean-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
}

.attorney-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Staggered entrance pop when card is hovered */
.jmm-attorney-card-clean:hover .attorney-social-btn:nth-child(1) {
    transform: translateY(-4px);
    transition-delay: 0.04s;
}
.jmm-attorney-card-clean:hover .attorney-social-btn:nth-child(2) {
    transform: translateY(-4px);
    transition-delay: 0.08s;
}
.jmm-attorney-card-clean:hover .attorney-social-btn:nth-child(3) {
    transform: translateY(-4px);
    transition-delay: 0.12s;
}
.jmm-attorney-card-clean:hover .attorney-social-btn:nth-child(4) {
    transform: translateY(-4px);
    transition-delay: 0.16s;
}

/* Individual Social Brand Hover Styles & Animations */
.attorney-social-btn.social-phone:hover {
    background: #141b29;
    color: #e59819;
    border-color: #141b29;
    transform: translateY(-8px) scale(1.15) !important;
    box-shadow: 0 10px 20px rgba(20, 27, 41, 0.3);
}

.attorney-social-btn.social-whatsapp:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    transform: translateY(-8px) scale(1.15) !important;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.attorney-social-btn.social-email:hover {
    background: #e59819;
    color: #ffffff;
    border-color: #e59819;
    transform: translateY(-8px) scale(1.15) !important;
    box-shadow: 0 10px 20px rgba(229, 152, 25, 0.45);
}

.attorney-social-btn.social-linkedin:hover {
    background: #0077b5;
    color: #ffffff;
    border-color: #0077b5;
    transform: translateY(-8px) scale(1.15) !important;
    box-shadow: 0 10px 20px rgba(0, 119, 181, 0.4);
}

.attorney-social-btn i {
    transition: transform 0.3s ease;
}

.attorney-social-btn:hover i {
    transform: scale(1.15) rotate(6deg);
}

/* --------------------------------------------------------------------------
   25. Legalor Signature Hero Section (Exact Match to User Reference)
   -------------------------------------------------------------------------- */
.legalor-hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    background-image: linear-gradient(90deg, #ffffff 0%, #ffffff 38%, rgba(255, 255, 255, 0.88) 58%, rgba(255, 255, 255, 0.15) 100%), 
                      url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    padding: 120px 0 100px 0;
    overflow: hidden;
}

/* Ambient Radial Glow */
.legalor-hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 152, 25, 0.15) 0%, rgba(229, 152, 25, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
    animation: heroGlowBreathing 6s ease-in-out infinite alternate;
}

@keyframes heroGlowBreathing {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 1; }
}

/* Hero Content Area */
.legalor-hero-content {
    position: relative;
    z-index: 5;
    max-width: 680px;
}

.legalor-hero-pretitle {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #141b29;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legalor-hero-pretitle::after {
    content: '';
    display: inline-block;
    width: 35px;
    height: 2px;
    background: #e59819;
}

.legalor-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 4.8vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #141b29;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.legalor-hero-title span {
    color: #e59819;
}

.legalor-hero-lead {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 36px;
    max-width: 580px;
}

.legalor-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-legalor-book {
    padding: 16px 38px;
    background: #e59819;
    color: #141b29;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(229, 152, 25, 0.35);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-legalor-book:hover {
    background: #141b29;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(20, 27, 41, 0.3);
}

.btn-legalor-book i {
    transition: transform 0.3s ease;
}

.btn-legalor-book:hover i {
    transform: translateX(3px);
}

.btn-legalor-call {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #141b29;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-legalor-call .call-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e59819;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-legalor-call:hover .call-icon {
    background: #e59819;
    color: #ffffff;
    transform: scale(1.1);
}

/* Floating Trust Badges in Hero */
.hero-stat-badge {
    position: absolute;
    right: 6%;
    bottom: 12%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 152, 25, 0.3);
    border-radius: 12px;
    padding: 18px 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 6;
    animation: heroBadgeFloat 5s ease-in-out infinite alternate;
}

@keyframes heroBadgeFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

.hero-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #141b29 0%, #1e293b 100%);
    color: #e59819;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: #141b29;
    line-height: 1;
    margin-bottom: 2px;
}

.hero-stat-text {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

@media (max-width: 991.98px) {
    .legalor-hero-section {
        background-image: linear-gradient(90deg, #ffffff 65%, rgba(255, 255, 255, 0.9) 100%), 
                          url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920&q=80');
        padding: 90px 0 70px 0;
    }

    .hero-stat-badge {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   26. Legalor Signature CTA Banner (Exact Match to User Reference)
   -------------------------------------------------------------------------- */
.legalor-cta-section {
    position: relative;
    padding: 110px 0 115px 0;
    background-color: #141b29;
    background-image: linear-gradient(135deg, rgba(20, 27, 41, 0.92) 0%, rgba(15, 23, 42, 0.94) 100%), 
                      url('https://images.unsplash.com/photo-1450133064473-71024230f91b?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

/* Background Animated Watermark */
.legalor-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(229, 152, 25, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    animation: ctaPulseGlow 7s ease-in-out infinite alternate;
}

@keyframes ctaPulseGlow {
    0% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.1); }
}

.legalor-cta-content {
    position: relative;
    z-index: 5;
    max-width: 820px;
    margin: 0 auto;
}

.legalor-cta-tag {
    display: inline-block;
    color: #e59819;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
}

.legalor-cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.3rem, 4.4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.legalor-cta-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

.btn-legalor-cta {
    padding: 16px 42px;
    background: #e59819;
    color: #141b29;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(229, 152, 25, 0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-legalor-cta:hover {
    background: #ffffff;
    color: #141b29;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 40px rgba(229, 152, 25, 0.55);
}

.btn-legalor-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
}

.btn-legalor-cta:hover::after {
    left: 150%;
}

/* --------------------------------------------------------------------------
   27. Legalor Signature Hero Slider (3 Slides with Vertical Left Indicators)
   -------------------------------------------------------------------------- */
.legalor-hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0b0e14;
}

.legalor-slide-item {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .legalor-slide-item {
        min-height: auto;
        padding: 55px 0 45px 0;
    }
}

@media (max-width: 575.98px) {
    .legalor-slide-item {
        min-height: auto;
        padding: 35px 0 35px 0;
    }
}

/* Cinematic Dark Multi-layer Gradient Overlay */
.legalor-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 14, 20, 0.95) 0%, rgba(18, 23, 34, 0.82) 48%, rgba(11, 14, 20, 0.6) 100%),
                radial-gradient(circle at 20% 50%, rgba(229, 152, 25, 0.12) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Slide Background Ken Burns Animation */
.legalor-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.carousel-item.active .legalor-slide-bg {
    transform: scale(1.08);
}

/* Slide Content Container */
.legalor-slide-content {
    position: relative;
    z-index: 5;
    max-width: 780px;
    padding-left: 20px;
}

@media (max-width: 991.98px) {
    .legalor-slide-content {
        padding-left: 0;
        text-align: left;
    }
}

/* Staggered Text Animations */
.carousel-item.active .slide-anim-pretitle {
    animation: slideFadeDown 0.8s ease-out forwards;
}

.carousel-item.active .slide-anim-title {
    animation: slideFadeUp 0.9s 0.2s ease-out forwards;
}

.carousel-item.active .slide-anim-desc {
    animation: slideFadeUp 0.9s 0.4s ease-out forwards;
}

.carousel-item.active .slide-anim-actions {
    animation: slideFadeUp 0.9s 0.6s ease-out forwards;
}

@keyframes slideFadeDown {
    0% {
        opacity: 0;
        transform: translateY(-24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFadeUp {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-pretitle-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e59819;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 18px;
    position: relative;
}

.slide-pretitle-tag::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: #e59819;
}

.slide-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: -0.015em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.slide-main-title span {
    color: #e59819;
    background: linear-gradient(135deg, #e59819 0%, #ffc857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-lead-desc {
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 34px;
    max-width: 640px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-actions-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

/* Discover More Button matching Reference */
.btn-legalor-discover {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #e59819;
    color: #0b0e14 !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 4px;
    border: none;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(229, 152, 25, 0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-legalor-discover:hover {
    background: #ffffff;
    color: #0b0e14 !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(229, 152, 25, 0.55);
}

.btn-legalor-discover i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.btn-legalor-discover:hover i {
    transform: translateX(4px);
}

.btn-legalor-call-dark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-legalor-call-dark .call-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e59819;
    color: #0b0e14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: transform 0.3s ease;
}

.btn-legalor-call-dark:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #e59819;
    color: #e59819;
    transform: translateY(-2px);
}

.btn-legalor-call-dark:hover .call-icon {
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   Vertical Left-Edge 3-Dot Pagination (Matching Reference Image)
   -------------------------------------------------------------------------- */
.legalor-slider-dots {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 991.98px) {
    .legalor-slider-dots {
        left: 20px;
        gap: 14px;
    }
}

@media (max-width: 575.98px) {
    .legalor-slider-dots {
        left: auto;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        gap: 10px;
    }
    .slide-main-title {
        font-size: clamp(1.8rem, 7.5vw, 2.3rem);
        line-height: 1.16;
        margin-bottom: 14px;
    }
    .slide-lead-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 22px;
        max-width: 100%;
    }
    .slide-actions-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        max-width: 320px;
    }
    .btn-legalor-discover {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 12px;
        letter-spacing: 0.1em;
    }
    .btn-legalor-call-dark {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
    .legalor-slide-content {
        padding-left: 0;
        padding-right: 28px;
    }
}

.legalor-slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: content-box;
    outline: none;
}

.legalor-slider-dots button:hover {
    background: #ffffff;
    transform: scale(1.25);
}

/* Active Dot with Signature Gold Outer Ring (Reference Design) */
.legalor-slider-dots button.active {
    background: #e59819;
    border-color: transparent;
    transform: scale(1.35);
    box-shadow: 0 0 0 4px rgba(229, 152, 25, 0.35), 0 0 15px rgba(229, 152, 25, 0.6);
}

.legalor-slider-dots button.active::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid #e59819;
    animation: dotPulse 2.5s infinite ease-out;
}

@keyframes dotPulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Slide Stat Glass Badge (Floating Bottom Right) */
.legalor-slide-stat-card {
    position: absolute;
    right: 5%;
    bottom: 12%;
    z-index: 15;
    background: rgba(18, 23, 34, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 152, 25, 0.35);
    border-radius: 12px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: heroBadgeFloat 5s ease-in-out infinite alternate;
}

@media (max-width: 991.98px) {
    .legalor-slide-stat-card {
        display: none;
    }
}

.legalor-slide-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e59819 0%, #cf840f 100%);
    color: #0b0e14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(229, 152, 25, 0.4);
}

.legalor-slide-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.legalor-slide-stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #e59819;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* ==========================================================================
   28. UNIVERSAL MOBILE RESPONSIVENESS & ZERO-GAP ENFORCEMENT (< 992px & < 576px)
   Eliminates all horizontal overflow, side-gap, and awkward wrapping on mobile
   ========================================================================== */

/* Strict Viewport Box Containment */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

header, main, footer, section, .container, .container-fluid {
    max-width: 100vw;
    box-sizing: border-box;
}

/* Tablet & Mobile Breakpoint (< 991.98px) */
@media (max-width: 991.98px) {
    .jmm-features-strip {
        margin-top: 0 !important;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .legalor-trust-section {
        padding: 60px 0 80px 0 !important;
    }

    .legalor-trust-watermark {
        display: none !important;
    }

    .jmm-mv-watermark {
        display: none !important;
    }

    .founder-tab-pills {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin-bottom: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .founder-tab-btn {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 13px !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .founder-showcase-wrapper {
        flex-direction: column !important;
        width: 100% !important;
    }

    .founder-bg-col,
    .founder-card-col {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
    }

    .founder-card-col {
        margin-top: -30px !important;
    }
}

/* Phones Breakpoint (< 575.98px - Samsung Galaxy A55, iPhone, etc.) */
@media (max-width: 575.98px) {
    /* Prevent negative margin blow-out from Bootstrap rows */
    .container, .container-fluid {
        padding-left: 14px !important;
        padding-right: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .row {
        margin-left: -7px !important;
        margin-right: -7px !important;
    }

    .row > * {
        padding-left: 7px !important;
        padding-right: 7px !important;
        max-width: 100% !important;
    }

    .row.g-5, .row.g-4, .row.g-3 {
        --bs-gutter-x: 14px !important;
        --bs-gutter-y: 16px !important;
    }

    /* Hero Slide Container */
    .legalor-slide-item {
        min-height: auto !important;
        padding: 36px 0 40px 0 !important;
    }

    .legalor-slide-content {
        padding-left: 0 !important;
        padding-right: 32px !important;
        width: 100% !important;
    }

    .slide-pretitle-tag {
        font-size: 10px !important;
        letter-spacing: 0.15em !important;
        padding: 4px 10px !important;
    }

    .slide-main-title {
        font-size: clamp(1.65rem, 7vw, 2.1rem) !important;
        line-height: 1.18 !important;
        margin-bottom: 14px !important;
    }

    .slide-lead-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    .slide-actions-wrap {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .btn-legalor-discover {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 18px !important;
        font-size: 12px !important;
    }

    .btn-legalor-call-dark {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px 16px !important;
    }

    .legalor-slider-dots {
        right: 10px !important;
        gap: 10px !important;
    }

    /* 4 Feature Highlight Cards - Full Width on Phone */
    .feature-box {
        padding: 24px 20px !important;
        margin-bottom: 0 !important;
    }

    .feature-icon-wrap {
        width: 50px !important;
        height: 50px !important;
        font-size: 22px !important;
        margin-bottom: 14px !important;
    }

    .feature-box h4 {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }

    .feature-box p {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 0 !important;
    }

    /* Mosaic Grid */
    .legalor-mosaic-grid {
        grid-template-rows: 150px 150px !important;
        gap: 8px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .legalor-mosaic-quad-1,
    .legalor-mosaic-quad-4 {
        padding: 14px 10px !important;
    }

    .legalor-mosaic-quad-1 .quad-icon,
    .legalor-mosaic-quad-4 .quad-icon {
        font-size: 26px !important;
        margin-bottom: 6px !important;
    }

    .legalor-mosaic-quad-1 .quad-title,
    .legalor-mosaic-quad-4 .quad-title {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    /* Showcase Section Badges */
    .legalor-showcase-img {
        height: 250px !important;
    }

    .legalor-exp-badge {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 18px !important;
        gap: 14px !important;
        margin-top: 16px !important;
        display: flex !important;
        box-sizing: border-box !important;
    }

    .legalor-exp-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
    }

    .legalor-exp-text {
        font-size: 15px !important;
    }

    .legalor-video-card {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px 18px !important;
        margin-top: 14px !important;
        box-sizing: border-box !important;
    }

    /* Founder Message Cards */
    .founder-bg-img-wrap {
        height: 260px !important;
    }

    .founder-floating-card {
        padding: 22px 16px !important;
        margin-top: -24px !important;
        border-radius: 12px !important;
    }

    .founder-card-quote {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        padding-left: 12px !important;
        margin-bottom: 18px !important;
    }

    .founder-profile-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
        padding-bottom: 16px !important;
    }

    .founder-profile-left {
        gap: 12px !important;
    }

    .founder-small-pic-ring {
        width: 52px !important;
        height: 52px !important;
    }

    .founder-name-box h4 {
        font-size: 1.05rem !important;
        margin-bottom: 2px !important;
    }

    .founder-name-box span {
        font-size: 0.8rem !important;
    }

    .founder-signature-box {
        display: block !important;
        width: 130px !important;
        margin-top: 2px !important;
        align-self: flex-start !important;
    }

    .founder-signature-img,
    .founder-signature-svg {
        width: 130px !important;
        max-height: 42px !important;
        display: block !important;
    }

    .founder-acc-header {
        padding: 12px 0 !important;
    }

    .founder-acc-num {
        font-size: 0.95rem !important;
        min-width: 24px !important;
    }

    .founder-acc-title {
        font-size: 0.88rem !important;
    }

    .founder-acc-content {
        padding-left: 0 !important;
        padding-bottom: 12px !important;
        font-size: 0.84rem !important;
        line-height: 1.6 !important;
    }

    /* Mission & Vision Cards */
    .jmm-mv-card {
        padding: 26px 18px !important;
        border-radius: 14px !important;
    }

    .jmm-mv-card h3 {
        font-size: 1.45rem !important;
    }

    .jmm-mv-text {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
    }

    .jmm-mv-feature-pill {
        padding: 8px 12px !important;
        font-size: 0.82rem !important;
    }

    /* General Typography & Spacing on Small Screens */
    .section-title {
        font-size: 1.65rem !important;
    }

    .section-subtitle {
        font-size: 0.78rem !important;
        letter-spacing: 0.12em !important;
    }

    .section-desc {
        font-size: 0.9rem !important;
    }
}

/* ========================================================
   SECTION 29: LEGAL BLOG & INSIGHTS (MODERN UI & ANIMATIONS)
   ======================================================== */

/* Search & Live Filter Bar */
.blog-search-filter-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px rgba(18, 23, 34, 0.04);
    padding: 24px 28px;
    position: relative;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-search-filter-card:hover {
    box-shadow: 0 14px 36px rgba(18, 23, 34, 0.07);
    border-color: rgba(229, 152, 25, 0.3);
}

.blog-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.blog-search-box .search-icon {
    position: absolute;
    left: 18px;
    color: #e59819;
    font-size: 0.95rem;
    pointer-events: none;
    transition: transform 0.25s ease;
}

.blog-search-input {
    padding: 13px 44px 13px 48px;
    border-radius: 50px !important;
    border: 1.5px solid #e2e8f0;
    font-size: 0.92rem;
    background: #fdfdfd;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.blog-search-input:focus {
    background: #ffffff;
    border-color: #e59819 !important;
    box-shadow: 0 0 0 4px rgba(229, 152, 25, 0.18) !important;
    outline: none;
}

.blog-search-input:focus ~ .search-icon {
    transform: scale(1.15);
}

.blog-search-clear {
    position: absolute;
    right: 16px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.blog-search-clear:hover {
    color: #e59819;
    transform: scale(1.1);
}

/* Category Filter Pills */
.blog-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.blog-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.blog-pill:hover {
    background: #f1f5f9;
    color: #121722;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.blog-pill.active {
    background: #121722;
    color: #e59819;
    border-color: #e59819;
    box-shadow: 0 4px 16px rgba(18, 23, 34, 0.18);
    transform: translateY(-2px);
}

/* 1. Featured Editorial Spotlight Hero Card */
.blog-featured-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(229, 152, 25, 0.25);
    box-shadow: 0 16px 40px rgba(18, 23, 34, 0.07);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.blog-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(18, 23, 34, 0.13);
    border-color: rgba(229, 152, 25, 0.55);
}

.blog-featured-img-wrap {
    position: relative;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    background: #0c0f16;
}

.blog-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-featured-card:hover .blog-featured-img {
    transform: scale(1.06);
}

.blog-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 23, 34, 0.15) 0%, rgba(18, 23, 34, 0.75) 100%);
    pointer-events: none;
}

.blog-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #e59819 0%, #f6c065 50%, #e59819 100%);
    background-size: 200% auto;
    color: #121722;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 7px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: blogShimmer 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes blogShimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.blog-featured-body {
    padding: 38px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background: #ffffff;
}

.blog-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.blog-read-time {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

.blog-featured-title {
    font-size: 1.55rem;
    line-height: 1.35;
    color: #121722;
    font-weight: 700;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.blog-featured-card:hover .blog-featured-title {
    color: #c97f0e;
}

.blog-featured-desc {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 24px;
}

.blog-author-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.blog-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e59819;
    box-shadow: 0 2px 8px rgba(229, 152, 25, 0.25);
}

.blog-author-name {
    font-size: 0.96rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #121722;
}

.blog-author-role {
    font-size: 0.75rem;
    color: #64748b;
    display: block;
}

.blog-featured-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* 2. Article Cards Grid */
.blog-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(18, 23, 34, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-7px);
    border-color: rgba(229, 152, 25, 0.4);
    box-shadow: 0 18px 38px rgba(18, 23, 34, 0.1);
}

.blog-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0c0f16;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.08);
}

.blog-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.tag-criminal {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.tag-corporate {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.tag-matrimonial {
    background: #fce7f3;
    color: #9d174d;
    border: 1px solid #fbcfe8;
}

.tag-trial {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.tag-compliance {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.blog-card-time {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(18, 23, 34, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    z-index: 2;
}

.blog-card-body {
    padding: 22px 22px 18px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
    color: #121722;
    margin-bottom: 10px;
    transition: color 0.25s ease;
}

.blog-card:hover .blog-card-title {
    color: #e59819;
}

.blog-card-snippet {
    font-size: 0.86rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 18px;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.btn-text-gold {
    background: none;
    border: none;
    color: #e59819;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease;
}

.btn-text-gold i {
    transition: transform 0.25s ease;
}

.btn-text-gold:hover {
    color: #c97f0e;
}

.btn-text-gold:hover i {
    transform: translateX(4px);
}

.blog-like-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.85rem;
}

.blog-like-btn:hover {
    background: #fffdf7;
    border-color: #e59819;
    color: #e59819;
    transform: scale(1.15);
}

/* 3. High-Conversion Sidebar Widgets */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-widget {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(18, 23, 34, 0.04);
}

.blog-newsletter-widget {
    background: linear-gradient(145deg, #121722 0%, #1a2334 100%);
    border: 1px solid rgba(229, 152, 25, 0.35);
    position: relative;
    overflow: hidden !important;
}

.widget-accent-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(229, 152, 25, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.blog-newsletter-input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    font-size: 0.86rem;
    border-radius: 8px !important;
    padding: 10px 14px;
}

.blog-newsletter-input:focus {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: #e59819 !important;
    box-shadow: 0 0 0 3px rgba(229, 152, 25, 0.2) !important;
}

.blog-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #121722;
    margin-bottom: 12px;
}

/* Trending List */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-rank {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-serif, Georgia, serif);
    color: #e59819;
    min-width: 28px;
    line-height: 1.1;
}

.trending-content {
    flex-grow: 1;
}

.trending-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.trending-title:hover {
    color: #e59819;
    text-decoration: underline;
}

/* Downloadable Practical Guides */
.guide-download-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    margin-bottom: 10px;
}

.guide-download-card:last-child {
    margin-bottom: 0;
}

.guide-download-card:hover {
    background: #ffffff;
    border-color: #e59819;
    box-shadow: 0 6px 18px rgba(229, 152, 25, 0.12);
    transform: translateY(-2px);
}

.guide-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(229, 152, 25, 0.12);
    color: #e59819;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.guide-info {
    flex-grow: 1;
}

.guide-info h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #121722;
}

.guide-info small {
    font-size: 0.72rem;
    color: #64748b;
    display: block;
    line-height: 1.4;
}

.guide-btn {
    border-radius: 50% !important;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Urgent Hotline Widget */
.blog-hotline-widget {
    background: linear-gradient(135deg, #121722 0%, #0d121c 100%);
    border: 1px solid rgba(229, 152, 25, 0.4);
    position: relative;
    text-align: center;
    padding: 26px 20px;
}

.hotline-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e59819 0%, #f6c065 100%);
    color: #121722;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
    animation: hotlinePulse 2s infinite;
}

@keyframes hotlinePulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 152, 25, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(229, 152, 25, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 152, 25, 0); }
}

.hotline-tel {
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.hotline-tel:hover {
    text-decoration: underline;
}

/* 4. Full Article Reader Modal */
.blog-modal-content {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.blog-reading-progress-wrap {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f1f5f9;
    z-index: 10;
}

.blog-reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #e59819 0%, #f9c065 100%);
    transition: width 0.08s ease-out;
}

.blog-modal-author-strip {
    display: flex;
    align-items: center;
}

.blog-article-full-text {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #334155;
}

.blog-article-full-text .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 24px;
    border-left: 3.5px solid #e59819;
    padding-left: 16px;
    background: #fffcf7;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 0 8px 8px 0;
}

.blog-article-full-text h4 {
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #121722;
    margin-top: 28px;
    margin-bottom: 12px;
}

.blog-article-full-text ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-article-full-text li {
    margin-bottom: 8px;
}

.blog-callout-quote {
    background: #fffcf5;
    border-left: 4px solid #e59819;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.blog-callout-quote .quote-mark {
    font-size: 1.75rem;
    color: rgba(229, 152, 25, 0.4);
    margin-bottom: 6px;
    display: block;
}

.blog-takeaways-card {
    background: #f8fafc;
    border: 1px solid rgba(229, 152, 25, 0.25);
    border-radius: 14px;
    padding: 20px 22px;
}

.blog-takeaways-card ul li {
    margin-bottom: 6px;
    line-height: 1.55;
}

/* 5. Responsive Breakpoints & Mobile Optimization */
@media (max-width: 991.98px) {
    .blog-featured-img-wrap {
        min-height: 280px;
        max-height: 340px;
    }

    .blog-featured-body {
        padding: 28px 24px;
    }

    .blog-featured-title {
        font-size: 1.35rem;
    }

    .blog-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .blog-search-filter-card {
        padding: 18px 16px;
    }

    .blog-search-input {
        font-size: 0.88rem;
        padding: 11px 40px 11px 42px;
    }

    .blog-filter-pills {
        gap: 8px;
    }

    .blog-pill {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    .blog-card-img-wrap {
        height: 190px;
    }

    .blog-card-body {
        padding: 18px 16px 14px 16px;
    }

    .blog-card-title {
        font-size: 1.08rem;
    }

    .blog-featured-body {
        padding: 22px 20px;
    }

    .blog-featured-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .blog-search-filter-card {
        padding: 14px 12px;
        border-radius: 14px;
    }

    .blog-filter-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -4px;
        margin-right: -4px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .blog-filter-pills::-webkit-scrollbar {
        display: none;
    }

    .blog-pill {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .blog-featured-card {
        border-radius: 14px;
    }

    .blog-featured-img-wrap {
        min-height: 200px;
    }

    .blog-featured-title {
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .blog-featured-desc {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .blog-card {
        border-radius: 14px;
    }

    .blog-modal-content {
        border-radius: 14px;
    }

    #blogArticleModal .modal-body {
        padding: 20px 16px !important;
    }

    #modalArticleTitle {
        font-size: 1.25rem !important;
    }

    .blog-article-full-text {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .blog-article-full-text .lead {
        font-size: 0.98rem;
        padding: 8px 12px;
    }

    .blog-article-full-text h4 {
        font-size: 1.12rem;
        margin-top: 20px;
    }

    .blog-callout-quote {
        padding: 14px 16px;
    }

    .blog-takeaways-card {
        padding: 14px 14px;
    }
}
