/* Main CSS File for DevSouq */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
    --text-color: #333;
    --text-light: #7f8c8d;
    --border-color: #ddd;
    --body-bg: #f5f5f5;
    --card-bg: #fff;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--body-bg);
    direction: ltr;
}

body.rtl {
    direction: rtl;
    text-align: right;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

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

ul, ol {
    list-style-position: inside;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background-color: rgba(44, 62, 80, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo img {
    max-height: 40px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    transform: scaleX(1);
}

.rtl .main-nav li {
    margin-left: 0;
    margin-right: 20px;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-buttons .btn {
    min-width: 150px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(52, 152, 219, 0.95);
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: background 0.3s, box-shadow 0.3s, color 0.3s;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
}

.btn:hover {
    background-color: rgba(44, 62, 80, 0.95);
    box-shadow: 0 4px 16px rgba(44,62,80,0.13);
}

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

.btn-primary:hover {
    background-color: #1a252f;
}

.btn-secondary {
    background: rgba(52, 152, 219, 0.80);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(44, 62, 80, 0.85);
}

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

.btn-accent:hover {
    background-color: #c0392b;
}

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

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

.btn-sm {
    padding: 5px 15px;
    font-size: 12px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Section Styles */
.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.rtl .section-title:after {
    left: auto;
    right: 0;
}

/* Cards */
.card {
    background: rgba(255,255,255,0.82);
    box-shadow: 0 4px 24px rgba(44,62,80,0.08), 0 1.5px 6px rgba(44,62,80,0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 22px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    height: 100%;
}

.card:hover {
    box-shadow: 0 8px 32px rgba(44,62,80,0.16), 0 2px 8px rgba(44,62,80,0.08);
    transform: translateY(-3px) scale(1.015);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.card-price {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 18px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

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

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: box-shadow 0.2s, background 0.2s;
    box-shadow: 0 1px 4px rgba(44,62,80,0.04);
}

.form-control:focus {
    outline: none;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 0 0 2px rgba(52,152,219,0.18), 0 2px 8px rgba(44,62,80,0.10);
}

.form-text {
    color: var(--text-light);
    font-size: 12px;
    margin-top: 5px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.form-check-input {
    margin-right: 10px;
}

.rtl .form-check-input {
    margin-right: 0;
    margin-left: 10px;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid transparent;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border-left-color: var(--success-color);
    color: #27ae60;
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    border-left-color: var(--warning-color);
    color: #f39c12;
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    border-left-color: var(--danger-color);
    color: #e74c3c;
}

.alert-info {
    background-color: rgba(52, 152, 219, 0.1);
    border-left-color: var(--info-color);
    color: #3498db;
}

.rtl .alert {
    border-left: none;
    border-right: 4px solid transparent;
}

.rtl .alert-success {
    border-right-color: var(--success-color);
}

.rtl .alert-warning {
    border-right-color: var(--warning-color);
}

.rtl .alert-danger {
    border-right-color: var(--danger-color);
}

.rtl .alert-info {
    border-right-color: var(--info-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 30px 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    display: block;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination li.active a {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Footer */
.footer {
    background: rgba(44,62,80,0.92);
    color: #fff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 -2px 12px rgba(44,62,80,0.08);
    padding: 40px 0 20px;
    border-radius: 0 0 22px 22px;
}

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

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-description {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.rtl .footer-heading:after {
    left: auto;
    right: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Category Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    background-color: var(--secondary-color);
    color: white;
}

.badge-primary {
    background-color: var(--primary-color);
}

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

.badge-accent {
    background-color: var(--accent-color);
}

.badge-success {
    background-color: var(--success-color);
}

.badge-warning {
    background-color: var(--warning-color);
}

.badge-info {
    background-color: var(--info-color);
}

/* Rating Stars */
.stars {
    color: var(--warning-color);
    font-size: 14px;
}

/* Product Details Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.product-image {
    border-radius: 8px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
}

.product-rating .stars {
    margin-right: 5px;
}

.rtl .product-rating .stars {
    margin-right: 0;
    margin-left: 5px;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 30px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.product-tabs {
    margin-top: 40px;
}

.product-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.product-tabs-nav button {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-tabs-nav button.active {
    border-bottom-color: var(--secondary-color);
    color: var(--secondary-color);
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
}

/* User Profile Page */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-info h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.profile-stats {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
}

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

/* Dashboard */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-card-icon {
    font-size: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.stat-card-value {
    font-size: 24px;
    font-weight: bold;
}

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

.stat-card.primary .stat-card-icon {
    background-color: var(--primary-color);
}

.stat-card.secondary .stat-card-icon {
    background-color: var(--secondary-color);
}

.stat-card.success .stat-card-icon {
    background-color: var(--success-color);
}

.stat-card.warning .stat-card-icon {
    background-color: var(--warning-color);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.rtl .table th,
.rtl .table td {
    text-align: right;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 28px;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
}

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

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-light);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Utilities */
.text-center {
    text-align: center;
}

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

.rtl .text-right {
    text-align: left;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 20px;
}

.mb-5 {
    margin-bottom: 30px;
}

.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 20px;
}

.mt-5 {
    margin-top: 30px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}


/* Resume Page Styles */
.resume-page {
    background-color: #f8f9fa;
}

.resume-hero {
    background: linear-gradient(135deg, #1e5799, #207cca);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.resume-hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,218.7C960,213,1056,235,1152,229.3C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
}

.avatar-container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.avatar-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.avatar-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.avatar-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-content {
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
}

.hero-buttons .btn {
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 500;
}

.contact-section {
    padding: 1.5rem 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.contact-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    color: #1e5799;
    width: 30px;
    text-align: center;
}

.contact-item span {
    font-size: 1rem;
    color: #444;
}

.resume-main {
    padding: 3rem 0;
}

.resume-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: #1e5799;
}

.resume-item {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 30px;
}

.resume-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1e5799;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(30, 87, 153, 0.2);
}

.resume-item:after {
    content: "";
    position: absolute;
    left: 7px;
    top: 26px;
    bottom: -20px;
    width: 2px;
    background: #e0e0e0;
}

.resume-item:last-child:after {
    display: none;
}

.item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #666;
}

.company, .degree {
    font-weight: 500;
    color: #1e5799;
}

.date {
    background: #f0f7ff;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.resume-content {
    line-height: 1.7;
    color: #555;
}

.subsection-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #444;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.course-list, .certificate-list {
    list-style: none;
    padding-left: 0;
}

.course-item, .certificate-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f5f5f5;
}

.course-item:last-child, .certificate-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.course-header, .certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.3rem;
}

.course-name, .certificate-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.course-provider, .certificate-issuer {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.course-date, .certificate-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.course-description, .certificate-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.certificate-download {
    margin-top: 0.8rem;
}

.certificate-download .btn {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
}

.resume-side-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.skills-container {
    margin-top: 1rem;
}

.skill-item {
    margin-bottom: 1.2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.skill-name {
    font-weight: 500;
    color: #333;
}

.skill-level {
    color: #1e5799;
    font-weight: 500;
}

.progress {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #1e5799, #2989d8);
}

.languages-container {
    margin-top: 1rem;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.language-item:last-child {
    border-bottom: none;
}

.language-name {
    font-weight: 500;
    color: #333;
}

.language-level {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.resume-files {
    margin-top: 1rem;
}

.resume-file-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.resume-file-item:last-child {
    border-bottom: none;
}

.resume-file-item i {
    font-size: 1.8rem;
    color: #e74c3c;
    margin-right: 15px;
}

.file-info {
    flex: 1;
}

.file-info a {
    font-weight: 500;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 0.2rem;
    transition: color 0.3s;
}

.file-info a:hover {
    color: #1e5799;
}

.file-info small {
    font-size: 0.8rem;
    color: #888;
}

.contact-info .contact-item {
    padding: 0.7rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.contact-info .contact-item:last-child {
    border-bottom: none;
}

.social-links {
    display: flex;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f7ff;
    color: #1e5799;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: #1e5799;
    color: white;
    transform: translateY(-3px);
}

.empty-section, .empty-subsection {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    color: #777;
}

.empty-section i, .empty-subsection i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.empty-section p, .empty-subsection p {
    margin: 0;
    font-size: 1.1rem;
}

/* RTL support */
[dir="rtl"] .section-title i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .resume-item {
    padding-left: 0;
    padding-right: 30px;
}

[dir="rtl"] .resume-item:before {
    left: auto;
    right: 0;
}

[dir="rtl"] .resume-item:after {
    left: auto;
    right: 7px;
}

[dir="rtl"] .contact-item i {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .social-links .social-link {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .resume-file-item i {
    margin-right: 0;
    margin-left: 15px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .item-meta {
        flex-direction: column;
    }
    
    .date {
        margin-top: 0.3rem;
        align-self: flex-start;
    }
}

@media (max-width: 767px) {
    .resume-hero {
        padding: 2rem 0;
    }
    
    .avatar-container {
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .resume-section, .resume-side-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}


/* Site Intro Section Styles */
.site-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.site-intro .site-logo {
    border: 3px solid #0d6efd;
    border-radius: 50%;
    padding: 10px;
    display: inline-block;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.site-intro .site-name {
    font-weight: 700;
    color: #0d6efd;
    font-size: 1.8rem;
    margin-top: 15px;
}

.site-intro .intro-title {
    font-weight: 800;
    color: #212529;
    position: relative;
    padding-bottom: 15px;
}

.site-intro .intro-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #0d6efd;
    border-radius: 2px;
}

.site-intro .intro-description p {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.8;
}

.site-intro .features-title {
    font-weight: 700;
    color: #212529;
    border-left: 4px solid #0d6efd;
    padding-left: 15px;
}

.site-intro .feature-list {
    list-style: none;
    padding: 0;
}

.site-intro .feature-list li {
    padding: 8px 0;
    font-size: 1.05rem;
    color: #495057;
}

.intro-cta .btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.intro-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .site-intro .site-logo {
        max-width: 120px;
    }
    
    .site-intro .site-name {
        font-size: 1.5rem;
    }
    
    .site-intro .intro-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .site-intro .intro-content {
        text-align: center;
    }
    
    .site-intro .intro-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .site-intro .features-title {
        border-left: none;
        text-align: center;
        padding-left: 0;
    }
    
    .site-intro .feature-list {
        text-align: left;
        padding-left: 20px;
    }
    
    .intro-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}
/* Site Intro Section Styles */
.site-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.site-intro:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Q75,50 0,100 Z" fill="rgba(13, 110, 253, 0.05)"/></svg>') no-repeat;
    background-size: cover;
    opacity: 0.7;
}

.site-intro .site-logo {
    border: 3px solid #0d6efd;
    border-radius: 50%;
    padding: 10px;
    display: inline-block;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.site-intro .site-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.site-intro .site-name {
    font-weight: 700;
    color: #0d6efd;
    font-size: 1.8rem;
    margin-top: 15px;
    position: relative;
    display: inline-block;
}

.site-intro .site-name:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0d6efd;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.site-intro .site-name:hover:after {
    transform: scaleX(1);
}

.site-intro .intro-title {
    font-weight: 800;
    color: #212529;
    position: relative;
    padding-bottom: 15px;
}

.site-intro .intro-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #0d6efd;
    border-radius: 2px;
}

.site-intro .intro-description p {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.8;
}

.site-intro .features-title,
.site-intro .services-title {
    font-weight: 700;
    color: #212529;
    border-left: 4px solid #0d6efd;
    padding-left: 15px;
    margin-top: 25px;
}

.site-intro .feature-list {
    list-style: none;
    padding: 0;
}

.site-intro .feature-list li {
    padding: 8px 0;
    font-size: 1.05rem;
    color: #495057;
    position: relative;
    padding-left: 30px;
}

.site-intro .feature-list li i {
    position: absolute;
    left: 0;
    top: 10px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
}

.service-card:hover h4 {
    color: white;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #0d6efd;
}

.service-card:hover .service-icon {
    color: white;
}

.service-card h4 {
    font-size: 1.1rem;
    margin: 0;
    color: #343a40;
}

.intro-cta .btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.intro-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* RTL support */
html[dir="rtl"] .site-intro .intro-title:after,
html[dir="rtl"] .site-intro .features-title,
html[dir="rtl"] .site-intro .services-title {
    border-left: none;
    border-right: 4px solid #0d6efd;
    padding-left: 0;
    padding-right: 15px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .site-intro .site-logo {
        max-width: 120px;
    }
    
    .site-intro .site-name {
        font-size: 1.5rem;
    }
    
    .site-intro .intro-title {
        font-size: 1.8rem;
    }
    
    .site-intro:before {
        width: 60%;
    }
}

@media (max-width: 767px) {
    .site-intro .intro-content {
        text-align: center;
    }
    
    .site-intro .intro-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .site-intro .features-title,
    .site-intro .services-title {
        border-left: none;
        text-align: center;
        padding-left: 0;
    }
    
    .site-intro .feature-list {
        text-align: left;
        padding-left: 20px;
    }
    
    .intro-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .site-intro:before {
        width: 100%;
        opacity: 0.3;
    }
}