:root {
    --primary-dark: #2C2C4B;
    --primary-darker: #1a1a35;
    /* Accent colors for visual hierarchy */
    --accent-color: #4F46E5;
    --accent-hover: #4338CA;
    --accent-light: #6366F1;
    --accent-gradient: linear-gradient(135deg, #4F46E5, #7C3AED);
    /* Background colors */
    --bg-light: #E9EBF1;
    --bg-white: #ffffff;
    /* Text colors */
    --text-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    /* Success/Trust colors */
    --success-color: #10B981;
    --warning-color: #F59E0B;
}

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

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    /* Applied to the whole body */
}

/* Header & Hero Section */
.top-container {
    background-color: var(--primary-dark);
    color: white;
}

header {
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

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

nav ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--text-white);
}

.btn-download {
    background: var(--accent-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.hero {
    padding: 60px 10% 100px 10%;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    font-weight: 400;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 450px;
}

.hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-trial {
    background: var(--accent-gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.btn-trial:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
}

.btn-download-app {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-download-app:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-apple {
    background-color: #000;
    border-color: #000;
}

.btn-apple:hover {
    background-color: #333;
    border-color: #333;
}

.trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}

.trust-signal {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.trust-signal i {
    font-size: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Phone Illustration with CSS */
.phones-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
    padding: 20px;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: linear-gradient(180deg, #1e1e3a 0%, #2C2C4B 100%);
    border: 8px solid #444;
    border-radius: 40px;
    position: relative;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(79, 70, 229, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(79, 70, 229, 0.4);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: #333;
    border-radius: 10px;
    z-index: 5;
}

.phone-mockup::after {
    display: none;
}

/* Removed unused styles for cleaner code */

.app-screen {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full image is visible */
    background: #fff;
    /* White background for the app screen */
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 992px) {
    .phone-mockup {
        width: 280px;
        height: 560px;
    }

    .floating-ui img {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .floating-ui {
        display: none;
    }
}

.chat-bubble {
    position: absolute;
    background: #e0e0e0;
    width: 110px;
    height: 45px;
    border-radius: 12px;
    right: -45px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.bubble-1 {
    top: 70px;
}

.bubble-2 {
    top: 130px;
}

/* How It Works Section */
.how-it-works {
    background: white;
    padding: 80px 10%;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: white;
    padding: 50px 30px 40px;
    /* Increased top padding */
    border-radius: 18px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 30px;
    /* Space for the floating number */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-light);
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    /* Absolute positioning to sit above card */
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    border: 4px solid var(--bg-light);
}

.step-icon {
    font-size: 2rem;
    color: var(--primary-dark);
    opacity: 0.8;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.step-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    color: var(--primary-dark);
    font-size: 1.8rem;
    opacity: 0.3;
    z-index: 1;
}

.step-card:last-child .step-arrow {
    display: none;
}

/* Legal Services Section */
.legal-services {
    background: var(--bg-light);
    padding: 80px 10%;
}

.legal-services h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: white;
    padding: 35px 30px;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: block;
}

.service-icon-img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.service-price-label {
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Why Choose Section */
.why-choose {
    background: var(--bg-light);
    padding: 80px 10%;
}

.why-choose h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-white);
    background-color: var(--primary-dark);
    font-weight: 700;
    text-align: left;
    padding: 20px 30px;
    border-radius: 10px;
    display: inline-block;
}

.benefits-container {
    max-width: 100%;
    background: white;
    padding: 40px;
    border-radius: 15px;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    background: #e0e3ea;
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--primary-dark);
    min-width: 30px;
    margin-top: 2px;
}

.benefit-text {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

/* Security & Confidentiality Section */
.security-section {
    background: white;
    padding: 80px 10%;
}

.security-section h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-dark);
    font-weight: 700;
    text-align: left;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
}

.security-card {
    background: var(--bg-light);
    padding: 35px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-dark);
}

.security-icon {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: block;
}

.security-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.security-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Our Lawyers Section */
/* Lawyers Section - Featured Grid Layout */
.lawyers-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 80px 10%;
}

.lawyers-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.lawyers-section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.lawyers-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Lawyer Card */
.featured-lawyer-container {
    margin-bottom: 50px;
}

.featured-lawyer-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 300px 1fr;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.featured-lawyer-image {
    position: relative;
    height: 100%;
    min-height: 350px;
}

.featured-lawyer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}

.featured-badge i {
    font-size: 0.9rem;
}

.featured-lawyer-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-lawyer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.featured-lawyer-name {
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
}

.featured-lawyer-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-lawyer-rating .rating-stars {
    color: #ffc107;
    font-size: 1rem;
}

.featured-lawyer-rating .rating-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.featured-lawyer-specialty {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-lawyer-specialty i {
    opacity: 0.8;
}

.featured-lawyer-stats {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.featured-lawyer-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #555;
}

.featured-lawyer-stats .stat-item i {
    color: var(--primary-dark);
    font-size: 1rem;
}

.featured-lawyer-bio {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.featured-lawyer-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-view-profile {
    background: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-view-profile:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-consult-now {
    background: var(--primary-dark);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-dark);
}

.btn-consult-now:hover {
    background: #1a1a35;
    border-color: #1a1a35;
}

/* Other Lawyers Section */
.other-lawyers-section {
    margin-bottom: 50px;
}

.other-lawyers-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.lawyer-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.lawyer-card-top {
    display: flex;
    gap: 18px;
    margin-bottom: 15px;
}

.lawyer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--bg-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-quick-info {
    flex: 1;
    min-width: 0;
}

.lawyer-quick-info .lawyer-name {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lawyer-quick-info .lawyer-specialty {
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lawyer-quick-info .lawyer-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.lawyer-quick-info .lawyer-rating i {
    color: #ffc107;
    font-size: 0.8rem;
}

.lawyer-quick-info .lawyer-rating span {
    color: #666;
    font-weight: 500;
}

.lawyer-card-details {
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    margin-bottom: auto;
}

.lawyer-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.lawyer-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #666;
}

.lawyer-meta .meta-item i {
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.lawyer-meta .meta-item.verified {
    color: #28a745;
}

.lawyer-meta .meta-item.verified i {
    color: #28a745;
}

.lawyer-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin-top: 15px;
    background: var(--bg-light);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lawyer-card-link:hover {
    background: var(--primary-dark);
    color: white;
}

.lawyer-card-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

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

/* No Lawyers State */
.no-lawyers-container {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
}

.no-lawyers-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.no-lawyers-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
    opacity: 0.6;
}

.no-lawyers-container h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.no-lawyers-container p {
    color: #666;
    font-size: 0.95rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-badge i {
    color: var(--primary-dark);
    font-size: 1.2rem;
}

/* Features & Testimonials Sections */
.section-container {
    padding: 80px 10%;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-weight: 700;
}

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

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-light);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Existing card styles... */
.card {
    background: white;
    padding: 45px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.card i {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.testimonial-card.dark {
    background-color: var(--primary-dark);
    color: white;
}

.testimonial-rating {
    color: var(--warning-color);
    font-size: 1rem;
    margin-bottom: 10px;
}

.quote-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 10px;
    font-family: serif;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-author {
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
}

.testimonial-card.dark .testimonial-author {
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 40px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-right: 25px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.social-icons a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.social-icons i {
    margin-left: 15px;
    cursor: pointer;
    font-size: 1.1rem;
}

.newsletter-input {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    width: 220px;
    font-size: 0.85rem;
}

.footer-links a:hover {
    opacity: 1;
}


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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.step-card,
.service-item,
.security-card,
.lawyer-card,
.card,
.testimonial-card,
.benefit-item {
    animation: fadeInUp 0.6s ease forwards;
}

.step-card:nth-child(1) {
    animation-delay: 0.1s;
}

.step-card:nth-child(2) {
    animation-delay: 0.2s;
}

.step-card:nth-child(3) {
    animation-delay: 0.3s;
}

.step-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-item:nth-child(1) {
    animation-delay: 0.05s;
}

.service-item:nth-child(2) {
    animation-delay: 0.1s;
}

.service-item:nth-child(3) {
    animation-delay: 0.15s;
}

.service-item:nth-child(4) {
    animation-delay: 0.2s;
}

.service-item:nth-child(5) {
    animation-delay: 0.25s;
}

.service-item:nth-child(6) {
    animation-delay: 0.3s;
}

.service-item:nth-child(7) {
    animation-delay: 0.35s;
}

.service-item:nth-child(8) {
    animation-delay: 0.4s;
}

/* Card hover accent */
.card:hover,
.service-item:hover,
.security-card:hover {
    border-color: var(--accent-color);
}

.card,
.service-item {
    border: 2px solid transparent;
}

/* Icon accent on hover */
.card:hover i,
.service-item:hover .service-icon {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        margin: 0 auto 30px auto;
    }

    .hero-content p {
        margin: 0 auto 30px auto;
    }

    .hero-cta-buttons {
        justify-content: center;
    }

    .trust-signals {
        justify-content: center;
    }

    .how-it-works {
        padding: 60px 5%;
    }

    .how-it-works h2 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-arrow {
        display: none;
    }

    .step-card {
        padding: 30px 20px;
    }

    .step-header {
        flex-direction: column;
        gap: 15px;
    }

    .legal-services {
        padding: 60px 5%;
    }

    .legal-services h2 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-item {
        padding: 30px 20px;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.85rem;
    }

    .why-choose {
        padding: 60px 5%;
    }

    .why-choose h2 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .benefits-grid {
        gap: 15px;
    }

    .benefit-item {
        padding: 18px;
    }

    .security-section {
        padding: 60px 5%;
    }

    .security-section h2 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .security-card {
        padding: 30px 20px;
    }

    .lawyers-section {
        padding: 60px 5%;
    }

    .lawyers-section-header h2 {
        font-size: 1.6rem;
    }

    .lawyers-section-subtitle {
        font-size: 1rem;
    }

    /* Featured Lawyer Mobile */
    .featured-lawyer-card {
        grid-template-columns: 1fr;
    }

    .featured-lawyer-image {
        min-height: 250px;
    }

    .featured-lawyer-info {
        padding: 25px;
    }

    .featured-lawyer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .featured-lawyer-name {
        font-size: 1.4rem;
    }

    .featured-lawyer-stats {
        gap: 15px;
    }

    .featured-lawyer-stats .stat-item {
        font-size: 0.85rem;
    }

    .featured-lawyer-actions {
        flex-direction: column;
    }

    .btn-view-profile,
    .btn-consult-now {
        width: 100%;
        justify-content: center;
    }

    /* Other Lawyers Mobile */
    .other-lawyers-title {
        font-size: 1.2rem;
    }

    .lawyers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lawyer-card {
        padding: 20px;
    }

    .lawyer-card-top {
        gap: 15px;
    }

    .lawyer-avatar {
        width: 70px;
        height: 70px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

/* Lawyers List Page */
.page {
    padding: 60px 10%;
}

.page-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.page-title h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.page-title p {
    color: #666;
    font-size: 0.95rem;
    max-width: 560px;
}

.controls {
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 220px 180px;
    gap: 15px;
    margin-bottom: 25px;
}

.input {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    border-radius: 14px;
    padding: 12px 14px;
}

.input i {
    color: var(--primary-dark);
    opacity: 0.85;
}

.input input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.control-select select {
    width: 100%;
    border: none;
    outline: none;
    background: var(--bg-light);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.btn-reset {
    border: none;
    cursor: pointer;
    background: var(--primary-dark);
    color: white;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 600;
    font-size: 0.95rem;
}

.summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.95rem;
}

.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.btn-view {
    background-color: var(--primary-dark);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-view:hover {
    background-color: #1a1a35;
}

.empty-state {
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    text-align: center;
    color: #666;
}

.empty-state i {
    font-size: 2rem;
    color: var(--primary-dark);
    opacity: 0.8;
    margin-bottom: 10px;
}

.pagination {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-btn {
    border: none;
    cursor: pointer;
    background: white;
    color: var(--primary-dark);
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    min-width: 44px;
}

.page-btn.active {
    background: var(--primary-dark);
    color: white;
}

.page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .page {
        padding: 40px 5%;
    }

    .controls {
        grid-template-columns: 1fr;
    }
}

/* Lawyer Profile Page */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

/* Single Lawyer Profile Card */
.lawyer-profile-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.lawyer-profile-card .card-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a2a50 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.lawyer-profile-card .card-header .lawyer-photo-large {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    border: 4px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    object-fit: cover;
}

.lawyer-profile-card .card-header .header-info {
    flex: 1;
    color: white;
}

.lawyer-profile-card .card-header .profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.lawyer-profile-card .card-header .profile-specialty {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.lawyer-profile-card .card-header .profile-experience {
    font-size: 0.95rem;
    opacity: 0.75;
    color: rgba(255, 255, 255, 0.75);
}

/* License Section */
.license-section {
    padding: 25px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.license-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.license-badge>i {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.license-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.license-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.license-number {
    font-size: 1.4rem;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Rating Section */
.rating-section {
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #eee;
}

.rating-section .profile-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.rating-section .stars {
    color: #ffc107;
    font-size: 1.3rem;
}

.rating-section .rating-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.rating-section .review-count {
    font-size: 0.95rem;
    color: #666;
}

/* Verification Badges in Card */
.lawyer-profile-card .verification-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #eee;
}

.lawyer-profile-card .verification-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.lawyer-profile-card .verification-badge i {
    color: #28a745;
    font-size: 1rem;
}

/* Card Sections */
.card-section {
    padding: 30px 40px;
    border-bottom: 1px solid #eee;
}

.card-section:last-of-type {
    border-bottom: none;
}

.card-section .section-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-section .section-title i {
    font-size: 1rem;
    opacity: 0.7;
}

.card-section .section-content p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Practice Areas in Card */
.lawyer-profile-card .practice-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.lawyer-profile-card .practice-area-item {
    background: var(--bg-light);
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lawyer-profile-card .practice-area-item i {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.lawyer-profile-card .practice-area-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Compact Reviews */
.reviews-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-compact-item {
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-dark);
}

.review-stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 8px;
}

.review-compact-item .review-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Download App Section */
.download-app-section {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.download-title {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.download-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.app-store-btn,
.play-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.app-store-btn {
    background: #000;
    color: white;
}

.app-store-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.play-store-btn {
    background: linear-gradient(135deg, #34a853 0%, #0f9d58 100%);
    color: white;
}

.play-store-btn:hover {
    background: linear-gradient(135deg, #2e8b47 0%, #0d8b4f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.4);
}

.app-store-btn>i,
.play-store-btn>i {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-text .small-text {
    font-size: 0.7rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-text .big-text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Responsive for Card Layout */
@media (max-width: 768px) {
    .profile-container {
        padding: 20px 15px;
    }

    .lawyer-profile-card .card-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .lawyer-profile-card .card-header .lawyer-photo-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .lawyer-profile-card .card-header .profile-name {
        font-size: 1.5rem;
    }

    .license-section {
        padding: 20px;
    }

    .license-badge {
        padding: 15px;
    }

    .license-badge>i {
        font-size: 2rem;
    }

    .license-number {
        font-size: 1.2rem;
    }

    .rating-section,
    .card-section {
        padding: 20px;
    }

    .lawyer-profile-card .verification-badges {
        padding: 15px 20px;
    }

    .download-app-section {
        padding: 30px 20px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-store-btn,
    .play-store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

.profile-header {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.lawyer-photo-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    font-weight: 700;
    border: 6px solid var(--bg-light);
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.profile-specialty {
    font-size: 1.3rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.profile-experience {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.profile-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.profile-rating .stars {
    color: #ffc107;
    font-size: 1.3rem;
}

.profile-rating .rating-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 5px;
}

.profile-rating .review-count {
    font-size: 0.95rem;
    color: #666;
    margin-left: 10px;
}

.verification-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.verification-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.verification-badge i {
    color: var(--primary-dark);
    font-size: 1rem;
}

.profile-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-consult-primary {
    background-color: var(--primary-dark);
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-consult-primary:hover {
    background-color: #1a1a35;
}

.btn-consult-secondary {
    background-color: white;
    color: var(--primary-dark);
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    border: 2px solid var(--primary-dark);
    transition: background-color 0.3s ease;
}

.btn-consult-secondary:hover {
    background-color: var(--bg-light);
}

.content-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.section-content {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.practice-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.practice-area-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.practice-area-item i {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.practice-area-item span {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.credentials-list {
    list-style: none;
    margin-top: 20px;
}

.credentials-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.credentials-list li:last-child {
    border-bottom: none;
}

.credentials-list i {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-top: 3px;
}

.credentials-content h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.credentials-content p {
    font-size: 0.95rem;
    color: #666;
}

.reviews-list {
    margin-top: 20px;
}

.review-item {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-details h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 3px;
    font-weight: 600;
}

.reviewer-details p {
    font-size: 0.85rem;
    color: #666;
}

.review-rating {
    color: #ffc107;
    font-size: 1rem;
}

.review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
    margin-top: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
}

@media (max-width: 992px) {
    .profile-container {
        padding: 40px 5%;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .lawyer-photo-large {
        margin: 0 auto;
    }

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

    .two-column {
        grid-template-columns: 1fr;
    }

    .profile-name {
        font-size: 2rem;
    }

    .content-section {
        padding: 25px;
    }
}

/* Page Content */
.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 10%;
    background: white;
    min-height: calc(100vh - 200px);
}

.privacy-header {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--bg-light);
}

.privacy-header h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.privacy-header p {
    color: #666;
    font-size: 1rem;
}

.last-updated {
    color: #999;
    font-size: 0.9rem;
    margin-top: 10px;
}

.privacy-content {
    line-height: 1.8;
}

.privacy-content section {
    margin-bottom: 50px;
}

.privacy-content h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
    padding-top: 20px;
}

.privacy-content h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.privacy-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.privacy-content ul,
.privacy-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
    color: #555;
}

.privacy-content li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.privacy-content strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.contact-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.contact-info h3 {
    margin-top: 0;
}

@media (max-width: 992px) {
    .privacy-container {
        padding: 40px 5%;
    }

    .privacy-header h1 {
        font-size: 2rem;
    }

    .privacy-content h2 {
        font-size: 1.5rem;
    }

    .privacy-content h3 {
        font-size: 1.2rem;
    }
}

/* ===== Consultation Wizard ===== */
[x-cloak] { display: none !important; }

.consultation-wizard-section {
    background: var(--bg-light);
    padding: 80px 10%;
}

.wizard-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* Left: Form Side */
.wizard-form-side {
    min-width: 0;
}

/* Right: Header Side */
.wizard-header-side {
    position: sticky;
    top: 100px;
    padding-top: 20px;
}

.wizard-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-dark);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

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

.wizard-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.wizard-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Progress Bar */
.wizard-progress {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
    width: 100%;
}

.progress-item {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.progress-item:last-child {
    flex: 0 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.progress-label {
    font-size: 0.7rem;
    color: #aaa;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.progress-step.active .progress-label { color: var(--primary-dark); font-weight: 600; }
.progress-step.completed .progress-label { color: var(--primary-dark); }

.progress-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: white;
    color: #bbb;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.progress-step.active .progress-number {
    background: var(--primary-dark);
    color: white;
    border-color: transparent;
    box-shadow: 0 3px 12px rgba(44, 44, 75, 0.35);
}

.progress-step.completed .progress-number {
    background: var(--primary-dark);
    color: white;
    border-color: transparent;
    font-size: 0.7rem;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #ddd;
    margin: 15px 6px 0;
    min-width: 20px;
    transition: background 0.3s ease;
}

.progress-line.active { background: var(--primary-dark); }

/* Wizard Card */
.wizard-card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.step-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 7px;
}

.form-icon {
    color: var(--primary-dark);
    font-size: 0.8rem;
    opacity: 0.7;
}

.wizard-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e0e3ea;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: #f8f9fc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.wizard-input:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(44, 44, 75, 0.08);
    background: white;
}

.wizard-textarea { resize: vertical; min-height: 80px; }

select.wizard-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
[dir="rtl"] select.wizard-input {
    background-position: left 14px center;
    padding-right: 14px;
    padding-left: 36px;
}

.field-hint { display: block; font-size: 0.75rem; color: #aaa; margin-top: 4px; }
.field-error { display: block; font-size: 0.78rem; color: #ef4444; margin-top: 4px; }

/* Buttons */
.wizard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}
.wizard-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.wizard-btn-primary {
    background: var(--primary-dark);
    color: white;
    width: 100%;
    box-shadow: 0 4px 14px rgba(44, 44, 75, 0.25);
}
.wizard-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--primary-darker);
    box-shadow: 0 6px 20px rgba(44, 44, 75, 0.35);
}

.wizard-btn-back {
    background: white;
    color: var(--text-dark);
    border: 1.5px solid #ddd;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 10px;
    flex-shrink: 0;
}
.wizard-btn-back:hover:not(:disabled) { background: #f5f5f5; }

.wizard-btn-group {
    display: flex;
    gap: 10px;
}
.wizard-btn-group .wizard-btn-primary { flex: 1; }

.wizard-btn-link {
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px;
    display: block;
    margin: 8px auto 0;
    font-family: 'Inter', sans-serif;
}
.wizard-btn-link:hover { text-decoration: underline; }

/* Spinner */
.wizard-spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: white; border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
.wizard-spinner-small {
    display: inline-block; width: 14px; height: 14px;
    border: 2px solid rgba(44,44,75,0.3);
    border-top-color: var(--primary-dark); border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* OTP Card */
.otp-card { text-align: center; }

.otp-icon {
    width: 60px; height: 60px;
    background: rgba(44, 44, 75, 0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.otp-icon i { font-size: 1.5rem; color: var(--primary-dark); }

.otp-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.otp-message { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2px; }
.otp-mobile { font-size: 1rem; color: var(--primary-dark); font-weight: 700; margin-bottom: 20px; direction: ltr; }

.otp-input {
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 10px;
    font-weight: 700;
    padding: 12px;
    max-width: 220px;
    margin: 0 auto;
}

/* Step 4: Offers */
.consultation-summary {
    background: white;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.summary-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(44, 44, 75, 0.08); color: var(--primary-dark);
    padding: 5px 12px; border-radius: 16px;
    font-size: 0.78rem; font-weight: 600; margin-bottom: 10px;
}
.summary-badge i { font-size: 0.85rem; }

.consultation-summary h3 { font-size: 1.05rem; color: var(--text-dark); font-weight: 600; margin-bottom: 8px; }

.summary-meta {
    display: flex; gap: 16px; flex-wrap: wrap;
    font-size: 0.82rem; color: #888;
}
.summary-meta span { display: flex; align-items: center; gap: 5px; }
.summary-meta i { color: var(--primary-dark); font-size: 0.75rem; }

/* Waiting */
.offers-waiting {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 14px;
    border: 2px dashed #dde0e8;
}

.waiting-animation { display: flex; justify-content: center; gap: 6px; margin-bottom: 16px; }

.waiting-dot {
    width: 10px; height: 10px;
    background: var(--primary-dark); border-radius: 50%;
    animation: waitingBounce 1.4s ease-in-out infinite;
}
.waiting-dot:nth-child(2) { animation-delay: 0.2s; }
.waiting-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes waitingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.offers-waiting h4 { font-size: 1rem; color: var(--text-dark); font-weight: 600; margin-bottom: 6px; }
.waiting-hint { font-size: 0.85rem; color: #aaa; }

/* Offers List */
.offers-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 12px;
}
.offers-header h3 { font-size: 1rem; color: var(--text-dark); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.offers-header h3 i { color: var(--primary-dark); font-size: 0.85rem; }

.offers-count {
    background: var(--primary-dark); color: white;
    padding: 3px 12px; border-radius: 16px;
    font-size: 0.75rem; font-weight: 600;
}

/* Minimal Flat Offer Card */
.offer-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    border: 1px solid #eaedf3;
    text-decoration: none;
    color: inherit;
    animation: fadeInUp 0.4s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.offer-card:hover {
    border-color: var(--primary-dark);
    box-shadow: 0 2px 12px rgba(44,44,75,0.08);
    color: inherit;
    text-decoration: none;
}

/* Row — Lawyer side + Price side */
.offer-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Lawyer side: avatar + info grouped together */
.offer-lawyer-side {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.offer-lawyer-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    border: 2px solid #eaedf3;
    background: #f4f5f9;
}
.offer-lawyer-avatar img { width: 100%; height: 100%; object-fit: cover; }

.offer-lawyer-info { flex: 1; min-width: 0; }
.offer-lawyer-info h4 {
    font-size: 0.88rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.2;
}

.offer-lawyer-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.offer-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
}
.offer-meta-item i { font-size: 0.65rem; }
.offer-meta-item i.fa-star { color: #e8a808; }
.offer-meta-item i.fa-briefcase { color: var(--primary-dark); }

/* Price side: pushed to the opposite end */
.offer-price-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.offer-price-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.offer-price-currency {
    font-size: 0.68rem;
    font-weight: 500;
    color: #999;
    margin-top: 3px;
}

/* Offer Description */
.offer-description {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.5;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f1f5;
}

/* App Link — Install app row */
.offer-app-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f1f5;
}

.offer-app-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #666;
    font-weight: 600;
}
.offer-app-text i {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.offer-store-icons {
    display: flex;
    gap: 8px;
}

.offer-store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #f4f5f9;
    color: #666;
    text-decoration: none;
    font-size: 1.15rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.offer-store-link:hover {
    background: var(--primary-dark);
    color: white;
}

/* General Error */
.wizard-error {
    background: #fef2f2; color: #ef4444;
    padding: 10px 16px; border-radius: 10px;
    font-size: 0.85rem; font-weight: 500;
    text-align: center; margin-top: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .consultation-wizard-section { padding: 50px 5%; }
    .wizard-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .wizard-header-side {
        position: static;
        order: -1;
        padding-top: 0;
    }
    .wizard-card { padding: 24px; }
}

@media (max-width: 480px) {
    .wizard-title { font-size: 1.4rem; }
    .wizard-subtitle { font-size: 0.85rem; }
    .progress-number { width: 28px; height: 28px; font-size: 0.7rem; }
    .progress-line { min-width: 14px; }
    .progress-label { font-size: 0.62rem; }
    .wizard-card { padding: 20px; }
    .offer-card { padding: 14px 16px; }
    .offer-lawyer-side { gap: 10px; }
    .offer-price-amount { font-size: 1rem; }
    .offer-app-link { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ===== Wizard RTL ===== */
[dir="rtl"] .wizard-form-side { text-align: right; }
[dir="rtl"] .wizard-header-side { text-align: right; }
[dir="rtl"] .otp-card { text-align: center; }
[dir="rtl"] .wizard-btn-group { flex-direction: row-reverse; }
[dir="rtl"] .offer-lawyer-info { text-align: right; }
[dir="rtl"] .summary-meta { flex-direction: row-reverse; }
[dir="rtl"] .offers-header { flex-direction: row-reverse; }

@media (max-width: 992px) {
    [dir="rtl"] .wizard-btn-group { flex-direction: column-reverse; }
}

/* RTL Support */
[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

/* Hero Section RTL */
[dir="rtl"] .hero {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content h1,
[dir="rtl"] .hero-content h2,
[dir="rtl"] .hero-content p,
[dir="rtl"] .trust-signal {
    text-align: right;
}

[dir="rtl"] .hero-cta-buttons {
    justify-content: flex-start;
}

[dir="rtl"] .trust-signals {
    justify-content: flex-start;
}

[dir="rtl"] .trust-signal {
    flex-direction: row-reverse;
}

/* Header RTL */
[dir="rtl"] header {
    flex-direction: row-reverse;
}

[dir="rtl"] nav ul {
    flex-direction: row-reverse;
}

/* Footer RTL */
[dir="rtl"] footer {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-links a {
    margin-right: 0;
    margin-left: 25px;
}

[dir="rtl"] .footer-right {
    flex-direction: row-reverse;
}

[dir="rtl"] .social-icons i {
    margin-left: 0;
    margin-right: 15px;
}

/* Steps Section RTL */
[dir="rtl"] .step-arrow {
    right: auto;
    left: -25px;
    transform: translateY(-50%) rotate(180deg);
}

[dir="rtl"] .step-arrow i {
    transform: rotate(180deg);
}

/* Other Sections RTL */
[dir="rtl"] .how-it-works h2,
[dir="rtl"] .legal-services h2,
[dir="rtl"] .why-choose h2,
[dir="rtl"] .security-section h2,
[dir="rtl"] .lawyers-section-header {
    text-align: right;
}

[dir="rtl"] .lawyers-section-header h2,
[dir="rtl"] .lawyers-section-subtitle,
[dir="rtl"] .section-title {
    text-align: right;
}

[dir="rtl"] .featured-lawyer-specialty,
[dir="rtl"] .featured-lawyer-stats,
[dir="rtl"] .featured-lawyer-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .featured-lawyer-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .lawyer-card-top {
    flex-direction: row-reverse;
}

[dir="rtl"] .lawyer-quick-info {
    text-align: right;
}

[dir="rtl"] .lawyer-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .lawyer-card-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .lawyer-card-link:hover i {
    transform: translateX(-4px);
}

[dir="rtl"] .why-choose {
    text-align: right;
}

[dir="rtl"] .why-choose h2 {
    text-align: right;
    float: right;
}

[dir="rtl"] .benefits-container {
    clear: both;
}

[dir="rtl"] .benefit-item {
    flex-direction: row;
    text-align: right;
}

[dir="rtl"] .benefit-icon {
    margin-top: 2px;
}

[dir="rtl"] .benefit-item:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .chat-bubble {
    right: auto;
    left: -45px;
}

[dir="rtl"] .faq-item {
    border-left: none;
    border-right: 4px solid var(--accent-light);
}

[dir="rtl"] .lawyer-rating .rating-text {
    margin-left: 0;
    margin-right: 5px;
}

[dir="rtl"] .trust-badge {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .trust-badges {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-item,
[dir="rtl"] .security-card,
[dir="rtl"] .lawyer-card {
    text-align: center;
    /* Keep center for cards */
}

/* Phone Mockups RTL */
[dir="rtl"] .phones-container {
    flex-direction: row-reverse;
}

/* Testimonials RTL */
[dir="rtl"] .testimonial-card {
    text-align: right;
}

[dir="rtl"] .testimonial-author {
    text-align: right;
}

/* Review items RTL */
[dir="rtl"] .review-compact-item {
    border-left: none;
    border-right: 4px solid var(--primary-dark);
}

/* License badge RTL */
[dir="rtl"] .license-badge {
    flex-direction: row-reverse;
}

/* Privacy content RTL */
[dir="rtl"] .privacy-content ul,
[dir="rtl"] .privacy-content ol {
    margin-left: 0;
    margin-right: 30px;
}

/* Lawyers list page RTL */
[dir="rtl"] .page-title {
    flex-direction: row-reverse;
}

[dir="rtl"] .controls {
    direction: rtl;
}

[dir="rtl"] .input {
    flex-direction: row-reverse;
}

[dir="rtl"] .summary-bar {
    flex-direction: row-reverse;
}

/* Mobile responsive RTL adjustments */
@media (max-width: 992px) {
    [dir="rtl"] .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    [dir="rtl"] .hero-content h1,
    [dir="rtl"] .hero-content h2,
    [dir="rtl"] .hero-content p {
        text-align: center;
    }

    [dir="rtl"] .hero-cta-buttons {
        justify-content: center;
    }

    [dir="rtl"] .trust-signals {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    [dir="rtl"] header {
        flex-wrap: wrap;
    }

    [dir="rtl"] header nav ul {
        flex-direction: column;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 12px 10%;
    background-color: var(--bg-light);
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--text-muted);
}

[dir="rtl"] .breadcrumb li + li::before {
    margin-right: 0;
    margin-left: 8px;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.breadcrumb li:last-child span {
    color: var(--text-muted);
}

/* ===== Mobile Hamburger Menu ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    header {
        flex-wrap: wrap;
        padding: 15px 5%;
    }

    header nav {
        display: none;
        width: 100%;
        order: 3;
    }

    header nav.nav-open {
        display: block;
    }

    header nav ul {
        flex-direction: column;
        gap: 0;
        padding: 15px 0 5px;
    }

    header nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    header .btn-download {
        order: 2;
        font-size: 0.8rem;
        padding: 6px 16px;
    }
}

/* ===== Footer Responsive ===== */
@media (max-width: 992px) {
    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 30px 5%;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-links a {
        margin-right: 0;
    }

    .footer-right {
        flex-direction: column;
        gap: 15px;
    }

    .social-icons i {
        margin-left: 8px;
        margin-right: 8px;
    }

    .newsletter-input {
        width: 100%;
        max-width: 280px;
    }
}

/* ===== 768px Tablet Breakpoint ===== */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        padding: 40px 5% 60px;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1rem;
    }

    /* Phone mockups - hide second phone */
    .phones-container {
        gap: 0;
    }

    .phone-mockup.phone-right {
        display: none;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    /* Sections padding */
    .how-it-works,
    .legal-services,
    .why-choose,
    .security-section,
    .lawyers-section,
    .section-container {
        padding: 50px 5%;
    }

    .how-it-works h2,
    .legal-services h2,
    .section-title {
        font-size: 1.4rem;
    }

    /* Services grid - 2 columns on tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials & FAQ - single column */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* Why choose heading */
    .why-choose h2 {
        font-size: 1.3rem;
        padding: 15px 20px;
        margin-bottom: 30px;
    }

    /* Benefits container */
    .benefits-container {
        padding: 25px;
    }

    /* Featured lawyer */
    .featured-lawyer-info {
        padding: 20px;
    }

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

/* ===== 480px Small Mobile Breakpoint ===== */
@media (max-width: 480px) {
    /* Hero */
    .hero {
        padding: 30px 5% 50px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero-content h2 {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
    }

    .btn-trial,
    .btn-download-app {
        text-align: center;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .trust-signals {
        gap: 12px;
    }

    .trust-signal {
        font-size: 0.8rem;
    }

    /* Phone mockup */
    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    /* Section headings */
    .how-it-works h2,
    .legal-services h2,
    .security-section h2,
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 30px;
    }

    .lawyers-section-header h2 {
        font-size: 1.25rem;
    }

    .lawyers-section-subtitle {
        font-size: 0.9rem;
    }

    /* Step cards */
    .step-card {
        padding: 35px 15px 25px;
        margin-top: 25px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        top: -25px;
    }

    /* Services grid - single column */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        padding: 25px 18px;
    }

    /* Security grid */
    .security-grid {
        grid-template-columns: 1fr;
    }

    /* Why choose */
    .why-choose h2 {
        font-size: 1.15rem;
        padding: 12px 16px;
        margin-bottom: 20px;
    }

    .benefits-container {
        padding: 18px;
    }

    .benefit-item {
        padding: 14px;
        gap: 10px;
    }

    .benefit-icon {
        font-size: 1.2rem;
        min-width: 24px;
    }

    .benefit-text {
        font-size: 0.9rem;
    }

    /* Lawyers section */
    .featured-lawyer-image {
        min-height: 200px;
    }

    .featured-lawyer-info {
        padding: 18px;
    }

    .featured-lawyer-name {
        font-size: 1.2rem;
    }

    .featured-lawyer-stats {
        gap: 10px;
    }

    .featured-lawyer-stats .stat-item {
        font-size: 0.8rem;
    }

    .featured-lawyer-bio {
        font-size: 0.9rem;
    }

    /* Lawyer cards */
    .lawyer-card {
        padding: 18px;
    }

    .lawyer-avatar {
        width: 60px;
        height: 60px;
    }

    /* Trust badges */
    .trust-badges {
        gap: 15px;
        padding-top: 25px;
    }

    .trust-badge {
        font-size: 0.85rem;
    }

    /* Cards (features) */
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .card {
        padding: 25px 15px;
    }

    .card i {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .card h3 {
        font-size: 0.95rem;
    }

    .card p {
        font-size: 0.8rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    /* FAQ */
    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    /* Footer */
    footer {
        padding: 25px 5%;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    /* Profile page */
    .profile-container {
        padding: 15px 10px;
    }

    .content-section {
        padding: 20px 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

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

    .stat-item {
        padding: 20px 12px;
    }

    .practice-areas {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    /* Lawyers list page */
    .page {
        padding: 25px 4%;
    }

    .page-title h1 {
        font-size: 1.6rem;
    }

    .page-title p {
        font-size: 0.85rem;
    }

    /* Privacy page */
    .privacy-container {
        padding: 25px 4%;
    }

    .privacy-header h1 {
        font-size: 1.6rem;
    }

    .privacy-content h2 {
        font-size: 1.3rem;
    }

    .privacy-content h3 {
        font-size: 1.1rem;
    }

    .privacy-content ul,
    .privacy-content ol {
        margin-left: 15px;
    }
}

/* ===== RTL hamburger menu ===== */
[dir="rtl"] .mobile-menu-toggle {
    order: -1;
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .whatsapp-float {
    left: auto;
    right: 24px;
}