/*
 Theme Name: Lawyer Custom Theme
 Template: generatepress
 Description: موقع محامي احترافي مع لوحة تحكم مخصصة
 Version: 1.0
*/

/* ===== CSS Variables - Design Tokens ===== */
:root {
    /* Colors - Light Theme */
    --primary: #1a365d;           /* Royal Blue */
    --primary-light: #2c5282;
    --secondary: #c9a227;         /* Gold */
    --dark: #1a202c;
    --light: #f7fafc;             /* White Background */
    --gray: #718096;
    --success: #38a169;
    --danger: #e53e3e;
    --warning: #d69e2e;
    --info: #3182ce;
    
    /* Typography */
    --font-heading: 'Amiri', serif;
    --font-body: 'Tajawal', sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --line-height: 1.7;
    --line-height-tight: 1.4;
    --line-height-loose: 1.9;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Effects */
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --radius: 12px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

/* Dark Theme Override */
[data-theme="dark"] {
    --dark: #f7fafc;
    --light: #1a202c;
    --primary: #4299e1;
    --gray: #a0aec0;
}

/* ===== Global Styles ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--light);
    color: var(--dark);
    line-height: var(--line-height);
    font-size: var(--font-size-base);
    direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--line-height-tight);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.5s ease forwards;
}

/* ===== Login Page ===== */
.lawyer-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    animation: fadeInUp 0.8s ease;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo svg {
    width: 70px;
    height: 70px;
    fill: var(--primary);
}

.login-logo h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 15px 0 5px;
}

.login-logo p {
    color: var(--gray);
    font-size: 0.95rem;
}

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

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

.login-form input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #d4ad2f;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

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

.login-error {
    background: #fed7d7;
    color: var(--danger);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}


/* ===== Dashboard Layout ===== */
.lawyer-dashboard {
    display: flex;
    min-height: 100vh;
    background: #f0f4f8;
}

.dashboard-sidebar {
    width: 280px;
    background: var(--primary);
    color: white;
    padding: 30px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: var(--transition);
    z-index: 100;
}

.sidebar-header {
    padding: 0 25px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar-header h2 {
    font-size: 1.3rem;
    margin: 0;
}

.sidebar-header span {
    font-size: 0.85rem;
    opacity: 0.7;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    border-right: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-right-color: var(--secondary);
}

.sidebar-nav a svg {
    width: 20px;
    height: 20px;
}

.dashboard-main {
    flex: 1;
    margin-right: 280px;
    padding: 30px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    color: var(--dark);
    margin: 0;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ===== Dashboard Cards ===== */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.dash-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
}

.dash-card:nth-child(1) { animation-delay: 0.1s; }
.dash-card:nth-child(2) { animation-delay: 0.2s; }
.dash-card:nth-child(3) { animation-delay: 0.3s; }
.dash-card:nth-child(4) { animation-delay: 0.4s; }

.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dash-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.dash-card-icon.blue { background: rgba(26, 54, 93, 0.1); color: var(--primary); }
.dash-card-icon.gold { background: rgba(201, 162, 39, 0.1); color: var(--secondary); }
.dash-card-icon.green { background: rgba(56, 161, 105, 0.1); color: var(--success); }

.dash-card h3 {
    font-size: 2rem;
    margin: 0 0 5px;
    color: var(--dark);
}

.dash-card p {
    color: var(--gray);
    margin: 0;
}

/* ===== Post Editor ===== */
.editor-container {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.editor-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.editor-body {
    padding: 25px;
}

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

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

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1);
}

textarea.form-control {
    min-height: 200px;
    resize: vertical;
}

.title-input {
    font-size: 1.5rem;
    font-weight: 600;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    padding: 15px 0;
}

.title-input:focus {
    border-color: var(--primary);
    box-shadow: none;
}


/* ===== Rich Editor Toolbar ===== */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 15px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.toolbar-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

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

.toolbar-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.toolbar-btn svg {
    width: 16px;
    height: 16px;
}

.toolbar-separator {
    width: 1px;
    background: #e2e8f0;
    margin: 0 8px;
    align-self: stretch;
}

/* Toolbar button groups */
.toolbar-btn[data-command="bold"] strong,
.toolbar-btn[data-command="italic"] em,
.toolbar-btn[data-command="underline"] u {
    font-size: 16px;
}

.content-editor {
    min-height: 300px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    outline: none;
    line-height: 1.8;
    font-size: 1rem;
}

.content-editor:focus {
    border-color: var(--primary);
}

.content-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.content-editor .video-embed {
    position: relative;
    padding-bottom: 56.25%;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.content-editor .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Content Editor Typography */
.content-editor h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin: 25px 0 15px;
    font-family: var(--font-heading);
}

.content-editor h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin: 20px 0 12px;
    font-family: var(--font-heading);
}

.content-editor p {
    margin-bottom: 15px;
}

.content-editor blockquote {
    border-right: 4px solid var(--secondary);
    padding: 15px 20px;
    background: #f7fafc;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--gray);
}

.content-editor ul,
.content-editor ol {
    margin: 15px 0;
    padding-right: 25px;
}

.content-editor ul {
    list-style-type: disc;
}

.content-editor ol {
    list-style-type: decimal;
}

.content-editor li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-editor a {
    color: var(--primary);
    text-decoration: underline;
}

.content-editor a:hover {
    color: var(--primary-light);
}

/* ===== Media Upload ===== */
.media-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.media-upload-area:hover {
    border-color: var(--primary);
    background: rgba(26, 54, 93, 0.02);
}

.media-upload-area.dragover {
    border-color: var(--primary);
    background: rgba(26, 54, 93, 0.05);
}

.media-upload-area svg {
    width: 50px;
    height: 50px;
    color: var(--gray);
    margin-bottom: 15px;
}

.media-upload-area p {
    color: var(--gray);
    margin: 0;
}

.media-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.media-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.media-item .remove-media {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 28px;
    height: 28px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
}

.media-item:hover .remove-media {
    opacity: 1;
}

/* ===== Posts List ===== */
.posts-list {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

.posts-table th,
.posts-table td {
    padding: 18px 20px;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

.posts-table th {
    background: #f7fafc;
    font-weight: 600;
    color: var(--dark);
}

.posts-table th.th-thumbnail {
    width: 80px;
}

.posts-table tr {
    transition: var(--transition);
}

.posts-table tbody tr:hover {
    background: #f7fafc;
}

.post-thumb-cell {
    width: 80px;
}

.post-title-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-title-text {
    font-weight: 500;
    color: var(--dark);
}

.post-thumb {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}

.post-thumb-placeholder {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.post-date-cell {
    color: var(--gray);
    font-size: 0.9rem;
}

.post-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.post-status.publish {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success);
}

.post-status.published {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success);
}

.post-status.draft {
    background: rgba(113, 128, 150, 0.1);
    color: var(--gray);
}

.post-actions {
    display: flex;
    gap: 8px;
}

.post-actions button {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-actions .edit-btn {
    background: rgba(26, 54, 93, 0.1);
    color: var(--primary);
}

.post-actions .delete-btn {
    background: rgba(229, 62, 62, 0.1);
    color: var(--danger);
}

.post-actions button:hover {
    transform: scale(1.1);
}

.post-actions .edit-btn:hover {
    background: var(--primary);
    color: white;
}

.post-actions .delete-btn:hover {
    background: var(--danger);
    color: white;
}


/* ===== Frontend Blog Display ===== */
.lawyer-blog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.blog-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f0f4f8;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    color: var(--gray);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-card-title {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 12px;
}

/* ===== Single Post ===== */
.single-post-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.single-post-article {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.single-post-header {
    text-align: center;
    padding: 50px 40px 30px;
    animation: fadeInUp 0.6s ease;
}

.single-post-category {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.single-post-title {
    font-size: 2.2rem;
    color: var(--dark);
    line-height: 1.3;
    margin: 0 0 25px;
    font-family: var(--font-heading);
}

.single-post-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--gray);
    font-size: 0.95rem;
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-post-meta svg {
    opacity: 0.7;
}

.single-post-featured {
    margin: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.single-post-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-video {
    padding: 0 40px;
    margin: 30px 0;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.single-post-video .video-responsive {
    box-shadow: var(--shadow);
}

.single-post-content {
    padding: 40px;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.single-post-content p {
    font-size: 1.1rem;
    line-height: var(--line-height-loose);
    margin-bottom: 25px;
    color: var(--dark);
}

.single-post-content h2 {
    font-size: 1.6rem;
    color: var(--dark);
    margin: 40px 0 20px;
    font-family: var(--font-heading);
}

.single-post-content h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin: 30px 0 15px;
    font-family: var(--font-heading);
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: var(--shadow-sm);
}

.single-post-content blockquote {
    border-right: 4px solid var(--secondary);
    padding: 20px 25px;
    background: #f7fafc;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--gray);
}

.single-post-content ul,
.single-post-content ol {
    margin: 20px 0;
    padding-right: 25px;
}

.single-post-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.single-post-content a {
    color: var(--primary);
    text-decoration: underline;
}

.single-post-content a:hover {
    color: var(--primary-light);
}

.single-post-footer {
    padding: 30px 40px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-label,
.share-label {
    color: var(--gray);
    font-weight: 600;
}

.tag-link {
    background: #f0f4f8;
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.tag-link:hover {
    background: var(--primary);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.post-navigation a {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-navigation a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.nav-prev {
    text-align: right;
}

.nav-next {
    text-align: left;
}

.nav-label {
    display: block;
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.4;
}

/* Single Post Responsive */
@media (max-width: 768px) {
    .single-post-header {
        padding: 30px 20px 20px;
    }
    
    .single-post-title {
        font-size: 1.6rem;
    }
    
    .single-post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .single-post-content {
        padding: 25px 20px;
    }
    
    .single-post-video {
        padding: 0 20px;
    }
    
    .single-post-footer {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    margin: 30px 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .dashboard-sidebar {
        transform: translateX(100%);
    }
    
    .dashboard-sidebar.open {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-right: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-title {
        font-size: 1.8rem;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .posts-table {
        display: block;
        overflow-x: auto;
    }
}

/* ===== Loading States ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Notifications ===== */
.notification {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    animation: slideInRight 0.4s ease;
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--danger);
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: var(--transition);
}

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

/* ===== YouTube Input & Preview ===== */
.youtube-input-wrapper {
    position: relative;
}

.youtube-preview {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
}

.youtube-preview iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

.youtube-preview .preview-error {
    padding: 20px;
    text-align: center;
    color: var(--danger);
}

.youtube-modal-preview {
    border-radius: 8px;
    overflow: hidden;
}

.youtube-modal-preview iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* ===== Category Select ===== */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23718096' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 45px;
    cursor: pointer;
}

select.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1);
}

/* ===== Editor Placeholder ===== */
.form-group {
    position: relative;
}

.content-editor:empty + .editor-placeholder,
.content-editor:not(:focus):empty + .editor-placeholder {
    display: block;
}

.editor-placeholder {
    position: absolute;
    top: calc(100% - 280px);
    right: 20px;
    color: var(--gray);
    pointer-events: none;
    display: none;
}

.content-editor:focus + .editor-placeholder {
    display: none;
}

.content-editor:not(:empty) + .editor-placeholder {
    display: none !important;
}

/* ===== Button Danger ===== */
.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #c53030;
    transform: translateY(-2px);
}


/* ===== Drag & Drop Styles ===== */
.media-upload-area.drag-over,
.content-editor.drag-over {
    border-color: var(--primary);
    background: rgba(26, 54, 93, 0.05);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1);
}

.content-editor.drag-over {
    border-color: var(--primary) !important;
}

/* ===== Upload Loading State ===== */
.upload-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.upload-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 15px;
}

.upload-loading p {
    color: var(--gray);
    margin: 0;
}

/* ===== Featured Image Preview ===== */
.featured-image-preview {
    text-align: center;
}

.featured-image-preview img {
    display: block;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.remove-featured-btn:hover {
    background: #c53030 !important;
}

/* ===== Content Image Figure ===== */
.content-editor figure.content-image {
    margin: 20px 0;
    text-align: center;
}

.content-editor figure.content-image img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.content-editor figure.content-image figcaption {
    margin-top: 8px;
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
}


/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video,
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(44, 82, 130, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    max-width: 120px;
    height: auto;
}

.hero-logo svg {
    width: 80px;
    height: 80px;
    fill: var(--secondary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: white;
    opacity: 0.8;
    cursor: pointer;
    transition: var(--transition);
}

.hero-scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.hero-scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.hero-scroll-indicator svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* ===== Homepage Sections ===== */
.lawyer-homepage section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.services-section {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card .service-icon-lottie,
.service-card svg {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    color: var(--secondary);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Statistics Section ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    color: var(--secondary);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== About Section ===== */
.about-section {
    background: white;
}

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

.about-text .section-title {
    text-align: right;
    margin-bottom: 25px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 30px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1.05rem;
    color: var(--dark);
}

.about-features .check-icon {
    color: var(--success);
    font-weight: bold;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

/* ===== Blog Section ===== */
.blog-section {
    background: var(--light);
}

.blog-more {
    text-align: center;
    margin-top: 50px;
}

/* ===== Contact Section ===== */
.contact-section {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 54, 93, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.contact-text h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--gray);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.contact-form .form-control {
    background: white;
}

.btn-block {
    width: 100%;
}

/* ===== Animation Classes ===== */
.animate-on-scroll,
.slide-in-right,
.slide-in-left,
.scale-on-scroll {
    opacity: 0;
}

/* ===== Responsive Homepage ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .lawyer-homepage section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}


/* ===== Lottie Animation Styles ===== */
.lottie-animation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-lottie {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-lottie svg {
    width: 100%;
    height: 100%;
    color: var(--secondary);
}

/* Fallback for when Lottie doesn't load */
.service-icon-lottie:empty + svg,
.service-icon-lottie svg:only-child {
    display: block;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
}

.whatsapp-float.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
    background: #20c05c;
}

.whatsapp-float:active {
    transform: scale(1.05);
}

/* WhatsApp button pulse animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ===== Dark Mode Toggle Button ===== */
.dark-mode-toggle {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
    z-index: 998;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
}

.dark-mode-toggle.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.dark-mode-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: var(--transition);
}

.dark-mode-toggle .sun-icon {
    display: block;
}

.dark-mode-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle .moon-icon {
    display: block;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 25px rgba(26, 54, 93, 0.4);
}

[data-theme="dark"] .dark-mode-toggle {
    background: var(--secondary);
    color: var(--dark);
}

/* ===== Dark Mode Theme ===== */
[data-theme="dark"] {
    --dark: #f7fafc;
    --light: #1a202c;
    --primary: #4299e1;
    --primary-light: #63b3ed;
    --gray: #a0aec0;
    --bg-primary: #171923;
    --bg-secondary: #1a202c;
    --bg-card: #2d3748;
    --border-color: #4a5568;
}

[data-theme="dark"] body {
    background: var(--bg-primary);
    color: var(--dark);
}

[data-theme="dark"] .hero-section {
    color: white;
}

[data-theme="dark"] .services-section,
[data-theme="dark"] .blog-section {
    background: var(--bg-secondary);
}

[data-theme="dark"] .about-section,
[data-theme="dark"] .contact-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .single-post-article,
[data-theme="dark"] .contact-form-wrapper {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .service-card h3,
[data-theme="dark"] .blog-card-title,
[data-theme="dark"] .blog-card-title a,
[data-theme="dark"] .section-title,
[data-theme="dark"] .single-post-title,
[data-theme="dark"] .single-post-content h2,
[data-theme="dark"] .single-post-content h3 {
    color: var(--dark);
}

[data-theme="dark"] .service-card p,
[data-theme="dark"] .blog-card-excerpt,
[data-theme="dark"] .blog-card-date,
[data-theme="dark"] .section-subtitle {
    color: var(--gray);
}

[data-theme="dark"] .form-control {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--dark);
}

[data-theme="dark"] .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.2);
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--gray);
}

[data-theme="dark"] .contact-icon {
    background: rgba(66, 153, 225, 0.15);
}

[data-theme="dark"] .contact-icon svg {
    fill: var(--primary);
}

[data-theme="dark"] .contact-text h4 {
    color: var(--dark);
}

[data-theme="dark"] .about-features li {
    color: var(--dark);
}

[data-theme="dark"] .stat-number {
    color: var(--secondary);
}

[data-theme="dark"] .blog-card-category {
    background: var(--secondary);
    color: #1a202c;
}

[data-theme="dark"] .single-post-category {
    background: var(--secondary);
    color: #1a202c;
}

[data-theme="dark"] .single-post-content {
    color: var(--dark);
}

[data-theme="dark"] .single-post-content p {
    color: var(--dark);
}

[data-theme="dark"] .single-post-content blockquote {
    background: var(--bg-secondary);
    border-color: var(--secondary);
    color: var(--gray);
}

[data-theme="dark"] .single-post-footer {
    border-color: var(--border-color);
}

[data-theme="dark"] .tag-link {
    background: var(--bg-secondary);
    color: var(--dark);
}

[data-theme="dark"] .tag-link:hover {
    background: var(--primary);
    color: white;
}

[data-theme="dark"] .post-navigation a {
    background: var(--bg-card);
}

[data-theme="dark"] .nav-title {
    color: var(--dark);
}

[data-theme="dark"] .blog-card-footer {
    border-color: var(--border-color);
}

[data-theme="dark"] .read-more {
    color: var(--primary);
}

/* Dark mode transition */
body,
.service-card,
.blog-card,
.single-post-article,
.contact-form-wrapper,
.form-control,
.section-title,
.section-subtitle {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ===== Additional Animation Utilities ===== */
.reveal-text {
    display: inline-block;
}

.parallax-image {
    will-change: transform;
}

/* GPU acceleration for animations */
.animate-on-scroll,
.slide-in-right,
.slide-in-left,
.scale-on-scroll,
.service-card,
.blog-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-on-scroll,
    .slide-in-right,
    .slide-in-left,
    .scale-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* ===== Mobile Responsive Sidebar ===== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 1001;
    padding: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.mobile-menu-toggle .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.mobile-menu-toggle .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

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

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* Sidebar overlay for mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile sidebar close button */
.sidebar-close {
    display: none;
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-close svg {
    width: 20px;
    height: 20px;
}

/* Mobile responsive dashboard */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar-overlay {
        display: block;
    }
    
    .sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .dashboard-sidebar {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 280px;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }
    
    .dashboard-sidebar.open {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-right: 0;
        padding: 80px 20px 30px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .dashboard-header h1 {
        font-size: 1.4rem;
    }
    
    /* Floating buttons position adjustment for mobile */
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .dark-mode-toggle {
        bottom: 85px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
    
    .dark-mode-toggle svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .editor-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .editor-header h2 {
        font-size: 1.2rem;
    }
    
    .editor-toolbar {
        justify-content: center;
    }
    
    .toolbar-btn {
        width: 35px;
        height: 35px;
    }
    
    .posts-table th,
    .posts-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .post-thumb {
        width: 50px;
        height: 38px;
    }
}


/* ===== Content Typography Styles ===== */
/* أنماط طباعة المحتوى - Requirements: 5.5 */

/* Base content typography */
.entry-content,
.single-post-content,
.content-editor,
.blog-card-excerpt {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dark);
}

/* Paragraph spacing */
.entry-content p,
.single-post-content p {
    margin-bottom: 1.5em;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* First paragraph emphasis */
.entry-content > p:first-of-type,
.single-post-content > p:first-of-type {
    font-size: 1.15rem;
    line-height: 1.85;
}

/* Headings in content */
.entry-content h2,
.single-post-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.entry-content h3,
.single-post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin: 2rem 0 0.875rem;
    line-height: 1.35;
}

.entry-content h4,
.single-post-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin: 1.75rem 0 0.75rem;
    line-height: 1.4;
}

/* Lists in content */
.entry-content ul,
.entry-content ol,
.single-post-content ul,
.single-post-content ol {
    margin: 1.5rem 0;
    padding-right: 1.75rem;
    line-height: 1.8;
}

.entry-content li,
.single-post-content li {
    margin-bottom: 0.625rem;
    padding-right: 0.5rem;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

/* Nested lists */
.entry-content ul ul,
.entry-content ol ol,
.single-post-content ul ul,
.single-post-content ol ol {
    margin: 0.5rem 0;
}

/* Blockquotes */
.entry-content blockquote,
.single-post-content blockquote {
    border-right: 4px solid var(--secondary);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: rgba(247, 250, 252, 0.8);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content blockquote p:last-child,
.single-post-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Links in content */
.entry-content a,
.single-post-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}

.entry-content a:hover,
.single-post-content a:hover {
    color: var(--primary-light);
    text-decoration-color: var(--secondary);
}

/* Images in content */
.entry-content img,
.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}

/* Figure and captions */
.entry-content figure,
.single-post-content figure {
    margin: 2rem 0;
}

.entry-content figcaption,
.single-post-content figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.75rem;
    font-style: italic;
}

/* Code blocks */
.entry-content code,
.single-post-content code {
    background: #f0f4f8;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    direction: ltr;
}

.entry-content pre,
.single-post-content pre {
    background: #1a202c;
    color: #f7fafc;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin: 1.5rem 0;
    direction: ltr;
    text-align: left;
}

.entry-content pre code,
.single-post-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Tables in content */
.entry-content table,
.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.entry-content th,
.entry-content td,
.single-post-content th,
.single-post-content td {
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    text-align: right;
}

.entry-content th,
.single-post-content th {
    background: #f7fafc;
    font-weight: 600;
    color: var(--dark);
}

.entry-content tr:nth-child(even),
.single-post-content tr:nth-child(even) {
    background: #fafbfc;
}

/* Horizontal rule */
.entry-content hr,
.single-post-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(to left, transparent, var(--secondary), transparent);
    margin: 2.5rem 0;
}

/* Strong and emphasis */
.entry-content strong,
.single-post-content strong {
    font-weight: 700;
    color: var(--dark);
}

.entry-content em,
.single-post-content em {
    font-style: italic;
}

/* Drop cap for first letter (optional enhancement) */
.entry-content.has-drop-cap > p:first-of-type::first-letter,
.single-post-content.has-drop-cap > p:first-of-type::first-letter {
    float: right;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 700;
    color: var(--primary);
    margin-left: 0.75rem;
    margin-top: 0.1rem;
}

/* Responsive typography */
@media (max-width: 768px) {
    .entry-content,
    .single-post-content,
    .content-editor {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .entry-content p,
    .single-post-content p {
        font-size: 1rem;
        margin-bottom: 1.25em;
    }
    
    .entry-content h2,
    .single-post-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 0.875rem;
    }
    
    .entry-content h3,
    .single-post-content h3 {
        font-size: 1.25rem;
        margin: 1.75rem 0 0.75rem;
    }
    
    .entry-content blockquote,
    .single-post-content blockquote {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
}

/* Print styles for content */
@media print {
    .entry-content,
    .single-post-content {
        font-size: 12pt;
        line-height: 1.6;
        color: #000;
    }
    
    .entry-content a,
    .single-post-content a {
        color: #000;
        text-decoration: underline;
    }
    
    .entry-content img,
    .single-post-content img {
        max-width: 100%;
        page-break-inside: avoid;
    }
    
    .entry-content h2,
    .entry-content h3,
    .single-post-content h2,
    .single-post-content h3 {
        page-break-after: avoid;
    }
}


/* ===== Enhanced Visual Effects ===== */
/* تأثيرات بصرية محسنة */

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glowing Border Effect */
.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary-light), var(--secondary));
    background-size: 400% 400%;
    border-radius: calc(var(--radius) + 2px);
    z-index: -1;
    animation: glowBorder 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-border:hover::before {
    opacity: 1;
}

@keyframes glowBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glass Morphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

/* Floating Animation */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

/* Pulse Glow Effect */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px var(--secondary), 0 0 10px var(--secondary), 0 0 15px var(--secondary); }
    50% { box-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary), 0 0 30px var(--secondary); }
}

/* Enhanced Hero Section */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 54, 93, 0.2) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-title {
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    border-radius: 2px;
}

/* Animated Background Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.1);
    animation: floatShape 15s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.hero-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(0, -50px) rotate(180deg); }
    75% { transform: translate(-30px, -30px) rotate(270deg); }
}

/* Enhanced Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, rgba(26, 54, 93, 0.1), rgba(201, 162, 39, 0.1)) border-box;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Enhanced Blog Cards */
.blog-card {
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, rgba(201, 162, 39, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-image::after {
    opacity: 1;
}

/* Enhanced Category Badge */
.blog-card-category {
    position: relative;
    overflow: hidden;
}

.blog-card-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmerBadge 2s infinite;
}

@keyframes shimmerBadge {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Statistics Section */
.stats-section {
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stat-item {
    position: relative;
    z-index: 1;
}

.stat-number {
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
    margin-right: 5px;
    opacity: 0.8;
}

/* Enhanced Buttons */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(26, 54, 93, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #d4ad2f 100%);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.4);
}

/* Enhanced Section Titles */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    animation: titleLine 2s ease-in-out infinite;
}

@keyframes titleLine {
    0%, 100% { transform: translateX(-50%) translateX(-25px); }
    50% { transform: translateX(-50%) translateX(25px); }
}

/* Enhanced Contact Section */
.contact-section {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
}

.contact-item {
    position: relative;
    padding: 25px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-right: 4px solid transparent;
}

.contact-item:hover {
    border-right-color: var(--secondary);
    transform: translateX(-10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 15px;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 20px rgba(26, 54, 93, 0.3);
}

/* Enhanced Form Inputs */
.form-control {
    position: relative;
    background: white;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1), 0 4px 20px rgba(26, 54, 93, 0.1);
    transform: translateY(-2px);
}

/* Enhanced Dashboard Cards */
.dash-card {
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
}

.dash-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, transparent 100%);
    border-radius: 0 0 0 100%;
}

.dash-card-icon {
    position: relative;
    z-index: 1;
}

.dash-card-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: inherit;
    border-radius: inherit;
    opacity: 0.3;
    z-index: -1;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.1; }
}

/* Enhanced WhatsApp Button */
.whatsapp-float {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover {
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
}

/* Enhanced Dark Mode Toggle */
.dark-mode-toggle {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

/* Animated Underline for Links */
.animated-underline {
    position: relative;
    text-decoration: none;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Loading Skeleton Animation */
.skeleton-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Tooltip Styles */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    padding: 8px 12px;
    background: var(--dark);
    color: white;
    font-size: 0.85rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--dark);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

[data-tooltip]:hover::after {
    transform: translateX(-50%) translateY(-5px);
}

/* Page Transition Effect */
.page-transition {
    animation: pageIn 0.5s ease forwards;
}

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

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--secondary);
    color: var(--dark);
}

::-moz-selection {
    background: var(--secondary);
    color: var(--dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Focus Visible Styles */
:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ===== Particles.js Container ===== */
/* حاوية تأثير الجزيئات */

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Ensure hero content is above particles */
.hero-content {
    position: relative;
    z-index: 10;
}

.hero-scroll-indicator {
    z-index: 10;
}

/* Particles interaction area - only on desktop */
@media (min-width: 992px) {
    .particles-container {
        pointer-events: auto;
    }
}

/* Reduce particles on mobile for performance */
@media (max-width: 768px) {
    .particles-container canvas {
        opacity: 0.7;
    }
}


/* ===== Amank Law - Hero Slider Styles ===== */
/* شركة أمانك للمحاماة - أنماط السلايدر */

/* Color Palette for Law Firm */
:root {
    --amank-navy: #0a1628;        /* كحلي داكن */
    --amank-navy-light: #1a2d4a;  /* كحلي فاتح */
    --amank-gold: #c9a227;        /* ذهبي */
    --amank-gold-light: #e3c04b;  /* ذهبي فاتح */
    --amank-gold-dark: #a68520;   /* ذهبي داكن */
    --amank-white: #ffffff;
    --amank-gray: #8892a0;
    --amank-success: #2ecc71;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amank-navy) 0%, var(--amank-navy-light) 50%, var(--amank-navy) 100%);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Main Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* First slide visible by default (before JS loads) */
.slide:first-child {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide:first-child:not(.active) {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.slide-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    color: var(--amank-white);
}

/* Lottie Container in Slider */
.slide-lottie {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lottie-container {
    width: 100%;
    height: 100%;
}

/* Slide Typography */
.slide-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--amank-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 0.2s forwards;
}

.slide.active .slide-title {
    animation: slideUp 0.8s ease 0.2s forwards;
}

.slide-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--amank-gold);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 0.4s forwards;
}

.slide.active .slide-subtitle {
    animation: slideUp 0.8s ease 0.4s forwards;
}

.slide-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 0.6s forwards;
}

.slide.active .slide-description {
    animation: slideUp 0.8s ease 0.6s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide CTA Buttons */
.slide-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 0.8s forwards;
}

.slide.active .slide-cta {
    animation: slideUp 0.8s ease 0.8s forwards;
}

/* Gold Button Style */
.btn-gold {
    background: linear-gradient(135deg, var(--amank-gold) 0%, var(--amank-gold-dark) 100%);
    color: var(--amank-navy);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--amank-gold-light) 0%, var(--amank-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
    color: var(--amank-navy);
}

.btn-gold svg {
    transition: transform 0.3s ease;
}

.btn-gold:hover svg {
    transform: translateX(-5px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--amank-gold);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--amank-gold);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--amank-gold);
    color: var(--amank-navy);
    transform: translateY(-3px);
}

/* Pulse Glow Animation */
.pulse-glow {
    position: relative;
}

.pulse-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: var(--amank-gold);
    z-index: -1;
    animation: pulseGlow 2s ease-out infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(201, 162, 39, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.slider-arrow svg {
    color: var(--amank-gold);
    transition: transform 0.3s ease;
}

.slider-arrow:hover {
    background: var(--amank-gold);
    border-color: var(--amank-gold);
}

.slider-arrow:hover svg {
    color: var(--amank-navy);
}

.slider-prev:hover svg {
    transform: translateX(3px);
}

.slider-next:hover svg {
    transform: translateX(-3px);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 50px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.slider-dot.active {
    background: rgba(255, 255, 255, 0.2);
}

.dot-progress {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: var(--amank-gold);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.slider-dot.active .dot-progress {
    animation: dotProgress 6s linear forwards;
}

@keyframes dotProgress {
    from { width: 0; }
    to { width: 100%; }
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Hero Contact Bar */
.hero-contact-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 10;
    background: rgba(10, 22, 40, 0.8);
    padding: 15px 40px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.hero-contact-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--amank-white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.hero-contact-bar .contact-item:hover {
    color: var(--amank-gold);
}

.hero-contact-bar .contact-item svg {
    color: var(--amank-gold);
}

.hero-contact-bar .contact-item.location {
    cursor: default;
}

/* Hero Scroll Indicator - Updated Position */
.hero-slider-section .hero-scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* ===== Services Section - Enhanced ===== */
.services-grid-6 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--amank-gold) 0%, var(--amank-gold-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--amank-gold) 0%, var(--amank-gold-dark) 100%);
    transform: scale(1.1);
}

.service-icon-wrapper svg {
    color: var(--amank-gold);
    transition: color 0.4s ease;
}

.service-card:hover .service-icon-wrapper svg {
    color: var(--amank-navy);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--amank-navy);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Service Badge */
.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--amank-gold) 0%, var(--amank-gold-dark) 100%);
    color: var(--amank-navy);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 15px;
}

.service-badge.new {
    background: linear-gradient(135deg, var(--amank-success) 0%, #27ae60 100%);
    color: white;
}

/* Premium Service Card */
.service-card-premium {
    background: linear-gradient(135deg, var(--amank-navy) 0%, var(--amank-navy-light) 100%);
    color: white;
}

.service-card-premium h3 {
    color: white;
}

.service-card-premium p {
    color: rgba(255, 255, 255, 0.8);
}

.service-card-premium .service-icon-wrapper {
    background: rgba(201, 162, 39, 0.2);
}

.service-card-premium:hover .service-icon-wrapper {
    background: var(--amank-gold);
}

/* Highlight Service Card */
.service-card-highlight {
    border: 2px solid var(--amank-gold);
}

/* CTA Service Card */
.service-card-cta {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
    border: 2px dashed var(--amank-gold);
}

.service-card-cta .btn-sm {
    padding: 10px 25px;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* ===== Statistics Section - Enhanced ===== */
.stats-section {
    background: linear-gradient(135deg, var(--amank-navy) 0%, var(--amank-navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    color: var(--amank-gold);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--amank-gold);
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== About Section - Enhanced ===== */
.about-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--amank-gold) 0%, var(--amank-gold-dark) 100%);
    color: var(--amank-navy);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text .section-title {
    text-align: right;
    color: var(--amank-navy);
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 1.05rem;
    color: var(--dark);
}

.about-features .check-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--amank-gold) 0%, var(--amank-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-features .check-icon svg {
    color: var(--amank-navy);
}

.about-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.about-image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.experience-badge {
    background: linear-gradient(135deg, var(--amank-gold) 0%, var(--amank-gold-dark) 100%);
    color: var(--amank-navy);
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.experience-badge .years {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== Contact Section - Enhanced ===== */
.contact-card {
    background: linear-gradient(135deg, var(--amank-navy) 0%, var(--amank-navy-light) 100%);
    padding: 40px;
    border-radius: 16px;
    color: white;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--amank-gold);
}

.contact-card .contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-card .contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card .contact-icon svg {
    color: var(--amank-gold);
}

.contact-card .contact-icon.phone {
    background: rgba(37, 211, 102, 0.15);
}

.contact-card .contact-icon.phone svg {
    color: #25d366;
}

.contact-card .contact-icon.email {
    background: rgba(66, 153, 225, 0.15);
}

.contact-card .contact-icon.email svg {
    color: #4299e1;
}

.contact-card .contact-text h4 {
    font-size: 0.9rem;
    color: var(--amank-gray);
    margin-bottom: 5px;
}

.contact-card .contact-text p {
    color: white;
    margin: 0;
}

.contact-card .contact-text a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card .contact-text a:hover {
    color: var(--amank-gold);
}

/* Social Links */
.contact-social {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social h4 {
    font-size: 0.9rem;
    color: var(--amank-gray);
    margin-bottom: 15px;
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Form Enhanced */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--amank-navy);
    margin-bottom: 25px;
}

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

.contact-form .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--amank-gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.contact-form .btn-gold {
    width: 100%;
    justify-content: center;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .services-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
    }
    
    .hero-contact-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 15px 25px;
    }
    
    .services-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .slide-lottie {
        width: 100px;
        height: 100px;
    }
    
    .slide-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-gold,
    .btn-outline-gold {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .slider-nav {
        display: none;
    }
    
    .slider-dots {
        bottom: 150px;
    }
    
    .slider-dot {
        width: 35px;
    }
    
    .hero-contact-bar {
        bottom: 20px;
        width: calc(100% - 40px);
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
        border-radius: 16px;
    }
    
    .hero-slider-section .hero-scroll-indicator {
        display: none;
    }
    
    .services-grid-6 {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .about-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* ===== Dark Mode Adjustments ===== */
[data-theme="dark"] .service-card {
    background: var(--bg-card);
}

[data-theme="dark"] .service-card h3 {
    color: var(--dark);
}

[data-theme="dark"] .service-card-premium {
    background: linear-gradient(135deg, var(--amank-navy) 0%, var(--amank-navy-light) 100%);
}

[data-theme="dark"] .contact-form-wrapper {
    background: var(--bg-card);
}

[data-theme="dark"] .contact-form h3 {
    color: var(--dark);
}

[data-theme="dark"] .about-badge {
    color: var(--amank-navy);
}


/* ===== Hero Logo Header ===== */
.hero-logo-header {
    position: absolute;
    top: 30px;
    right: 50%;
    transform: translateX(50%);
    z-index: 100;
    animation: fadeInDown 0.8s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(50%) translateY(0);
    }
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.hero-logo-img {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.hero-logo-img:hover {
    filter: drop-shadow(0 6px 30px rgba(201, 162, 39, 0.4));
}

/* Logo with glow effect */
.hero-logo-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Responsive Logo */
@media (max-width: 768px) {
    .hero-logo-header {
        top: 20px;
    }
    
    .hero-logo-img {
        max-width: 140px;
        max-height: 90px;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        max-width: 120px;
        max-height: 80px;
    }
}


/* ===== Sticky Navigation Bar ===== */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.sticky-nav.visible {
    transform: translateY(0);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.sticky-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Sticky Logo */
.sticky-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sticky-logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.sticky-logo:hover img {
    transform: scale(1.05);
}

/* Navigation Links */
.sticky-nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sticky-nav-links li a {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.sticky-nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--amank-gold);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.sticky-nav-links li a:hover {
    color: var(--amank-gold);
    background: rgba(201, 162, 39, 0.1);
}

.sticky-nav-links li a:hover::after {
    width: 30px;
}

.sticky-nav-links li a.active {
    color: var(--amank-gold);
}

.sticky-nav-links li a.active::after {
    width: 30px;
}

/* Navigation Actions */
.sticky-nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sticky-phone svg {
    color: var(--amank-gold);
}

.sticky-phone:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--amank-gold);
}

.sticky-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--amank-gold) 0%, var(--amank-gold-dark) 100%);
    color: var(--amank-navy);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.sticky-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.4);
    background: linear-gradient(135deg, var(--amank-gold-light) 0%, var(--amank-gold) 100%);
    color: var(--amank-navy);
}

/* Mobile Menu Toggle */
.sticky-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    transition: background 0.3s ease;
}

.sticky-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.sticky-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.sticky-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* Mobile Menu */
.sticky-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-top: 1px solid rgba(201, 162, 39, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sticky-mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links li:last-child {
    border-bottom: none;
}

.mobile-nav-links li a {
    display: block;
    padding: 15px 10px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-links li a:hover {
    color: var(--amank-gold);
    padding-right: 20px;
}

.mobile-nav-actions {
    display: flex;
    gap: 10px;
}

.mobile-phone,
.mobile-whatsapp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-phone {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-phone:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mobile-whatsapp {
    background: #25d366;
    color: white;
}

.mobile-whatsapp:hover {
    background: #20c05c;
}

/* Responsive Sticky Nav */
@media (max-width: 1024px) {
    .sticky-nav-links {
        display: none;
    }
    
    .sticky-menu-toggle {
        display: flex;
    }
    
    .sticky-mobile-menu {
        display: block;
    }
    
    .sticky-nav-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    .sticky-nav-container {
        padding: 10px 20px;
    }
    
    .sticky-logo img {
        height: 40px;
    }
    
    .phone-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-nav-actions {
        flex-direction: column;
    }
}

/* Dark Mode Sticky Nav */
[data-theme="dark"] .sticky-nav {
    background: rgba(23, 25, 35, 0.95);
    border-bottom-color: rgba(201, 162, 39, 0.15);
}

[data-theme="dark"] .sticky-nav-links li a {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .sticky-mobile-menu {
    background: rgba(23, 25, 35, 0.98);
}

/* Scroll Progress Indicator */
.sticky-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 2px;
    width: var(--scroll-progress, 0%);
    background: linear-gradient(90deg, var(--amank-gold) 0%, var(--amank-gold-light) 100%);
    transition: width 0.1s linear;
}


/* ===== Instagram Social Link ===== */
.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f5a623 0%, #e8784a 25%, #e03050 50%, #d42d75 75%, #c52095 100%);
}


/* ===== Hero Background Image ===== */
.hero-slider-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-slider-section .slider-overlay {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(26, 45, 74, 0.88) 50%, rgba(10, 22, 40, 0.92) 100%);
}

/* Parallax effect for hero background */
@media (min-width: 769px) {
    .hero-slider-section {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {
    .hero-slider-section {
        background-attachment: scroll;
    }
}
