/* Modern Legal Website Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #1a237e;
    --secondary-color: #c5a572;  /* More sophisticated gold */
    --accent-color: #3949ab;
    --text-dark: #212121;
    --text-light: #757575;
    --white: #ffffff;
    --light-bg: #fafafa;
    --burgundy: #800020;
    --deep-blue: #1a365d;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #dfc08f 100%);
    --gradient-dark: linear-gradient(135deg, var(--burgundy) 0%, var(--deep-blue) 100%);
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-heavy: 0 20px 40px rgba(0,0,0,0.2);
    
    /* Typography */
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.05em;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

html {
    scroll-behavior: smooth;
}

/* Basic styles */
body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: var(--line-height-relaxed);
    background-color: var(--white);
    overflow-x: hidden;
    font-size: var(--font-size-base);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--deep-blue);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

/* Banner and dark background headings */
.banner-content h1,
.banner-content h2,
.banner-content h3,
.banner-content h4,
.banner-content h5,
.banner-content h6,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    opacity: 1;
}

h1 {
    font-size: var(--font-size-5xl);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: var(--font-size-4xl);
    letter-spacing: var(--letter-spacing-tight);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
    color: var(--text-dark);
}

h5 {
    font-size: var(--font-size-xl);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--text-dark);
}

h6 {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.lead {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 35, 126, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand .nav-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand .nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-secondary);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: slideInFromLeft 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    animation: slideInFromRight 1s ease-out 0.4s both;
}

.hero-description, .hero-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.cta-btn.primary {
    background: var(--gradient-secondary);
    color: var(--primary-color);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Main Banner Slider */
.main-banners {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-top: 80px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    max-width: 600px;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.banner-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    letter-spacing: 0.5px;
    opacity: 1;
}

.banner-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    opacity: 0.95;
    font-weight: 500;
}

.banner-cta {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.banner-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 3;
}

.banner-prev, .banner-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.banner-prev:hover, .banner-next:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.banner-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Sections */
section {
  padding: var(--spacing-xl) 0;
}.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    margin: 0 auto;
    border-radius: 2px;
}

.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-primary);
    border-radius: 15px;
    color: var(--white);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Why Choose, Practice Areas, etc. */
.why-choose, .practice-areas, .approach {
    background: var(--light-bg);
}

.why-choose .container, .practice-areas .container, .approach .container {
    max-width: 900px;
}

.why-choose ul, .practice-areas ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
}

/* Juris Difference Section */
.juris-difference {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.juris-difference::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="rgba(26,35,126,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.difference-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--secondary-color);
}

.difference-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.difference-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.difference-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.difference-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
}

.difference-item h3::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.difference-item:nth-child(1) h3::before { content: "\f2b5"; }
.difference-item:nth-child(2) h3::before { content: "\f6e2"; }
.difference-item:nth-child(3) h3::before { content: "\f4ad"; }
.difference-item:nth-child(4) h3::before { content: "\f017"; }
.difference-item:nth-child(5) h3::before { content: "\f201"; }
.difference-item:nth-child(6) h3::before { content: "\f0eb"; }
.difference-item:nth-child(7) h3::before { content: "\f0d0"; }
.difference-item:nth-child(8) h3::before { content: "\f0e3"; }
.difference-item:nth-child(9) h3::before { content: "\f5eb"; }

.difference-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.why-choose li, .practice-areas li, .juris-difference li {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.why-choose li:hover, .practice-areas li:hover, .juris-difference li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.approach {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
}

.approach::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--secondary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

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

.approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.3;
}

.approach-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--text-dark);
    position: relative;
    padding: 0 var(--spacing-lg);
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.practice-area-card {
    background: var(--white);
    border-radius: 15px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.practice-area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-blue), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.practice-area-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-color);
}

.practice-area-card:hover::before {
    opacity: 1;
}

.practice-area-card .card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.practice-area-card .card-header i {
    font-size: var(--font-size-2xl);
    color: var(--deep-blue);
    background: var(--cream);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.practice-area-card:hover .card-header i {
    background: var(--deep-blue);
    color: var(--white);
    transform: rotate(360deg);
}

.practice-area-card h3 {
    font-size: var(--font-size-xl);
    color: var(--deep-blue);
    margin: 0;
    flex: 1;
    line-height: var(--line-height-tight);
}

.practice-area-card p {
    color: var(--text-light);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.why-juris {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl) var(--spacing-2xl);
    background: linear-gradient(135deg, var(--cream) 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(196, 151, 59, 0.1);
}

.why-juris::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 48%, var(--secondary-color) 48%, var(--secondary-color) 52%, transparent 52%);
    background-size: 20px 20px;
    opacity: 0.05;
    border-radius: inherit;
}

/* Success Stories Section */
.success-stories {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    position: relative;
}

.success-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-dark);
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.success-card {
    background: var(--white);
    border-radius: 15px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-medium);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.success-icon i {
    font-size: var(--font-size-2xl);
    color: var(--deep-blue);
    background: var(--cream);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.outcome-tag {
    background: var(--deep-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.success-card h3 {
    color: var(--deep-blue);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-xl);
}

.case-details {
    margin-top: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.case-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-details i {
    color: var(--secondary-color);
}

/* Testimonials */
.client-testimonials {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.client-testimonials h3 {
  text-align: center;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  color: var(--deep-blue);
  font-family: var(--font-primary);
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  position: relative;
}.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.quote-icon {
    color: var(--secondary-color);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-relaxed);
}

.client-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.client-type {
    font-weight: 600;
    color: var(--deep-blue);
}

.case-year {
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

/* Legal Resources Section */
.legal-resources {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 50%, var(--white) 100%);
    position: relative;
}

.resources-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-dark);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.resource-category {
    background: var(--white);
    border-radius: 15px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.resource-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.category-header i {
    font-size: var(--font-size-2xl);
    color: var(--deep-blue);
    background: var(--cream);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.category-header h3 {
    margin: 0;
    color: var(--deep-blue);
    font-size: var(--font-size-xl);
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg);
}

.resource-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.resource-list li i {
    color: var(--secondary-color);
}

.resource-list li:hover {
    color: var(--deep-blue);
}

.resource-cta {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--cream);
    color: var(--deep-blue);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-cta:hover {
    background: var(--deep-blue);
    color: var(--white);
}

/* FAQ Section */
.faq-section {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.faq-section h3 {
  text-align: center;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  color: var(--deep-blue);
}.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-xl);
}

.faq-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.faq-item h4 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--deep-blue);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.faq-item h4 i {
    color: var(--secondary-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        gap: var(--spacing-lg);
    }
}

.why-juris h3 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    font-size: 2rem;
    letter-spacing: var(--letter-spacing-tight);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.features-list i {
    color: var(--secondary-color);
    font-size: var(--font-size-lg);
}

.features-list strong {
    color: var(--deep-blue);
    margin-right: 0.25rem;
}
    box-shadow: var(--shadow-medium);
}

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

.card-header i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.card-header h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0;
}

.practice-area-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.why-juris {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 4rem;
}

.why-juris h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.features-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.features-list strong {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .why-juris {
        padding: 2rem;
        margin: 2rem 1rem;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .approach-intro {
        padding: 0 1rem;
        font-size: 1.1rem;
    }
}

.approach ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Contact Form */
.contact {
    background: var(--primary-color);
    color: var(--white);
}

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

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contact-phone {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-phone:hover {
    text-decoration: underline;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: grid;
    gap: 1.5rem;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.contact-form button {
    padding: 1rem 2rem;
    background: var(--gradient-secondary);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Blog Hub */
.blog-hub {
    background: var(--light-bg);
}

.blog-list {
    display: grid;
    gap: 2rem;
    list-style: none;
}

.blog-list li {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.blog-list li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-featured-img {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.blog-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.blog-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.blog-info p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    max-width: 300px;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-logo {
  max-height: 60px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.footer-practice ul, .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-practice ul li, .footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-practice ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-practice ul li a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-practice ul li a:hover {
    color: var(--secondary-color);
    padding-left: 1.2rem;
}

.footer-practice ul li a:hover::before {
    transform: translateX(2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.contact-info i {
    color: var(--secondary-color);
    width: 20px;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

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

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Associations Slider */
.associations-slider {
    background: var(--light-bg);
    padding: 80px 0;
    overflow: hidden;
}

.associations-slider .section-header h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
}

.association-logos {
    display: flex;
    animation: slide 20s linear infinite;
    gap: 3rem;
}

.logo-item {
    flex-shrink: 0;
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.logo-item img {
    max-width: 150px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.association-logos:hover {
    animation-play-state: paused;
}

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    }
    to {
        filter: drop-shadow(0 10px 30px rgba(255,215,0,0.4));
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background: rgba(26, 35, 126, 0.95);
        padding: 2rem;
        text-align: center;
    }
    
    .difference-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .difference-item {
        padding: 2rem;
    }
    
    .difference-item h3 {
        font-size: 1.3rem;
        padding-left: 2.2rem;
    }
    
    .difference-item h3::before {
        font-size: 1.5rem;
    }
    
    .juris-difference {
        padding: 60px 0;
    }

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .cta-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .main-banners {
        height: 350px;
    }
    
    .banner-content {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
}
