/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2563eb;
    --light-blue: #3b82f6;
    --lighter-blue: #60a5fa;
    --very-light-blue: #dbeafe;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
}

/* أنيميشن للظهور */
@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(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* الهيدر */
.main-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 1.2rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: slideInRight 0.6s ease-out;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2.2rem;
    animation: float 3s ease-in-out infinite;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: right 0.3s ease;
}

.main-nav a:hover::before {
    right: 0;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* المحتوى الرئيسي */
.main-content {
    min-height: calc(100vh - 100px);
    padding: 3rem 0;
    animation: fadeIn 0.8s ease-out;
}

/* السلايدر بالفيديو */
.slider-wrapper {
    margin: 2rem auto;
    max-width: 100%;
}

.slider-title-wrapper {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding: 1.5rem 0;
}

.slider-title {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
}

.slider-title-text {
    display: inline-block;
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 0.5rem 2rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
    animation: fadeInUp 0.8s ease-out, titleGlow 3s ease-in-out infinite;
}

.slider-title-text::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    opacity: 0.1;
    border-radius: 20px;
    z-index: -1;
    filter: blur(20px);
    animation: titlePulse 3s ease-in-out infinite;
}

.slider-title-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    border-radius: 2px;
    animation: titleLine 1.5s ease-out;
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
    }
}

@keyframes titlePulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.05);
    }
}

@keyframes titleLine {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

.video-slider {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    background: #000;
    border: 3px solid var(--light-blue);
    padding: 0.3rem;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 35%; /* نسبة أصغر للسلايدر */
    overflow: hidden;
    background: #000;
    border-radius: 12px;
}

.slider-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* البطاقات */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--lighter-blue));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--lighter-blue);
}

.card-image-wrapper {
    margin: 0 auto 1rem;
    width: 100px;
    height: 100px;
    position: relative;
}

.card-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--very-light-blue);
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.card:hover .card-logo {
    transform: scale(1.05);
    border-color: var(--lighter-blue);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.card p {
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.85rem;
}

.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--light-blue), var(--lighter-blue));
}

.btn:active {
    transform: translateY(-1px);
}

/* قسم العرض */
.section {
    margin: 4rem 0;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    position: relative;
    font-weight: 700;
}

/* صورة الصفحة المدورة في المنتصف */
.page-header-image-center {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.page-header-image-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--lighter-blue));
    border-radius: 2px;
}

.page-image-circle-center {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    background: var(--bg-light);
    transition: transform 0.3s ease;
}

.page-image-circle-center:hover {
    transform: scale(1.1);
}

.section {
    margin-top: 0;
    padding-top: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--lighter-blue));
    border-radius: 2px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.item-card {
    background: var(--white);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out both;
}

.item-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--lighter-blue));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.item-card:hover::after {
    transform: scaleY(1);
}

.item-card:hover {
    transform: translateY(-8px) translateX(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--lighter-blue);
}

.item-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.item-card .info {
    margin: 0.8rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}

.item-card .info i {
    color: var(--light-blue);
    margin-top: 3px;
    flex-shrink: 0;
}

.item-card .phone {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem;
    background: var(--very-light-blue);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.item-card .phone:hover {
    background: var(--lighter-blue);
    color: var(--white);
    transform: scale(1.05);
}

.item-card .phone a {
    color: inherit;
    text-decoration: none;
}

/* النموذج */
/* صفحة إرسال البيانات */
.submit-page-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.submit-hero-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.submit-main-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.submit-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.6;
}

.form-container {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.submit-form {
    padding: 2.5rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--very-light-blue);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--very-light-blue);
}

.form-section-title i {
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.form-section-title i {
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
}

.form-group label i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-light);
    color: var(--text-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-light);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.form-textarea,
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    opacity: 0.7;
}

/* رفع الصورة */
.image-upload-wrapper {
    position: relative;
}

.image-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.image-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: var(--bg-light);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.image-upload-label:hover {
    border-color: var(--primary-blue);
    background: var(--very-light-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.image-upload-label i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.image-upload-label:hover i {
    transform: scale(1.1);
}

.image-upload-label span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.image-upload-label small {
    color: var(--text-gray);
    font-size: 0.85rem;
    opacity: 0.8;
}

.image-preview {
    margin-top: 1rem;
    text-align: center;
    position: relative;
}

.image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: -10px;
    right: calc(50% - 100px);
    width: 35px;
    height: 35px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.preview-remove:hover {
    background: var(--light-blue);
    transform: scale(1.1);
}

.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease-out;
    border-right: 4px solid;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert span {
    flex: 1;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

/* الفوتر */
.main-footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 4rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* صفحة نبذة */
/* صفحة About مع بطاقات الكاتجوري */
.about-page-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.about-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
}

.about-main-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.about-main-title i {
    font-size: 2.2rem;
}

.about-subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin: 0;
}

/* بطاقات الكاتجوري في About */
.about-categories {
    margin-bottom: 3rem;
}

.about-categories .specialty-card {
    text-decoration: none;
    color: inherit;
}

.about-categories .specialty-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.about-categories .specialty-text i {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.about-categories .specialty-text span {
    font-size: 1.1rem;
}

/* صفحة المدونة - محسّنة */
.blog-page-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.blog-hero-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.blog-hero-content {
    flex: 1;
}

.blog-main-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin: 0;
}

.blog-hero-image {
    font-size: 5rem;
    opacity: 0.2;
}

.blog-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.blog-empty-state i {
    font-size: 4rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.blog-empty-state h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.blog-empty-state p {
    color: var(--text-gray);
}

/* صفحة معلومات عننا - محسّنة */
.info-page-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.info-hero-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.info-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-main-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin: 0;
    line-height: 1.6;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.info-card-modern {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card-header {
    background: linear-gradient(135deg, var(--very-light-blue), var(--bg-light));
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.info-icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.info-icon-modern.idea-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.info-icon-modern.services-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.info-icon-modern.contribution-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.info-icon-modern.vision-icon {
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.info-card-header:hover .info-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.info-card-header h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin: 0;
}

.info-card-body {
    padding: 2rem;
}

.info-card-body p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}



.info-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--light-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--very-light-blue);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--bg-light);
    transform: translateX(-5px);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.feature-item div {
    display: flex;
    flex-direction: column;
}

.feature-item strong {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-item span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contribution-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--very-light-blue);
    border-radius: 12px;
    border-right: 4px solid var(--primary-blue);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-content strong {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.step-content span {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.vision-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--very-light-blue), var(--bg-light));
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.stat-item div {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.stat-item span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* صفحة التواصل - محسّنة بشكل احترافي */
.contact-page-wrapper {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Hero Section محسّن */
.contact-hero-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    overflow: hidden;
}

.contact-hero-pattern {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255, 255, 255, 0.05) 50px,
        rgba(255, 255, 255, 0.05) 100px
    );
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.contact-hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.contact-main-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.6;
}

.contact-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.25rem 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    opacity: 0;
    transform: translateY(20px);
}

.contact-stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-stat-item:hover .stat-icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(5deg) scale(1.1);
}

.stat-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
}

.stat-text span {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

.contact-hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* قسم طرق التواصل المباشرة */
.contact-direct-section {
    margin-bottom: 4rem;
}

.section-header-modern {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--very-light-blue);
}

.section-title-modern {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-method-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.contact-method-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-method-card:hover::before {
    opacity: 1;
}

.contact-method-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.email-card:hover {
    border-color: #667eea;
}

.whatsapp-card:hover {
    border-color: #25D366;
}

.phone-card:hover {
    border-color: #4facfe;
}

.contact-method-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.contact-method-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-method-card:hover .contact-method-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-method-pulse {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
}

.contact-method-card:hover .contact-method-pulse {
    width: 140px;
    height: 140px;
    opacity: 0.3;
}

.contact-method-icon.email {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.email-card:hover .contact-method-pulse {
    background: #667eea;
}

.contact-method-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-card:hover .contact-method-pulse {
    background: #25D366;
}

.contact-method-icon.phone {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.phone-card:hover .contact-method-pulse {
    background: #4facfe;
}

.contact-method-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-method-content h3 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.contact-method-content p {
    color: var(--text-gray);
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.contact-value {
    display: block;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--very-light-blue);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-method-card:hover .contact-value {
    background: linear-gradient(135deg, var(--very-light-blue), var(--bg-light));
    transform: scale(1.05);
}

.contact-method-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.75rem 1.5rem;
    background: var(--very-light-blue);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-method-card:hover .contact-method-action {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* قسم وسائل التواصل الاجتماعي - محسّن */
.social-media-section {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.social-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.social-section-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.social-section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin: 0;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.social-link-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: inherit;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.social-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-link-card:hover .social-icon {
    transform: scale(1.1);
}

.social-link-card.facebook .social-icon {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
}

.social-link-card.twitter .social-icon {
    background: linear-gradient(135deg, #1DA1F2, #0D8BD9);
}

.social-link-card.instagram .social-icon {
    background: linear-gradient(135deg, #E4405F, #C13584);
}

.social-link-card.linkedin .social-icon {
    background: linear-gradient(135deg, #0077B5, #005885);
}

.social-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.social-content h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    transition: color 0.3s ease;
}

.social-link-card:hover .social-content h3 {
    color: var(--light-blue);
}

.social-content p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-arrow {
    color: var(--text-gray);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-link-card:hover .social-arrow {
    color: var(--primary-blue);
    transform: translateX(-5px);
}

/* قسم المعلومات الإضافية */
.contact-info-section {
    margin-top: 3rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.info-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--very-light-blue);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1);
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.contact-info-content p {
    color: var(--text-gray);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive improvements */
/* Responsive improvements for info page */
@media (max-width: 1024px) {
    .info-cards-grid {
        gap: 1.5rem;
    }
    
    .info-card-body {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .vision-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .info-hero-section {
        padding: 3rem 1.5rem;
    }
    
    .info-main-title {
        font-size: 2.2rem;
    }
    
    .info-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .info-hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-feature-item {
        width: 100%;
    }
    
    .info-card-header {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .info-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .info-card-header h3 {
        font-size: 1.3rem;
    }
    
    .info-card-body {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vision-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contribution-steps {
        gap: 1rem;
    }
    
    .step-item {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .contact-hero-section {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-main-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .social-link-card {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .suggest-page-wrapper,
    .report-page-wrapper {
        padding: 0 0.75rem;
    }
    
    .suggest-header,
    .report-header {
        padding: 2rem 1.5rem;
    }
    
    .suggest-main-title,
    .report-main-title {
        font-size: 2rem;
    }
    
    .suggest-subtitle,
    .report-subtitle {
        font-size: 1.1rem;
    }
    
    .suggest-form-container,
    .report-form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .header-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-feature {
        width: 100%;
    }
}

/* صفحات النماذج - محسّنة بشكل احترافي */
.suggest-page-wrapper,
.report-page-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.suggest-header,
.report-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    box-shadow: var(--shadow-md);
}

.suggest-main-title,
.report-main-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.suggest-subtitle,
.report-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.6;
}

.suggest-main-title,
.report-main-title {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.suggest-subtitle,
.report-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

/* تحسينات النماذج */
.suggest-form-container,
.report-form-container {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}


.form-header-info {
    margin-bottom: 2rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    border-right: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.info-card.warning-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-right-color: #f59e0b;
}

.info-card i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-card.warning-card i {
    color: #f59e0b;
}

.info-card strong {
    display: block;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-card.warning-card strong {
    color: #92400e;
}

.info-card p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--very-light-blue);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--very-light-blue);
}

.form-section-title i {
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.suggest-form,
.report-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.form-group.focused {
    transform: translateX(-3px);
}

.form-group label {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.form-group.focused label {
    color: var(--light-blue);
}

.form-group label i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-group.focused label i {
    color: var(--light-blue);
    transform: scale(1.1);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
    display: block;
    opacity: 1;
    visibility: visible;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232563eb' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.5rem;
    cursor: pointer;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
    background: #fafbfc;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--light-blue);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.7;
}

.form-help {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: -0.5rem;
}

.form-help i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.char-counter {
    text-align: left;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.char-counter span {
    color: var(--primary-blue);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-submit,
.btn-secondary {
    flex: 1;
    min-width: 150px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.15rem;
}

/* تحسينات Alert */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-right: 4px solid;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.alert div {
    flex: 1;
}

.alert strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.alert p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-right-color: #10b981;
}

.alert-success i {
    color: #10b981;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-right-color: #ef4444;
}

.alert-error i {
    color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .suggest-page-wrapper,
    .report-page-wrapper {
        padding: 0 0.5rem;
    }
    
    .suggest-header,
    .report-header {
        padding: 2.5rem 1.5rem;
    }
    
    .header-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .suggest-main-title,
    .report-main-title {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .suggest-subtitle,
    .report-subtitle {
        font-size: 1.1rem;
    }
    
    .header-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-feature {
        width: 100%;
        justify-content: center;
    }
    
    .suggest-form-container,
    .report-form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit,
    .btn-secondary {
        width: 100%;
    }
    
    .form-section-title {
        font-size: 1.2rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
}

/* قائمة المقالات - نظام بطاقات احترافي */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card-modern {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.article-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card-modern:hover .article-card-image img {
    transform: scale(1.08);
}

.article-card-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85), rgba(59, 130, 246, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card-modern:hover .article-card-overlay {
    opacity: 1;
}

.article-read-icon {
    color: var(--white);
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.article-card-modern:hover .article-read-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(255, 255, 255, 0.3);
}

.article-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.article-meta-item {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.article-meta-item i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.article-card-title {
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.article-card-modern:hover .article-card-title {
    color: var(--light-blue);
}

.article-card-excerpt {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.article-read-more {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.article-card-modern:hover .article-read-more {
    color: var(--light-blue);
    gap: 0.75rem;
}

.article-read-more i {
    transition: transform 0.3s ease;
}

.article-card-modern:hover .article-read-more i {
    transform: translateX(-3px);
}

/* Responsive للبطاقات */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-card-image {
        height: 200px;
    }
    
    .article-card-content {
        padding: 1.25rem;
    }
    
    .article-card-title {
        font-size: 1.25rem;
    }
}

/* صفحة المقال - محسّنة */
.article-page-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1.25rem;
    background: var(--very-light-blue);
    border-radius: 12px;
    border: 2px solid transparent;
}

.article-back-link:hover {
    color: var(--light-blue);
    gap: 0.75rem;
    border-color: var(--primary-blue);
    background: var(--white);
    transform: translateX(-5px);
}

.article-post {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.article-post-header {
    padding: 2.5rem 2.5rem 2rem;
    border-bottom: 2px solid var(--very-light-blue);
}

.article-post-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

.article-post-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.article-meta-item i {
    color: var(--primary-blue);
    font-size: 1rem;
}

.article-post-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: var(--bg-light);
}

.article-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-post-content {
    padding: 2.5rem;
}

.article-excerpt-box {
    background: linear-gradient(135deg, var(--very-light-blue), var(--bg-light));
    padding: 1.5rem;
    border-radius: 12px;
    border-right: 4px solid var(--primary-blue);
    margin-bottom: 2rem;
}

.article-excerpt-box p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

.article-body-content {
    line-height: 1.9;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.article-body-content h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--very-light-blue);
}

.article-body-content h3 {
    color: var(--light-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
}

.article-body-content h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.article-body-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.article-body-content ul,
.article-body-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
    padding: 0;
    line-height: 1.9;
}

.article-body-content li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.article-body-content strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.article-body-content a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.article-body-content a:hover {
    color: var(--light-blue);
    border-bottom-color: var(--light-blue);
}

.article-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.article-body-content blockquote {
    border-right: 4px solid var(--primary-blue);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--very-light-blue);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-gray);
}

.article-body-content code {
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-blue);
}

.article-body-content pre {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.article-body-content pre code {
    background: none;
    padding: 0;
    color: var(--text-dark);
}

/* صفحات النماذج */
.suggest-form-container,
.report-form-container,
.contact-form-container {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    margin-top: 2rem;
}

.info-content-section {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
    }
    
    .article-thumbnail {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
    
    .article-back-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .article-post-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .article-post-title {
        font-size: 2rem;
    }
    
    .article-post-meta {
        gap: 1.25rem;
        font-size: 0.9rem;
    }
    
    .article-post-image {
        height: 250px;
    }
    
    .article-post-content {
        padding: 2rem 1.5rem;
    }
    
    .article-excerpt-box {
        padding: 1.25rem;
    }
    
    .article-excerpt-box p {
        font-size: 1rem;
    }
    
    .article-body-content {
        font-size: 1rem;
    }
    
    .article-body-content h2 {
        font-size: 1.5rem;
    }
    
    .article-body-content h3 {
        font-size: 1.3rem;
    }
    
    .article-body-content h4 {
        font-size: 1.2rem;
    }
    
    .suggest-form-container,
    .report-form-container,
    .contact-form-container,
    .info-content-section {
        padding: 1.5rem;
    }
    
    .info-hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .info-hero-image {
        display: none;
    }
    
    .info-main-title {
        font-size: 2rem;
    }
    
    .info-hero-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-main-title {
        font-size: 2rem;
    }
    
    .contact-hero-section {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .contact-hero-stats {
        gap: 1rem;
    }
    
    .contact-stat-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .section-title-modern {
        font-size: 1.8rem;
    }
    
    .social-section-title {
        font-size: 2rem;
    }
    
    .contact-info-section {
        grid-template-columns: 1fr;
    }
    
    .social-media-section {
        padding: 2rem 1.5rem;
    }
}

.section-description {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.category-content-inner {
    animation: fadeInUp 0.5s ease-out;
}

/* مقالات */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.article-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.article-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.article-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: var(--light-blue);
    gap: 0.75rem;
}

/* معلومات عننا */
.info-section {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    border-right: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.7;
}

.features-list li i {
    color: var(--primary-blue);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* نماذج */
.suggest-form,
.report-form,
.contact-form {
    max-width: 700px;
    margin: 2rem auto 0;
}

/* معلومات الاتصال */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.contact-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--light-blue);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .about-main-title {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .tabs-nav {
        flex-wrap: nowrap;
    }
    
    .tab-btn {
        min-width: 120px;
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .tab-btn i {
        font-size: 1.3rem;
    }
    
    .tab-btn span {
        font-size: 0.8rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .tab-content-inner h2 {
        font-size: 1.5rem;
    }
    
    .articles-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .suggest-form,
    .report-form,
    .contact-form {
        max-width: 100%;
    }
}

.about-content {
    max-width: 850px;
    margin: 3rem auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease-out;
}

.about-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.about-content h3 {
    color: var(--light-blue);
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.about-content p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.about-content ul {
    margin-right: 2rem;
    margin-bottom: 1.5rem;
}

.about-content li {
    margin-bottom: 0.8rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-content a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-content a:hover {
    color: var(--light-blue);
    text-decoration: underline;
}


@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.3rem;
    }
    
    .card {
        padding: 1.6rem;
    }
    
    .card-image-wrapper {
        width: 110px;
        height: 110px;
    }
    
    .card h3 {
        font-size: 1.3rem;
    }
    
    .card p {
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .card {
        padding: 1.8rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main-nav ul {
        justify-content: center;
        gap: 1rem;
    }
    
    .slider-title-wrapper {
        margin-bottom: 1.5rem;
        padding: 1rem 0;
    }
    
    .slider-title-text {
        font-size: 2rem;
        padding: 0.4rem 1.5rem;
    }
    
    .slider-title-text::after {
        width: 60px;
        bottom: -8px;
    }
    
    .video-slider {
        margin-bottom: 1.5rem;
        border-radius: 12px;
        padding: 0.25rem;
    }
    
    .slider-container {
        padding-bottom: 40%; /* نسبة أكبر قليلاً على الشاشات المتوسطة */
        border-radius: 10px;
    }
    
    .slider-video {
        border-radius: 10px;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .submit-page-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .submit-hero-section {
        padding: 2.5rem 1.5rem;
    }
    
    .submit-main-title {
        font-size: 2rem;
    }
    
    .submit-subtitle {
        font-size: 1.1rem;
    }
    
    .submit-form {
        padding: 2rem 1.5rem;
    }
    
    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .form-section-title {
        font-size: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .btn-submit {
        width: 100%;
        max-width: 100%;
    }
    
    .about-content {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .logo i {
        font-size: 1.8rem;
    }
    
    .main-nav a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .slider-title-wrapper {
        margin-bottom: 1rem;
        padding: 0.8rem 0;
    }
    
    .slider-title-text {
        font-size: 1.6rem;
        padding: 0.3rem 1rem;
    }
    
    .slider-title-text::after {
        width: 50px;
        bottom: -6px;
        height: 3px;
    }
    
    .video-slider {
        margin-bottom: 1rem;
        border-radius: 10px;
        padding: 0.2rem;
    }
    
    .slider-container {
        padding-bottom: 45%; /* نسبة أكبر على الموبايل */
        border-radius: 8px;
    }
    
    .slider-video {
        border-radius: 8px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .card {
        padding: 1.2rem;
    }
    
    .card-image-wrapper {
        width: 85px;
        height: 85px;
        margin-bottom: 0.8rem;
    }
    
    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .card p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 0.55rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* تحسينات إضافية للأنيميشن */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* تأثيرات التمرير */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* تأثير Ripple للزر */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* بطاقات الأطباء الجديدة */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin: 2rem 0;
}

.doctor-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--lighter-blue));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.doctor-card:hover::before {
    transform: scaleX(1);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--lighter-blue);
}

.doctor-image-wrapper {
    margin: 0 auto 1rem;
    width: 110px;
    height: 110px;
    position: relative;
}

.doctor-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--very-light-blue);
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.doctor-card:hover .doctor-image {
    transform: scale(1.03);
    border-color: var(--lighter-blue);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.doctor-info {
    text-align: center;
}

.doctor-name {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.doctor-specialty {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.doctor-specialty i {
    color: var(--light-blue);
    font-size: 0.85rem;
}

.doctor-address {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1.4;
}

.doctor-address i {
    color: var(--light-blue);
    font-size: 0.85rem;
}

.doctor-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    justify-content: center;
}

.btn-action {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-call {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-call:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--light-blue), var(--lighter-blue));
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.doctor-rating-section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.btn-rating,
.btn-reviews {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--primary-blue);
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.btn-rating:hover,
.btn-reviews:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #3b82f6 100%);
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3), 0 2px 6px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-blue);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 800;
}

.review-count {
    background: var(--very-light-blue);
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.01em;
    line-height: 1.2;
    box-shadow: inset 0 1px 2px rgba(37, 99, 235, 0.1);
}

.btn-rating:hover .review-count,
.btn-reviews:hover .review-count {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-weight: 800;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.doctor-avg-rating {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.doctor-avg-rating .stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 0.3rem;
}

.doctor-avg-rating .stars i {
    color: #d1d5db;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.doctor-avg-rating .stars i.active {
    color: #fbbf24;
}

.rating-text {
    color: var(--text-gray);
    font-size: 0.75rem;
}

/* النوافذ المنبثقة */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 3% auto;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: fadeInUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.close {
    color: var(--text-gray);
    float: left;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

/* تقييم النجوم */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 5px;
    margin: 1rem 0;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label.star {
    font-size: 2.5rem;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.star-rating label.star:hover,
.star-rating label.star:hover ~ label.star {
    color: #fbbf24;
}

.star-rating input[type="radio"]:checked ~ label.star {
    color: #fbbf24;
}

.star-rating input[type="radio"]:checked + label.star ~ label.star {
    color: #fbbf24;
}

/* التقييمات */
.review-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-header strong {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars i {
    color: #d1d5db;
    font-size: 1rem;
}

.review-stars i.active {
    color: #fbbf24;
}

.review-comment {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    text-align: right;
}

.review-date {
    color: var(--text-gray);
    font-size: 0.85rem;
    opacity: 0.7;
}

.no-reviews,
.loading {
    text-align: center;
    color: var(--text-gray);
    padding: 2rem;
    font-size: 1.1rem;
}

.error {
    text-align: center;
    color: #ef4444;
    padding: 2rem;
}

.form-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--very-light-blue);
    text-align: center;
}

.btn-submit {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
    position: absolute;
    right: 1rem;
}

.btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-submit .fa-paper-plane {
    transition: transform 0.3s ease;
}

.btn-submit:hover .fa-paper-plane {
    transform: translateX(-3px);
}

.form-note {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--very-light-blue);
    border-radius: 12px;
    color: var(--text-gray);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-right: 3px solid var(--primary-blue);
}

.form-note i {
    color: var(--primary-blue);
    font-size: 1rem;
}

/* Responsive للبطاقات */
@media (min-width: 640px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .doctor-card {
        padding: 1.6rem;
    }
    
    .doctor-image-wrapper {
        width: 105px;
        height: 105px;
    }
}

@media (min-width: 768px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.3rem;
    }
    
    .doctor-card {
        padding: 1.8rem;
    }
    
    .doctor-image-wrapper {
        width: 115px;
        height: 115px;
        margin-bottom: 1rem;
    }
    
    .doctor-name {
        font-size: 1.2rem;
    }
    
    .doctor-specialty {
        font-size: 0.95rem;
    }
    
    .doctor-address {
        font-size: 0.85rem;
    }
    
    .btn-action {
        font-size: 0.9rem;
        padding: 0.65rem 0.9rem;
    }
    
    .doctor-actions {
        flex-direction: row;
        margin-bottom: 0.6rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
        margin: 5% auto;
    }
    
    .star-rating label.star {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .doctor-card {
        padding: 2rem;
    }
    
    .doctor-image-wrapper {
        width: 125px;
        height: 125px;
        margin-bottom: 1.2rem;
    }
    
    .doctor-name {
        font-size: 1.25rem;
    }
    
    .doctor-specialty {
        font-size: 1rem;
    }
    
    .doctor-address {
        font-size: 0.9rem;
    }
    
    .btn-action {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
    }
}

@media (min-width: 1280px) {
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
    }
    
    .doctor-card {
        padding: 2.2rem;
    }
    
    .doctor-image-wrapper {
        width: 135px;
        height: 135px;
        margin-bottom: 1.2rem;
    }
    
    .doctor-name {
        font-size: 1.3rem;
    }
    
    .doctor-specialty {
        font-size: 1.05rem;
    }
    
    .doctor-address {
        font-size: 0.95rem;
    }
    
    .btn-action {
        font-size: 1rem;
        padding: 0.75rem 1.1rem;
    }
}

@media (min-width: 1536px) {
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .doctor-card {
        padding: 2.5rem;
    }
    
    .doctor-image-wrapper {
        width: 145px;
        height: 145px;
        margin-bottom: 1.5rem;
    }
    
    .doctor-name {
        font-size: 1.35rem;
    }
    
    .doctor-specialty {
        font-size: 1.1rem;
    }
    
    .doctor-address {
        font-size: 1rem;
    }
    
    .btn-action {
        font-size: 1.05rem;
        padding: 0.8rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .doctor-card {
        padding: 1.5rem 1.2rem;
        max-width: 100%;
    }
    
    .doctor-image-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 0.8rem;
    }
    
    .doctor-name {
        font-size: 1.15rem;
    }
    
    .doctor-specialty {
        font-size: 0.9rem;
    }
    
    .doctor-address {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .doctor-actions {
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 0.6rem;
    }
    
    .btn-action {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .doctor-rating-section {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
    
    .btn-rating,
    .btn-reviews {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.02em;
    }
    
    .review-count {
        font-size: 0.75rem;
        padding: 2px 8px;
        font-weight: 700;
    }
    
    .doctor-avg-rating {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
}

/* الشريط السفلي للتنقل */
.bottom-nav {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 
        0 -12px 40px rgba(0, 0, 0, 0.08),
        0 -4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    gap: 0.5rem;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    padding: 0.75rem 0.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    min-height: 72px;
    justify-self: stretch;
    gap: 0.35rem;
    overflow: hidden;
    background: transparent;
}

.bottom-nav .nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(59, 130, 246, 0.18) 50%, rgba(96, 165, 250, 0.12) 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 0;
    opacity: 0;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.bottom-nav .nav-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 30%, #60a5fa 60%, #93c5fd 100%);
    border-radius: 0 0 4px 4px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    box-shadow: 
        0 3px 16px rgba(37, 99, 235, 0.4),
        0 1px 4px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bottom-nav .nav-item i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.bottom-nav .nav-item span {
    font-size: 0.72rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.bottom-nav .nav-item:hover {
    color: #2563eb;
    transform: translateY(-4px) scale(1.03);
}

.bottom-nav .nav-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    box-shadow: 
        inset 0 1px 3px rgba(255, 255, 255, 0.4),
        0 4px 12px rgba(37, 99, 235, 0.15);
}

.bottom-nav .nav-item:hover i {
    transform: scale(1.2) translateY(-3px);
    color: #2563eb;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.bottom-nav .nav-item:hover span {
    color: #2563eb;
    transform: translateY(-2px);
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}

.bottom-nav .nav-item.active {
    color: #2563eb;
}

.bottom-nav .nav-item.active::after {
    width: 50px;
    transform: translateX(-50%) scaleX(1);
}

.bottom-nav .nav-item.active::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(59, 130, 246, 0.22) 50%, rgba(96, 165, 250, 0.15) 100%);
    box-shadow: 
        inset 0 1px 3px rgba(255, 255, 255, 0.5),
        0 6px 16px rgba(37, 99, 235, 0.2),
        inset 0 -1px 2px rgba(37, 99, 235, 0.1);
}

.bottom-nav .nav-item.active i {
    transform: scale(1.25) translateY(-3px);
    color: #2563eb;
    filter: drop-shadow(0 5px 10px rgba(37, 99, 235, 0.4));
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.bottom-nav .nav-item.active span {
    color: #2563eb;
    font-weight: 800;
    transform: translateY(-2px);
    text-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

/* تحسينات للشريط السفلي على الشاشات الصغيرة */
@media (max-width: 480px) {
    .bottom-nav {
        padding: 0.65rem 0.5rem calc(0.65rem + env(safe-area-inset-bottom));
        gap: 0.35rem;
        box-shadow: 
            0 -10px 32px rgba(0, 0, 0, 0.1),
            0 -3px 8px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    
    .bottom-nav .nav-item {
        padding: 0.65rem 0.4rem;
        min-height: 68px;
        border-radius: 18px;
        gap: 0.3rem;
    }
    
    .bottom-nav .nav-item i {
        font-size: 1.35rem;
        margin-bottom: 0.2rem;
    }
    
    .bottom-nav .nav-item span {
        font-size: 0.68rem;
    }
    
    .bottom-nav .nav-item.active::after {
        width: 42px;
        height: 3.5px;
    }
    
    .bottom-nav .nav-item:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

/* تحسينات للشريط السفلي على الشاشات الكبيرة */
@media (min-width: 768px) {
    .bottom-nav {
        border-radius: 0;
        padding: 0.85rem 1.5rem calc(0.85rem + env(safe-area-inset-bottom));
        gap: 0.6rem;
        box-shadow: 
            0 -16px 48px rgba(0, 0, 0, 0.1),
            0 -6px 16px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    }
    
    .bottom-nav .nav-item {
        padding: 0.85rem 0.75rem;
        min-height: 78px;
        border-radius: 22px;
        gap: 0.4rem;
    }
    
    .bottom-nav .nav-item i {
        font-size: 1.6rem;
    }
    
    .bottom-nav .nav-item span {
        font-size: 0.78rem;
    }
    
    .bottom-nav .nav-item.active::after {
        width: 55px;
        height: 4.5px;
    }
    
    .bottom-nav .nav-item:hover {
        transform: translateY(-5px) scale(1.04);
    }
}

/* إضافة مسافة من الأسفل للمحتوى لتجنب التداخل مع الشريط السفلي */
.main-content {
    padding-bottom: 100px;
}

@media (max-width: 480px) {
    .main-content {
        padding-bottom: 90px;
    }
}

/* إخفاء الهيدر والفوتر */
.main-header,
.main-footer {
    display: none !important;
}

/* فئات التخصصات */
.specialties-filter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 3rem;
    padding: 0;
}

.specialty-card {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    min-height: 130px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.specialty-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.specialty-card.active {
    box-shadow: 0 0 0 3px var(--primary-blue), var(--shadow-lg);
}

.specialty-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.specialty-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85), rgba(59, 130, 246, 0.9));
    transition: background 0.3s ease;
}

.specialty-card:hover .specialty-image::after {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 1));
}

.specialty-text {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    padding: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialty-text span {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.specialty-card:hover .specialty-text span {
    transform: translateY(-3px) scale(1.08);
    font-size: 1.5rem;
}

.specialty-card.active .specialty-text span {
    color: var(--white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive للفئات */
@media (min-width: 480px) {
    .specialties-filter {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) {
    .specialties-filter {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .specialties-filter {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .specialty-card {
        min-height: 140px;
    }
    
    .specialty-text span {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .specialties-filter {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .specialty-card {
        min-height: 150px;
    }
    
    .specialty-text span {
        font-size: 1.6rem;
    }
}

@media (min-width: 1280px) {
    .specialties-filter {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1536px) {
    .specialties-filter {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 480px) {
    .specialties-filter {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .specialty-card {
        min-height: 110px;
    }
    
    .specialty-text {
        padding: 0.8rem;
    }
    
    .specialty-text span {
        font-size: 1.2rem;
    }
}

/* ============================================
   شريط البحث الاحترافي البسيط
   ============================================ */
.search-bar-wrapper {
    margin: 2.5rem 0;
    animation: fadeInUp 0.5s ease-out;
}

.search-form {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-input-group:hover {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.search-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), 0 4px 25px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.search-icon {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-right: 1rem;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.search-input-group:focus-within .search-icon {
    color: var(--primary-blue);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    padding: 1rem 0.5rem;
    color: var(--text-dark);
    background: transparent;
    font-family: 'Cairo', sans-serif;
}

.search-input::placeholder {
    color: var(--text-gray);
    opacity: 0.6;
}

.search-clear-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.search-clear-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.search-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

/* ============================================
   صفحة نتائج البحث
   ============================================ */
.search-results-wrapper {
    padding: 2rem 0;
    animation: fadeInUp 0.6s ease-out;
}

.search-results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-results-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.search-results-title i {
    color: var(--primary-blue);
}

.search-query-text {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.search-query-text strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.results-count {
    color: var(--text-gray);
    font-size: 1rem;
    margin-right: 0.5rem;
}

.search-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.search-empty-state i {
    font-size: 4rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.search-empty-state h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.search-empty-state p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.search-results-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.search-category-section {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.search-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.search-category-header i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.search-category-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    flex: 1;
}

.category-count {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.search-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .search-results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.search-result-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.result-image,
.result-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-icon i {
    font-size: 2rem;
    color: var(--white);
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.result-specialty,
.result-phone,
.result-address {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-specialty i,
.result-phone i,
.result-address i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.result-phone a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-phone a:hover {
    color: var(--light-blue);
    text-decoration: underline;
}

.result-link {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
}

.search-result-card:hover .result-link {
    opacity: 1;
}

.result-link:hover {
    background: var(--light-blue);
    transform: translateY(-50%) scale(1.1);
}

.view-all-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.btn-view-all {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Responsive لشريط البحث */
@media (max-width: 768px) {
    .search-bar-wrapper {
        margin: 2rem 0;
    }
    
    .search-input-group {
        padding: 0.4rem;
        border-radius: 30px;
    }
    
    .search-icon {
        font-size: 1rem;
        margin-right: 0.75rem;
        margin-left: 0.5rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 0.875rem 0.5rem;
    }
    
    .search-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .search-bar-wrapper {
        margin: 1.5rem 0;
    }
    
    .search-input-group {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 0.5rem;
    }
    
    .search-icon {
        order: 1;
        margin-right: 0.5rem;
        margin-left: 0.5rem;
    }
    
    .search-input {
        order: 2;
        flex: 1 1 calc(100% - 120px);
        min-width: 0;
        padding: 0.75rem;
    }
    
    .search-clear-btn {
        order: 3;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .search-btn {
        order: 4;
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        margin-top: 0.5rem;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .search-input-group {
        padding: 0.4rem;
    }
    
    .search-input {
        font-size: 0.95rem;
        padding: 0.7rem;
    }
    
    .search-btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
}

/* Responsive لصفحة نتائج البحث */
@media (max-width: 768px) {
    .search-results-title {
        font-size: 2rem;
    }
    
    .search-category-section {
        padding: 1.5rem;
    }
    
    .search-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .result-link {
        position: static;
        transform: none;
        opacity: 1;
        margin-top: 1rem;
    }
}

@media (max-width: 640px) {
    .search-results-title {
        font-size: 1.75rem;
    }
    
    .search-query-text {
        font-size: 1rem;
    }
}

/* ============================================
   Pagination
   ============================================ */
.pagination-wrapper {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.pagination-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination-btn:disabled,
.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-page {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    width: 45px;
    height: 45px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.pagination-page:hover {
    background: var(--very-light-blue);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.pagination-page.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.pagination-dots {
    color: var(--text-gray);
    padding: 0 0.5rem;
}

.pagination-info {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .pagination {
        gap: 0.3rem;
    }
    
    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .pagination-page {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .pagination-info {
        font-size: 0.85rem;
    }
}