/* Thin - 100 */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansX/IRANSansX_Thin.woff2") format("woff2"),
        url("../fonts/IRANSansX/IRANSansX_Thin.woff") format("woff");
    font-weight: 100;
    font-display: swap;
}

/* Light - 300 */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansX/IRANSansX_Light.woff2") format("woff2"),
        url("../fonts/IRANSansX/IRANSansX_Light.woff") format("woff");
    font-weight: 300;
    font-display: swap;
}

/* Regular - 400 */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansX/IRANSansX_Regular.woff2") format("woff2"),
        url("../fonts/IRANSansX/IRANSansX_Regular.woff") format("woff");
    font-weight: 400;
    font-display: swap;
}

/* Medium - 500 */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansX/IRANSansX_Medium.woff2") format("woff2"),
        url("../fonts/IRANSansX/IRANSansX_Medium.woff") format("woff");
    font-weight: 500;
    font-display: swap;
}

/* DemiBold - 600 */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansX/IRANSansX_DemiBold.woff2") format("woff2"),
        url("../fonts/IRANSansX/IRANSansX_DemiBold.woff") format("woff");
    font-weight: 600;
    font-display: swap;
}

/* Bold - 700 */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansX/IRANSansX_Bold.woff2") format("woff2"),
        url("../fonts/IRANSansX/IRANSansX_Bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}

/* ExtraBold - 800 */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansX/IRANSansX_ExtraBold.woff2") format("woff2"),
        url("../fonts/IRANSansX/IRANSansX_ExtraBold.woff") format("woff");
    font-weight: 800;
    font-display: swap;
}

/* Black - 900 */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansX/IRANSansX_Black.woff2") format("woff2"),
        url("../fonts/IRANSansX/IRANSansX_Black.woff") format("woff");
    font-weight: 900;
    font-display: swap;
}

.whiteLoader,
.whiteLoader:before,
.whiteLoader:after {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    animation-fill-mode: both;
    animation: bblFadInOut 1.5s infinite ease-in-out;
}
.whiteLoader {
    color: #fff;
    font-size: 7px;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
    animation-delay: -0.16s;
    margin-top: -32px;
}
.whiteLoader:before,
.whiteLoader:after {
    content: "";
    position: absolute;
    top: 0;
}
.whiteLoader:before {
    left: -2.5em;
    animation-delay: -0.32s;
}
.whiteLoader:after {
    left: 2.5em;
}

@keyframes bblFadInOut {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

/* :root {
    --primary: #0b57a4;
    --primary-dark: #07376e;
    --primary-light: #e6f0fa;
    --primary-gradient: linear-gradient(135deg, #0b57a4 0%, #07376e 100%);

    --accent: #f4b323;
    --accent-hover: #dca01d;

    --bg-body: #f8faff;
    --bg-white: #ffffff;

    --text-main: #1f2933;
    --text-muted: #52606d;
    --text-light: #9aa5b1;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 2px 8px rgba(11, 87, 164, 0.05);
    --shadow-md: 0 8px 24px rgba(11, 87, 164, 0.08);
    --shadow-lg: 0 16px 40px rgba(11, 87, 164, 0.12);
    --shadow-float: 0 20px 50px rgba(7, 55, 110, 0.15);

    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
} */

:root {
    /* ===== Primary Green System ===== */
    --primary: #004923;
    --primary-dark: #00361a;
    --primary-light: #e6f3ed;
    --primary-gradient: linear-gradient(135deg, #004923 0%, #00361a 100%);

    /* ===== Accent (هماهنگ با سبز تیره) ===== */
    --accent: #c6a700;
    --accent-hover: #a88e00;

    /* ===== Backgrounds ===== */
    --bg-body: #f5f8f6;
    --bg-white: #ffffff;

    /* ===== Typography ===== */
    --text-main: #1b2b23;
    --text-muted: #4c5d55;
    --text-light: #8a9b93;

    /* ===== Radius ===== */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* ===== Shadows (بر اساس RGB سبز اصلی: 0,73,35) ===== */
    --shadow-sm: 0 2px 8px rgba(0, 73, 35, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 73, 35, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 73, 35, 0.12);
    --shadow-float: 0 20px 50px rgba(0, 54, 26, 0.15);

    /* ===== Layout ===== */
    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    font-family: "IRANSans", sans-serif !important;
    background-color: var(--bg-body); /* Darker base */
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    direction: rtl;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5 {
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    letter-spacing: -0.5px;
}
h2 {
    font-size: 2.2rem;
}
h3 {
    font-size: 1.35rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
}

input,
textarea,
select {
    font-family: "IRANSans", sans-serif !important;
    font-size: 1rem !important;
}

/* --- Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.section {
    padding: 100px 0;
    position: relative;
}
.bg-white {
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 70px;
}

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Decorative underline for titles */
.section-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 5px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 10px;
}

.section-header p {
    font-size: 1.15rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 10px;
    font-family: "IRANSans", sans-serif !important;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(11, 87, 164, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(11, 87, 164, 0.4);
    border-color: transparent;
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    color: var(--primary-dark);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* --- Header --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

nav:not(.menu-nav) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--primary);
}
.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}
.nav-link:hover::before {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}
.hamburger div {
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0 160px; /* Extra bottom padding for the wave */
    background: radial-gradient(circle at top left, #f5f7fb, #ffffff);
    position: relative;
    overflow: hidden;
}

/* Abstract Background blobs */
.hero::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: rgba(11, 87, 164, 0.05);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -50px;
    width: 400px;
    height: 400px;
    background: rgba(244, 179, 35, 0.07);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 24px;
    color: var(--primary-dark);
}
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-muted);
    max-width: 550px;
}
.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual - Dashboard Mockup */
.hero-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.mockup-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    position: absolute;
    transition: transform 0.3s;
}

/* Main Dashboard Interface */
.dashboard-main {
    width: 90%;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2;
}

.dash-header {
    height: 50px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
    background: #fcfdfe;
}
.dash-dots {
    display: flex;
    gap: 6px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}
.dot.red {
    background: #fc8181;
}
.dot.yellow {
    background: #f6ad55;
}
.dot.green {
    background: #68d391;
}

.dash-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.dash-title-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.dash-line {
    height: 12px;
    border-radius: 6px;
    background: #edf2f7;
    width: 60%;
}

.dash-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    background: #fff;
}
.dash-icon {
    width: 40px;
    height: 40px;
    background: #ebf8ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.dash-text {
    flex: 1;
}
.dash-bar {
    height: 8px;
    width: 80%;
    background: #e2e8f0;
    border-radius: 4px;
    margin-top: 6px;
}
.dash-badge {
    padding: 4px 10px;
    background: #e6fffa;
    color: #2c7a7b;
    font-size: 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Floating Elements */
.float-card {
    z-index: 3;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.float-1 {
    top: 30px;
    left: -20px;
    animation: float-y 6s ease-in-out infinite;
}

.float-2 {
    bottom: 40px;
    right: -30px;
    animation: float-y 7s ease-in-out infinite 1s;
}

.icon-check {
    background: #c6f6d5;
    color: #22543d;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.icon-msg {
    background: #bee3f8;
    color: #2a4365;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

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

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}
.wave-fill {
    fill: #ffffff;
}

/* --- Benefits --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #f0f4f8;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: white;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: 0.3s;
}
.benefit-card:hover::before {
    opacity: 1;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.benefit-card:hover .icon-circle {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

/* --- Process --- */
.process-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}

/* Dashed Line */
.process-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-image: linear-gradient(
        to right,
        #ccc 50%,
        rgba(255, 255, 255, 0) 0%
    );
    background-position: bottom;
    background-size: 15px 1px;
    background-repeat: repeat-x;
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step-item:hover .step-num {
    background: var(--primary);
    color: var(--accent);
    transform: scale(1.1);
}

/* --- Services --- */
.services-swiper .swiper-slide {
    width: auto !important;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 0; /* REMOVED padding for image bleed */
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(237, 242, 247, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Important for image corner radius */
    height: 100%;
    width: 364px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

/* New: Image Container */
.service-img-wrapper {
    width: 100%;
    height: 200px;
    position: relative;
    background-color: var(--primary-light);
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* New: Category Badge */
.service-category-badge {
    position: absolute;
    top: 15px;
    right: 15px; /* RTL Context */
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(4px);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* New: Content Body */
.service-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.service-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
}

.service-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto; /* Push to bottom if content varies */
}

.service-price-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.service-btn {
    margin-top: 15px;
    width: 100%;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 12px 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: block;
    font-size: 0.95rem;
}

.service-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(11, 87, 164, 0.2);
}

/* --- Lawyers --- */
.lawyers-swiper .swiper-slide {
    width: auto !important;
}
.lawyer-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 364px;
}
.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.lawyer-img-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.lawyer-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-light);
}

.badge-pro {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.lawyer-name {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}
.lawyer-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 15px;
}

/* --- Appointment --- */
.appointmentForm {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 40px;
    border: 1px solid #edf2f7;
}

.formContainer {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.twelveColumn {
    grid-column: span 12;
}

.sixColumn {
    grid-column: span 6;
}

.formGroup {
    position: relative;
    width: 100%;
}

select,
.groupInput,
.groupTextarea {
    width: 100%;
    height: 50px;
    padding-inline: 18px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.22s ease;
    outline: none;
}

.groupTextarea {
    height: auto;
    padding: 18px;
    resize: none;
}

/* select:hover,
.groupInput:hover,
.groupTextarea:hover {
    border-color: rgba(11, 87, 164, 0.25);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05),
        0 0 0 3px rgba(11, 87, 164, 0.06);
}

select:focus,
.groupInput:focus,
.groupTextarea:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04),
        0 10px 26px rgba(11, 87, 164, 0.15), 0 0 0 4px rgba(11, 87, 164, 0.2);
    transform: translateY(-1px);
} */

select:hover,
.groupInput:hover,
.groupTextarea:hover {
    border-color: rgba(0, 73, 35, 0.25);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.05),
        0 0 0 3px rgba(0, 73, 35, 0.06);
}

select:focus,
.groupInput:focus,
.groupTextarea:focus {
    border-color: var(--primary); /* #004923 */
    background: #ffffff;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 10px 26px rgba(0, 73, 35, 0.15),
        0 0 0 4px rgba(0, 73, 35, 0.2);
    transform: translateY(-1px);
}

.groupLabel {
    display: block;
    font-size: 0.9rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    z-index: 1;
    pointer-events: none;
    transition: all 0.2s;
    padding: 2px 6px;
}

.groupLabel.textareaLabel {
    top: 18px;
}

select:not(:placeholder-shown) ~ .groupLabel,
.groupInput:not(:placeholder-shown) ~ .groupLabel,
.groupTextarea:not(:placeholder-shown) ~ .groupLabel {
    top: -2px !important;
    background: #fff;
}

select:focus ~ .groupLabel,
.groupInput:focus ~ .groupLabel,
.groupTextarea:focus ~ .groupLabel {
    top: -2px !important;
    background: #fff;
    color: var(--primary);
}

.resumeThumb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-inline: 12px;
}

.resumeThumb .thumbTitle {
    font-size: 1rem;
    font-weight: 500;
}

.uploadCard {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px dashed rgba(11, 87, 164, 0.35);
    border-radius: var(--radius-md);
    background: var(--primary-light);
    cursor: pointer;
    transition: var(--transition);
}

.uploadCard:hover {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.uploadIcon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.uploadText {
    flex: 1;
}

.uploadTitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.uploadDesc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.uploadAction {
    padding: 10px 18px;
    background: var(--bg-white);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(11, 87, 164, 0.2);
    transition: var(--transition);
}

.uploadCard:hover .uploadAction {
    background: var(--primary);
    color: #fff;
}

.uploadCard.hasFile {
    border-style: solid;
    border-color: #38a169;
    background: #f0fff4;
}

.uploadCard.hasFile .uploadIcon {
    background: #38a169;
}

.uploadCard.hasFile .uploadTitle {
    color: #22543d;
}

.uploadCard.hasFile .uploadAction {
    background: #38a169;
    color: #ffffff;
    border-color: #38a169;
}

/* --- About --- */
.about-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}
.manager-box {
    background: var(--primary-dark);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.manager-box::after {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.15;
}
.manager-box h3 {
    color: var(--accent);
    margin-bottom: 15px;
}
.manager-box p {
    color: #e2e8f0;
    margin: 0;
}

/* --- Booking & Form --- */
.booking-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
}
.booking-form {
    padding: 50px;
    flex: 1.5;
}
.booking-cta {
    flex: 1;
    background: var(--primary);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
/* Geometric Pattern on CTA */
.booking-cta::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 40px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.form-group {
    margin-bottom: 20px;
}
.form-label {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition);
}
.form-input:focus {
    border-color: var(--primary);
    background: #fff;
}

/* --- FAQ Accordion --- */
.accordion-item {
    background: var(--bg-white);
    margin-bottom: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid #eef2f6;
    overflow: hidden;
    transition: var(--transition);
}
.accordion-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.accordion-title {
    max-width: 500px;
}

.accordion-header {
    width: 100%;
    text-align: right;
    padding: 20px 25px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.icon-plus {
    font-size: 1.5rem;
    color: var(--primary);
    transition: 0.2s;
}
.accordion-item.active .icon-plus {
    transform: rotate(45deg);
    color: var(--accent);
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: all 0.2s ease-out;
}

.accordion-content .contentContainer {
    background-color: #fbfdff;
    overflow: hidden;
}

.accordion-content .contentContainer .contentWrapper {
    overflow: hidden;
}

.accordion-content p {
    padding: 0 25px 25px;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
}

/* --- Articles (Thumbnails) --- */
.articles-swiper .swiper-slide {
    width: auto !important;
}

.article-card {
    width: 364px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f4f8;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.article-thumb {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CSS Gradients for distinct thumbnails */
.thumb-1 {
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}
.thumb-2 {
    background: linear-gradient(120deg, #fccb90 0%, #d57eeb 100%);
}
.thumb-3 {
    background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
}

.article-thumb svg {
    width: 60px;
    height: 60px;
    fill: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}
.article-card:hover .article-thumb svg {
    transform: scale(1.1);
    fill: #fff;
}

.article-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-body h3 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-body > div {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 98px;
    margin-bottom: 12px;
}
.article-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: block;
}
.article-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.5;
    transition: 0.3s;
}
.article-card:hover .article-title {
    color: var(--primary);
}
.article-link {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info {
    background: var(--primary-dark);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
}
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.info-icon {
    min-width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.map-box {
    width: 100%;
    height: 180px;
    background: #e2e8f0;
    border-radius: 8px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-weight: bold;
    overflow: hidden;
}
.map-box iframe {
    width: 100%;
    height: 100%;
}

.submitBtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
}

.contactUs-grid {
    align-items: center;
}

/* --- Footer --- */
footer {
    /* background-color: #051b36; */
    background-color: #001f12;
    color: #cbd5e0;
    padding-top: 4rem;
    padding-bottom: 4rem;
    font-size: 0.95rem;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}
.footer-links a {
    margin: 0 15px;
    color: #a0aec0;
    transition: 0.3s;
}
.footer-links a:hover {
    color: var(--accent);
}

.footerContainer {
    max-width: 80rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.footerContainer .containerLinks {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
}

.footerContainer .containerLinks .linksColumn:first-child {
    grid-column: span 4;
}

.footerContainer .containerLinks .linksColumn:nth-child(2) {
    grid-column: span 3;
}
.footerContainer .containerLinks .linksColumn:last-child {
    grid-column: span 4;
}

.footerContainer .containerLinks .columnTitle {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footerContainer .containerLinks .columnTitle img {
    height: 42px;
}

.footerContainer .containerLinks .columnDesc {
    color: rgb(191 219 254);
    line-height: 1.625;
    font-size: 0.875rem;
    margin-bottom: 16px;
    max-width: 386px;
}

.footerContainer .containerLinks .columnMedia {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footerContainer .containerLinks .columnMedia .mediaLink {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #ffffff1a;
    transition: all 0.2s;
}

.footerContainer .containerLinks .columnMedia .mediaLink:hover {
    background: var(--accent);
}

.footerContainer .containerLinks .columnMedia .mediaLink svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.footerContainer .containerLinks .linkThumb {
    font-size: 1rem;
    color: rgb(191 219 254);
    cursor: pointer;
    display: block;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 8px;
}

.footerContainer .containerLinks .linkThumb:hover {
    color: #fff;
}

.footerContainer .containerLinks .contactThumb {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.footerContainer .containerLinks .contactThumb span {
    color: rgb(191 219 254);
}

.footerContainer .containerLinks .contactThumb svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.footerContainer .containerCopy {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgb(115, 119, 134);
    color: rgb(191 219 254);
    font-size: 0.85rem;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-visual {
        height: 400px;
    }
    .about-wrapper {
        grid-template-columns: 1fr;
    }
    .booking-section {
        flex-direction: column;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .process-line {
        display: none;
    }
    .process-container {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 85%;
        max-width: 360px;
        transform: translateY(100%);
        height: calc(100vh - var(--header-height));
        background: white;
        flex-direction: column;
        padding: 40px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease;
        align-items: flex-start;
        overflow-y: auto;
    }
    .nav-menu.active {
        right: 0;
    }
    .hamburger {
        display: flex;
    }
    h1 {
        font-size: 2.2rem;
    }
    .section-header h2 {
        font-size: 1.6rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header p {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 52px;
    }

    .sixColumn {
        grid-column: span 12;
    }

    .benefit-card {
        padding: 24px;
    }

    .benefit-card h3,
    .step-item h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .benefit-card p,
    .step-item p {
        font-size: 0.95rem;
    }

    .service-card {
        width: 300px !important;
    }

    .service-img-wrapper {
        height: 172px !important;
    }

    .service-name {
        font-size: 1.1rem;
        height: 54px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lawyer-card {
        width: 300px;
    }

    .about-wrapper h2,
    .booking-form h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .booking-form p {
        font-size: 0.95rem;
    }

    .accordion-header {
        font-size: 1rem;
        gap: 32px;
    }

    .article-card {
        width: 300px;
    }

    .article-thumb {
        height: 172px;
    }
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 100vh;
    width: 100%;
}

/* --- Right Side: Form Area --- */
.login-form-side {
    position: relative;
    background: var(--bg-white);
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
}

.logo-area {
    margin-bottom: 40px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.logo span {
    color: var(--accent);
}

.form-header {
    margin-bottom: 30px;
}
.form-header h1 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 800;
}
.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: var(--transition);
}

.form-input {
    width: 100%;
    padding: 14px 45px 14px 16px; /* Extra padding on right for icon */
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-body);
}

.form-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-input:focus + .input-icon {
    color: var(--primary);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    color: var(--text-muted);
}
.checkbox-wrapper input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.btn-block {
    display: flex;
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    padding: 15px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(11, 87, 164, 0.3);
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 87, 164, 0.4);
}

.form-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.form-footer a {
    transition: all 0.2s;
}

.form-footer a:hover {
    color: var(--primary);
}

.back-link {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}
.back-link:hover {
    color: var(--primary);
}

/* --- Left Side: Visual Area --- */
.login-visual-side {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px;
}

/* Abstract Blobs (Copied from Hero) */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}
.blob-1 {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
}
.blob-2 {
    bottom: -50px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: rgba(244, 179, 35, 0.15); /* Accent color */
}

.visual-content {
    position: relative;
    z-index: 2;
    max-width: 450px;
    text-align: center;
}

.visual-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: #fff;
}

.visual-content p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* Floating Card in Login Visual */
.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: float-y 6s ease-in-out infinite;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.check-icon {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.formSubmitButton {
    margin-top: 32px;
    height: 58px;
}

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

/* --- Responsive --- */
@media (max-width: 992px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
    }

    .login-visual-side {
        display: none;
    }

    .login-form-side {
        padding: 54px 24px 84px;
        min-height: 100vh;
    }
}

.hero {
    padding: 92px 0 40px;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Abstract Background Elements (Subtler for professional look) */
.hero::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(11, 87, 164, 0.04) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    border-radius: 50%;
    z-index: 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* --- Content Side --- */
.hero-content {
    padding-left: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(11, 87, 164, 0.1);
}

.hero-badge::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
    white-space: nowrap;
}

/* Gold underline for emphasis */
.hero-content h1 span::after {
    content: "";
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    height: 8px;
    background: var(--accent);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.9;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Trust Indicators Row */
.trust-row {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid #edf2f7;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.trust-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}
.trust-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Visual Side (The Legal Composition) --- */
.hero-visual {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Lawyer/Office Image Frame */
.visual-frame {
    width: 85%;
    height: 90%;
    position: relative;
    z-index: 2;
    border-radius: 200px 200px 20px 20px; /* Arch shape for authority */
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid white;
    background: #e2e8f0;
}

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

/* Floating Badge: Experience */
.float-badge-exp {
    position: absolute;
    bottom: 80px;
    right: -20px;
    background: var(--bg-white);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--accent);
}

.exp-circle {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Floating Badge: Success Rate */
.float-badge-rate {
    position: absolute;
    top: 60px;
    left: 0;
    background: var(--primary-dark);
    color: white;
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    text-align: center;
    animation: float-y 5s ease-in-out infinite;
}
.rate-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}
.rate-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Decorative Pattern behind image */
.dots-pattern {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(
        var(--primary-light) 2px,
        transparent 2px
    );
    background-size: 20px 20px;
    z-index: 1;
}

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

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}
.wave-fill {
    fill: #ffffff;
}

/* Responsive Adjustments for Hero */
@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-content {
        padding-left: 0;
    }
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .trust-row {
        justify-content: center;
    }
    .hero-visual {
        height: 450px;
    }
    .visual-frame {
        width: 100%;
        max-width: 400px;
    }
    .float-badge-exp {
        right: 5%;
    }

    .appointmentForm {
        padding-inline: 24px;
    }

    .uploadCard {
        flex-wrap: wrap;
    }

    .uploadIcon {
        flex-shrink: 0;
    }

    .uploadText {
        flex-grow: 1;
    }

    .uploadAction {
        width: 100%;
        text-align: center;
    }

    .booking-form {
        padding: 40px 24px;
    }

    .footerContainer .containerLinks .linksColumn:first-child {
        grid-column: span 12 !important ;
    }

    .footerContainer .containerLinks .linksColumn:nth-child(2) {
        grid-column: span 5 !important ;
    }

    .footerContainer .containerLinks .linksColumn:last-child {
        grid-column: span 7 !important ;
    }

    footer {
        padding-bottom: 2rem;
    }

    header {
        height: 68px;
    }

    header .logo img {
        height: 40px !important;
        width: auto !important;
    }

    #desktop-cta {
        height: 42px !important;
        padding-block: 0 !important;
        font-size: 0.9rem !important;
    }
}

/* --- Dashboard Styles (from style.css) --- */
.user-head-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sidebar + Content */
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 24px;
    width: 100%;
    flex: 1;
}

/* Sidebar */
.sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.user-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
}
.user-avatar-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid var(--primary-light);
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.user-name {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.1rem;
}
.user-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.menu-item:hover,
.menu-item.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

.menu-item.active {
    font-weight: 700;
}

.menu-icon {
    width: 20px;
    height: 20px;
}

/* Main Content Area */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Tab Content Animation */
.tab-section {
    display: none;
    animation: fadeIn 0.4s ease;
}
.tab-section.active {
    display: block;
}

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

/* --- Cards & Tables Styles --- */
.card-box {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    border: 1px solid rgba(240, 244, 248, 0.8);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f4f8;
    padding-bottom: 15px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: right;
    padding: 15px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    background: #f8fbfe;
    border-radius: var(--radius-sm);
}

.data-table td {
    padding: 16px 15px;
    border-bottom: 1px solid #edf2f7;
    font-size: 0.95rem;
}

@media (min-width: 769px) {
    .data-table tr:last-child td {
        border-bottom: none;
    }
}

.data-table tr:hover td {
    background-color: #fcfdfe;
}

/* Status Badges */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}
.badge-success {
    background: #c6f6d5;
    color: #22543d;
}
.badge-warning {
    background: #feebc8;
    color: #744210;
}
.badge-danger {
    background: #fed7d7;
    color: #742a2a;
}
.badge-info {
    background: #bee3f8;
    color: #2a4365;
}

.btn-icon {
    background: var(--bg-white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.btn-icon:hover {
    background: var(--primary);
    color: white;
}

/* --- Chat Interface --- */
.chat-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    height: 600px;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.chat-sidebar {
    background: #f8fbfe;
    border-left: 1px solid #edf2f7;
    padding: 20px;
}

.chat-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}
.chat-contact:hover,
.chat-contact.active {
    background: white;
    box-shadow: var(--shadow-sm);
}

.chat-main {
    display: flex;
    flex-direction: column;
    background: white;
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    gap: 15px;
}

.messages-area {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fafbfd;
}

.message {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    position: relative;
    line-height: 1.6;
}

.msg-received {
    align-self: flex-start;
    background: white;
    border: 1px solid #edf2f7;
    border-bottom-right-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.msg-sent {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-left-radius: 0;
    box-shadow: 0 4px 10px rgba(11, 87, 164, 0.2);
}

.msg-time {
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    margin-top: 5px;
    text-align: left;
}

.chat-input-area {
    padding: 20px;
    border-top: 1px solid #edf2f7;
    display: flex;
    gap: 15px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #edf2f7;
    border-radius: 25px;
    background: var(--bg-white);
    transition: var(--transition);
}
.chat-input:focus {
    border-color: var(--primary);
    background: white;
}

.btn-send {
    background: var(--primary-gradient);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(11, 87, 164, 0.3);
    transition: var(--transition);
}
.btn-send:hover {
    transform: scale(1.05);
}

/* --- Dashboard Responsive (from style.css) --- */
@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 15px;
        overflow-x: auto;
    }
    .user-info {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        text-align: right;
    }
    .user-avatar-lg {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }
    .menu-nav {
        flex-direction: row;
        margin-right: auto;
    }
    .chat-layout {
        grid-template-columns: 80px 1fr;
    }
    .contact-name {
        display: none;
    }
}

@media (max-width: 600px) {
    .menu-item span {
        display: none;
    } /* Hide text show icons only on small mobile */
    .chat-layout {
        grid-template-columns: 1fr;
        height: 500px;
    }
    .chat-sidebar {
        display: none;
    } /* Hide contacts on mobile chat for simplicity */
}

.el-dialog__body {
    padding: 0 !important;
}

.el-dialog__header {
    display: none !important;
}

.el-dialog {
    width: 90% !important;
    max-width: 800px !important;
    background: var(--bg-white) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    padding: 0 !important;
}

.modal-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-md) !important;
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fbfe;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.2s;
}
.btn-close:hover {
    color: #e53e3e;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.fourColumn {
    grid-column: span 4;
}

.twelveColumn {
    grid-column: span 12;
}

.detail-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.detail-value {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.detail-value.timeline-dec {
    font-weight: 400;
    font-size: 0.9rem;
}

/* Process Timeline */
.process-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline {
    position: relative;
    padding-right: 20px;
    border-right: 2px solid #e2e8f0;
    margin-right: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    right: -27px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e2e8f0;
    transition: 0.3s;
}

.timeline-item.completed .timeline-dot {
    background: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.timeline-item.active .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(244, 179, 35, 0.2);
}

.timeline-content {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #edf2f7;
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.timeline-title {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.timeline-next-time {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.925rem;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .fourColumn {
        grid-column: span 12;
    }
}

.breadcrumb-wrapper {
    padding: 30px 0 20px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb .separator {
    opacity: 0.5;
    font-size: 0.8rem;
}
.breadcrumb .current {
    color: var(--primary);
    font-weight: 600;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.back-btn:hover {
    gap: 12px;
}

/* 2. Layout Grid */
.service-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr; /* Content Left, Sidebar Right */
    gap: 40px;
    padding-bottom: 80px;
    position: relative;
}

/* 3. Main Content Area (Description) */
.service-content-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(237, 242, 247, 0.8);
}

.service-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
}

.service-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.service-meta-mobile {
    display: none; /* Only shown on mobile */
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Editor Content Styling (Rich Text) */
.rich-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}
.rich-text h2,
.rich-text h3 {
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 700;
}
.rich-text h2 {
    font-size: 1.5rem;
}
.rich-text h3 {
    font-size: 1.25rem;
}
.rich-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.rich-text ul {
    margin-bottom: 25px;
    padding-right: 10px;
}
.rich-text li {
    margin-bottom: 12px;
    position: relative;
    padding-right: 25px;
}
.rich-text ul li::before {
    content: "✔"; /* Checkmark for lists */
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 2px;
    font-size: 1rem;
}

.rich-text blockquote {
    border-right: 4px solid var(--accent);
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px 0 0 8px;
    margin: 35px 0;
    font-style: italic;
    color: var(--primary-dark);
    position: relative;
}

/* 4. Sidebar Card (Image + Price + Category) */
.service-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 30px);
    height: fit-content;
}

.sidebar-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(237, 242, 247, 0.8);
}

.service-image-container {
    width: 100%;
    height: 280px;
    background: #e2e8f0;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.sidebar-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-body .btn {
    font-size: 0.95rem;
}

.price-row {
    width: 100%;
    margin-bottom: 25px;
    text-align: center;
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px dashed #cbd5e0;
}

.price-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.price-currency {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-right: 5px;
}

.guarantee-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
    font-size: 0.85rem;
    color: var(--text-muted);
    justify-content: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        /* Important: On mobile, we want the Image/Price (Sidebar) to appear ABOVE the Description */
        display: flex;
        flex-direction: column-reverse;
    }

    .service-image-container {
        height: 300px;
    }

    .service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .service-title {
        font-size: 1.6rem;
    }
    .service-content-wrapper {
        padding: 25px;
    }
    .price-value {
        font-size: 1.8rem;
    }
}

.profile-wrapper {
    padding: 60px 0 100px;
    min-height: calc(100vh - 300px);
}

.profile-wrapper .wrapperContainer {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Grid Layout: Sidebar (Left in RTL) + Main (Right in RTL) */
.profile-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr; /* Main Content | Sidebar */
    gap: 30px;
    align-items: start;
}

/* --- Main Profile Header (The "Card") --- */
.profile-header-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 40px;
    display: flex;
    gap: 35px;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.profile-avatar-container {
    flex-shrink: 0;
    position: relative;
}

.profile-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%; /* Circle as per modern standard */
    object-fit: cover;
    border: 5px solid var(--primary-light);
    box-shadow: var(--shadow-md);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.profile-title {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

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

/* --- Content Cards --- */
.content-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(240, 244, 248, 0.8);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf2f7;
    position: relative;
}

.card-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.bio-text {
    color: var(--text-main);
    font-size: 1.05rem;
    text-align: justify;
}

.bio-text p {
    margin-bottom: 20px;
}

/* --- Sidebar: License Info --- */
.license-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    position: sticky;
    top: 100px; /* Sticky sidebar */
    border-top: 4px solid var(--primary);
}

.license-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.license-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.license-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.license-value {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Footer (Identical to Landing) --- */
footer {
    /* background-color: #051b36; */
    background-color: #001f12;
    color: #cbd5e0;
    padding: 40px 0 20px;
    font-size: 0.9rem;
    margin-top: auto;
}
.footer-content {
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr; /* Stack columns */
    }
    .license-card {
        position: static;
        margin-top: 0;
        order: 2; /* Put license info below bio on tablet */
    }
    .profile-header-card {
        flex-direction: column;
        text-align: center;
    }
    .profile-location {
        justify-content: center;
    }
    .profile-actions {
        justify-content: center;
    }
    .card-title::after {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    } /* Simplified for this specific page view */
    .profile-name {
        font-size: 1.6rem;
    }
    .profile-avatar {
        width: 120px;
        height: 120px;
    }
    .profile-header-card {
        padding: 30px 20px;
    }
    .content-card {
        padding: 25px;
    }
}

.article-section {
    padding: 80px 0 120px;
    min-height: 80vh;
}

/*
         Article Container:
         Designed to look like the "Appointment" card form
         for consistency (white card on slate bg).
      */
.article-container {
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Header Typography */
.article-header {
    margin-bottom: 50px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(217, 217, 217, 0.3);
}

.articleTitle {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 25px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* Article Image */
.article-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 50px;
    /* Subtle shadow for the image */
    box-shadow: var(--shadow-sm);
}

/* Content Typography */
.article-content {
    font-size: 1.15rem;
    line-height: 2.1;
    color: var(
        --text-muted
    ); /* Using text-muted as base, but slightly darker via opacity logic if needed */
}

/* Overriding muted slightly for better readability on long text */
.article-content p {
    color: #4a5568; /* Slightly darker than standard muted for main text */
    margin-bottom: 30px;
    text-align: justify;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    position: relative;
    padding-right: 15px;
}

/* Decorative marker for H2 similar to benefits card hover effect */
.article-content h2::before {
    content: "";
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--accent);
    border-radius: 4px;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.article-content ul {
    list-style: none;
    margin-bottom: 30px;
    padding-right: 0;
}

.article-content li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 15px;
    color: #4a5568;
}

.article-content li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    right: 0;
    top: -5px;
}

.quote-box {
    background: var(--primary-light);
    border-right: 4px solid var(--primary);
    padding: 30px;
    border-radius: var(--radius-sm);
    margin: 40px 0;
    font-style: italic;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Author Box (Simple Footer for Article) */
.article-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.back-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.card-box .data-table tr td .resLabel {
    display: none;
}

@media (max-width: 768px) {
    .article-container {
        padding: 24px;
    }

    .articleTitle {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .article-header {
        padding-bottom: 24px;
        margin-bottom: 32px;
    }

    .dashboard-container .sidebar {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-container .sidebar .menu-nav {
        margin: 0;
        width: 100%;
        justify-content: space-around;
    }

    .card-box .data-table thead {
        display: none;
    }

    .card-box .card-header {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .card-box .data-table tr {
        display: flex;
        flex-direction: column;
        width: 100%;
        border: 1px solid #edf2f7;
        border-radius: 12px;
    }

    .card-box .data-table tr:not(:last-child) {
        margin-bottom: 24px;
    }

    .card-box .data-table tr td:last-child {
        border: none !important;
    }

    .card-box .data-table tr td {
        font-size: 0.875rem;
    }

    .card-box .data-table tr td .resLabel {
        display: inline-block;
        font-size: 0.875rem;
        font-weight: 700;
        margin-right: 8px;
        font-family: "IRANSans", sans-serif;
    }

    .card-box .data-table tr td .btn-icon {
        width: 100%;
        padding: 8px 0;
        text-align: center;
        color: var(--primary);
        border: 1px solid var(--primary);
        height: auto;
    }
}
