﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1b4332;
    --primary-dark: #0f2818;
    --secondary: #8b6f47;
    --accent: #d4af37;
    --light-bg: #f5f3f0;
    --dark-text: #2c2c2c;
    --gold: #c9a961;
    --wine: #5d2e3e;
    --cream: #e8dcc8;
    --card-bg: #ffffff;
    --text-muted: #555;
}

body {
    font-family: 'IRANSansWeb', 'Vazirmatn', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    text-align: justify;
    direction: rtl;
}

p,
li {
    text-align: justify;
}

body.landing-alt {
    background: #0f1b1a;
    color: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
header {
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.95) 0%, rgba(15, 40, 24, 0.95) 100%);
    backdrop-filter: blur(12px);
    color: #fdfdfd;
    padding: 1rem 2%;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    direction: rtl;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fdfdfd;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    order: 1;
}

.logo i {
    font-size: 1.8rem;
}

.main-nav {
    order: 2;
    display: flex;
    direction: rtl;
    margin-left: auto;
}

.nav-list {
    display: flex;
    gap: 10px;
    align-items: center;
    list-style: none;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav-list > li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-list > li > a {
    color: #fefefe;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-list > li > a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #0f2818;
    border-color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
}

.has-submenu {
    position: relative;
}

.submenu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fefefe;
    text-decoration: none;
}

.submenu-toggle {
    background: var(--accent);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #0f2818;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.submenu-toggle:hover {
    background: rgba(212, 175, 55, 0.85);
}

.submenu {
    position: absolute;
    top: 110%;
    right: 0;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.96) 0%, rgba(15, 40, 24, 0.96) 100%);
    color: #fdfdfd;
    min-width: 240px;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1200;
    max-height: 60vh;
    overflow-y: auto;
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.submenu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #fdfdfd;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.submenu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fdfdfd;
    text-decoration: none;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.open .submenu {
    display: block;
}

.submenu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.submenu-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fdfdfd;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.submenu-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

/* Hero Section */
.hero {
    margin-top: 0;
    padding-top: 0;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--wine) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 111, 71, 0.08) 0%, transparent 50%);
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-anim {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
    animation: floatSpin 12s ease-in-out infinite;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.hero-anim i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.18);
    animation: slowSpin 14s linear infinite;
}

@keyframes floatSpin {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.55; }
    50% { transform: translateY(-20px) rotate(6deg) scale(1.05); opacity: 0.35; }
    100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.55; }
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    align-items: center;
}

.hero-slider {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.hero-slide {
    position: absolute;
    width: 100%;
    animation: fadeOut 0.5s ease-out forwards;
    text-align: right;
    line-height: 1.4;
    word-spacing: normal;
}

.hero-slide.active {
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

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

.hero h1 {
    font-size: clamp(1.6rem, 4vw, 3.3rem);
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.slider-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--accent);
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 6px;
}

.hero-layout {
    display: contents;
}

.hero-left {
    text-align: right;
}

.hero-right {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero-right h3 {
    color: #f7e4a5;
    margin-bottom: 10px;
}

.hero-bullets {
    list-style: none;
    display: grid;
    gap: 8px;
    color: #e6e6e6;
    padding: 0;
    margin: 0 0 10px 0;
}

.hero-bullets li {
    display: flex;
    gap: 8px;
    align-items: center;
    text-align: right;
}

.hero-bullets i {
    color: var(--accent);
}

.btn {
    padding: 14px 35px;
    font-size: 1.05rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Vazirmatn', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-tertiary {
    background: var(--card-bg);
    color: var(--primary);
    border: 1px solid #e8dcc8;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.btn-tertiary:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--accent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid var(--accent);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn-outline-light:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.3);
}

/* Section Styles */
section {
    padding: 70px 5%;
}

.section-title {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 900;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1rem;
}

/* Stats */
.stats {
    background: var(--card-bg);
}

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

.stat-card {
    padding: 22px;
    border-radius: 14px;
    background: var(--light-bg);
    border: 1px solid #e8dcc8;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

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

/* Lawyers Section */
.lawyers {
    background: white;
}

.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.lawyer-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(27, 67, 50, 0.12);
    transition: all 0.3s ease;
    border: 1px solid #e8dcc8;
    display: flex;
    flex-direction: column;
}

.lawyer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 28px rgba(27, 67, 50, 0.18);
    border-color: var(--accent);
}

.lawyer-img-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.lawyer-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: white;
    transition: transform 0.4s;
}

.lawyer-card:hover img {
    transform: scale(1.05);
}

.lawyer-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lawyer-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
}

.lawyer-title {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
}

.lawyer-desc {
    color: #555;
    font-size: 0.82rem;
    line-height: 1.5;
}

.profile-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
}

.profile-link i {
    color: var(--accent);
}

/* Services Section */
.services {
    background: var(--light-bg);
}

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

.service-card {
    padding: 40px 30px;
    border-radius: 12px;
    color: white;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s;
    z-index: -1;
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}
.service-card,
.service-card h3,
.service-card p {
    text-decoration: none;
}

.service-card-1 { background: linear-gradient(135deg, #1b4332 0%, #0f2818 100%); }
.service-card-2 { background: linear-gradient(135deg, #2d5a3d 0%, #1b3a26 100%); }
.service-card-3 { background: linear-gradient(135deg, #3d6b4f 0%, #2a4a39 100%); }
.service-card-4 { background: linear-gradient(135deg, #5d2e3e 0%, #3d1e2b 100%); }
.service-card-5 { background: linear-gradient(135deg, #6b4423 0%, #4a2e16 100%); }
.service-card-6 { background: linear-gradient(135deg, #8b6f47 0%, #6b5536 100%); }
.service-card-7 { background: linear-gradient(135deg, #1b4332 0%, #0f2818 100%); }
.service-card-8 { background: linear-gradient(135deg, #2d5a3d 0%, #1b3a26 100%); }
.service-card-9 { background: linear-gradient(135deg, #2f4858 0%, #1f3241 100%); }
.service-card-10 { background: linear-gradient(135deg, #44355b 0%, #301f43 100%); }
.service-card-11 { background: linear-gradient(135deg, #8c3d2f 0%, #5a241c 100%); }
.service-card-12 { background: linear-gradient(135deg, #2f3b8c 0%, #1d265b 100%); }

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 900;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Process Section */
.process {
    background: white;
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.process-step {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border-right: 5px solid var(--primary);
    transition: all 0.3s;
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.08);
}

.process-step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0 auto 15px;
}

.process-step h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.process-step p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Testimonials */
.testimonials {
    background: var(--card-bg);
}

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

.testimonial-card {
    background: var(--light-bg);
    border: 1px solid #e8dcc8;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: -25px;
    left: 20px;
    font-size: 6rem;
    color: rgba(201, 169, 97, 0.2);
}

.testimonial-quote {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
}

.testimonial-author {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--primary);
}

.testimonial-role {
    color: #777;
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    background: white;
}

.faq-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--light-bg);
    border: 1px solid #e8dcc8;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.faq-answer {
    color: #555;
    font-size: 0.95rem;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.contact-card h3 {
    margin-bottom: 10px;
    font-weight: 900;
}

.contact-card p,
.contact-card a {
    color: #e6e6e6;
}

.contact-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.input-field {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.1);
    color: white;
    font-family: 'Vazirmatn', sans-serif;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form button {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.landing-hero {
    margin-top: 70px;
    padding: 110px 6% 80px;
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    position: relative;
    overflow: hidden;
}

.landing-hero.landing-cyber {
    background: radial-gradient(circle at 20% 20%, rgba(0, 255, 170, 0.12), transparent 38%),
                radial-gradient(circle at 80% 50%, rgba(120, 90, 255, 0.16), transparent 45%),
                #0d1b2a;
}

.landing-hero.landing-legal {
    background: radial-gradient(circle at 20% 30%, rgba(217, 186, 103, 0.15), transparent 38%),
                radial-gradient(circle at 80% 60%, rgba(115, 80, 40, 0.14), transparent 45%),
                #1b3026;
}

.landing-copy h1 {
    font-size: 2.3rem;
    margin-bottom: 12px;
    font-weight: 900;
}

.landing-copy p {
    color: #d7d7d7;
    line-height: 1.7;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 18px;
    display: grid;
    gap: 10px;
    color: #f1f1f1;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.pill {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    color: #f3f3f3;
}

.feature-section {
    padding: 60px 6%;
    background: #0f1b1a;
    color: #e8e8e8;
}

.feature-section.alt {
    background: #14221d;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    color: #f7e4a5;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: #d6d6d6;
    font-size: 0.95rem;
}

.data-list {
    list-style: none;
    display: grid;
    gap: 8px;
    color: #d8d8d8;
    margin-top: 12px;
}

.data-list li::before {
    content: '•';
    margin-left: 8px;
    color: var(--accent);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f1f1f1;
    font-weight: 800;
}

.cta-bar {
    background: #0c1615;
    color: #f1f1f1;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cta-bar .hero-buttons {
    justify-content: flex-start;
}

.landing-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.landing-form::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.35), rgba(99, 255, 200, 0.25), rgba(212, 175, 55, 0.35));
    animation: borderGlow 6s linear infinite;
    z-index: 0;
}

.landing-form > * {
    position: relative;
    z-index: 1;
}

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

.landing-form h3 {
    margin-bottom: 10px;
    color: #f7e4a5;
}

.landing-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.landing-form .input-field {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.15);
    color: #f7f7f7;
}

.landing-form .input-field::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.landing-form .btn {
    justify-content: center;
    width: 100%;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 40px 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 900;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-links {
    text-align: center;
    color: #999;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(15, 27, 26, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(2px);
}

.page-loader.show {
    display: flex;
}

.page-loader .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Profile Pages */
.profile-hero {
    margin-top: 0;
    padding: 120px 5% 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.profile-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(139, 111, 71, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.profile-hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
}

.profile-copy h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
    font-weight: 900;
}

.profile-copy .tagline {
    color: #f1e9c9;
    margin-bottom: 16px;
}

.profile-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.meta-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 800;
}

.profile-hero img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.profile-section {
    background: white;
    padding: 60px 5% 40px;
}

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

.profile-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #e8dcc8;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    color: #444;
}

.profile-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
    color: #555;
    font-size: 0.95rem;
}

.profile-icon {
    font-size: 1.4rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(217, 186, 103, 0.16);
}

.profile-card.theme-1 {
    background: linear-gradient(135deg, #1b4332 0%, #0f2818 100%);
    color: white;
    border: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.profile-card.theme-1 h3,
.profile-card.theme-1 ul {
    color: white;
}

.profile-card.theme-1 .profile-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #f7e4a5;
}

.profile-card.theme-2 {
    background: linear-gradient(135deg, #5d2e3e 0%, #3d1e2b 100%);
    color: white;
    border: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.profile-card.theme-2 h3,
.profile-card.theme-2 ul {
    color: white;
}

.profile-card.theme-2 .profile-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #f7e4a5;
}

.profile-card.theme-3 {
    background: linear-gradient(135deg, #2f4858 0%, #1f3241 100%);
    color: white;
    border: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.profile-card.theme-3 h3,
.profile-card.theme-3 ul {
    color: white;
}

.profile-card.theme-3 .profile-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #f7e4a5;
}

.case-timeline {
    display: grid;
    gap: 14px;
    margin-top: 15px;
}

.case-item {
    background: var(--light-bg);
    border: 1px solid #e8dcc8;
    border-radius: 12px;
    padding: 16px;
}

.case-title {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.profile-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .lawyers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .profile-hero-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-slider {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
        padding: 1rem 4%;
        align-items: flex-start;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 12px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-list.open {
        display: flex;
    }

    .nav-list > li {
        width: 100%;
        justify-content: space-between;
    }

    .nav-list > li > a {
        width: 100%;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

    .submenu-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .submenu {
        position: static;
        width: 100%;
        display: none;
        background: rgba(255, 255, 255, 0.05);
        color: white;
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 4px;
        padding: 8px;
        max-height: 50vh;
        overflow-y: auto;
    }

    .has-submenu.open .submenu {
        display: block;
    }

    .submenu a {
        color: white;
        padding-right: 6px;
    }

    .submenu-toggle {
        padding: 8px 10px;
    }

    .hero {
        margin-top: 0;
        min-height: auto;
        padding: 0 20px 30px;
    }

    .hero-anim {
        width: 200px;
        height: 200px;
        bottom: -30px;
        left: -10px;
    }

    .hero-anim i {
        font-size: 100px;
    }

    .hero-content {
        display: block;
    }

    .hero-slider {
        min-height: auto;
        margin-bottom: 30px;
        position: relative;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.5;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
        word-spacing: 0;
    }

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

    .hero-left,
    .hero-right {
        text-align: center;
    }

    .hero-right {
        margin-top: 18px;
    }

    .hero-right .hero-buttons {
        justify-content: center !important;
    }

    .hero-left,
    .hero-right {
        text-align: center;
    }

    .hero-right {
        margin-top: 18px;
    }

    .hero-right .hero-buttons {
        justify-content: center !important;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    section {
        padding: 35px 4%;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

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

    .lawyer-card {
        border-radius: 12px;
    }

    .lawyer-img-wrapper {
        height: 140px;
    }

    .lawyer-info {
        padding: 12px;
    }

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

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

    .lawyer-desc {
        font-size: 0.75rem;
    }

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

    .service-card {
        padding: 25px 15px;
        min-height: 220px;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

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

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

    .process-step {
        padding: 20px;
    }

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

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 20px;
        left: 20px;
    }

    .cta h2 {
        font-size: 1.6rem;
    }

    .cta p {
        font-size: 0.95rem;
    }

    .profile-hero {
        padding-top: 120px;
    }
}

@media (max-width: 600px) {
    .services-grid,
    .lawyers-grid {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .profile-hero img {
        max-width: 340px;
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .logo i {
        font-size: 1.2rem;
    }

    .hero {
        margin-top: 0;
        min-height: 60vh;
        padding: 0 15px 25px;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .hero-slider {
        min-height: 200px;
    }

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

    .service-card {
        padding: 20px 12px;
        min-height: 180px;
    }

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

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

    .service-card p {
        font-size: 0.75rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        left: 15px;
    }
}

