@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #012e7f;
    --dark-blue: #012e7f;
    --secondary-color: #2d5aa0;
    --accent-color: #f4a261;
    --orange-brown: #d4851a;
    --hero-bg: #e8f2ff;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Dark mode variables */
    --dark-bg-primary: #1a1a1a;
    --dark-bg-secondary: #2d2d2d;
    --dark-bg-tertiary: #3a3a3a;
    --dark-text-primary: #e5e5e5;
    --dark-text-secondary: #b0b0b0;
    --dark-text-light: #888;
    --dark-border: #404040;
    --dark-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --dark-shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Dark mode */
[data-theme="dark"] {
    --primary-color: #4a9eff;
    --dark-blue: #4a9eff;
    --secondary-color: #6bb3ff;
    --hero-bg: #1f2937;
    --text-color: var(--dark-text-primary);
    --text-light: var(--dark-text-secondary);
    --bg-light: var(--dark-bg-secondary);
    --white: var(--dark-bg-secondary);
    --shadow: var(--dark-shadow);
    --shadow-hover: var(--dark-shadow-hover);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
    background-color: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 0 0 0;
    background: transparent;
    display: flex;
    justify-content: center;
}

.header {
    background: var(--white);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06),
                0 2px 12px rgba(0, 0, 0, 0.08), 
                0 1px 4px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    margin: 0 auto;
    width: 100%;
    max-width: 1330px;
    padding: 0 30px;
    box-sizing: border-box;
}

.navbar .container {
    padding: 0;
    max-width: 100%;
}

[data-theme="dark"] .header {
    background: var(--dark-bg-secondary);
    border-bottom: 1px solid var(--dark-border);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2),
                0 2px 12px rgba(0, 0, 0, 0.3), 
                0 1px 4px rgba(0, 0, 0, 0.2);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-arabic {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-blue);
    font-family: var(--font-family);
}

.logo-english {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
    font-family: 'Segoe UI', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .nav-menu a {
    color: #d4af37 !important;
}

[data-theme="dark"] .nav-menu a:hover {
    color: #ca8a04 !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.vision-2030-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    margin: 0;
}

.vision-2030-logo:hover {
    opacity: 1;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0;
}

.language-selector:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .language-selector {
    color: var(--dark-text-primary);
}

[data-theme="dark"] .language-selector:hover {
    color: var(--primary-color);
}

.globe-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    transition: filter 0.3s ease;
}

[data-theme="dark"] .globe-icon {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.btn-login {
    background: var(--dark-blue);
    color: var(--white);
    padding: 7px 20px !important;
    border-radius: 20px !important;
    text-decoration: none;
    font-weight: 300 !important;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.btn-login:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

.btn-subscribe {
    background: var(--white);
    color: var(--dark-blue);
    padding: 5px 20px !important;
    border: 1px solid var(--dark-blue) !important;
    box-sizing: border-box;
    border-radius: 20px !important;
    text-decoration: none;
    font-weight: 300 !important;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.btn-service-provider {
    background: transparent;
    color: var(--primary-color);
    padding: 7px 15px !important;
    border-radius: 20px !important;
    text-decoration: none;
    font-weight: 500 !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color) !important;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-service-provider:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

/* Dark mode - Buttons (Gold) */
[data-theme="dark"] .btn-login,
[data-theme="dark"] .btn.btn-login {
    background: #d4af37 !important;
    color: #1a1a1a !important;
    border-color: #d4af37 !important;
}

[data-theme="dark"] .btn-login:hover,
[data-theme="dark"] .btn.btn-login:hover {
    background: #ca8a04 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-subscribe,
[data-theme="dark"] .btn.btn-subscribe {
    background: transparent !important;
    color: #d4af37 !important;
    border-color: #d4af37 !important;
}

[data-theme="dark"] .btn-subscribe:hover,
[data-theme="dark"] .btn.btn-subscribe:hover {
    background: #d4af37 !important;
    color: #1a1a1a !important;
}

[data-theme="dark"] .btn-service-provider,
[data-theme="dark"] .btn.btn-service-provider {
    color: #d4af37 !important;
    border-color: #d4af37 !important;
}

[data-theme="dark"] .btn-service-provider:hover,
[data-theme="dark"] .btn.btn-service-provider:hover {
    background: #d4af37 !important;
    color: #1a1a1a !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    display: none !important;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

[data-theme="dark"] .theme-toggle {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--primary-color);
    color: var(--dark-bg-primary);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle.active i {
    transform: rotate(180deg);
}

/* Hero Section */
.hero {
    color: var(--dark-blue);
    padding: 85px 0 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .hero {
    background-color: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.png') center center / cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 1;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .hero-grid-pattern {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

/* Hero Wrapper - Flex Container */
.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Hero Content (Right Side) */
.hero-content {
    flex: 0 0 520px;
    text-align: right;
    max-width: 520px;
    position: relative;
    z-index: 2;
}

.hero-badge-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: #012e7f;
    background: #fefefe;
    padding: 8px 20px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.hero-badge-english {
    font-size: 28px;
    font-weight: 400;
    color: #d4af37;
    letter-spacing: 0.3px;
}

[data-theme="dark"] .hero-badge {
    color: #ffffff;
    background: #fefefe;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-badge-english {
    color: #d4af37;
}

/* Hero Cards Container (Left Side) */
.hero-cards-container {
    display: flex;
    flex-direction: row;
    gap: 14px;
    flex: 1;
    max-width: 900px;
    flex-shrink: 0;
    height: 390px;
    align-items: flex-start;
    min-width: 0;
}

/* Hero Card */
.hero-card {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: center;
    flex: 1;
    height: 360px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .hero-card {
    background: var(--dark-bg-secondary);
    border-color: var(--dark-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Dark mode - Law Firm Card (Blue) */
[data-theme="dark"] .law-firm-card {
    background: linear-gradient(135deg, #012e7f 0%, #2d5aa0 100%);
    border-color: #4a9eff;
}

/* Dark mode - Lawyer Card (Light Blue) */
[data-theme="dark"] .lawyer-card {
    background: linear-gradient(135deg, #4a9eff 0%, #6bb3ff 100%);
    border-color: #7bc4ff;
}

/* Dark mode - Individual & Company Client Cards (Gold) */
[data-theme="dark"] .individual-client-card,
[data-theme="dark"] .company-client-card {
    background: linear-gradient(135deg, #d4af37 0%, #ca8a04 100%);
    border-color: #f4a261;
}

.hero-card:hover {
    height: 380px;
    border-color: var(--dark-blue);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(1, 46, 127, 0.15);
}

/* Law Firm Card */
.law-firm-card {
    display: none !important;
}

.law-firm-card:hover {
    border-color: #363636;
}

/* Lawyer Card */
.lawyer-card:hover {
    border-color: #A8A8A8;
}

/* Mobile Login Buttons - Hidden on desktop by default */
.hero-mobile-buttons {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Individual Client Card */
.individual-client-card:hover {
    border-color: #012e7f;
}

/* Company Client Card */
.company-client-card:hover {
    border-color: #d4af37;
}

/* Hero Card Header */
.hero-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 28px 24px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    flex-shrink: 0;
}

/* Law Firm Card Header */
.law-firm-card .hero-card-header {
    background: #363636;
}

.law-firm-card .hero-card-header .hero-card-title {
    color: #ffffff;
}

/* Lawyer Card Header */
.lawyer-card .hero-card-header {
    background: #A8A8A8;
}

.lawyer-card .hero-card-header .hero-card-title {
    color: #ffffff;
}

.individual-client-card .hero-card-header {
    background: #012e7f;
}

.individual-client-card .hero-card-header .hero-card-title {
    color: #ffffff;
}

.company-client-card .hero-card-header {
    background: #d4af37;
}

.company-client-card .hero-card-header .hero-card-title {
    color: #ffffff;
}

/* Dark mode - Card Headers */
[data-theme="dark"] .law-firm-card .hero-card-header {
    background: rgba(54, 54, 54, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .lawyer-card .hero-card-header {
    background: rgba(168, 168, 168, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .individual-client-card .hero-card-header {
    background: rgba(1, 46, 127, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .company-client-card .hero-card-header {
    background: rgba(212, 175, 55, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Dark mode - Card Titles */
[data-theme="dark"] .law-firm-card .hero-card-title {
    color: #ffffff;
}

[data-theme="dark"] .lawyer-card .hero-card-title {
    color: #ffffff;
}

[data-theme="dark"] .individual-client-card .hero-card-title {
    color: #ffffff;
}

[data-theme="dark"] .company-client-card .hero-card-title {
    color: #ffffff;
}

/* Dark mode - Card Descriptions */
[data-theme="dark"] .law-firm-card .hero-card-description,
[data-theme="dark"] .lawyer-card .hero-card-description {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .individual-client-card .hero-card-description,
[data-theme="dark"] .company-client-card .hero-card-description {
    color: rgba(255, 255, 255, 0.95);
}

/* Hero Card Image Wrapper */
.hero-card-image-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
}

.hero-card-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 160px;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover .hero-card-image-wrapper {
    height: 160px;
    padding: 15px 24px;
    align-items: center;
    transform: translateY(-80px);
}

.hero-card:hover .hero-card-image {
    height: 140px;
    transform: scale(0.85) translateY(-30px);
}

/* Hero Card Content */
.hero-card-content {
    width: 100%;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.hero-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
    line-height: 1.3;
}

.hero-card-description {
    font-size: 11px;
    color: #4b5563;
    margin: 0;
    line-height: 1.4;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.4em * 2);
}

/* Hero Card Hover Buttons */
.hero-card-hover-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 24px 10px 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    align-items: center;
    flex-shrink: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-card:hover .hero-card-hover-buttons {
    opacity: 1;
    transform: translateY(0);
}

.hero-card:hover .hero-card-content {
    transform: translateY(-10px);
}

.hero-hover-btn {
    width: 98%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
    box-shadow: none;
}

/* Filled Button - بخلفية لون واحد بدون تدريج */
.hero-hover-btn-filled {
    border: none;
}

/* Law Firm Card Buttons */
.law-firm-card .hero-hover-btn-filled {
    background: #363636;
    color: white;
}

.law-firm-card .hero-hover-btn-filled:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
}

/* Lawyer Card Buttons */
.lawyer-card .hero-hover-btn-filled {
    background: #A8A8A8;
    color: white;
}

.lawyer-card .hero-hover-btn-filled:hover {
    background: #8f8f8f;
    transform: translateY(-2px);
}

.individual-client-card .hero-hover-btn-filled {
    background: #012e7f;
    color: white;
}

.individual-client-card .hero-hover-btn-filled:hover {
    background: #01206a;
    transform: translateY(-2px);
}

.company-client-card .hero-hover-btn-filled {
    background: #d4af37;
    color: white;
}

.company-client-card .hero-hover-btn-filled:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

/* Outline Button - بحدود وخلفية شفافة */
.hero-hover-btn-outline {
    background: transparent;
    border: 2px solid;
}

/* Law Firm Card Outline Buttons */
.law-firm-card .hero-hover-btn-outline {
    border-color: #363636;
    color: #363636;
}

.law-firm-card .hero-hover-btn-outline:hover {
    background: #363636;
    color: white;
    transform: translateY(-2px);
}

/* Lawyer Card Outline Buttons */
.lawyer-card .hero-hover-btn-outline {
    border-color: #A8A8A8;
    color: #A8A8A8;
}

.lawyer-card .hero-hover-btn-outline:hover {
    background: #A8A8A8;
    color: white;
    transform: translateY(-2px);
}

.individual-client-card .hero-hover-btn-outline {
    border-color: #012e7f;
    color: #012e7f;
}

.individual-client-card .hero-hover-btn-outline:hover {
    background: #012e7f;
    color: white;
    transform: translateY(-2px);
}

.company-client-card .hero-hover-btn-outline {
    border-color: #d4af37;
    color: #d4af37;
}

.company-client-card .hero-hover-btn-outline:hover {
    background: #d4af37;
    color: white;
    transform: translateY(-2px);
}

/* Dark mode - Buttons visibility */
[data-theme="dark"] .law-firm-card .hero-hover-btn-filled {
    background: rgba(54, 54, 54, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .law-firm-card .hero-hover-btn-filled:hover {
    background: rgba(54, 54, 54, 1);
}

[data-theme="dark"] .lawyer-card .hero-hover-btn-filled {
    background: rgba(168, 168, 168, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .lawyer-card .hero-hover-btn-filled:hover {
    background: rgba(168, 168, 168, 1);
}

[data-theme="dark"] .law-firm-card .hero-hover-btn-outline {
    border-color: rgba(54, 54, 54, 0.8);
    color: rgba(54, 54, 54, 0.9);
}

[data-theme="dark"] .law-firm-card .hero-hover-btn-outline:hover {
    background: rgba(54, 54, 54, 0.9);
    color: #ffffff;
}

[data-theme="dark"] .lawyer-card .hero-hover-btn-outline {
    border-color: rgba(168, 168, 168, 0.8);
    color: rgba(168, 168, 168, 0.9);
}

[data-theme="dark"] .lawyer-card .hero-hover-btn-outline:hover {
    background: rgba(168, 168, 168, 0.9);
    color: #ffffff;
}

[data-theme="dark"] .individual-client-card .hero-hover-btn-filled {
    background: rgba(1, 46, 127, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .individual-client-card .hero-hover-btn-filled:hover {
    background: rgba(1, 46, 127, 1);
    color: #ffffff;
}

[data-theme="dark"] .company-client-card .hero-hover-btn-filled {
    background: rgba(212, 175, 55, 0.9);
    color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .company-client-card .hero-hover-btn-filled:hover {
    background: rgba(212, 175, 55, 1);
    color: #1a1a1a;
}

[data-theme="dark"] .individual-client-card .hero-hover-btn-outline {
    border-color: rgba(1, 46, 127, 0.8);
    color: rgba(1, 46, 127, 0.9);
}

[data-theme="dark"] .individual-client-card .hero-hover-btn-outline:hover {
    background: rgba(1, 46, 127, 0.9);
    color: #ffffff;
}

[data-theme="dark"] .company-client-card .hero-hover-btn-outline {
    border-color: rgba(212, 175, 55, 0.8);
    color: rgba(212, 175, 55, 0.9);
}

[data-theme="dark"] .company-client-card .hero-hover-btn-outline:hover {
    background: rgba(212, 175, 55, 0.9);
    color: #1a1a1a;
}

[data-theme="dark"] .individual-client-card .hero-hover-btn-outline:hover,
[data-theme="dark"] .company-client-card .hero-hover-btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #1a1a1a;
}

.hero-hover-btn i {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1600px) {
    .hero-wrapper {
        max-width: 1400px;
        gap: 20px;
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .hero-wrapper {
        max-width: 100%;
        gap: 20px;
        padding: 0 30px;
    }

    .hero-cards-container {
        gap: 15px;
    }

    .hero-card {
        min-height: 250px;
        padding: 24px 18px;
    }

    .hero-card-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 16px;
    }

    .hero-card-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .hero-card-description {
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding: 0 30px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        flex: 1;
    }

    .hero-cards-container {
        width: 100%;
        max-width: 900px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-card {
        flex: 1;
        min-width: 220px;
        max-width: 280px;
        min-height: 240px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .hero-content {
        flex: 1;
        max-width: 100%;
        text-align: center;
        padding: 0;
    }

    .hero-badge-wrapper {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 1.2rem;
        text-align: center;
    }

    .hero-badge {
        font-size: 14px;
        padding: 5px 12px;
        display: inline-block;
    }

    .hero-badge-english {
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
        padding: 0 8px;
        word-break: break-word;
    }

    .hero-title {
        font-size: 18px;
        margin-bottom: 0.8rem;
        line-height: 1.5;
        text-align: center;
        padding: 0 8px;
    }

    .hero-title-main {
        white-space: normal;
        display: block;
        line-height: 1.5;
        word-break: break-word;
        font-size: 18px;
    }

    .hero-subtitle {
        font-size: 13px !important;
        margin-bottom: 1.2rem;
        line-height: 1.5;
        text-align: center;
        padding: 0 10px;
        word-break: break-word;
    }

    .hero-cards-container {
        display: none;
    }
    
    /* Show mobile buttons on mobile only */
    @media (max-width: 768px) {
        .hero-mobile-buttons {
            display: grid !important;
            visibility: visible !important;
            opacity: 1 !important;
            height: auto !important;
            overflow: visible !important;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            width: 100%;
            max-width: 100%;
            margin-top: 25px;
        }
    }
    
    .hero-mobile-btn {
        background: #fff;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        padding: 16px;
        text-align: center;
        text-decoration: none;
        color: #012e7f;
        font-size: 14px;
        font-weight: 600;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,.08);
    }
    
    .hero-mobile-btn:hover {
        border-color: #012e7f;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(1, 46, 127, 0.15);
    }
    
    .hero-mobile-btn-icon {
        width: 40px;
        height: 40px;
        background: #f5f7fb;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #012e7f;
    }
    
    .hero-mobile-btn.individual {
        border-color: #012e7f;
    }
    
    .hero-mobile-btn.individual .hero-mobile-btn-icon {
        background: #012e7f;
        color: #fff;
    }
    
    .hero-mobile-btn.company {
        border-color: #d4af37;
    }
    
    .hero-mobile-btn.company .hero-mobile-btn-icon {
        background: #d4af37;
        color: #fff;
    }
    
    .hero-mobile-btn.lawyer {
        border-color: #A8A8A8;
    }
    
    .hero-mobile-btn.lawyer .hero-mobile-btn-icon {
        background: #A8A8A8;
        color: #fff;
    }
    
    .hero-mobile-btn.law-firm {
        border-color: #363636;
    }
    
    .hero-mobile-btn.law-firm .hero-mobile-btn-icon {
        background: #363636;
        color: #fff;
    }
    
    .hero-mobile-btn-title {
        font-size: 14px;
        font-weight: 600;
        margin: 0;
    }
    
    .hero-mobile-btn-subtitle {
        font-size: 11px;
        color: #666;
        margin: 0;
        line-height: 1.3;
    }
    
    @media (max-width: 480px) {
        .hero-mobile-buttons {
            grid-template-columns: 1fr;
            gap: 10px;
        }
        
        .hero-mobile-btn {
            padding: 14px;
        }
        
        .hero-mobile-btn-icon {
            width: 36px;
            height: 36px;
            font-size: 16px;
        }
        
        .hero-mobile-btn-title {
            font-size: 13px;
        }
        
        .hero-mobile-btn-subtitle {
            font-size: 10px;
        }
    }

    .hero-card {
        max-width: 100%;
        min-height: auto;
        padding: 0;
        height: auto;
        flex-direction: column;
    }

    .hero-card-header {
        padding: 16px 14px;
        flex-shrink: 0;
    }

    .hero-card-title {
        font-size: 15px;
        margin-bottom: 0;
        line-height: 1.3;
        font-weight: 600;
    }

    .hero-card-content {
        padding: 12px 14px;
        flex: 1;
    }

    .hero-card-description {
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
        word-break: break-word;
        margin: 0;
    }

    .hero-card-image-wrapper {
        height: 100px;
        padding: 8px 14px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-card-image {
        height: 85px;
        max-width: 100%;
        object-fit: contain;
    }

    .hero-card:hover {
        height: auto;
        transform: none;
    }

    .hero-card:hover .hero-card-image-wrapper {
        transform: none;
        height: 100px;
        padding: 8px 14px;
    }

    .hero-card:hover .hero-card-image {
        transform: none;
        height: 85px;
    }

    .hero-card:hover .hero-card-content {
        transform: none;
    }

    .hero-card-hover-buttons {
        opacity: 1;
        transform: translateY(0);
        padding: 12px 14px;
        flex-direction: column;
        gap: 8px;
        margin-top: 0;
    }

    .hero-hover-btn {
        width: 100%;
        padding: 10px 14px;
        font-size: 12px;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .hero-hover-btn span {
        display: inline;
    }

    .hero-hover-btn i {
        font-size: 12px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0 30px;
    }

    .hero-wrapper {
        padding: 0 15px;
        gap: 25px;
    }
    
    .hero-mobile-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .hero-mobile-btn {
        padding: 14px;
    }
    
    .hero-mobile-btn-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .hero-mobile-btn-title {
        font-size: 13px;
    }
    
    .hero-mobile-btn-subtitle {
        font-size: 10px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .hero-badge-english {
        font-size: 11px;
        line-height: 1.4;
        padding: 0 5px;
    }

    .hero-title {
        font-size: 16px;
        line-height: 1.4;
        padding: 0 5px;
    }

    .hero-title-main {
        white-space: normal;
        line-height: 1.4;
        font-size: 16px;
    }

    .hero-subtitle {
        font-size: 12px !important;
        line-height: 1.5;
        padding: 0 8px;
    }

    .hero-card-header {
        padding: 15px 12px;
    }

    .hero-card-title {
        font-size: 15px;
        line-height: 1.3;
    }

    .hero-card-content {
        padding: 10px 12px;
    }

    .hero-card-description {
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
    }

    .hero-card-image-wrapper {
        height: 100px;
        padding: 6px 12px;
    }

    .hero-card-image {
        height: 85px;
        max-width: 100%;
    }

    .hero-card-hover-buttons {
        padding: 10px 12px;
        flex-direction: column;
        gap: 6px;
    }

    .hero-hover-btn {
        width: 100%;
        padding: 9px 12px;
        font-size: 11px;
    }

    .hero-hover-btn i {
        font-size: 11px;
    }
}

/* Old Hero Styles (kept for backward compatibility) */
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 40px;
    margin-bottom: 1.5rem;
    font-weight: normal;
    color: var(--dark-blue);
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-title-main {
    display: block;
    line-height: 1.2;
    font-weight: bold;
    white-space: nowrap;
    font-family: 'Almarai', sans-serif;
}

@media (max-width: 768px) {
    .hero-title-main {
        white-space: normal;
        word-break: break-word;
    }
}

.hero-title-sub {
    display: block;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px !important;
    margin-bottom: 2.5rem;
    color: #ca8a04;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

/* Hero Features Table */
.hero-features-table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
    border-spacing: 0;
    display: table;
    table-layout: auto;
}

.hero-features-row {
    display: table-row;
    border: none;
}

.hero-features-row td {
    padding: 8px 12px;
    vertical-align: middle;
    border: none;
    text-align: center;
    display: table-cell;
}

.hero-feature-action {
    font-size: 20px;
    font-weight: bold;
}

.hero-feature-desc {
    font-size: 16px;
    font-weight: normal;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 300;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Dark mode - General button override */
[data-theme="dark"] .btn.btn-login {
    background: #d4af37 !important;
    color: #1a1a1a !important;
    border: 1px solid #d4af37 !important;
}

.btn-primary {
    background: var(--dark-blue);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 300;
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary .chevron {
    font-size: 1.5rem;
    line-height: 1;
}

.btn-secondary {
    background: var(--white);
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
    font-weight: 300;
}

.btn-secondary:hover {
    background: var(--dark-blue);
    color: var(--white);
}

/* Statistics Section */
.statistics {
    background-color: #faf6f1;
    padding: 80px 0;
    position: relative;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .statistics {
    background-color: var(--dark-bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 300 !important;
    color: #ca8a04;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.stat-description {
    font-size: 14px !important;
    color: var(--dark-blue);
    line-height: 1.6;
    transition: color 0.3s ease;
}

[data-theme="dark"] .stat-description {
    color: var(--dark-text-secondary);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
    color: var(--dark-blue);
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .services {
    background: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

.services .container {
    max-width: 1400px;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #d4af37;
    padding: 14px 28px;
    border-radius: 35px;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    border: none;
}

.services-badge i {
    display: none;
}

.services-title-icon {
    display: none;
}

.services-badge-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

[data-theme="dark"] .services-badge {
    background: rgba(74, 158, 255, 0.2);
    color: var(--primary-color);
}

[data-theme="dark"] .services-badge-text {
    color: var(--primary-color);
}

/* big dot before badge text for process section */
.process .services-badge {
    justify-content: center; /* center text + dot */
}
.process .services-badge::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #012e7f;
    border-radius: 50%;
    display: inline-block; /* be part of flow */
    order: -1; /* show on the right side for RTL */
    margin-inline-start: 0;
}

.services-main-title {
    font-size: 2.5rem;
    font-weight: 500 !important;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.services-subtitle {
    color: var(--text-color);
    font-size: 16px !important;
    margin: 0;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: right;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    border-color: rgba(11,33,73,0.15);
}

.service-header-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-direction: row-reverse;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-blue {
    background: var(--dark-blue);
}

.icon-gold {
    background: #ca8a04;
}

.service-card-title {
    color: var(--dark-blue);
    margin-bottom: 0;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.4;
    flex: 1;
}

.service-card-description {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 13px !important;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 12px !important;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-blue {
    background: var(--dark-blue);
    color: var(--white);
}

.check-gold {
    background: #ca8a04;
    color: var(--white);
}

.service-btn {
    display: inline-block;
    padding: 10px 24px !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 300 !important;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: auto;
}

.btn-blue {
    background: var(--dark-blue);
    color: var(--white);
}

.btn-blue:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-gold {
    background: #ca8a04;
    color: var(--white);
}

.btn-gold:hover {
    background: #b87a03;
    transform: translateY(-2px);
}

.btn-gold-outline {
    background: var(--white);
    color: #ca8a04;
    border: 2px solid #ca8a04;
    margin-top: 0.75rem;
}

.btn-gold-outline:hover {
    background: #ca8a04;
    color: var(--white);
}

.service-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: auto;
}

/* Why Different Section */
.why-different {
    padding: 80px 0;
    background: #f5f5f54a !important;
    position: relative;
}

.why-different::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.png') center center / cover no-repeat;
    opacity: 0.1 !important;
    z-index: 0;
}

.why-different .container {
    position: relative;
    z-index: 1;
}

.why-different-title {
    text-align: center;
    font-size: 45px !important;
    font-weight: 500 !important;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.title-orange {
    color: #ca8a04;
}

.title-blue {
    color: #012e7f;
}

.why-different-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center !important;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    text-align: center;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: #e8f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.why-different-banner {
    background: var(--dark-blue);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.banner-text {
    color: var(--white);
    font-size: 32px !important;
    font-weight: 400 !important;
    margin: 0;
}

/* About Section */
.use-cases { padding: 90px 0; background: var(--white); }
.use-cases .container { text-align: center; }
.use-title { font-size: 36px; margin: 8px 0 6px; font-weight: 500; }
.use-subtitle { color: var(--text-color); margin-bottom: 32px; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.use-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,.06); text-align: right; }
.use-image { position: relative; height: 240px; overflow: hidden; }
.use-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.use-badge { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 12px; }
.use-badge.blue { background: #012e7f; }
.use-badge.gold { background: #ca8a04; }
.use-card-content { padding: 22px 24px; }
.use-card-title { margin: 0 0 10px; font-size: 22px; font-weight: 600; }
.use-list { list-style: none; padding: 0; margin: 0; }
.use-list li { position: relative; padding-right: 18px; margin: 10px 0; color: var(--text-color); }
.use-list li::before { content: ''; width: 8px; height: 8px; background: #0b5bd3; border-radius: 50%; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }

/* Dark mode - Use Cases Section */
[data-theme="dark"] .use-cases {
    background: var(--dark-bg-primary);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .use-title {
    color: var(--dark-text-primary);
}

[data-theme="dark"] .use-subtitle {
    color: var(--dark-text-secondary);
}

[data-theme="dark"] .use-card {
    background: var(--dark-bg-secondary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

[data-theme="dark"] .use-card:hover {
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

[data-theme="dark"] .use-card-title {
    color: var(--dark-text-primary);
}

[data-theme="dark"] .use-list li {
    color: var(--dark-text-secondary);
}

[data-theme="dark"] .use-list li::before {
    background: #d4af37;
}

@media (max-width: 1024px) {
  .use-grid { grid-template-columns: 1fr 1fr; }
}

/* FAQ */
.faq { padding: 50px 0; position: relative; }
.faq::before { content: ''; position: absolute; inset: 0; background: url('../images/hero-bg.png') center/cover no-repeat; opacity: .08; }
.faq .container { position: relative; z-index: 1; text-align: center; }
.faq-title { font-size: 40px; font-weight: 400; margin: 8px 0 6px; }
.faq-subtitle { color: var(--text-color); margin-bottom: 28px; }
.faq-list { max-width: 820px; margin: 0 auto; text-align: right; }
.faq-item { background: #fff; border-radius: 12px; margin: 14px 0; box-shadow: 0 10px 24px rgba(0,0,0,.06); overflow: hidden; }
.faq-item[open] { box-shadow: 0 14px 28px rgba(0,0,0,.08); }
.faq-item summary { cursor: pointer; padding: 18px 24px; list-style: none; position: relative; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { 
    content: '\f067'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute; 
    left: 18px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: var(--primary-color); 
    transition: all .3s ease;
    font-size: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(1, 46, 127, 0.1);
}
.faq-item[open] summary::before { 
    content: '\f068';
    background: var(--primary-color);
    color: #ffffff;
}
.faq-content { padding: 0 24px 18px; color: var(--text-color); }

/* Dark mode - FAQ Section */
[data-theme="dark"] .faq {
    background: var(--dark-bg-primary);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .faq::before {
    opacity: 0.05;
}

[data-theme="dark"] .faq-title {
    color: var(--dark-text-primary);
}

[data-theme="dark"] .faq-subtitle {
    color: var(--dark-text-secondary);
}

[data-theme="dark"] .faq-item {
    background: var(--dark-bg-secondary);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

[data-theme="dark"] .faq-item[open] {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

[data-theme="dark"] .faq-item summary {
    color: var(--dark-text-primary);
}

[data-theme="dark"] .faq-item summary::before {
    color: var(--primary-color);
    background: rgba(74, 158, 255, 0.2);
}

[data-theme="dark"] .faq-item[open] summary::before {
    background: var(--primary-color);
    color: #ffffff;
}

[data-theme="dark"] .faq-content {
    color: var(--dark-text-secondary);
}

/* FAQ Tabs */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 40px 0 30px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

[data-theme="dark"] .faq-tabs {
    border-bottom-color: var(--dark-border);
}

.faq-tab {
    padding: 15px 25px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    position: relative;
    margin-bottom: -2px;
}

.faq-tab:hover {
    color: var(--primary-color);
}

.faq-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

[data-theme="dark"] .faq-tab {
    color: var(--dark-text-secondary);
}

[data-theme="dark"] .faq-tab:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .faq-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* FAQ Tab Content */
.faq-content-wrapper {
    position: relative;
    min-height: 300px;
}

.faq-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for FAQ Tabs */
@media (max-width: 768px) {
    .faq-tabs {
        gap: 5px;
        margin: 30px 0 20px;
    }
    
    .faq-tab {
        padding: 12px 15px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .faq-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .faq-tab {
        border-bottom: 2px solid #e0e0e0;
        border-left: 3px solid transparent;
        margin-bottom: 0;
        text-align: right;
    }
    
    .faq-tab.active {
        border-bottom-color: #e0e0e0;
        border-left-color: var(--primary-color);
    }
    
    [data-theme="dark"] .faq-tab {
        border-bottom-color: var(--dark-border);
    }
    
    [data-theme="dark"] .faq-tab.active {
        border-bottom-color: var(--dark-border);
    }
}

/* CTA */
.cta { position: relative; padding: 100px 0; color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: linear-gradient(135deg,#0b5bd3,#012e7f); transition: background 0.3s ease; }

[data-theme="dark"] .cta-bg {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}
.cta .container { position: relative; z-index: 1; text-align: center; }
.cta-title { font-size: 50px; font-weight: 500; margin: 0 0 12px; }
.cta-subtitle { font-size: 18px; opacity: .95; margin-bottom: 28px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; }
.cta .btn { padding: 12px 26px; border-radius: 8px; text-decoration: none; font-weight: 400; }
.cta .btn-light { background: #fff; color: #0b5bd3; }
.cta .btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.85); }
.cta .btn-outline:hover { background: rgba(255,255,255,.08); }
@media (max-width: 640px) {
  .use-grid { grid-template-columns: 1fr; }
}

/* Process */
.process { padding: 90px 0; position: relative; }
/* main background image provided by user */
.process::before { content: ''; position: absolute; inset: 0; background: url('../images/op-bg.png') center/cover no-repeat; opacity: 1; }
/* keep the light squares overlay used across sections */
.process::after { content: ''; position: absolute; inset: 0; background: url('../images/hero-bg.png') center/cover no-repeat; opacity: .08; }
.process .container { position: relative; z-index: 1; text-align: center; }
.process-title { font-size: 40px; font-weight: 500; margin: 8px 0 6px; }
.process-subtitle { color: var(--text-color); margin-bottom: 24px; }
.process-img { width: 100%; max-width: 1200px; display: block; margin: 0 auto; height: auto; }

@media (max-width: 1024px) {
  .process-img { max-width: 100%; }
}
.legal-library {
    padding: 80px 0;
    position: relative;
}

.legal-library::before {
    content: '';
    position: absolute;
    inset: 0;
}

.legal-library .container { position: relative; z-index: 1; text-align: center; }

/* center the badge button in legal library header */
.legal-library .services-badge {
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto 12px;
}

.library-title {
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin: 0.5rem 0 0.75rem;
}

.library-subtitle {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.library-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid #eef1f5;
    text-align: center;
}

.library-card h3 {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    margin: 14px 0 0;
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-box.blue { background: #012e7f; }
.icon-box.gold { background: #ca8a04; }
.icon-box svg { width: 24px; height: 24px; }

@media (max-width: 1024px) {
    .library-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .library-grid { grid-template-columns: 1fr; }
}
.about {
    padding: 80px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-actions {
        gap: 1rem;
    }
    
    .language-selector {
        font-size: 0.85rem;
    }
    
    .btn-login,
    .btn-subscribe,
    .btn-service-provider {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-actions {
        position: fixed;
        left: -100%;
        top: 250px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 1rem 0;
        gap: 1rem;
    }

    .nav-actions.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-title-main {
        font-size: 1.75rem;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-badge-wrapper {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-badge {
        font-size: 18px;
        padding: 6px 16px;
    }
    
    .hero-badge-english {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .why-different-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-different-title {
        font-size: 1.5rem;
    }
}

.auth-body { background: #f5f7fb; }
.auth { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 40px 16px; background: #f5f7fb; }
.auth-logo { max-width: 160px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.12)); }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-form { width: min(92vw, 560px); max-width: 560px !important; background: #fff; border-radius: 12px; padding: 36px; box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.auth-form-logo { display:flex; justify-content:center; margin-bottom: 12px; }
.auth-logo.small { max-width: 90px; }
.auth-title { text-align: center; margin: 0 0 18px; color: #012e7f; }
.auth-label { display: block; margin: 12px 0 6px; color: #0b2149; font-weight: 600; }
.auth-input { width: 100%; padding: 12px; border-radius: 8px; border: 1.5px solid #d7deea; font-family: inherit; }
.auth-input[dir="ltr"] { direction: ltr; text-align: left; }
.auth-input:focus { outline: none; border-color: #012e7f; box-shadow: 0 0 0 3px rgba(1,46,127,.08); }
textarea.auth-input { resize: vertical; min-height: 120px; }
select.auth-input { cursor: pointer; }
.auth-actions { display: flex; justify-content: flex-end; margin: 8px 0 12px; }
.auth-link { color: #012e7f; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.auth-submit { background: #012e7f; color: #fff; width: 100%; margin-top: 4px; }
.auth-note { text-align: center; font-size: .95rem; margin-top: 10px; }

@media (max-width: 900px) { }

.site-footer { 
    background: #f5f7fb; 
    color: #0b2149; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .site-footer {
    background: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
}
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 32px; padding: 48px 0; text-align: right; }
.site-footer h3 { color: #0b2149; margin: 0 0 10px; font-weight: 700; transition: color 0.3s ease; }
.site-footer h3 .accent { color: #012e7f; transition: color 0.3s ease; }
.site-footer h4 { color: #0b2149; margin: 0 0 14px; transition: color 0.3s ease; }
.site-footer p { margin: 0; line-height: 1.8; transition: color 0.3s ease; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #0b2149; text-decoration: none; transition: color 0.3s ease; }
.site-footer a:hover { color: #012e7f; text-decoration: underline; }

[data-theme="dark"] .site-footer h3,
[data-theme="dark"] .site-footer h4,
[data-theme="dark"] .site-footer a {
    color: var(--dark-text-primary);
}

[data-theme="dark"] .site-footer h3 .accent {
    color: var(--primary-color);
}

[data-theme="dark"] .site-footer a:hover {
    color: var(--primary-color);
}
.footer-logo { max-width: 80px; height: auto; display: block; margin-bottom: 10px; }
.footer-links li { margin: 8px 0; }
.footer-contact ul li { margin: 6px 0; }
.footer-social { display: flex; gap: 12px; margin-top: 10px; }
.footer-social .ic { color: #0b2149; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(11,33,73,.3); border-radius: 8px; }
.footer-social .ic:hover { color: #012e7f; border-color: #012e7f; }
.footer-bottom { 
    background: var(--primary-color); 
    padding: 14px 0; 
    text-align: center; 
    color: #ffffff; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .footer-bottom {
    background: var(--primary-color);
    color: #ffffff;
}

@media (max-width: 1024px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-container .auth-form {
    max-width: 100% !important;
    width: 100%;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 100%;
}

.contact-info-section {
    max-width: 700px;
    width: 100%;
    margin: 40px auto 0;
    padding: 0 20px;
}

/* ============================================
   Shura Slider Section Styles
   ============================================ */
.shura-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 40px 0;
    background: var(--white);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .shura-slider-section {
    background: var(--dark-bg-primary);
}

.shura-slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header (Fixed above slider) */
.shura-section-header {
    width: 100%;
    padding: 30px 0 40px;
    background: var(--white);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .shura-section-header {
    background: var(--dark-bg-primary);
}

.shura-header-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.shura-section-title {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-color);
    margin: 20px 0 0;
    transition: color 0.3s ease;
}

[data-theme="dark"] .shura-section-title {
    color: var(--dark-text-primary);
}

.shura-slider {
    width: 100%;
    height: 100%;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
}

.shura-slide {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shura-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shura-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shura-slide-overlay {
    display: none;
}

.shura-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    text-align: left;
    color: var(--text-color);
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.shura-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #d4af37;
    padding: 14px 28px;
    border-radius: 35px;
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    border: none;
}

[data-theme="dark"] .shura-slide-badge {
    background: rgba(74, 158, 255, 0.2);
    color: var(--primary-color);
}

.shura-slide-badge i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Badge inside slide (if needed) */
.shura-slide .shura-slide-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .shura-slide .shura-slide-badge {
    background: rgba(45, 45, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.shura-slide .shura-slide-badge i {
    color: var(--primary-color);
}

/* Remove slide title as it's now in header */
.shura-slide-title {
    display: none;
}

.shura-slide-feature {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
    margin: 0;
    box-shadow: none;
    max-width: 600px;
    margin-left: 20px;
    margin-bottom: 20px;
}

[data-theme="dark"] .shura-slide-feature {
    background: rgba(45, 45, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.shura-feature-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: inline-block;
    margin-left: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .shura-feature-number {
    color: var(--primary-color);
}

.shura-feature-content {
    flex: 1;
    width: 100%;
}

.shura-feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-shadow: none;
    text-align: right !important;
}

.shura-feature-title * {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .shura-feature-title {
    color: var(--primary-color) !important;
}

.shura-feature-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: none;
    text-align: left;
}

[data-theme="dark"] .shura-feature-description {
    color: var(--dark-text-secondary);
}

/* Navigation Arrows */
.shura-slider-next,
.shura-slider-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 10;
}

.shura-slider-next:hover,
.shura-slider-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.shura-slider-next::after,
.shura-slider-prev::after {
    font-size: 20px;
    font-weight: 700;
}

.shura-slider-next {
    right: 20px;
}

.shura-slider-prev {
    left: 20px;
}

/* Pagination Dots */
.shura-slider-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 25px;
    text-align: center;
    z-index: 10;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100% !important;
}

.shura-slider-pagination .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease;
    display: inline-block !important;
}

[data-theme="dark"] .shura-slider-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
}

.shura-slider-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 30px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(1, 46, 127, 0.3) !important;
    opacity: 1 !important;
}

[data-theme="dark"] .shura-slider-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .shura-section-header {
        padding: 50px 0 30px;
    }
    
    .shura-section-title {
        font-size: 1.2rem;
    }
    
    .shura-slide {
        min-height: 550px;
    }
    
    .shura-slide-content {
        padding: 50px 20px;
    }
    
    .shura-feature-title {
        font-size: 1.2rem;
    }
    
    .shura-feature-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .shura-section-header {
        padding: 40px 0 25px;
    }
    
    .shura-section-title {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .shura-slide-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .shura-slider-section {
        min-height: 500px;
    }
    
    .shura-slide {
        min-height: 500px;
    }
    
    .shura-slide-content {
        padding: 40px 20px;
    }
    
    .shura-slide-feature {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .shura-feature-number {
        font-size: 1.5rem;
    }
    
    .shura-feature-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .shura-feature-description {
        font-size: 0.95rem;
    }
    
    .shura-slider-next,
    .shura-slider-prev {
        width: 40px;
        height: 40px;
    }
    
    .shura-slider-next::after,
    .shura-slider-prev::after {
        font-size: 16px;
    }
    
    .shura-slider-next {
        right: 10px;
    }
    
    .shura-slider-prev {
        left: 10px;
    }
    
    .shura-slider-pagination {
        bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    .shura-section-header {
        padding: 30px 0 20px;
    }
    
    .shura-section-title {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .shura-slide-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    
    .shura-slider-section {
        min-height: 450px;
    }
    
    .shura-slide {
        min-height: 450px;
    }
    
    .shura-slide-content {
        padding: 30px 15px;
    }
    
    .shura-slide-feature {
        padding: 15px;
    }
    
    .shura-feature-title {
        font-size: 1rem;
    }
    
    .shura-feature-description {
        font-size: 0.9rem;
    }
}

/* ============================================
   Services Slider Section Styles
   ============================================ */
.services-slider-section {
    background: var(--white);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .services-slider-section {
    background: var(--dark-bg-primary);
}

/* Section Header */
.services-slider-header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 50px;
}

.services-slider-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #d4af37;
    padding: 14px 28px;
    border-radius: 35px;
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    border: none;
}

[data-theme="dark"] .services-slider-badge {
    background: rgba(74, 158, 255, 0.2);
    color: var(--primary-color);
}

.services-slider-badge i {
    display: none;
}

.services-slider-description {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin: 20px auto 0;
    text-align: center;
}

[data-theme="dark"] .services-slider-description {
    color: var(--dark-text-primary);
}

/* Slider Wrapper */
.services-slider-wrapper {
    display: grid;
    grid-template-columns: 0.6fr 2.4fr;
    gap: 40px;
    align-items: start;
}

/* Content Area (Right) */
.services-content-area {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    min-height: 500px;
    order: 2;
}

[data-theme="dark"] .services-content-area {
    background: var(--dark-bg-secondary);
}

.services-content-slider {
    width: 100%;
    height: 100%;
}

.services-content-slide {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    min-height: 500px;
}

.services-content-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

[data-theme="dark"] .services-content-image {
    background: var(--dark-bg-tertiary);
}

.services-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-content-text {
    text-align: right;
    padding: 30px 40px;
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.services-content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.services-content-title * {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .services-content-title {
    color: var(--primary-color);
}

.services-content-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

[data-theme="dark"] .services-content-description {
    color: var(--dark-text-primary);
}

/* Navigation Buttons (Left) */
.services-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    order: 1;
}

.services-nav-btn {
    width: 100%;
    padding: 15px 12px;
    background: #e8f2ff;
    border: 2px solid transparent;
    border-radius: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.services-nav-btn:hover {
    background: #d0e5ff;
    transform: translateX(-5px);
}

.services-nav-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(1, 46, 127, 0.3);
}

[data-theme="dark"] .services-nav-btn {
    background: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
    border-color: var(--dark-border);
}

[data-theme="dark"] .services-nav-btn:hover {
    background: var(--dark-bg-tertiary);
}

[data-theme="dark"] .services-nav-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-slider-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-nav-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .services-nav-btn {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .services-slider-section {
        padding: 60px 0;
    }
    
    .services-slider-header {
        margin-bottom: 40px;
    }
    
    .services-slider-description {
        font-size: 1rem;
    }
    
    .services-content-slide {
        padding: 30px 20px;
    }
    
    .services-content-image {
        height: 250px;
    }
    
    .services-content-title {
        font-size: 1.3rem;
    }
    
    .services-content-description {
        font-size: 1rem;
    }
    
    .services-nav-btn {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .services-slider-section {
        padding: 40px 0;
    }
    
    .services-content-image {
        height: 200px;
    }
    
    .services-content-title {
        font-size: 1.1rem;
    }
    
    .services-content-description {
        font-size: 0.95rem;
    }
    
    .services-nav-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

