/* Dubai SEO - Professional SEO Agency Website
   Color scheme inspired by Dubai: Elegant blues with gold accents */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Primary Colors - Dubai-inspired palette */
    --primary: #0A4D68;
    --primary-dark: #083D52;
    --primary-light: #088395;
    --accent: #D4AF37;
    --accent-dark: #B8962F;
    --accent-light: #E8C547;

    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-alt: #EEF4F7;
    --bg-gray: #E2E8F0;

    /* Text Colors */
    --text-dark: #1A202C;
    --text-body: #4A5568;
    --text-muted: #718096;
    --text: #2D3748;

    /* UI */
    --border: #E2E8F0;
    --shadow: rgba(10, 77, 104, 0.08);
    --shadow-lg: rgba(10, 77, 104, 0.12);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-white);
}

/* RTL Support for Arabic */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .container {
    direction: rtl;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
}

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

.btn-secondary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-secondary: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: white;
}

.btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-white:hover {
    background: var(--bg-light);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo svg {
    width: 40px;
    height: 40px;
}

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

.nav-link {
    padding: 10px 16px;
    color: var(--text-body);
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--bg-light);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-lg);
    min-width: 240px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

[dir="rtl"] .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-body);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Language Switcher */
.lang-switcher {
    margin-left: 16px;
    display: flex;
    align-items: center;
}

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 16px;
}

.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: 6px;
    font-weight: 500;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--bg-gray);
}

.lang-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.lang-dropdown .dropdown-menu {
    min-width: 120px;
    right: 0;
    left: auto;
}

[dir="rtl"] .lang-dropdown .dropdown-menu {
    right: auto;
    left: 0;
}

.lang-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown:hover .lang-btn svg {
    transform: rotate(180deg);
}

.lang-dropdown .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-dropdown .dropdown-menu a.active {
    background: var(--bg-light);
    color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    display: block;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-dark);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero h1 span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: left;
}

[dir="rtl"] .stat-item {
    text-align: right;
}

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

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--primary);
    color: white;
}

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

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-dark);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 15px;
}

.service-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 10px;
}

/* About Preview */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-visual svg {
    width: 100%;
    max-width: 450px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

[dir="rtl"] .about-feature {
    flex-direction: row-reverse;
    text-align: right;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.about-feature h4 {
    margin-bottom: 4px;
}

.about-feature p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--border);
}

[dir="rtl"] .process-step::after {
    right: auto;
    left: -15px;
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
}

.testimonial-info strong {
    display: block;
    color: var(--text-dark);
}

.testimonial-info span {
    font-size: 14px;
    color: var(--text-muted);
}

/* Carousel Section */
.carousel-section {
    padding: 100px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.carousel-wrapper {
    margin: 40px 0;
}

.carousel-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    animation: scroll-left linear infinite;
}

.carousel-row:nth-child(1) { animation-duration: 60s; }
.carousel-row:nth-child(2) { animation-duration: 70s; animation-direction: reverse; }
.carousel-row:nth-child(3) { animation-duration: 80s; }

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel-item {
    flex-shrink: 0;
    padding: 16px 28px;
    background: white;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    color: var(--text-body);
}

.carousel-item:hover {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--shadow);
}

/* Keyword Modal */
.keyword-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.keyword-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.keyword-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.5rem;
}

.modal-close {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-gray);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

.modal-body h2 {
    font-size: 1.5rem;
    margin: 24px 0 16px;
}

.modal-body h3 {
    font-size: 1.25rem;
    margin: 20px 0 12px;
}

.modal-body p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.modal-body ul, .modal-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

[dir="rtl"] .modal-body ul,
[dir="rtl"] .modal-body ol {
    padding-left: 0;
    padding-right: 24px;
}

.modal-body li {
    margin-bottom: 8px;
}

.keyword-content {
    display: none;
}

/* Contact Section */
.contact-section {
    background: var(--primary);
    padding: 100px 0;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    color: white;
}

.contact-info h2 {
    color: white;
    margin-bottom: 20px;
}

.contact-info > p {
    opacity: 0.8;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.contact-item strong {
    display: block;
    color: white;
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
}

.contact-form-card h3 {
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* SEO Text Section */
.seo-text {
    padding: 80px 0;
    background: var(--bg-white);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.seo-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

.seo-content p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}

.seo-content ul,
.seo-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

[dir="rtl"] .seo-content ul,
[dir="rtl"] .seo-content ol {
    padding-left: 0;
    padding-right: 24px;
}

.seo-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--text-body);
}

.seo-content a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.seo-content a:hover {
    border-bottom-color: var(--accent);
}

.seo-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-logo svg {
    width: 40px;
    height: 40px;
}

.footer-brand p {
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--text-dark);
}

.footer-column h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 14px;
}

.footer-lang {
    display: flex;
    gap: 16px;
}

.footer-lang a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-lang a:hover,
.footer-lang a.active {
    color: white;
}

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

[dir="rtl"] .breadcrumb {
    flex-direction: row-reverse;
}

.breadcrumb a {
    color: var(--text-muted);
}

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

.breadcrumb span {
    color: var(--text-muted);
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
}

/* Service Hero */
.service-hero {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.service-hero-content h2 {
    margin-bottom: 20px;
}

.service-hero-content p {
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.8;
}

.service-checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.service-checklist li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--text-body);
}

[dir="rtl"] .service-checklist li {
    padding: 10px 32px 10px 0;
}

.service-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

[dir="rtl"] .service-checklist li::before {
    left: auto;
    right: 0;
}

/* Form Card */
.form-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 40px var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.form-card h3 {
    margin-bottom: 8px;
}

.form-card > p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-card .form-group {
    margin-bottom: 16px;
}

.form-card input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-card input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Testimonial Highlight */
.testimonial-highlight {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-highlight blockquote {
    position: relative;
    padding: 40px;
}

.testimonial-highlight blockquote::before {
    content: """;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    color: var(--accent);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-highlight p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.testimonial-highlight cite {
    display: block;
    font-style: normal;
}

.testimonial-highlight cite strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.testimonial-highlight cite span {
    color: var(--text-muted);
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

.review-stars {
    color: #F59E0B;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.review-card p {
    color: var(--text-body);
    line-height: 1.7;
}

.review-author {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.review-author strong {
    display: block;
    color: var(--text-dark);
}

.review-author span {
    color: var(--text-muted);
    font-size: 14px;
}

/* Rating Summary */
.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.rating-summary .stars {
    color: #F59E0B;
    font-size: 1.5rem;
}

.rating-summary span {
    color: var(--text-muted);
}

/* Trust Section */
.trust-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.guarantees h2,
.faq-section h2 {
    margin-bottom: 24px;
}

.guarantee-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
}

[dir="rtl"] .guarantee-item {
    flex-direction: row-reverse;
}

.guarantee-item svg {
    color: var(--accent);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    margin: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 40px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* 404 Error Page */
.error-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page .container {
    width: 100%;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.error-content h1 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.error-content > p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.error-suggestions {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 24px 32px;
    text-align: left;
    display: inline-block;
}

[dir="rtl"] .error-suggestions {
    text-align: right;
}

.error-suggestions h2 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-suggestions li {
    margin-bottom: 8px;
}

.error-suggestions a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.error-suggestions a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.blog-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.blog-image svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.blog-content {
    padding: 24px;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .stat-item {
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

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

    .about-preview {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-visual {
        order: -1;
    }

    .about-feature {
        justify-content: center;
    }

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

    .process-step::after {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-hero {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .trust-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .header-inner {
        height: 70px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        color: white;
        font-size: 1.25rem;
        padding: 16px 24px;
        width: 100%;
        text-align: center;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        padding: 0;
        border-radius: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
        padding: 12px 24px;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .lang-switcher {
        margin: 24px 0 0;
    }

    .lang-btn {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .lang-dropdown .dropdown-menu {
        position: absolute;
        background: white;
    }

    .lang-dropdown .dropdown-menu a {
        color: var(--text-body);
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span {
        background: white;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .form-card {
        position: static;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-content h1 {
        font-size: 1.5rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }
}

/* Mobile dropdown with split zones */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
    }

    .dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 8px;
        cursor: pointer;
    }

    .dropdown-toggle-btn svg {
        color: white;
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle-btn svg {
        transform: rotate(180deg);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .mobile-toggle {
        display: none !important;
    }

    .hero {
        padding-top: 0;
    }
}
