/* 
* LawFirmYar - Professional Law Firm Website
* Modern & Elegant Design System
*/

:root {
    /* Color Palette */
    --primary-color: #1a2332;
    --primary-light: #2c3e50;
    --secondary-color: #c0a080;
    --secondary-light: #d4b89f;
    --dark-color: #0f1419;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    --gradient-secondary: linear-gradient(135deg, #c0a080 0%, #d4b89f 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(44, 62, 80, 0.85) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    
    width: 100%;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Placeholder for missing images */
img[src=""], 
img:not([src]), 
img[src*="placeholder"],
.card-img:empty {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

img[src=""]::before,
img:not([src])::before,
img[src*="placeholder"]::before,
.card-img:empty::before {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 48px;
    color: #cbd5e1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 100px;
    height: 4px;
    background: var(--gradient-secondary);
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.btn {
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.2px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-secondary);
    border-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(192, 160, 128, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 160, 128, 0.4);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Header Styles */
.header {
    height: 80px;
}

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 24px;
}

.navbar-brand img.logo {
    max-height: 50px;
    transition: var(--transition);
}

.navbar-brand:hover img.logo {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 22px 18px;
    color: var(--primary-color);
    font-size: 15px;
    letter-spacing: 0.3px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.navbar-nav .dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-xl);
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.navbar-nav .dropdown-item {
    padding: 10px 18px;
    font-weight: 500;
    color: var(--text-color);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.navbar-nav .dropdown-item:hover, .navbar-nav .dropdown-item:focus {
    background: var(--gradient-secondary);
    color: white;
    transform: translateX(5px);
}

/* Hero Section */
.hero {
    /* Fallback gradient background - always visible */
    background-color: #273746;
    background-image: linear-gradient(135deg, #273746 0%, #34495e 50%, #2c3e50 100%);
    
    /* Background image settings (if image exists) */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* Reduced height for better proportions */
    min-height: 400px;
    padding: 100px 0 80px;
    
    /* Layout */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* If image URL is provided inline, blend it with gradient */
.hero[style*="background-image"] {
    background-blend-mode: overlay;
}

/* Dark overlay for text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(39, 55, 70, 0.85) 0%, rgba(44, 62, 80, 0.75) 100%);
    z-index: 1;
}

/* Decorative pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

/* About Section */
.about-img {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

/* Placeholder for missing about image */
.about-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(39, 55, 70, 0.1) 0%, rgba(192, 160, 128, 0.1) 100%);
    border-radius: 50%;
    z-index: 0;
}

.about-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 16px;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-img .experience {
    position: absolute;
    right: -25px;
    bottom: 40px;
    background: var(--gradient-secondary);
    color: white;
    text-align: center;
    padding: 24px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-xl);
}

.about-img .experience h3 {
    font-size: 42px;
    margin: 0;
    line-height: 1;
    color: white;
    font-weight: 700;
}

.about-img .experience p {
    margin: 5px 0 0;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
}

/* Services Section */
.service-card {
    background: white;
    padding: 36px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
    border: 1px solid var(--border-color);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 56px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 18px;
    font-size: 24px;
}

/* Practice Areas Section - Simple Icon Design */
.practice-area-item {
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.practice-area-item:hover {
    transform: translateY(-5px);
}

.practice-area-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 18px;
}

.practice-area-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.practice-area-item:hover .practice-area-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.practice-area-item:hover .practice-area-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.practice-area-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.practice-area-item:hover .practice-area-title {
    color: var(--primary-color);
}

.practice-area-desc {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.practice-area-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.practice-area-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.practice-area-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.practice-area-link:hover::after {
    width: 100%;
}

.practice-area-link i {
    transition: transform 0.3s ease;
}

.practice-area-link:hover i {
    transform: translateX(5px);
}

/* Attorney Section */
.attorney-card {
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
}

.attorney-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.attorney-card .card-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.attorney-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.attorney-card:hover img {
    transform: scale(1.05);
}

.attorney-card .card-body {
    padding: 25px;
    text-align: center;
}

.attorney-card .card-title {
    margin-bottom: 5px;
    font-size: 22px;
}

.attorney-card .card-position {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 15px;
}

.attorney-card .social-links {
    margin-top: 15px;
}

.attorney-card .social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    margin: 0 5px;
}

.attorney-card .social-links a:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Testimonials Section */
.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.testimonial-card .testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .testimonial-rating {
    color: var(--warning-color);
    margin-bottom: 20px;
}

.testimonial-card .testimonial-client {
    display: flex;
    align-items: center;
}

.testimonial-card .client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-card .client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card .client-info h5 {
    margin-bottom: 5px;
    font-size: 18px;
}

.testimonial-card .client-info p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--secondary-color);
}

/* Case Studies Section */
.case-study-card {
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
    height: 100%;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-study-card .card-img {
    height: 200px;
    overflow: hidden;
}

.case-study-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.case-study-card:hover img {
    transform: scale(1.1);
}

.case-study-card .card-body {
    padding: 25px;
}

.case-study-card .card-title {
    margin-bottom: 15px;
    font-size: 22px;
}

.case-study-card .card-category {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Blog Section */
.blog-card {
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card .card-img {
    height: 200px;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-card .card-body {
    padding: 25px;
}

.blog-card .card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.blog-card .card-title {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Blog List Card - Compact Horizontal Layout */
.blog-list-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-list-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Blog List Image */
.blog-list-img {
    overflow: hidden;
    height: 100%;
    min-height: 240px;
    max-height: 280px;
    position: relative;
    background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-list-img a {
    display: block;
    height: 100%;
    width: 100%;
}

.blog-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-list-card:hover .blog-list-img img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Blog List Content */
.blog-list-content {
    padding: 20px;
}

/* Blog Meta */
.blog-list-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.blog-list-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-list-meta i {
    color: var(--secondary-color);
    font-size: 11px;
}

/* Blog Title */
.blog-list-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.blog-list-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-list-title a:hover {
    color: var(--secondary-color);
}

/* Blog Excerpt */
.blog-list-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Blog Sidebar Widgets */
.widget {
    margin-bottom: 25px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 8px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

/* Search Widget */
.search-widget .input-group .form-control {
    border-right: none;
}

.search-widget .input-group .btn {
    border-left: none;
}

/* Recent Posts Widget */
.recent-post-item {
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.recent-post-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.recent-post-img {
    flex-shrink: 0;
}

.recent-post-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.recent-post-info h5 {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.recent-post-info h5 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-post-info h5 a:hover {
    color: var(--secondary-color);
}

.recent-post-info .small {
    font-size: 11px;
}

/* Practice Areas Widget */
.practice-areas-list {
    margin: 0;
    padding: 0;
}

.practice-areas-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.practice-areas-list li:last-child {
    border-bottom: none;
}

.practice-areas-list a {
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 13px;
}

.practice-areas-list a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.practice-areas-list i {
    color: var(--secondary-color);
    width: 18px;
    font-size: 12px;
}

/* Attorney Widget */
.attorney-widget-item {
    margin-bottom: 15px;
}

.attorney-widget-img img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.attorney-widget-info h5 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.attorney-widget-info p {
    color: #777;
    font-size: 12px;
}

/* Contact Section */
.contact-form .form-control {
    padding: 15px;
    border-radius: 0;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.contact-info {
    padding-left: 30px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-info-icon i {
    color: var(--secondary-color);
    font-size: 20px;
}

.contact-info-text h5 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-info-text p, .contact-info-text a {
    margin-bottom: 0;
    color: #777;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #aaa;
    padding: 80px 0 0;
}

.footer h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    color: #aaa;
}

.footer-links a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    color: #aaa;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-contact a {
    color: #aaa;
}

.footer-contact a:hover {
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    margin-right: 10px;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer .copyright {
    padding: 20px 0;
    color: #aaa;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    
    .hero {
        min-height: 350px;
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .about-img .experience {
        width: 100px;
        height: 100px;
        right: -20px;
    }
    
    .about-img .experience h3 {
        font-size: 28px;
    }
    
    .contact-info {
        padding-left: 0;
        margin-top: 50px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 20px;
    }
    
    .navbar-brand img.logo {
        max-height: 35px;
    }
    
    .hero {
        min-height: 300px;
        padding: 60px 0 50px;
    }
    
    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .about-img .experience {
        width: 80px;
        height: 80px;
        right: 0;
    }
    
    .about-img .experience h3 {
        font-size: 22px;
    }
}

/* ================================
   MODERN LAYOUT ENHANCEMENTS
   ================================ */

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

#preloader .spinner {
    text-align: center;
}

#preloader .spinner-border {
    width: 4rem;
    height: 4rem;
    border-width: 0.4rem;
    color: var(--secondary-color) !important;
}

/* Site Wrapper */
.site-wrapper {
    
}

/* Navbar Scrolled Effect */
.navbar {
    transition: all 0.3s ease;
}

.navbar-scrolled {
    box-shadow: var(--shadow-lg) !important;
    background: rgba(255, 255, 255, 0.99) !important;
}

.navbar-scrolled .navbar-brand img {
    max-height: 45px;
    transition: var(--transition);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Main Content */
.main-content {
    min-height: 100vh;
}

/* Scroll Reveal Animation */
[data-aos] {
    pointer-events: auto;
}

/* Enhanced Footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
}

.footer-logo {
    max-height: 60px;
    filter: brightness(1.2);
}

.footer h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
    transition: var(--transition);
    color: #aaa;
}

.footer-links li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    opacity: 0;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--secondary-color);
    padding-left: 25px;
}

.footer-links li a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    color: #aaa;
}

.footer-contact li i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-contact li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact li a:hover {
    color: var(--secondary-color);
}

/* Ensure all ul > li in footer have #aaa color */
.footer ul > li {
    color: #aaa;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Improved Cards Hover */
.practice-area-card,
.service-card,
.attorney-card,
.blog-card,
.case-study-card {
    position: relative;
    overflow: hidden;
}

.practice-area-card::before,
.service-card::before,
.attorney-card::before,
.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(192, 160, 128, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.practice-area-card:hover::before,
.service-card:hover::before,
.attorney-card:hover::before,
.blog-card:hover::before {
    opacity: 1;
}

/* Testimonial Card Enhancement */
.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card .quote-icon {
    font-size: 48px;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Stats/Counter Section */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Page Title Banner */
.page-title-banner {
    background: var(--gradient-primary);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-title-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.page-title-banner h1 {
    color: white;
    margin-bottom: 15px;
}

.page-title-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive Enhancements */
@media (max-width: 991px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .page-title-banner {
        padding: 80px 0 40px;
    }
}

@media (max-width: 576px) {
    #preloader .spinner-border {
        width: 3rem;
        height: 3rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 14px;
    }
}

/* ================================
   APP.JS FEATURES STYLES
   ================================ */

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress-fill {
    height: 100%;
    background: var(--gradient-secondary);
    width: 0%;
    transition: width 0.2s ease;
}

/* Placeholder Images */
.placeholder-image {
    background-color: #f5f5f5;
    opacity: 0.8;
}

/* Reveal on Scroll (Fallback for non-AOS) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9998;
    display: none;
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--secondary-color);
}

.cookie-consent-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-banner p {
    margin: 0;
    flex: 1;
}

.cookie-consent-banner .accept-cookies {
    white-space: nowrap;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.share-buttons a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.share-buttons a[data-share="facebook"]:hover {
    background: #1877f2;
}

.share-buttons a[data-share="twitter"]:hover {
    background: #1da1f2;
}

.share-buttons a[data-share="linkedin"]:hover {
    background: #0077b5;
}

.share-buttons a[data-share="whatsapp"]:hover {
    background: #25d366;
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results .search-result-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.search-results .search-result-item:last-child {
    border-bottom: none;
}

.search-results .search-result-item:hover {
    background: #f9f9f9;
}

.search-results .search-result-item a {
    text-decoration: none;
    color: var(--dark-color);
}

.search-results .search-result-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.search-results .search-result-excerpt {
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* Loading State */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Form Validation Styles */
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback,
.valid-feedback {
    display: none;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
    color: #dc3545;
}

.was-validated .form-control:valid ~ .valid-feedback,
.form-control.is-valid ~ .valid-feedback {
    display: block;
    color: #198754;
}

/* Mobile Responsive for New Features */
@media (max-width: 768px) {
    .cookie-consent-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .share-buttons a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .search-results {
        max-height: 300px;
    }
}

/* ========================================
   HERO SLIDER STYLES - RESPONSIVE
   ======================================== */

/* Slider Container */
#heroSlider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Carousel Item */
#heroSlider .carousel-item {
    position: relative;
    min-height: 600px;
    height: 100vh;
    max-height: 800px;
}

/* Background Image */
.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease-out;
}

/* Ken Burns Effect */
#heroSlider .carousel-item.active .hero-slider-bg {
    animation: kenburns 8s ease-out;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Overlay */
.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(44, 62, 80, 0.7) 100%);
    z-index: 1;
}

/* Content */
.hero-slider-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding-top: 180px;
    max-width: 800px;
}

.hero-slider-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slider-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-slider-content .btn {
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-slider-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Carousel Controls */
#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    width: 70px;
    opacity: 0.7;
    transition: var(--transition);
}

#heroSlider .carousel-control-prev:hover,
#heroSlider .carousel-control-next:hover {
    opacity: 1;
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Carousel Indicators */
#heroSlider .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

#heroSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

#heroSlider .carousel-indicators button.active {
    width: 40px;
    border-radius: 6px;
    background-color: #ffffff;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 992px) {
    #heroSlider .carousel-item {
        min-height: 500px;
        height: 70vh;
        max-height: 600px;
    }
    
    .hero-slider-content {
        padding-top: 120px;
        max-width: 700px;
    }
    
    .hero-slider-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-slider-content p {
        font-size: 1.1rem;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    #heroSlider .carousel-item {
        min-height: 450px;
        height: 60vh;
        max-height: 550px;
    }
    
    .hero-slider-content {
        padding-top: 100px;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    
    .hero-slider-content h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero-slider-content p {
        font-size: 1rem;
        margin-bottom: 24px;
        line-height: 1.6;
    }
    
    .hero-slider-content .btn {
        padding: 12px 30px;
        font-size: 1rem;
        display: inline-block;
    }
    
    /* Mobile Controls */
    #heroSlider .carousel-control-prev,
    #heroSlider .carousel-control-next {
        width: 50px;
    }
    
    #heroSlider .carousel-control-prev-icon,
    #heroSlider .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Mobile Indicators */
    #heroSlider .carousel-indicators {
        bottom: 20px;
    }
    
    #heroSlider .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    #heroSlider .carousel-indicators button.active {
        width: 30px;
    }
}

/* ========================================
   RESPONSIVE - EXTRA SMALL MOBILE
   ======================================== */
@media (max-width: 576px) {
    #heroSlider .carousel-item {
        min-height: 400px;
        height: 55vh;
        max-height: 500px;
    }
    
    .hero-slider-content {
        padding-top: 80px;
    }
    
    .hero-slider-content h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }
    
    .hero-slider-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-slider-content .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

/* Animation Delays for Animate.css */
.animate__delay-1s {
    animation-delay: 0.3s !important;
}

.animate__delay-2s {
    animation-delay: 0.6s !important;
}

/* ========================================
   MOBILE MENU ENHANCEMENTS
   ======================================== */

/* Navbar Toggler Button - Improved Styling */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 8px 12px;
    transition: var(--transition);
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(192, 160, 128, 0.25);
    outline: none;
}

.navbar-toggler:hover {
    background: rgba(192, 160, 128, 0.1);
    border-color: var(--secondary-color);
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 35, 50, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Collapse - Better Organization */
@media (max-width: 991.98px) {
    /* Mobile Nav Items - Better Spacing */
    .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-nav .nav-item:last-of-type {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 8px;
        transition: var(--transition);
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(192, 160, 128, 0.1);
        padding-left: 16px !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, rgba(192, 160, 128, 0.15) 0%, rgba(212, 184, 159, 0.1) 100%);
        color: var(--secondary-color);
        font-weight: 600;
    }
    
    /* Free Consultation Button - Mobile Alignment */
    .navbar-collapse .ms-lg-3 {
        margin-top: 1.5rem !important;
        margin-left: 0 !important;
        padding-top: 1rem;
        border-top: 2px solid var(--border-color);
    }
    
    .navbar-collapse .btn-primary:active {
        transform: scale(0.98);
    }
}

/* Dropdown Toggle Icon - Better UX */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .dropdown {
        position: relative;
    }
    
    .navbar-nav .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 20px;
        text-decoration: none;
    }
    
    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-left: auto;
        transition: var(--transition);
        border: none;
        content: "\f107";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 14px;
    }
    
    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    
    .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        background-color: #f8f9fa;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: 100%;
        float: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    }
    
    .navbar-nav .dropdown-menu.show {
        max-height: 1000px;
        padding: 8px 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 10px 20px 10px 40px;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
        color: var(--text-color);
        white-space: normal;
    }
    
    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus,
    .navbar-nav .dropdown-item:active {
        background-color: #e9ecef;
        border-left-color: var(--primary-color);
        padding-left: 45px;
        transform: none;
        color: var(--text-color);
    }
    
    /* Ensure nav items stay visible */
    .navbar-nav .nav-item,
    .navbar-nav .nav-link,
    .navbar-nav .dropdown-toggle {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Extra Small Devices - Further Optimization */
@media (max-width: 576px) {
    .navbar-toggler {
        padding: 8px 12px;
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        max-height: 35px;
    }
    
    .navbar-nav .nav-link {
        font-size: 15px;
        padding: 14px 20px;
    }
    
    .navbar-nav .dropdown-toggle {
        font-size: 15px;
    }
    
    .navbar-nav .dropdown-item {
        font-size: 14px;
        padding: 12px 20px 12px 40px;
    }
    
    /* Ensure touch targets are at least 44x44 pixels */
    .navbar-nav .nav-link,
    .navbar-nav .dropdown-toggle,
    .navbar-nav .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Smooth Animation for Menu Toggle */
.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.navbar-collapse.collapsing {
    transition: height 0.35s ease;
}

/* Ensure all navbar items are always visible */
.navbar-nav,
.navbar-nav .nav-item,
.navbar-nav .nav-link,
.navbar-nav .dropdown,
.navbar-nav .dropdown-toggle,
.navbar-nav .dropdown-menu,
.navbar-nav .dropdown-item {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fix Bootstrap dropdown behavior on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse.show {
        overflow-y: auto;
        max-height: calc(100vh - 80px);
    }
    
    .navbar-nav {
        display: block !important;
    }
    
    .navbar-nav .nav-item {
        display: block !important;
    }
}

/* Logo Sizing - Mobile Consistency */
@media (max-width: 991.98px) {
    .navbar-brand img.logo {
        max-height: 45px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img.logo {
        max-height: 40px;
    }
}

/* Navbar Container - Better Mobile Layout */
@media (max-width: 991.98px) {
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    .navbar-brand {
        flex: 1;
    }
    
    .navbar-toggler {
        margin-left: auto;
    }
    
    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }
}

/* ========================================
   CONTAINER IMPROVEMENTS - CENTERED LAYOUT
   ======================================== */
/*
 * Container centering and spacing improvements:
 * - Desktop (≥992px): max-width 1200px, 50px padding, auto-centered
 * - Extra Large (≥1400px): max-width 1280px, 60px padding, auto-centered
 * - Tablet (768-991px): max-width 960px, 30px padding, auto-centered
 * - Mobile (≤767px): 20px padding with full width, auto-centered
 * - Extra Small (≤576px): 15px padding with full width, auto-centered
 * 
 * This ensures content is properly centered with comfortable spacing
 * on all screen sizes, preventing cramped layout.
 */

/* Prevent horizontal scroll on all screen sizes */
.container,
.container-fluid {
    
    max-width: 100%;
}

/* Better container spacing - Desktop */
@media (min-width: 992px) {
    .container {
        padding-left: 50px;
        padding-right: 50px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Navbar container - Better alignment */
    .navbar .container {
        padding-left: 50px;
        padding-right: 50px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Hero slider content - Better centering */
    .hero-slider-content {
        padding-left: 0;
        padding-right: 0;
        max-width: 900px;
    }
    
    /* Section containers - centered */
    .section-padding .container {
        padding-left: 50px;
        padding-right: 50px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Hero and carousel containers */
    .hero .container,
    #heroSlider .container {
        padding-left: 50px;
        padding-right: 50px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Footer container */
    .footer .container {
        padding-left: 50px;
        padding-right: 50px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Extra Large Screens - More centered */
@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .navbar .container {
        max-width: 1280px;
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .section-padding .container {
        max-width: 1280px;
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .hero .container,
    #heroSlider .container {
        max-width: 1280px;
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .footer .container {
        max-width: 1280px;
        padding-left: 60px;
        padding-right: 60px;
    }
}

/* Tablet - Comfortable spacing */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
        max-width: 960px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Navbar container - Tablet spacing */
    .navbar .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
        max-width: 960px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Mobile - Better spacing than before */
@media (max-width: 767.98px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Navbar container - Mobile spacing */
    .navbar .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Fix row overflow */
    .row {
        margin-left: -12px;
        margin-right: -12px;
        max-width: 100%;
    }
    
    [class*="col-"] {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Fix navbar */
    .navbar {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Fix header */
    .header {
        width: 100%;
        max-width: 100vw;
        
    }
    
    /* Navbar collapse - prevent overflow */
    .navbar-collapse {
        background: white;
        margin-top: 1rem;
        margin-left: 10px;
        margin-right: 10px;
        padding: 1.25rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--border-color);
        width: auto;
        max-width: calc(100% - 20px);
    }
    
    /* Menu items - better spacing */
    .navbar-nav .nav-link {
        padding: 12px 14px !important;
        font-size: 15px;
        width: 100%;
        text-align: left;
    }
    
    /* Dropdown menu - fit in container */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        background: rgba(248, 250, 252, 0.5);
        border-left: 3px solid var(--secondary-color);
        border-radius: 0 8px 8px 0;
    }
    
    /* Button - full width on mobile */
    .navbar-collapse .btn-primary {
        width: 100%;
        max-width: 100%;
        margin: 0;
        display: block;
    }
}

@media (max-width: 576px) {
    /* Extra small devices - comfortable minimum spacing */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Navbar container - Extra small spacing */
    .navbar .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
        margin-left: 8px;
        margin-right: 8px;
        max-width: calc(100% - 16px);
    }
    
    .navbar-nav .nav-link {
        padding: 10px 12px !important;
        font-size: 14px;
    }
    
    .navbar-nav .dropdown-item {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Fix main content width */
@media (max-width: 991.98px) {
    .main-content {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .section-padding {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Fix footer width */
@media (max-width: 991.98px) {
    .footer {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* ========================================
   ADDITIONAL MOBILE FIXES
   ======================================== */

/* Ensure all elements respect viewport width */
@media (max-width: 991.98px) {
    /* Prevent all images from overflowing */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Fix hero section */
    .hero {
        width: 100%;
        max-width: 100vw;
        
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Fix cards and grid items */
    .col-lg-4,
    .col-lg-6,
    .col-lg-3,
    .col-md-6,
    .col-md-4 {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Fix Bootstrap cards */
    .card {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    
    /* Fix any potentially overflowing elements */
    .practice-area-card,
    .service-card,
    .attorney-card,
    .blog-card,
    .case-study-card {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Comfortable layout for small screens */
@media (max-width: 576px) {
    .hero {
        padding-left: 0;
        padding-right: 0;
    }
    
    .col-lg-4,
    .col-lg-6,
    .col-lg-3,
    .col-md-6,
    .col-md-4 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ========================================
   CRITICAL FIX - NO HORIZONTAL SCROLL
   ======================================== */

/* Global overflow prevention */
#app {
    
    width: 100%;
    max-width: 100vw;
}

.site-wrapper {
    
    width: 100%;
    max-width: 100vw;
}

/* Fix any Bootstrap breakout elements */
@media (max-width: 991.98px) {
    /* Prevent carousel/slider overflow */
    .carousel,
    .carousel-inner,
    .carousel-item {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Fix any negative margins that cause overflow */
    .row {
        margin-left: -12px !important;
        margin-right: -12px !important;
    }
    
    [class*="col-"] {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Navbar specific fixes */
    .fixed-top {
        left: 0;
        right: 0;
        width: 100%;
    }
    
    /* Ensure dropdown doesn't overflow */
    .dropdown-menu.show {
        max-width: calc(100vw - 40px) !important;
    }
}

@media (max-width: 576px) {
    .row {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
    
    [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ========================================
   Milestone Timeline Styles
   ======================================== */
.milestone-timeline {
    position: relative;
    padding: 40px 0;
}

.milestone-timeline::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.milestone-item {
    position: relative;
    display: flex;
    margin-bottom: 40px;
    gap: 40px;
}

.milestone-year {
    flex: 0 0 120px;
    text-align: right;
}

.milestone-year h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    padding-top: 5px;
}

.milestone-content {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    margin-left: 50px;
}

.milestone-content::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 25px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.milestone-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.milestone-description {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Milestone Mobile Responsive */
@media (max-width: 768px) {
    .milestone-timeline {
        padding: 20px 0;
    }
    
    .milestone-timeline::before {
        left: 15px;
    }
    
    .milestone-item {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .milestone-year {
        flex: 0 0 auto;
        text-align: left;
        padding-left: 40px;
    }
    
    .milestone-year h3 {
        font-size: 1.2rem;
        font-weight: 700;
    }
    
    .milestone-content {
        margin-left: 35px;
        padding: 20px;
    }
    
    .milestone-content::before {
        left: -35px;
        top: 20px;
        width: 16px;
        height: 16px;
    }
    
    .milestone-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .milestone-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .milestone-year h3 {
        font-size: 1rem;
    }
    
    .milestone-content {
        padding: 15px;
        margin-left: 30px;
    }
    
    .milestone-content::before {
        left: -30px;
        width: 14px;
        height: 14px;
    }
    
    .milestone-title {
        font-size: 1rem;
    }
    
    .milestone-description {
        font-size: 0.85rem;
    }
}

/* ========================================
   About Section Mobile Responsive
   ======================================== */
@media (max-width: 991.98px) {
    /* About Image - Tablet */
    .about-img {
        min-height: 350px;
        margin-bottom: 2rem;
    }
    
    .about-img .experience {
        right: 10px;
        bottom: 30px;
        width: 120px;
        height: 120px;
        padding: 20px;
    }
    
    .about-img .experience h3 {
        font-size: 36px;
    }
    
    .about-img .experience p {
        font-size: 14px;
    }
    
    /* About Content - Tablet */
    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .about-content .row {
        margin-top: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    /* About Image - Mobile */
    .about-img {
        min-height: 300px;
        border-radius: 12px;
        margin-bottom: 2rem;
    }
    
    .about-img img {
        border-radius: 12px;
    }
    
    .about-img .experience {
        right: 15px;
        bottom: 15px;
        width: 100px;
        height: 100px;
        padding: 16px;
    }
    
    .about-img .experience h3 {
        font-size: 30px;
    }
    
    .about-img .experience p {
        font-size: 12px;
        margin-top: 3px;
    }
    
    /* About Content - Mobile */
    .about-content {
        text-align: left;
    }
    
    .about-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .about-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        text-align: justify;
    }
    
    /* Features List - Mobile */
    .about-content .row {
        margin-top: 1.5rem !important;
    }
    
    .about-content .row .col-md-6 {
        margin-bottom: 0.75rem !important;
    }
    
    .about-content .d-flex {
        align-items: flex-start;
    }
    
    .about-content .d-flex i {
        font-size: 18px;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    .about-content .d-flex p {
        font-size: 0.9rem;
        margin-bottom: 0;
        line-height: 1.4;
    }
    
    .about-content .btn {
        margin-top: 1.5rem !important;
        width: 100%;
        padding: 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    /* About Image - Extra Small Mobile */
    .about-img {
        min-height: 250px;
        border-radius: 10px;
    }
    
    .about-img img {
        border-radius: 10px;
    }
    
    .about-img .experience {
        right: 10px;
        bottom: 10px;
        width: 85px;
        height: 85px;
        padding: 12px;
    }
    
    .about-img .experience h3 {
        font-size: 26px;
    }
    
    .about-img .experience p {
        font-size: 11px;
        letter-spacing: 0.5px;
    }
    
    /* About Content - Extra Small Mobile */
    .about-content h2 {
        font-size: 1.4rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }
    
    .about-content p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }
    
    .about-content .row {
        margin-top: 1rem !important;
    }
    
    .about-content .row .col-md-6 {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 0.5rem !important;
    }
    
    .about-content .d-flex i {
        font-size: 16px;
        margin-right: 8px !important;
    }
    
    .about-content .d-flex p {
        font-size: 0.85rem;
    }
    
    .about-content .btn {
        margin-top: 1rem !important;
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* ========================================
   Service Card Mobile Responsive Fix
   ======================================== */
@media (max-width: 991.98px) {
    .service-card {
        padding: 30px 20px;
        margin-left: auto;
        margin-right: auto;
        text-align: center !important;
    }
    
    .service-card .service-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card h3,
    .service-card p {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 25px 20px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        text-align: center !important;
    }
    
    .service-card .service-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
        text-align: center !important;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .service-card .service-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin: 0 auto 15px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Fix for rows containing service cards */
@media (max-width: 768px) {
    .row .col-md-6,
    .row .col-lg-3,
    .row .col-lg-4 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure container doesn't cause misalignment */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    .row .col-md-6,
    .row .col-lg-3,
    .row .col-lg-4 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ========================================
   Global Mobile Alignment Fix
   ======================================== */
@media (max-width: 768px) {
    /* Ensure all sections are properly aligned */
    section {
        overflow-x: hidden;
    }
    
    /* Fix any potential transform issues on cards */
    .service-card,
    .practice-area-card,
    .attorney-card,
    .blog-card,
    .case-study-card,
    .testimonial-card {
        transform: none !important;
    }
    
    /* Ensure cards don't have unwanted horizontal offset */
    .service-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }
    
    /* Ensure text is centered */
    .text-center {
        text-align: center !important;
    }
    
    /* Fix service icon alignment */
    .service-icon {
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Prevent any unwanted margin that could cause tilt */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure col spacing is even */
    [class*="col-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 576px) {
    /* Extra small devices - ensure perfect centering */
    .service-card {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
    }
    
    /* Prevent any transform on hover for mobile */
    .service-card:hover {
        transform: none !important;
    }
    
    [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ========================================
   Practice Area Item Mobile Responsive
   ======================================== */
@media (max-width: 991.98px) {
    .practice-area-item {
        padding: 25px 15px;
    }
    
    .practice-area-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
        padding: 16px;
    }
    
    .practice-area-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    /* Blog List Card Mobile */
    .blog-list-card {
        margin-bottom: 25px;
        border-radius: 6px;
    }
    
    .blog-list-img {
        height: auto;
        min-height: 200px;
        max-height: 220px;
    }
    
    .blog-list-content {
        padding: 18px;
    }
    
    .blog-list-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .blog-list-meta {
        font-size: 11px;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .blog-list-excerpt {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    /* Blog Sidebar Mobile */
    .widget {
        margin-bottom: 20px;
    }
    
    .widget-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .recent-post-img img {
        width: 60px;
        height: 60px;
    }
    
    .recent-post-info h5 {
        font-size: 13px;
    }
    
    .attorney-widget-item {
        margin-bottom: 12px;
    }
    
    .attorney-widget-img img {
        width: 75px;
        height: 75px;
    }
    
    .attorney-widget-info h5 {
        font-size: 13px;
    }
    
    .practice-areas-list a {
        font-size: 12px;
    }
    
    /* Practice Areas */
    .practice-area-item {
        padding: 20px 10px;
        margin-bottom: 20px;
    }
    
    .practice-area-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 18px;
        border-radius: 18px;
        padding: 15px;
    }
    
    .practice-area-icon img {
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
    }
    
    .practice-area-title {
        font-size: 19px;
        margin-bottom: 14px;
    }
    
    .practice-area-desc {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .practice-area-link {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .practice-area-item {
        padding: 20px 10px;
        margin-bottom: 30px;
    }
    
    .practice-area-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 16px;
        border-radius: 16px;
        padding: 14px;
    }
    
    .practice-area-icon img {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
    }
    
    .practice-area-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .practice-area-desc {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 14px;
    }
    
    .practice-area-link {
        font-size: 13px;
    }
    
    /* Lighter hover effect on mobile */
    .practice-area-item:hover {
        transform: translateY(-3px);
    }
    
    .practice-area-item:hover .practice-area-icon {
        transform: translateY(-3px);
    }
    
    .practice-area-item:hover .practice-area-icon img {
        transform: scale(1.05);
    }
}
