/* ==========================================================================
   دفتر وکالت فاطمه اسکندری - وکیل پایه یک دادگستری تهران
   فارغ‌التحصیل حقوق عمومی دانشگاه علامه طباطبایی
   عضو اداره معاضدت و اتاق داوری کانون وکلای دادگستری مرکز
   ========================================================================== */

/* 1. Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #070b14;
    --primary-color: #0f172a;
    --secondary-color: #1e293b;
    --accent-color: #d4af37;
    --accent-hover: #facc15;
    --accent-glow: rgba(212, 175, 55, 0.35);
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --bg-light: #ffffff;
    --bg-gray: #f8fafc;
    --bg-gray-dark: #f1f5f9;
    --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --hover-shadow: 0 20px 35px -5px rgba(212, 175, 55, 0.2), 0 10px 15px -5px rgba(15, 23, 42, 0.08);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.0.0/Vazirmatn-font-face.css');

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    direction: rtl;
    text-align: right;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. Layout Containers & Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 85px 0;
    width: 100%;
    overflow: hidden;
}

.bg-gray-light {
    background-color: var(--bg-gray);
}

.bg-navy-dark {
    background-color: var(--primary-color);
}

.text-light {
    color: var(--text-light);
}

.sub-heading-gold {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 15px;
}

.section-title h2 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3.5px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 18px auto 0;
}

/* 3. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #eab308 100%);
    color: #070b14;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #facc15 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.45);
    color: #000000;
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    color: var(--accent-color);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: #070b14;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* 4. Navbar */
.navbar {
    background-color: rgba(10, 17, 32, 0.94);
    backdrop-filter: blur(14px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(7, 11, 20, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(212, 175, 55, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 1.02rem;
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.nav-contact .btn {
    padding: 9px 20px;
    font-size: 0.92rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 5px;
}

/* 5. Hero Section with Lady Justice & Scales Animation */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at 75% 40%, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.96) 60%, rgba(7, 11, 20, 1) 100%), url('images/hero-justice-banner.jpg') center left / cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
    padding-top: 115px;
    padding-bottom: 65px;
    overflow: hidden;
    width: 100%;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-justice-bg {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 480px;
    height: 480px;
    max-width: 90vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.05) 45%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulseAura 8s infinite alternate ease-in-out;
}

@keyframes pulseAura {
    0% { transform: scale(0.9) translate(0, 0); opacity: 0.5; }
    100% { transform: scale(1.15) translate(-15px, 15px); opacity: 0.85; }
}

.justice-seal-rings {
    position: absolute;
    top: 50%;
    left: 28%;
    width: 450px;
    height: 450px;
    max-width: 85vw;
    border: 1px dashed rgba(212, 175, 55, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: rotateSeal 60s infinite linear;
}

@keyframes rotateSeal {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.gold-particle {
    position: absolute;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-color);
    animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {
    0% { transform: translateY(0) scale(0.8); opacity: 0.2; }
    50% { transform: translateY(-40px) scale(1.2); opacity: 0.8; }
    100% { transform: translateY(-80px) scale(0.8); opacity: 0.2; }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 35px;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: right;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 7px 16px;
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.25;
    margin-bottom: 20px;
    font-weight: 900;
    color: #ffffff;
    word-break: break-word;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    color: #cbd5e1;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-credentials {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
}

.cred-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 13px;
    border-radius: 6px;
    font-size: 0.86rem;
    color: #e2e8f0;
    transition: var(--transition);
}

.cred-item:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
    color: var(--accent-color);
}

.cred-item i {
    color: var(--accent-color);
    font-size: 0.95rem;
}

/* Interactive Lady Justice Visual */
.hero-visual-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1200px;
    width: 100%;
}

.hero-justice-visual {
    width: 100%;
    max-width: 420px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1);
    animation: gentleFloat 5.5s ease-in-out infinite alternate;
}

@keyframes gentleFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(0.8deg); }
}

.justice-lady-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.45)) drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
    display: block;
    user-select: none;
    margin: 0 auto;
}

.justice-aura-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, rgba(212, 175, 55, 0.08) 45%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(30px);
    animation: pulseAura 5s infinite alternate ease-in-out;
}

/* 6. Services Section */
.services-bg {
    background-color: var(--bg-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    width: 100%;
}

.service-card {
    background: var(--bg-light);
    padding: 35px 26px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    text-align: right;
    position: relative;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-bottom-color: var(--accent-color);
}

.service-icon {
    font-size: 2.4rem;
    color: var(--accent-color);
    margin-bottom: 18px;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--primary-color);
    font-weight: 800;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.read-more {
    color: var(--accent-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.93rem;
}

.read-more:hover {
    color: var(--primary-color);
    transform: translateX(-4px);
}

/* 7. About Section on Homepage */
.about-section {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.about-image-wrapper {
    flex: 0.9;
    width: 100%;
}

.about-image {
    position: relative;
    border-radius: 12px;
    width: 100%;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    position: relative;
    z-index: 2;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -14px;
    right: -14px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: 12px;
    z-index: 1;
}

.about-badge-gold {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: var(--primary-color);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 3;
}

.about-badge-gold i {
    font-size: 1.6rem;
    color: var(--accent-color);
}

.about-badge-gold strong {
    display: block;
    font-size: 1rem;
    color: var(--accent-color);
}

.about-badge-gold span {
    font-size: 0.78rem;
    color: #cbd5e1;
}

.about-content {
    flex: 1.1;
    width: 100%;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.about-content h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 18px;
    font-weight: 700;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-key-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 22px 0;
}

.point-item {
    display: flex;
    gap: 14px;
    background: var(--bg-gray);
    padding: 13px 16px;
    border-radius: 8px;
    border-right: 4px solid var(--accent-color);
}

.point-item i {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.point-item h4 {
    color: var(--primary-color);
    font-size: 1.02rem;
    margin-bottom: 3px;
}

.point-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: right;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

/* 8. About Page Specific Elements */
.about-quote-box {
    background: var(--bg-gray);
    border-right: 4px solid var(--accent-color);
    padding: 20px 24px;
    border-radius: 8px;
    margin-top: 25px;
    position: relative;
}

.about-quote-box .quote-icon {
    font-size: 1.8rem;
    color: rgba(212, 175, 55, 0.4);
    margin-bottom: 8px;
}

.about-quote-box p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    width: 100%;
}

.credential-card {
    background: #fff;
    padding: 30px 22px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.credential-card.highlight-card {
    border-top: 4px solid #facc15;
    background: linear-gradient(180deg, #ffffff 0%, #faf8ee 100%);
}

.credential-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.cred-icon-box {
    width: 55px;
    height: 55px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 18px;
}

.credential-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 800;
}

.credential-card ul li {
    margin-bottom: 11px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.credential-card ul li i {
    color: var(--accent-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.credential-card ul li strong {
    color: var(--primary-color);
}

/* Gallery Grid */
.lawyer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    aspect-ratio: 4/5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 22px 18px 14px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%);
    color: #fff;
    transform: translateY(15px);
    opacity: 0.9;
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption h4 {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.gallery-caption p {
    font-size: 0.82rem;
    color: #e2e8f0;
    line-height: 1.4;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    margin-bottom: 45px;
    width: 100%;
}

.value-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 20px;
    border-radius: 10px;
    text-align: right;
    transition: var(--transition);
}

.value-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.value-box i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 16px;
    display: inline-block;
}

.value-box h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.value-box p {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.65;
}

.about-cta-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    padding: 30px 32px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    width: 100%;
}

.about-cta-banner h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.about-cta-banner p {
    color: #cbd5e1;
    font-size: 1rem;
}

/* 9. Contact Info Section */
.contact-info-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.contact-info-section .section-title h2 {
    color: var(--text-light);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    width: 100%;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.04);
    padding: 35px 24px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.contact-card i {
    font-size: 2.4rem;
    color: var(--accent-color);
    margin-bottom: 18px;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: var(--accent-color);
    font-weight: 700;
}

.contact-card p, .contact-card a {
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.7;
    word-break: break-word;
}

.contact-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--accent-color) !important;
    font-weight: 700;
    font-size: 0.92rem;
}

.contact-btn-link:hover {
    color: #fff !important;
}

/* 10. Contact Page Full Layout */
.contact-page-container {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.contact-detail-card {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 20px 22px;
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
    border-right: 4px solid var(--accent-color);
    transition: var(--transition);
}

.contact-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.contact-detail-card.highlight-card {
    background: #faf8ee;
    border-right-color: #d4af37;
}

.contact-icon-wrapper {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-detail-card h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-weight: 800;
}

.address-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    word-break: break-word;
}

.access-note {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.contact-form {
    background: var(--bg-light);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.92rem;
}

.form-group label i {
    color: var(--accent-color);
}

.form-group input,
.form-group textarea,
.form-select {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.98rem;
    transition: var(--transition);
    background-color: var(--bg-gray);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}


/* 10.1 Messengers Grid & Cards */
.messengers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.messenger-item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
}

.messenger-item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

.messenger-item-card.whatsapp-card:hover {
    border-color: #25D366;
    background: #f0fdf4;
}

.messenger-item-card.telegram-card:hover {
    border-color: #229ED9;
    background: #f0f9ff;
}

.messenger-item-card.bale-card:hover {
    border-color: #00A693;
    background: #f0fdfa;
}

.messenger-item-card.rubika-card:hover {
    border-color: #7B2CBF;
    background: #faf5ff;
}

.msg-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.whatsapp-card .msg-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
}

.telegram-card .msg-icon {
    background: rgba(34, 158, 217, 0.12);
    color: #229ED9;
}

.bale-card .msg-icon {
    background: rgba(0, 166, 147, 0.12);
    color: #00A693;
}

.rubika-card .msg-icon {
    background: rgba(123, 44, 191, 0.12);
    color: #7B2CBF;
}

.msg-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.msg-info strong {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.msg-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.msg-arrow {
    font-size: 0.82rem;
    color: #94a3b8;
    transition: var(--transition);
}

.messenger-item-card:hover .msg-arrow {
    transform: translateX(-4px);
    color: var(--accent-color);
}

@media (max-width: 560px) {
    .messengers-grid {
        grid-template-columns: 1fr;
    }
}

/* 11. Page Headers */
.page-header {
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%);
    padding: 155px 0 80px;
    text-align: center;
    color: var(--text-light);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 12px;
    font-weight: 900;
    word-break: break-word;
}

.page-header p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}

/* 12. Landing Pages */
.landing-hero {
    background: radial-gradient(circle at right, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%);
    padding: 160px 0 90px;
    color: var(--text-light);
    text-align: right;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

.landing-hero h1 {
    font-size: 3.2rem;
    color: var(--accent-color);
    margin-bottom: 16px;
    font-weight: 900;
    word-break: break-word;
}

.landing-hero p {
    font-size: 1.15rem;
    max-width: 650px;
    margin-bottom: 28px;
    line-height: 1.85;
    color: #e2e8f0;
}

.landing-intro {
    background: var(--bg-light);
    padding: 85px 0;
    width: 100%;
}

.landing-intro-content {
    display: flex;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.landing-intro-text {
    flex: 1.2;
    width: 100%;
}

.landing-intro-text h2 {
    color: var(--primary-color);
    margin-bottom: 18px;
    font-size: 2.1rem;
    font-weight: 800;
}

.landing-intro-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 18px;
}

.landing-intro-image {
    flex: 0.8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border: 3px solid rgba(212, 175, 55, 0.3);
    width: 100%;
}

.landing-intro-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.landing-intro-image:hover img {
    transform: scale(1.04);
}

.landing-sub-services {
    background: var(--bg-gray);
    padding: 85px 0;
    width: 100%;
}

.landing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 35px;
    width: 100%;
}

@media (max-width: 992px) {
    .landing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .landing-grid {
        grid-template-columns: 1fr;
    }
}

.landing-card {
    background: var(--bg-light);
    padding: 28px 22px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border-top: 3.5px solid var(--accent-color);
    transition: var(--transition);
}

.landing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.landing-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 14px;
    display: inline-block;
}

.landing-card h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.landing-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.landing-cta {
    background: linear-gradient(135deg, #d4af37 0%, #eab308 100%);
    padding: 60px 0;
    text-align: center;
    color: #070b14;
    width: 100%;
}

.landing-cta h2 {
    color: #070b14;
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 900;
}

.landing-cta p {
    color: #1e293b;
    font-size: 1.15rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.landing-cta .btn-primary {
    background: #0f172a;
    color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.landing-cta .btn-primary:hover {
    background: #1e293b;
    color: #fff;
    transform: translateY(-2px);
}

/* 13. SEO Accordion */
.seo-accordion-container {
    max-width: 900px;
    margin: 35px auto 0;
    width: 100%;
}

.seo-accordion {
    background: var(--bg-gray);
    border-radius: 8px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    width: 100%;
}

.seo-accordion summary {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--primary-color);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.seo-accordion summary::-webkit-details-marker {
    display: none;
}

.seo-accordion summary::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    color: var(--accent-color);
    font-size: 1.15rem;
}

.seo-accordion[open] summary::after {
    transform: rotate(180deg);
}

.seo-accordion[open] summary {
    border-bottom: 1px solid #e2e8f0;
    background-color: #fff;
}

.seo-accordion .details-content {
    padding: 22px 22px;
    color: var(--text-muted);
    line-height: 1.8;
    background: #fff;
    font-size: 0.98rem;
}

/* 14. Footer */
footer {
    background-color: #070b14;
    color: #94a3b8;
    padding: 35px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

footer p {
    font-size: 0.98rem;
}

/* 15. Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-credentials {
        justify-content: center;
    }

    .hero-visual-wrapper {
        max-width: 380px;
        margin: 0 auto;
    }

    .about-section {
        flex-direction: column;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content {
        text-align: right;
    }

    .contact-page-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding: 55px 0;
    }

    .section-title {
        margin-bottom: 35px;
    }

    .section-title h2 {
        font-size: 1.9rem;
    }

    /* Mobile Navbar */
    .navbar {
        padding: 10px 0;
    }

    .navbar .container {
        position: relative;
    }

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgba(7, 11, 20, 0.98);
        padding: 20px 24px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
        border-bottom: 2px solid var(--accent-color);
        gap: 16px;
        z-index: 1001;
    }

    .navbar .nav-links.nav-active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-contact {
        display: none;
    }

    /* Hero Responsive */
    .hero {
        padding-top: 95px;
        padding-bottom: 45px;
        min-height: auto;
        background: radial-gradient(circle at 50% 30%, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.98) 70%, rgba(7, 11, 20, 1) 100%);
    }

    .hero-badge {
        font-size: 0.82rem;
        padding: 6px 14px;
    }

    .hero h1 {
        font-size: 2.1rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1.02rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-credentials {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .cred-item {
        width: 100%;
        justify-content: center;
    }

    .hero-visual-wrapper {
        max-width: 280px;
    }

    .justice-lady-img {
        max-height: 380px;
    }

    .hero-justice-bg {
        width: 300px;
        height: 300px;
        left: 50%;
        transform: translateX(-50%);
    }

    .justice-seal-rings {
        width: 280px;
        height: 280px;
        left: 50%;
    }

    /* About Image on Mobile - No Negative Offsets */
    .about-image::before {
        top: -8px;
        right: -8px;
        border-width: 2px;
    }

    .about-badge-gold {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 15px;
        justify-content: center;
        width: 100%;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .stats-container {
        justify-content: space-between;
        gap: 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.82rem;
    }

    .about-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .about-cta-banner .btn {
        width: 100%;
    }

    .landing-hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .landing-hero h1 {
        font-size: 2.2rem;
    }

    .landing-intro-content {
        flex-direction: column;
        gap: 30px;
    }

    .landing-cta h2 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 120px 0 50px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .contact-form {
        padding: 25px 18px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.65rem;
    }

    .logo a {
        font-size: 1.35rem;
    }

    .btn {
        padding: 11px 20px;
        font-size: 0.92rem;
    }
}
