/* Professional CSS for Mohamed Abdel Aziz Law Office */

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header */
}

/* Enhanced scroll behavior for better performance */
* {
    scroll-behavior: smooth;
}

/* Prevent scroll jumping when hash changes */
:target {
    scroll-margin-top: 120px;
}

/* Root Variables - Professional Color Scheme */
:root {
    /* Colors */
    --primary-navy: #1a2332;
    --secondary-navy: #2c3e50;
    --gold-primary: #c9a961;
    --gold-secondary: #b8860b;
    --gold-light: #f4e4bc;
    --text-dark: #2c3e50;
    --text-medium: #5a6c7d;
    --text-light: #8fa4b3;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --section-bg: #f4f6f8;
    --border-light: #e8ecef;
    
    /* Shadows */
    --shadow-light: rgba(26, 35, 50, 0.08);
    --shadow-medium: rgba(26, 35, 50, 0.15);
    --shadow-strong: rgba(26, 35, 50, 0.25);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* Responsive Breakpoints */
    --mobile-width: 576px;
    --tablet-width: 768px;
    --laptop-width: 992px;
    --desktop-width: 1200px;
    
    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 2rem;
    --fs-4xl: 2.5rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Global Styles with Enhanced Responsiveness */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Responsive font-size adjustments */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 12px;
    }
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--white);
    min-height: 100vh;
    text-rendering: optimizeLegibility;
}

/* Container responsiveness */
.container {
    width: 100%;
    max-width: var(--desktop-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media screen and (max-width: 1200px) {
    .container {
        max-width: var(--laptop-width);
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: var(--tablet-width);
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Fluid Typography System */
.text-xs { font-size: var(--fs-xs); }
.text-sm { font-size: var(--fs-sm); }
.text-base { font-size: var(--fs-base); }
.text-lg { font-size: var(--fs-lg); }
.text-xl { font-size: var(--fs-xl); }
.text-2xl { font-size: var(--fs-2xl); }
.text-3xl { font-size: var(--fs-3xl); }
.text-4xl { font-size: var(--fs-4xl); }

/* Responsive Grid System */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media screen and (max-width: 992px) {
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 576px) {
    .grid-cols-4,
    .grid-cols-3,
    .grid-cols-2 { grid-template-columns: 1fr; }
    
    .grid { gap: var(--spacing-sm); }
}

/* Professional Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-navy);
    line-height: 1.3;
}

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

/* Section Headers */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.section-title-professional {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title-professional.text-white {
    color: var(--white) !important;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Simplified Professional Header */
.simplified-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 15px var(--shadow-light);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Enhanced Mobile Header */
@media screen and (max-width: 992px) {
    .simplified-header {
        padding: var(--spacing-xs) 0;
    }

    .brand-container {
        flex-wrap: nowrap;
    }

    .lawyer-name {
        font-size: var(--fs-lg);
    }

    .lawyer-title {
        font-size: var(--fs-xs);
    }

    .brand-icon {
        width: 40px;
        height: 40px;
    }

    /* Mobile Navigation Menu */
    .navbar-collapse {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: var(--spacing-md);
        box-shadow: 0 4px 20px var(--shadow-light);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .simple-nav-menu {
        flex-direction: column;
        gap: var(--spacing-sm);
        margin: 0;
        padding: var(--spacing-md) 0;
    }

    .simple-nav-menu .nav-link {
        padding: var(--spacing-xs) var(--spacing-sm) !important;
        text-align: center;
        border-radius: var(--radius-md);
        background: var(--light-bg);
    }
}

/* Scrolled state for header */
.simplified-header.scrolled {
    background: var(--primary-navy);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

/* Simple Navigation */
.simple-nav {
    background: transparent !important;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

/* Scrolled navigation state */
.simplified-header.scrolled .simple-nav {
    background: var(--primary-navy) !important;
    padding: 1rem 0;
}

/* Simple Brand */
.simple-brand {
    text-decoration: none;
    color: var(--primary-navy) !important;
    transition: var(--transition-fast);
}

.simple-brand:hover {
    color: var(--primary-navy) !important;
}

/* Brand styling for scrolled state */
.simplified-header.scrolled .simple-brand {
    color: var(--white) !important;
}

.simplified-header.scrolled .simple-brand:hover {
    color: var(--white) !important;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.lawyer-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--primary-navy);
    font-family: 'Amiri', serif;
    line-height: 1.2;
    transition: var(--transition-fast);
}

.lawyer-title {
    font-size: 0.9rem;
    color: var(--gold-primary);
    margin: 0;
    font-weight: 600;
    transition: var(--transition-fast);
}


/* Brand text color for scrolled state */
.simplified-header.scrolled .lawyer-name {
    color: var(--white);
}

.simplified-header.scrolled .lawyer-title {
    color: var(--gold-primary);
}

/* Simple Navigation Menu with Better Spacing */
.simple-nav-menu {
    gap: 3rem;
    align-items: center;
    margin-right: 2rem;
}

.simple-nav-menu .nav-link {
    color: var(--primary-navy) !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 0 !important;
    position: relative;
    transition: var(--transition-fast);
}

.simple-nav-menu .nav-link:hover {
    color: var(--gold-primary) !important;
}

.simple-nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.simple-nav-menu .nav-link:hover::after {
    width: 100%;
    opacity: 0.7;
}

.simple-nav-menu .nav-link.active::after {
    width: 100%;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

/* Enhanced active state styling */
.simple-nav-menu .nav-link.active {
    color: var(--gold-primary) !important;
    font-weight: 700;
}

/* Scrolled state active links */
.simplified-header.scrolled .simple-nav-menu .nav-link.active {
    color: var(--gold-primary) !important;
}

/* Navigation links for scrolled state */
.simplified-header.scrolled .simple-nav-menu .nav-link {
    color: var(--white) !important;
}

.simplified-header.scrolled .simple-nav-menu .nav-link:hover {
    color: var(--gold-primary) !important;
}

/* Consultation button */
.consultation-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary)) !important;
    color: var(--white) !important;
    padding: 12px 25px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    margin-right: 2rem;
    transition: var(--transition-fast) !important;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
    color: var(--white) !important;
}

/* Consultation button remains the same in scrolled state */
.simplified-header.scrolled .consultation-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary)) !important;
    color: var(--white) !important;
}

/* Simple Mobile Toggle */
.simple-toggler {
    border: none;
    padding: 5px;
    width: 30px;
    height: 30px;
    position: relative;
    background: transparent;
}

.simple-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    margin: 5px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Mobile toggle for scrolled state */
.simplified-header.scrolled .simple-toggler span {
    background: var(--white);
}

.simple-toggler:focus {
    box-shadow: none;
}

.simple-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.simple-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.simple-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Simple Hero Section */
.simple-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
}

.hero-content-vertical {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

.hero-badge-wrapper {
    grid-column: 4 / 10;
    text-align: center;
}

.hero-title-wrapper {
    grid-column: 3 / 11;
    text-align: center;
}

.hero-description-wrapper {
    grid-column: 4 / 10;
    text-align: center;
}

.hero-actions {
    grid-column: 4 / 10;
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.lawyer-card-wrapper {
    grid-column: 5 / 9;
}

.hero-stats-wrapper {
    grid-column: 2 / 12;
}

.hero-title-wrapper {
    margin-bottom: var(--spacing-lg);
}

.hero-description-wrapper {
    max-width: 700px;
    margin-bottom: var(--spacing-xl);
}

.lawyer-card-wrapper {
    max-width: 450px;
    margin: var(--spacing-xl) auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.hero-badge:hover {
    background: rgba(201, 169, 97, 0.2);
    transform: translateY(-2px);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    display: block;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--gold-primary);
    margin-top: var(--spacing-sm);
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--white);
    font-size: var(--fs-base);
}

.feature-item i {
    color: var(--gold-primary);
    font-size: var(--fs-lg);
}

.hero-stats-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.95);
    padding: clamp(1rem, 2vw, 2rem);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(2rem);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-xs);
    font-family: 'Cairo', sans-serif;
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive Hero Adjustments */
@media screen and (max-width: 1200px) {
    .hero-content-vertical {
        padding: var(--spacing-lg) 0;
    }

    .hero-title {
        font-size: var(--fs-3xl);
    }

    .stats-grid {
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }
}

@media screen and (max-width: 992px) {
    .simple-hero {
        padding: calc(70px + var(--spacing-lg)) 0;
        background-attachment: scroll;
        min-height: auto;
    }

    .hero-content-vertical {
        display: flex;
        flex-direction: column;
        padding: var(--spacing-md) 0;
        gap: var(--spacing-lg);
    }

    .hero-badge-wrapper,
    .hero-title-wrapper,
    .hero-description-wrapper,
    .lawyer-card-wrapper,
    .hero-stats-wrapper {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        padding: var(--spacing-md);
        transform: translateY(0);
    }

    .hero-actions {
        display: flex;
        gap: var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-actions .btn {
        min-width: 200px;
    }

    .modern-lawyer-card {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: var(--fs-2xl);
    }

    .hero-description {
        font-size: var(--fs-base);
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .hero-actions .btn {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .simple-hero {
        padding: calc(60px + var(--spacing-sm)) 0 var(--spacing-sm);
    }

    .hero-content-vertical {
        padding: var(--spacing-sm) 0;
        gap: var(--spacing-md);
    }

    .hero-badge {
        font-size: var(--fs-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .hero-title {
        font-size: var(--fs-xl);
        margin-bottom: var(--spacing-sm);
    }

    .hero-description {
        font-size: var(--fs-sm);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        margin-bottom: var(--spacing-xs);
    }

    .lawyer-card-wrapper {
        padding: 0 var(--spacing-sm);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        margin: 0 var(--spacing-sm);
    }

    .stat-item {
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--border-light);
    }

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(44, 62, 80, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 70vh;
    align-items: center;
}

/* Simple Hero Text Content */
.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 169, 97, 0.2);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    font-family: 'Amiri', serif;
    line-height: 1.2;
    color: var(--white);
}


.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.hero-features {
    margin-bottom: 3rem;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features .feature-item i {
    color: var(--gold-primary);
    margin-left: 15px;
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Simple Buttons */
.btn-primary-gold {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border: none;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
}

.btn-primary-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4);
    color: var(--white);
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 13px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
}

/* Modern Lawyer Card - Mobile First Design */
.modern-lawyer-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 2vw, 2.5rem);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

@media (min-width: 1400px) {
    .hero-content-vertical {
        max-width: 1600px;
    }

    .modern-lawyer-card {
        transform: scale(1.1);
    }

    .stats-grid {
        max-width: 1400px;
        margin: 0 auto;
        transform: translateY(3rem);
    }
}

@media (min-width: 1600px) {
    .hero-content-vertical {
        max-width: 1800px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.5rem;
        max-width: 1000px;
    }

    .modern-lawyer-card {
        transform: scale(1.2);
    }

    .stats-grid {
        max-width: 1600px;
        gap: var(--spacing-lg);
    }

    .stat-number {
        font-size: var(--fs-4xl);
    }

    .stat-label {
        font-size: var(--fs-lg);
    }
}

/* Responsive Card Styles */
@media screen and (max-width: 992px) {
    .modern-lawyer-card {
        max-width: 340px;
        padding: var(--spacing-md);
        margin-top: var(--spacing-xl);
    }

    .lawyer-photo-container {
        width: 70px;
        height: 70px;
    }

    .lawyer-photo,
    .photo-fallback {
        width: 70px;
        height: 70px;
    }

    .lawyer-name-modern {
        font-size: var(--fs-xl);
    }

    .lawyer-tagline {
        font-size: var(--fs-sm);
    }
}

@media screen and (max-width: 768px) {
    .modern-lawyer-card {
        max-width: 100%;
        margin-top: var(--spacing-lg);
    }

    .card-actions {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .primary-contact-btn,
    .secondary-contact-btn {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .modern-lawyer-card {
        padding: var(--spacing-sm);
        border-radius: var(--radius-lg);
    }

    .credentials-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-xs);
    }

    .credential-badge {
        font-size: var(--fs-xs);
        padding: 4px var(--spacing-xs);
    }
}

.modern-lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

/* Background Pattern */
.card-background-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    opacity: 0.1;
    border-radius: 0 20px 0 100px;
    z-index: 1;
}

/* Lawyer Profile Section */
.lawyer-profile-section {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

/* Photo Container - Mobile Optimized */
.lawyer-photo-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    justify-content: center;
}

.lawyer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: scale(0.9);
}

.lawyer-photo.loaded {
    opacity: 1;
    transform: scale(1);
}

.lawyer-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.photo-fallback {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    border: 3px solid var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.photo-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* Status Badge */
.status-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #28a745;
    color: var(--white);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.status-badge i {
    font-size: 0.5rem;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Lawyer Details - Mobile Optimized */
.lawyer-details {
    text-align: center;
}

.lawyer-name-modern {
    color: var(--primary-navy);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Amiri', serif;
    line-height: 1.2;
}

.lawyer-tagline {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

/* Credentials Badges */
.credentials-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.credential-badge {
    background: var(--gold-light);
    color: var(--gold-secondary);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.credential-badge i {
    font-size: 0.7rem;
}

/* Card Actions - Mobile First */
.card-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.primary-contact-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--white);
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.primary-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
    color: var(--white);
}

.secondary-contact-btn {
    flex: 1;
    background: rgba(26, 35, 50, 0.1);
    color: var(--primary-navy);
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-fast);
    border: 1px solid rgba(26, 35, 50, 0.2);
}

.secondary-contact-btn:hover {
    background: rgba(26, 35, 50, 0.15);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

/* Trust Indicators - Mobile Optimized */
.trust-indicators-modern {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.trust-item-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.trust-item-modern:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.trust-item-modern i {
    color: var(--gold-primary);
    font-size: 1rem;
}

.trust-item-modern span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* Desktop Enhancements for Modern Card */
@media (min-width: 992px) {
    .modern-lawyer-card {
        max-width: 420px;
        padding: 2rem;
    }

    .lawyer-photo-container {
        width: 100px;
        height: 100px;
    }

    .lawyer-photo,
    .photo-fallback {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .lawyer-name-modern {
        font-size: 1.5rem;
    }

    .lawyer-tagline {
        font-size: 1rem;
        max-width: 320px;
    }

    .credential-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .primary-contact-btn,
    .secondary-contact-btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    .trust-item-modern {
        padding: 10px 8px;
    }

    .trust-item-modern i {
        font-size: 1.2rem;
    }

    .trust-item-modern span {
        font-size: 0.75rem;
    }
}

/* Simple Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem 0;
    z-index: 3;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    font-family: 'Cairo', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Professional Services Section */
.professional-services {
    background: var(--section-bg);
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* Services Section Responsive Design */
@media screen and (max-width: 992px) {
    .professional-services {
        padding: var(--spacing-lg) 0;
    }

    .section-title-professional {
        font-size: var(--fs-2xl);
    }

    .professional-service-card {
        padding: var(--spacing-md);
    }

    .service-icon-professional {
        width: 60px;
        height: 60px;
        font-size: var(--fs-xl);
    }

    .service-title-section h3 {
        font-size: var(--fs-lg);
    }
}

@media screen and (max-width: 768px) {
    .service-card-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .service-features li {
        justify-content: center;
    }

    .service-features li i {
        margin-left: var(--spacing-xs);
    }
}

@media screen and (max-width: 576px) {
    .professional-services {
        padding: var(--spacing-md) 0;
    }

    .section-badge {
        font-size: var(--fs-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .section-description {
        font-size: var(--fs-sm);
    }

    .professional-service-card {
        margin-bottom: var(--spacing-md);
    }
}

.services-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 40px, 0 100%);
}

.services-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 60px, 100% 100%, 0 100%);
}

.section-header {
    margin-bottom: 4rem;
}

.professional-service-card {
    background: var(--primary-navy);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 40px var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.professional-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    transition: var(--transition-smooth);
}

.professional-service-card:hover::before {
    left: 0;
}

.professional-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.professional-service-card.featured-service {
    border: 2px solid var(--gold-primary);
    background: var(--primary-navy)
}

.service-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.service-icon-professional {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.professional-service-card:hover .service-icon-professional {
    transform: scale(1.1) rotate(5deg);
}

.service-title-section h3 {

    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.service-specialty {
    background: var(--gold-primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-card-body p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--white);
    font-weight: 500;
}

.service-features li i {
    color: var(--gold-primary);
    margin-left: 12px;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

/* Enhanced Animations and Loading States */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Animations */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 25%, 
        rgba(255, 255, 255, 0.5) 50%, 
        transparent 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite linear;
}

@keyframes loading {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

/* Lazy Loading Images */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Enhanced Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-smooth);
}

.fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition-smooth);
}

.fade-in-view {
    opacity: 1;
    transform: translate(0);
}

/* Smooth Section Transitions */
section {
    transition: opacity 0.4s ease-in-out;
}

/* Responsive Animation Control */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Enhanced Touch Interactions */
@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        transform: translateY(-2px);
    }
    
    .card:hover {
        transform: translateY(-5px);
    }
}

/* Mobile Touch Feedback */
@media (hover: none) {
    .btn:active {
        transform: scale(0.95);
    }
    
    .card:active {
        transform: scale(0.98);
    }
}

/* Professional About Section with Enhanced Responsiveness */
.professional-about {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

@media screen and (max-width: 992px) {
    .professional-about {
        padding: var(--spacing-lg) 0;
    }

    .about-content {
        text-align: center;
        padding-right: 0;
        margin-bottom: var(--spacing-lg);
    }

    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .about-content {
        margin-bottom: var(--spacing-md);
    }

    .professional-features {
        flex-direction: column;
    }

    .feature-row {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .feature-item-professional {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .professional-about {
        padding: var(--spacing-md) 0;
    }

    .about-subtitle {
        font-size: var(--fs-lg);
    }

    .about-description {
        font-size: var(--fs-base);
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

/* Enhanced Footer Responsiveness */
.professional-footer {
    background: var(--white);
    position: relative;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

@media screen and (max-width: 992px) {
    .footer-brand,
    .footer-links,
    .footer-services,
    .footer-contact {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }

    .footer-social {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-end {
        text-align: center !important;
        margin-top: var(--spacing-sm);
    }
}

/* Mobile Navigation Enhancement */
@media screen and (max-width: 992px) {
    .navbar-toggler {
        margin-right: var(--spacing-sm);
    }

    .navbar-collapse {
        background: var(--white);
        box-shadow: 0 4px 20px var(--shadow-light);
        padding: var(--spacing-md);
    }

    .simple-nav-menu {
        margin: 0;
        padding: 0;
    }

    .nav-link {
        padding: var(--spacing-sm) !important;
        text-align: center;
    }
}

/* Print Media Query */
@media print {
    .simplified-header,
    .hero-stats,
    .professional-contact,
    .footer-bottom {
        display: none;
    }

    .simple-hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .modern-lawyer-card {
        box-shadow: none;
        border: 1px solid var(--border-light);
    }

    .professional-service-card {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid var(--border-light);
        box-shadow: none;
    }
}

.about-content {
    padding-right: 2rem;
}

.about-subtitle {
    color: var(--gold-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.professional-features {
    margin-bottom: 3rem;
}

.feature-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item-professional {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin: 0;
}

.about-cta {
    margin-top: 2rem;
}

/* About Visual Section */
.about-visual {
    position: relative;
}

.professional-image-card {
    position: relative;
    margin-bottom: 2rem;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.professional-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.8), rgba(201, 169, 97, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
}

.overlay-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gold-primary);
}

.overlay-content p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.credentials-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-medium);
    border: 2px solid var(--gold-primary);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-content i {
    color: var(--gold-primary);
    font-size: 1.5rem;
}

.badge-text strong {
    display: block;
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 1rem;
}

.badge-text span {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.achievement-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--light-bg);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.achievement-item:hover {
    border-color: var(--gold-primary);
    background: var(--gold-light);
}

.achievement-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.achievement-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Professional Contact Section */
.professional-contact {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    padding: 100px 0;
    position: relative;
    color: var(--white);
}

.contact-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 40px, 0 100%);
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-card.featured {
    background: rgba(201, 169, 97, 0.2);
    border-color: var(--gold-primary);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-fast);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.contact-link {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--white);
}

.btn-whatsapp {
    background: #25d366;
    border: none;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-fast);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: var(--white);
}

/* Contact Form */
.contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-title {
    color: var(--primary-navy);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

/* Professional Footer */
.professional-footer {
    background: var(--primary-navy);
    color: var(--white);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Amiri', serif;
}

.footer-brand p {
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--gold-primary);
    padding-right: 5px;
}

.footer-services ul li {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-right: 20px;
}

.footer-services ul li::before {
    content: '▪';
    color: var(--gold-primary);
    position: absolute;
    right: 0;
    top: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--gold-primary);
    width: 20px;
    margin-left: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-social .social-link:hover {
    background: var(--gold-primary);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Enhanced Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: floatPulse 3s ease-in-out infinite;
}

.floating-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.floating-whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 50%;
    transform: translateX(-100%);
    transition: var(--transition-smooth);
}

.floating-whatsapp-btn:hover::before {
    transform: translateX(100%);
}

.floating-whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.floating-whatsapp-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Professional WhatsApp Button with Badge */
.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: var(--white);
    border: 2px solid var(--white);
    animation: badgePulse 2s infinite;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0px) scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-navy);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(26, 35, 50, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--primary-navy);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4);
}

/* Loading Animations */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Professional Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title-professional {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .simplified-header {
        position: relative;
    }

    .simple-hero {
        padding-top: 80px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    

    .hero-actions {
        justify-content: center;
    }

    .modern-lawyer-card {
        margin-top: 3rem;
        max-width: 100%;
    }

    .simple-nav-menu {
        gap: 2rem;
        margin-right: 1rem;
    }

    .feature-row {
        flex-direction: column;
        gap: 1rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero-stats {
        position: relative;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .brand-container {
        gap: 12px;
    }

    .brand-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .lawyer-name {
        font-size: 1.3rem;
    }

    .lawyer-title {
        font-size: 0.85rem;
    }

    .simple-nav-menu {
        gap: 0;
        margin-top: 1rem;
        margin-right: 0;
    }

    .consultation-btn {
        margin-right: 0 !important;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .modern-lawyer-card {
        margin-top: 2rem;
        padding: 1.2rem;
        max-width: 100%;
        border-radius: 15px;
    }

    .lawyer-photo-container {
        width: 70px;
        height: 70px;
        margin-bottom: 0.8rem;
    }

    .lawyer-photo,
    .photo-fallback {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .lawyer-name-modern {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .lawyer-tagline {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        max-width: 250px;
    }

    .credentials-badges {
        gap: 0.3rem;
        margin-bottom: 1rem;
    }

    .credential-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .card-actions {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .primary-contact-btn,
    .secondary-contact-btn {
        font-size: 0.8rem;
        padding: 8px 10px;
        gap: 4px;
    }

    .trust-indicators-modern {
        gap: 0.3rem;
    }

    .trust-item-modern {
        padding: 6px 3px;
    }

    .trust-item-modern i {
        font-size: 0.9rem;
    }

    .trust-item-modern span {
        font-size: 0.65rem;
    }

    .hero-stats {
        position: relative;
        margin-top: 2rem;
    }

    .section-title-professional {
        font-size: 2rem;
    }

    .professional-service-card {
        margin-bottom: 2rem;
    }

    .service-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-card {
        padding: 2rem;
    }

    .footer-main {
        padding: 40px 0 30px;
    }
}

@media (max-width: 576px) {
    .professional-hero {
        padding-top: 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .professional-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title-professional {
        font-size: 1.8rem;
    }

    .professional-service-card {
        padding: 2rem;
    }

    .service-icon-professional {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }

    .scroll-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Print Styles */
@media print {
    .professional-header,
    .floating-whatsapp,
    .scroll-top {
        display: none !important;
    }

    .professional-hero {
        background: none !important;
        color: var(--text-dark) !important;
    }

    .hero-background-overlay {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.5);
        --shadow-strong: rgba(0, 0, 0, 0.7);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-whatsapp {
        animation: none;
    }
}

/* Additional Professional Enhancements */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px var(--shadow-medium);
}

.animate__fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-secondary);
}

/* Selection Styles */
::selection {
    background: var(--gold-primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--gold-primary);
    color: var(--white);
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* Professional Hover Effects */
.professional-service-card,
.contact-card,
.achievement-item {
    will-change: transform;
}

/* Smooth Transitions for Better UX */
.professional-nav,
.professional-service-card,
.contact-card,
.btn-primary-gold,
.btn-outline-gold {
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Mobile Optimizations for Floating WhatsApp */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }

    .floating-whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .whatsapp-badge {
        width: 18px;
        height: 18px;
        font-size: 9px;
        top: -4px;
        right: -4px;
    }

    .whatsapp-tooltip {
        display: none; /* Hide tooltip on mobile for better UX */
    }
}

@media (max-width: 480px) {
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
    }

    .floating-whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .whatsapp-badge {
        width: 16px;
        height: 16px;
        font-size: 8px;
        top: -3px;
        right: -3px;
    }
}

/* Additional Mobile Optimizations for Modern Card */
@media (max-width: 576px) {
    .modern-lawyer-card {
        margin-top: 1.5rem;
        padding: 1rem;
        border-radius: 12px;
    }

    .card-background-pattern {
        width: 80px;
        height: 80px;
    }

    .lawyer-photo-container {
        width: 60px;
        height: 60px;
        margin-bottom: 0.6rem;
    }

    .lawyer-photo,
    .photo-fallback {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .lawyer-name-modern {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .lawyer-tagline {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        max-width: 200px;
    }

    .credentials-badges {
        gap: 0.2rem;
        margin-bottom: 0.8rem;
    }

    .credential-badge {
        font-size: 0.65rem;
        padding: 2px 5px;
    }

    .card-actions {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0.8rem;
    }

    .primary-contact-btn,
    .secondary-contact-btn {
        font-size: 0.8rem;
        padding: 10px 12px;
        min-height: 44px; /* Touch-friendly minimum */
        border-radius: 10px;
    }

    .trust-indicators-modern {
        gap: 0.2rem;
    }

    .trust-item-modern {
        padding: 5px 2px;
        border-radius: 8px;
    }

    .trust-item-modern i {
        font-size: 0.8rem;
    }

    .trust-item-modern span {
        font-size: 0.6rem;
    }

    .status-badge {
        font-size: 0.6rem;
        padding: 1px 4px;
    }
}

/* Enhanced touch interactions */
@media (hover: none) and (pointer: coarse) {
    .modern-lawyer-card:hover {
        transform: none;
    }

    .lawyer-photo:hover {
        transform: scale(1);
    }

    .primary-contact-btn:active,
    .secondary-contact-btn:active {
        transform: scale(0.98);
    }

    .trust-item-modern:hover {
        transform: none;
        background: var(--light-bg);
    }
}

/* Important Judgments Section */
.judgments-section {
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.judgments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    opacity: 0.05;
    z-index: 1;
}

.judgments-section .container {
    position: relative;
    z-index: 2;
}

/* Section Header Professional */
.section-header-professional {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.section-title-professional {
    color: var(--primary-navy);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Amiri', serif;
}

.section-description {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    margin: 0 auto;
    border-radius: 2px;
}

/* Judgments Table Container */
.judgments-table-container {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-light);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

/* Table Header */
.table-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.table-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Amiri', serif;
}

.table-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Professional Table Styling */
.table-responsive {
    border-radius: 0;
}

.judgments-table {
    width: 100%;
    margin-bottom: 0;
    background: var(--white);
    border-collapse: separate;
    border-spacing: 0;
}

.judgments-table thead th {
    background: var(--light-bg);
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 1rem;
    padding: 1.2rem 1rem;
    text-align: center;
    border-bottom: 2px solid var(--gold-primary);
    position: relative;
    font-family: 'Cairo', sans-serif;
}

.judgments-table thead th:first-child {
    border-top-left-radius: 0;
}

.judgments-table thead th:last-child {
    border-top-right-radius: 0;
}

.judgments-table tbody td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
    font-weight: 500;
    vertical-align: middle;
    transition: var(--transition-fast);
}

.judgments-table tbody tr {
    transition: var(--transition-fast);
}

.judgments-table tbody tr:hover {
    background: rgba(201, 169, 97, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* No Data Row Styling */
.no-data-row td {
    padding: 4rem 2rem !important;
    border: none !important;
}

.no-data-content {
    text-align: center;
    color: var(--text-medium);
}

.no-data-content i {
    font-size: 3rem;
    color: var(--gold-primary);
    opacity: 0.7;
}

.no-data-content h4 {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-data-content p {
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Future Judgments Row Styling */
.future-judgments-row td {
    padding: 2rem 1rem !important;
    border: none !important;
    background: rgba(201, 169, 97, 0.05) !important;
}

.future-content {
    text-align: center;
    color: var(--text-medium);
}

.future-content i {
    font-size: 1.5rem;
    color: var(--gold-primary);
    opacity: 0.8;
}

.future-content p {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-style: italic;
}

/* PDF View Button (for future use) */
.pdf-view-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pdf-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
    color: var(--white);
}

.pdf-view-btn i {
    font-size: 0.8rem;
}

/* Table Footer */
.table-footer {
    background: var(--light-bg);
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-note {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.footer-note i {
    color: var(--gold-primary);
}

.table-stats {
    text-align: right;
}

.stat-item {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.stat-number {
    color: var(--gold-primary);
    font-weight: 700;
}

/* Responsive Design for Judgments Table */
@media (max-width: 992px) {
    .section-title-professional {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .table-header {
        padding: 1.5rem;
    }

    .table-title {
        font-size: 1.3rem;
    }

    .judgments-table thead th {
        padding: 1rem 0.8rem;
        font-size: 0.9rem;
    }

    .judgments-table tbody td {
        padding: 0.8rem 0.6rem;
        font-size: 0.9rem;
    }

    .table-footer {
        padding: 1rem 1.5rem;
    }

    .footer-note,
    .stat-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .judgments-section {
        padding: 3rem 0;
    }

    .section-title-professional {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .table-header {
        padding: 1rem;
    }

    .table-title {
        font-size: 1.2rem;
    }

    .table-subtitle {
        font-size: 0.9rem;
    }

    /* Mobile Table Layout */
    .judgments-table {
        font-size: 0.8rem;
    }

    .judgments-table thead th {
        padding: 0.8rem 0.4rem;
        font-size: 0.8rem;
    }

    .judgments-table tbody td {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }

    .no-data-content {
        padding: 2rem 1rem;
    }

    .no-data-content i {
        font-size: 2.5rem;
    }

    .no-data-content h4 {
        font-size: 1.1rem;
    }

    .no-data-content p {
        font-size: 0.9rem;
    }

    .table-footer {
        padding: 1rem;
    }

    .table-footer .row {
        text-align: center;
    }

    .table-footer .col-md-6:last-child {
        margin-top: 1rem;
        text-align: center !important;
    }

    .pdf-view-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .judgments-table-container {
        margin: 0 -15px;
        border-radius: 0;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }

    .section-title-professional {
        font-size: 1.6rem;
    }

    /* Stack table on very small screens */
    .judgments-table,
    .judgments-table thead,
    .judgments-table tbody,
    .judgments-table th,
    .judgments-table td,
    .judgments-table tr {
        display: block;
    }

    .judgments-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .judgments-table tr {
        border: 1px solid var(--border-light);
        margin-bottom: 1rem;
        border-radius: 8px;
        background: var(--white);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .judgments-table td {
        border: none !important;
        position: relative;
        padding: 0.8rem 1rem 0.8rem 40% !important;
        text-align: right !important;
    }

    .judgments-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 1rem;
        width: 35%;
        text-align: left;
        font-weight: 700;
        color: var(--primary-navy);
    }

    .no-data-row,
    .no-data-row td {
        display: table-cell !important;
        text-align: center !important;
        padding: 3rem 1rem !important;
    }
}
