/* ============================================
   DHAFRA APPROVAL - Main Stylesheet
   Domain: www.dhafraapproval.com
   Redesign: Corner Template Aesthetic
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #32373c;
    --primary-dark: #1a1e21;
    --primary-light: #f5f5f5;
    --secondary: #c0a062;
    --secondary-dark: #a68945;
    --accent: #28a745;
    --dark: #1a1e21;
    --dark-700: #2d3035;
    --dark-600: #484c52;
    --gray-900: #1a1a2e;
    --gray-800: #2d2d44;
    --gray-700: #4a4a5e;
    --gray-600: #6b6b80;
    --gray-500: #8c8c9e;
    --gray-400: #b0b0be;
    --gray-300: #d1d1db;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --gray-50: #fafafa;
    --white: #ffffff;
    --danger: #dc3545;
    --success: #28a745;
    --warning: #ffc107;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-xl: 0 8px 24px rgba(0,0,0,0.1);

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.75;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-size: 1.0625rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

/* --- Utility --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

.highlight {
    color: var(--secondary);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-tag::before {
    display: none;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.btn:hover {
    opacity: 0.88;
}

.btn:active {
    opacity: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    opacity: 1;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* --- Top Bar --- */
.top-bar {
    background: var(--primary-dark);
    color: var(--gray-400);
    font-size: 0.82rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left span,
.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-switch {
    color: var(--secondary);
    font-weight: 600;
    padding: 2px 10px;
    border: 1px solid var(--secondary);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.lang-switch:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* --- Header / Navbar --- */
.header {
    background: #111416;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: #111416;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Homepage header */
.header.header-transparent {
    background: #111416;
}

.header .container {
    padding: 0 16px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    gap: 24px;
}

/* Logo */
.logo, .footer-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
    filter: brightness(1.3);
}

.footer-logo img {
    height: 56px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
    filter: brightness(1.3);
}

/* Legacy logo text classes - kept for admin panel compatibility */
.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle .arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 8px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--dark-700);
}

.dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.nav-cta {
    margin-left: 8px;
    padding: 10px 24px;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--gray-100);
    opacity: 1;
}

.nav-lang {
    margin-left: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Tajawal', 'Inter', sans-serif;
}

.nav-lang:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.nav-lang .globe-icon {
    width: 16px;
    height: 16px;
}

.mobile-only {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section (Structura Style) --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark) url('/images/hero-bg.jpg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 30, 33, 0.55);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 620px;
}

.hero-subtitle {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.hero h1 {
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.15;
}

.hero h1 .highlight {
    color: var(--secondary);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-image-area {
    display: none;
}

/* --- Stats Bar (Structura Style) --- */
.stats-bar {
    background: var(--white);
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-200);
}

.stats-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.stats-bar-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    min-width: 200px;
    line-height: 1.3;
}

.stats-bar-items {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-item .stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item .stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-top: 6px;
    font-weight: 500;
}

/* Legacy stat styles (for other pages) */
.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 4px;
}

/* --- Three-Column Intro (Structura Style) --- */
.intro-columns {
    padding: 80px 0;
    background: var(--gray-50);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.intro-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.intro-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.intro-icon {
    margin-bottom: 20px;
}

.intro-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.intro-card p {
    color: var(--gray-600);
    font-size: 0.93rem;
    margin-bottom: 20px;
}

.intro-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.intro-link:hover {
    gap: 10px;
}

/* --- Services Section (Structura Style - Image Cards) --- */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.service-img-wrap {
    overflow: hidden;
}

.service-img-wrap img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.05);
}

.service-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--gray-100);
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-placeholder {
    transform: scale(1.05);
}

.service-body {
    padding: 28px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.93rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
    color: var(--secondary);
}

/* --- Story Section (Structura About Style) --- */
.story-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.story-content .section-tag {
    margin-bottom: 16px;
}

.story-content h2 {
    margin-bottom: 20px;
}

.story-content > p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.story-stat {
    text-align: center;
    padding: 24px 12px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.story-stat .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.story-stat .stat-suffix {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.story-stat .stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 8px;
}

/* --- Fields Section (Structura Style) --- */
.fields-section {
    padding: 80px 0;
    background: var(--white);
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.field-card {
    text-align: center;
    padding: 36px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.field-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.field-icon {
    margin-bottom: 20px;
}

.field-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.field-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* --- Why Us Section (Structura Style - Two Column) --- */
.why-us {
    padding: 100px 0;
    background: var(--gray-50);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--gray-200);
    border-radius: var(--radius-md);
}

.why-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.why-content .section-tag {
    margin-bottom: 16px;
}

.why-content h2 {
    margin-bottom: 16px;
}

.why-content > p {
    color: var(--gray-600);
    margin-bottom: 28px;
    line-height: 1.8;
}

.why-list {
    list-style: none;
    margin-bottom: 32px;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.6;
}

.why-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
}

/* --- Process Section (Structura 101 Style) --- */
.process-section {
    padding: 100px 0;
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.process-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.process-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.process-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 16px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.process-card:hover .process-num {
    color: var(--secondary);
}

.process-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.process-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.testimonial-card blockquote p {
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.8;
    font-size: 0.93rem;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 0.93rem;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    background: var(--primary);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--primary);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    color: var(--dark);
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    flex-shrink: 0;
    margin-left: 16px;
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item summary:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* --- Page Banner (inner pages) --- */
.page-banner {
    padding: 60px 0 50px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--gray-400);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: var(--transition);
}

.back-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.page-banner h1 {
    margin-bottom: 12px;
}

.page-banner > .container > p {
    color: var(--gray-600);
    font-size: 1.05rem;
    max-width: 600px;
}

/* --- About Page --- */
.about-intro {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-highlights {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.about-highlight {
    display: flex;
    flex-direction: column;
}

.about-highlight strong {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 800;
}

.about-highlight span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.image-placeholder {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 400px;
    border: 2px dashed var(--gray-300);
}

.image-placeholder span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Mission & Vision */
.mission-vision {
    padding: 80px 0;
    background: var(--gray-50);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mv-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.mv-card:hover {
    box-shadow: var(--shadow-md);
}

.mv-icon {
    margin-bottom: 20px;
}

.mv-card h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.mv-card p {
    color: var(--gray-600);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* Team */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-md);
}

.team-avatar {
    margin-bottom: 16px;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto;
}

.team-card h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* --- Services Detail Page --- */
.service-detail {
    padding: 80px 0;
}

.service-detail.alt-bg {
    background: var(--gray-50);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.service-detail-content .section-tag {
    margin-bottom: 8px;
}

.service-detail-content h2 {
    margin-bottom: 16px;
}

.service-detail-content > p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.8;
}

.service-detail-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    margin-top: 24px;
}

.service-list {
    margin-bottom: 24px;
    padding-left: 0;
}

.service-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--gray-700);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-100);
}

.service-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.service-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.sidebar-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--secondary);
}

.alt-bg .sidebar-card {
    background: var(--white);
}

.sidebar-card h4 {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.sidebar-highlight {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.sidebar-card > p:last-child {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* --- Services Overview Page --- */
.services-overview {
    padding: 80px 0;
    background: var(--gray-50);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card-link .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Service card image */
.service-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.08);
}

/* Page banner with background image */
.page-banner.has-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 70px;
    border-bottom: none;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

.page-banner.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 20, 22, 0.5) 0%, rgba(17, 20, 22, 0.88) 100%);
    z-index: 1;
}

.page-banner.has-bg > .container {
    position: relative;
    z-index: 2;
}

.page-banner.has-bg .breadcrumb a,
.page-banner.has-bg .breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.page-banner.has-bg .breadcrumb a:hover {
    color: #fff;
}

.page-banner.has-bg .back-link {
    color: var(--secondary);
}

.page-banner.has-bg .back-link:hover {
    color: #fff;
}

.page-banner.has-bg .back-link svg {
    stroke: currentColor;
}

.page-banner.has-bg h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.page-banner.has-bg .highlight {
    color: var(--secondary);
}

.page-banner.has-bg > .container > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 650px;
}

/* Inner page service cards (with numbered layout) */
.services-overview .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.services-overview .service-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    border-left: 3px solid transparent;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.services-overview .service-card .service-card-img {
    border-radius: 0;
    margin-bottom: 0;
    height: 200px;
    position: relative;
}

.services-overview .service-card .service-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
}

.services-overview .service-card .service-card-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.services-overview .service-card .service-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.services-overview .service-card .service-card-body p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.services-overview .service-card:hover {
    border-left-color: var(--secondary);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-card-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-card-link:hover .service-card-number,
.service-card:hover .service-card-number {
    color: var(--secondary);
    opacity: 1;
}

.services-overview .service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.services-overview .service-card > p,
.services-overview .service-card .service-card-body > p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-list {
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
}

.service-card-list li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--gray-600);
    font-size: 0.88rem;
}

.service-card-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.service-card-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(192, 160, 98, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.service-card-time::before {
    content: '\231A';
    margin-right: 4px;
    font-size: 0.75rem;
}

.service-card-arrow {
    font-size: 1.4rem;
    color: var(--gray-400);
    transition: var(--transition);
}

.service-card-link:hover .service-card-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* --- Services V2 - Redesigned Card Grid --- */
.sv2 {
    padding: 80px 0 100px;
    background: var(--gray-50);
}

.sv2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.sv2-card {
    display: flex;
    flex-direction: column;
    padding: 36px 32px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
    transform-style: preserve-3d;
}

.sv2-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), rgba(192, 160, 98, 0.3));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sv2-card:hover {
    border-color: rgba(192, 160, 98, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.sv2-card:hover::before {
    transform: scaleX(1);
}

.sv2-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 160, 98, 0.08);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    color: var(--secondary);
    transition: background 0.3s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateZ(20px);
}

.sv2-card:hover .sv2-icon-wrap {
    background: var(--secondary);
    color: var(--white);
    transform: translateZ(20px) scale(1.05);
}

.sv2-card:hover .sv2-icon-wrap svg {
    stroke: white;
}

.sv2-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(192, 160, 98, 0.08);
    transition: color 0.3s ease;
    pointer-events: none;
}

.sv2-card:hover .sv2-number {
    color: rgba(192, 160, 98, 0.15);
}

.sv2-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.sv2-card:hover h3 {
    color: var(--secondary);
}

.sv2-card > p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sv2-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    flex-grow: 1;
}

.sv2-list li {
    padding: 7px 0 7px 28px;
    position: relative;
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.5;
}

.sv2-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 18px;
    height: 18px;
    background: rgba(192, 160, 98, 0.12);
    border-radius: 50%;
}

.sv2-list li::after {
    content: '\2713';
    position: absolute;
    left: 4px;
    top: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 18px;
}

.sv2-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.sv2-time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(192, 160, 98, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
}

.sv2-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.sv2-card:hover .sv2-arrow {
    background: var(--secondary);
    color: var(--white);
    transform: translateX(2px);
}

.sv2-card:hover .sv2-arrow svg {
    stroke: white;
}

/* SV2 Responsive */
@media (max-width: 1024px) {
    .sv2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sv2-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .sv2-card {
        padding: 28px 24px 24px;
    }
}

/* RTL SV2 */
[dir="rtl"] .sv2-number {
    right: auto;
    left: 28px;
}

[dir="rtl"] .sv2-list li {
    padding: 7px 28px 7px 0;
}

[dir="rtl"] .sv2-list li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .sv2-list li::after {
    left: auto;
    right: 4px;
}

[dir="rtl"] .sv2-card::before {
    transform-origin: right;
}

/* --- How We Work Section --- */
.how-we-work {
    padding: 80px 0;
    background: var(--white);
}

.how-we-work .process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    counter-reset: step-counter;
}

.process-step {
    text-align: center;
    padding: 36px 20px 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    position: relative;
}

.process-step:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary);
    transform: translateY(-6px);
}

.process-step .step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(192, 160, 98, 0.1);
    border: 2px solid rgba(192, 160, 98, 0.25);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: scale(1.1);
}

.process-step h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.65;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
    padding: 80px 0;
    background: var(--primary-dark);
    color: var(--white);
}

.why-choose-us .section-tag {
    color: var(--secondary);
}

.why-choose-us .section-header h2 {
    color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-item {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    transform: translateY(-4px);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.advantage-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 600;
}

.advantage-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* --- Authority Approval Process (Individual Service Pages) --- */
.authority-process {
    padding: 80px 0;
    background: var(--primary-dark);
    color: #fff;
}

.authority-process .section-tag {
    color: var(--secondary);
    border-color: rgba(192, 160, 98, 0.3);
}

.authority-process h2 {
    margin-bottom: 16px;
    color: #fff;
}

.authority-process h3 {
    margin-bottom: 24px;
    color: #fff;
}

.authority-process > .container > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 700px;
    margin-bottom: 40px;
}

.authority-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.authority-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.authority-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.authority-card h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.authority-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.authority-card .service-list {
    margin-bottom: 0;
}

.authority-card .service-list li {
    font-size: 0.88rem;
    padding: 4px 0 4px 24px;
    border-bottom: none;
    color: rgba(255, 255, 255, 0.65);
}

.authority-card .service-list li::before {
    color: var(--secondary);
}

.approval-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: var(--transition);
}

.timeline-step:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--secondary);
    border-top: 2px solid var(--secondary);
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
}

.timeline-step-num {
    width: 44px;
    height: 44px;
    background: var(--secondary);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.timeline-step h5 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #fff;
}

.timeline-step p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* --- Contact Page --- */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper h2 {
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-700);
}

.required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(50, 55, 60, 0.08);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger);
}

.error-message {
    font-size: 0.8rem;
    color: var(--danger);
    min-height: 18px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.82rem;
    color: var(--gray-500);
    text-align: center;
}

/* Contact Info Sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--gray-200);
}

.contact-info-card h3 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-item a {
    color: var(--primary);
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Map */
.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.map-placeholder {
    background: var(--gray-100);
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 250px;
    text-align: center;
}

.map-placeholder p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.map-note {
    font-size: 0.75rem !important;
    color: var(--gray-400) !important;
    max-width: 300px;
    word-break: break-all;
}

/* --- Footer --- */
.footer {
    background: var(--primary-dark);
    color: var(--gray-400);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer .logo-title {
    color: var(--white);
}

.footer .logo-icon {
    background: var(--secondary);
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray-500);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- 404 Page --- */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.error-content h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.error-content h2 {
    margin-bottom: 16px;
}

.error-content p {
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Form Success Message --- */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: var(--radius-md);
}

.form-success.show {
    display: block;
}

.form-success h3 {
    color: var(--accent);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray-600);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .services-grid,
    .features-grid,
    .testimonials-grid,
    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .about-grid {
        gap: 40px;
    }

    .services-overview .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-grid {
        grid-template-columns: 1fr 260px;
        gap: 32px;
    }

    .approval-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .timeline-step:not(:last-child)::after {
        display: none;
    }

    .how-we-work .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 12px;
    }

    /* Mobile Nav */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 1000;
        overflow-y: auto;
        align-items: stretch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-cta {
        display: none;
    }

    .nav-lang {
        display: none;
    }

    .mobile-lang {
        display: block;
        text-align: center;
        padding: 14px 16px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--white);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-decoration: none;
        font-family: 'Tajawal', 'Inter', sans-serif;
    }

    .mobile-lang:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-only {
        display: list-item;
    }

    .hamburger {
        display: flex;
    }

    /* Dropdown Mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-sm);
        display: none;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.75);
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-image-area {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    /* Stats Bar */
    .stats-bar-inner {
        flex-direction: column;
        text-align: center;
    }

    .stats-bar-items {
        justify-content: center;
        gap: 32px;
    }

    /* Intro Columns */
    .intro-grid {
        grid-template-columns: 1fr;
    }

    /* Story Section */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Fields */
    .fields-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Why Us */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-image {
        order: -1;
    }

    /* Process */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Grids */
    .services-grid,
    .testimonials-grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .services-overview .services-grid {
        grid-template-columns: 1fr;
    }

    .approval-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-banner.has-bg {
        min-height: 220px;
        padding: 80px 0 50px;
    }

    .page-banner.has-bg h1 {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .how-we-work .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 160px;
    }

    /* Process Grid */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .stats-bar-items {
        gap: 20px;
    }

    .stat-item .stat-number {
        font-size: 1.8rem;
    }

    .stat-item .stat-suffix {
        font-size: 1.3rem;
    }

    .story-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .fields-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .how-we-work .process-steps {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        flex-direction: column;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .service-detail-sidebar {
        flex-direction: column;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* --- Blog Listing Page --- */
.blog-section {
    padding: 80px 0;
}

.blog-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    justify-content: center;
}

.blog-filter-btn {
    padding: 8px 20px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.blog-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.03);
}

.blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.82rem;
}

.blog-card-category {
    background: var(--gray-100);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: capitalize;
}

.blog-card-date {
    color: var(--gray-500);
}

.blog-card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-title a:hover {
    color: var(--secondary);
}

.blog-card-excerpt {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
    grid-column: 1 / -1;
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
}

.blog-empty .empty-state-icon {
    margin-bottom: 20px;
}

.blog-empty h3 {
    margin-bottom: 8px;
}

.blog-empty p {
    color: var(--gray-600);
    max-width: 400px;
    margin: 0 auto;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 40px 0 0;
}

.blog-pagination button {
    padding: 8px 14px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--dark);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.blog-pagination button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-pagination button.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* --- Blog Post Page --- */
.blog-post-meta {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.blog-meta-sep {
    margin: 0 8px;
    color: var(--gray-400);
}

.blog-meta-category {
    text-transform: capitalize;
}

.blog-post-section {
    padding: 60px 0 80px;
}

.blog-post-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.blog-post-content {
    line-height: 1.9;
    font-size: 1.05rem;
    color: var(--dark-700);
}

.blog-post-featured {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.blog-post-content h2 {
    margin: 32px 0 16px;
    font-size: 1.5rem;
}

.blog-post-content h3 {
    margin: 24px 0 12px;
    font-size: 1.2rem;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 16px 0;
    padding-left: 24px;
    list-style: disc;
}

.blog-post-content ol {
    list-style: decimal;
}

.blog-post-content li {
    margin-bottom: 8px;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--gray-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--gray-700);
}

.blog-post-content img {
    border-radius: var(--radius-md);
    margin: 24px 0;
}

/* Blog Sidebar */
.blog-post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-widget h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}

.sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-categories li a {
    display: block;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-categories li a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.sidebar-related {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-related li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-related li:last-child a {
    border-bottom: none;
}

.sidebar-related li a strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
    color: var(--dark);
}

.sidebar-related li a span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.sidebar-related li a:hover strong {
    color: var(--secondary);
}

.sidebar-cta {
    background: var(--gray-50);
    border-color: var(--gray-200);
    text-align: center;
}

.sidebar-cta p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* Blog responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-post-grid {
        grid-template-columns: 1fr 260px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-post-grid {
        grid-template-columns: 1fr;
    }
    .blog-post-sidebar {
        position: static;
    }
}

/* ============================================
   RTL SUPPORT (Arabic)
   ============================================ */

[dir="rtl"] body {
    font-family: 'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-family: 'Tajawal', 'Inter', sans-serif;
}

[dir="rtl"] .section-tag {
    padding-left: 0;
    padding-right: 40px;
}

[dir="rtl"] .section-tag::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .nav-cta {
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] .nav-lang {
    margin-left: 0;
    margin-right: 8px;
    font-family: 'Inter', sans-serif;
}

[dir="rtl"] .dropdown-menu {
    left: auto;
    right: 0;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .hero-subtitle {
    direction: rtl;
}

[dir="rtl"] .hero-description {
    margin-left: 0;
    margin-right: 0;
}

[dir="rtl"] .stats-bar-label {
    text-align: right;
}

[dir="rtl"] .intro-card {
    text-align: center;
}

[dir="rtl"] .story-content {
    text-align: right;
}

[dir="rtl"] .why-content {
    text-align: right;
}

[dir="rtl"] .why-list li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .process-card,
[dir="rtl"] .field-card {
    text-align: center;
}

[dir="rtl"] .process-num {
    direction: ltr;
    display: inline-block;
}

[dir="rtl"] .service-number {
    direction: ltr;
    display: inline-block;
}

[dir="rtl"] .stat-number {
    direction: ltr;
    display: inline-block;
}

[dir="rtl"] .services-overview .service-card {
    border-left: 1px solid var(--gray-200);
    border-right: 3px solid transparent;
}

[dir="rtl"] .services-overview .service-card:hover {
    border-left-color: var(--gray-200);
    border-right-color: var(--secondary);
}

[dir="rtl"] .service-card-list li,
[dir="rtl"] .service-list li {
    padding-left: 0;
    padding-right: 24px;
}

[dir="rtl"] .service-card-list li::before,
[dir="rtl"] .service-list li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .feature {
    text-align: right;
}

[dir="rtl"] .testimonial-card {
    text-align: right;
}

[dir="rtl"] blockquote {
    border-left: none;
    border-right: 4px solid var(--primary);
    padding-left: 0;
    padding-right: 24px;
}

[dir="rtl"] .footer-about,
[dir="rtl"] .footer-links,
[dir="rtl"] .footer-contact {
    text-align: right;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 28px;
}

[dir="rtl"] .back-link svg {
    transform: scaleX(-1);
}

[dir="rtl"] .breadcrumb {
    direction: rtl;
}

[dir="rtl"] .skip-link {
    left: auto;
    right: -9999px;
}

[dir="rtl"] .skip-link:focus {
    left: auto;
    right: 0;
}

[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
    text-align: right;
}

[dir="rtl"] .form-note {
    text-align: right;
}

[dir="rtl"] .advantage-number,
[dir="rtl"] .service-card-number {
    direction: ltr;
    display: inline-block;
}

[dir="rtl"] .authority-card {
    text-align: right;
}

[dir="rtl"] .timeline-step {
    text-align: center;
}

[dir="rtl"] .timeline-step:not(:last-child)::after {
    right: auto;
    left: -12px;
    border-right: none;
    border-top: none;
    border-left: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 768px) {
    [dir="rtl"] .nav-menu {
        right: auto;
        left: -100%;
    }
    [dir="rtl"] .nav-menu.active {
        right: auto;
        left: 0;
    }
}

/* --- Scroll Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.anim-fade,
.anim-slide {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-fade.visible,
.anim-slide.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero specific fade */
.hero .anim-fade {
    opacity: 0;
    transform: translateY(30px);
}

.hero .anim-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Chatbot Widget --- */
#chatbot-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

[dir="rtl"] #chatbot-widget {
    left: auto;
    right: 24px;
}

#chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(50, 55, 60, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

#chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(50, 55, 60, 0.4);
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

#chatbot-window {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 380px;
    height: 520px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    overflow: hidden;
}

[dir="rtl"] #chatbot-window {
    left: auto;
    right: 0;
}

@media (max-width: 480px) {
    #chatbot-window {
        width: calc(100vw - 24px);
        height: calc(100vh - 120px);
        left: -12px;
        bottom: -12px;
    }
    [dir="rtl"] #chatbot-window {
        left: auto;
        right: -12px;
    }
}

.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header small {
    opacity: 0.8;
    font-size: 0.75rem;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: 0.8;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f9fa;
}

.chatbot-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.chatbot-msg-user {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

[dir="rtl"] .chatbot-msg-user {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 4px;
}

.chatbot-msg-assistant {
    align-self: flex-start;
    background: white;
    color: var(--dark);
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
}

[dir="rtl"] .chatbot-msg-assistant {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 4px;
}

.chatbot-typing {
    display: flex;
    gap: 4px;
    padding: 14px 18px;
}

.chatbot-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bbb;
    animation: chatbot-dot 1.4s infinite;
}

.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatbot-dot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* FAQ Quick Reply Buttons */
.chatbot-faq-wrap {
    padding: 8px 0;
}

.chatbot-faq-label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 8px;
    font-weight: 500;
}

.chatbot-faq-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 6px;
    font-size: 0.82rem;
    color: var(--primary, #32373c);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1.4;
}

.chatbot-faq-btn:hover {
    background: var(--secondary, #c0a062);
    color: white;
    border-color: var(--secondary, #c0a062);
}

[dir="rtl"] .chatbot-faq-btn {
    text-align: right;
}

.chatbot-back-btn {
    background: transparent;
    border: 1px dashed #d1d5db;
    color: #6b7280;
    font-size: 0.78rem;
    text-align: center;
}

.chatbot-back-btn:hover {
    background: #f3f4f6;
    color: var(--primary, #32373c);
    border-color: #9ca3af;
}

.chatbot-link-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    background: var(--secondary, #c0a062);
    color: white;
    border-color: var(--secondary, #c0a062);
    font-weight: 600;
}

.chatbot-link-btn:hover {
    background: #a8893f;
    border-color: #a8893f;
    color: white;
}

.chatbot-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid #e5e7eb;
    background: white;
    gap: 8px;
    flex-shrink: 0;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.88rem;
    outline: none;
    font-family: inherit;
}

.chatbot-input input:focus {
    border-color: var(--primary);
}

#chatbot-send {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

#chatbot-send:hover {
    background: var(--primary-dark);
}

[dir="rtl"] #chatbot-send svg {
    transform: scaleX(-1);
}

/* --- Print Styles --- */
@media print {
    .top-bar, .header, .whatsapp-float, .cta-section, .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
