/* 
   ملف الأنماط الرئيسي للموقع الإلكتروني للمستشارة ثناء القباطي
   تم تصميمه ليكون متجاوباً مع جميع أحجام الشاشات
*/

/* إعدادات عامة */
:root {
    --primary-color: #0056a6;    /* اللون الأزرق الرئيسي من البطاقة التجارية */
    --secondary-color: #003b73;  /* اللون الأزرق الداكن للتأثيرات */
    --accent-color: #4d97d1;     /* اللون الأزرق الفاتح للتأكيد */
    --light-color: #f4f9fb;      /* لون فاتح للخلفيات */
    --dark-color: #333333;       /* لون داكن للنصوص */
    --gray-color: #f5f5f5;       /* لون رمادي فاتح للخلفيات البديلة */
    --text-color: #444444;       /* لون النصوص الأساسي */
    --border-color: #dddddd;     /* لون الحدود */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    direction: rtl;
}

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

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

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

/* الأزرار */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

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

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

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

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

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* عناوين الأقسام */
.section-title {
    margin-bottom: 40px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

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

/* القائمة العلوية */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--text-color);
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin-right: 20px;
}

.main-menu li:last-child {
    margin-right: 0;
}

.main-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
    padding: 10px 0;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* القسم الرئيسي */
.hero {
    background: linear-gradient(rgba(0, 86, 166, 0.8), rgba(0, 59, 115, 0.8)), url('https://zggntjrn.manus.space/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* نبذة مختصرة */
.about-brief {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* مجالات الخدمات */
.services {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.service-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.service-card p {
    margin-bottom: 20px;
}

/* أبرز البرامج التدريبية */
.featured-programs {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.program-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.program-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.program-details {
    display: flex;
    margin-bottom: 20px;
}

.program-details span {
    margin-left: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.program-details i {
    color: var(--primary-color);
    margin-left: 5px;
}

/* دعوة للتواصل */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 86, 166, 0.9), rgba(0, 59, 115, 0.9)), url('https://zggntjrn.manus.space/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* التذييل */
footer {
    background-color: var(--dark-color);
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-logo p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.footer-links ul li a {
    color: #cccccc;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-left: 10px;
    color: var(--accent-color);
}

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

.footer-bottom p {
    font-size: 0.9rem;
    color: #cccccc;
}

/* صفحة من نحن */
.page-header {
    background: linear-gradient(rgba(0, 86, 166, 0.8), rgba(0, 59, 115, 0.8)), url('https://zggntjrn.manus.space/images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
}

.qualifications-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.qualification-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.qualification-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.qualification-item p {
    margin-bottom: 10px;
}

.experience-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 20px;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-right: 50px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 13px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-item .date {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.vision-mission-section {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vision-mission-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.vision-mission-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.vision-mission-item p {
    margin-bottom: 0;
}

.specialties-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.specialty-item {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.specialty-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.specialty-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* صفحة البرامج التدريبية */
.training-intro {
    padding: 80px 0;
    background-color: #ffffff;
}

.training-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.training-intro-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--light-color);
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.tab-btn.active,
.tab-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.tab-content {
    display: none;
}

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

.training-categories {
    padding: 80px 0;
    background-color: var(--light-color);
}

.category-programs {
    margin-bottom: 60px;
}

.category-programs:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.program-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.program-item:last-child {
    margin-bottom: 0;
}

.program-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.program-meta {
    display: flex;
    margin-bottom: 20px;
}

.program-meta span {
    margin-left: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.program-meta i {
    color: var(--primary-color);
    margin-left: 5px;
}

.program-description {
    margin-bottom: 20px;
}

.program-topics h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.program-topics ul {
    list-style: disc;
    padding-right: 20px;
    margin-bottom: 20px;
}

.program-topics ul li {
    margin-bottom: 5px;
}

.registration-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.registration-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    margin-bottom: 30px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* صفحة الخدمات الاستشارية */
.consulting-intro {
    padding: 80px 0;
    background-color: #ffffff;
}

.consulting-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.consulting-intro-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.methodology-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.methodology-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.methodology-step {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.methodology-step::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--primary-color);
}

.methodology-step:first-child::after {
    display: none;
}

.methodology-step .step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 auto 15px;
}

.methodology-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.consulting-categories {
    padding: 80px 0;
    background-color: #ffffff;
}

.consulting-item {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.consulting-item:last-child {
    margin-bottom: 0;
}

.consulting-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.consulting-item p {
    margin-bottom: 20px;
}

.consulting-services {
    margin-bottom: 20px;
}

.consulting-services h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.consulting-services ul {
    list-style: disc;
    padding-right: 20px;
}

.consulting-services ul li {
    margin-bottom: 5px;
}

.request-service {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.request-steps {
    max-width: 800px;
    margin: 0 auto;
}

/* صفحة التواصل */
.contact-info {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.info-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-form {
    padding: 80px 0;
    background-color: var(--light-color);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-intro {
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.required {
    color: #e74c3c;
}

.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: var(--light-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.faq-toggle {
    color: var(--primary-color);
}

.faq-answer {
    padding: 20px;
    display: none;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* صفحة المدونة */
.blog-content {
    padding: 80px 0;
    background-color: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-post {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.post-meta span {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.post-meta i {
    color: var(--primary-color);
    margin-left: 5px;
}

.post-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.post-excerpt {
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

.read-more i {
    margin-right: 5px;
    transition: all 0.3s ease;
}

.read-more:hover i {
    transform: translateX(-5px);
}

.pagination {
    display: flex;
    justify-content: center;
}

.pagination ul {
    display: flex;
}

.pagination ul li {
    margin: 0 5px;
}

.pagination ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    color: var(--dark-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination ul li.active a,
.pagination ul li a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.newsletter {
    padding: 80px 0;
    background-color: var(--gray-color);
}

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

.newsletter-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.newsletter-content p {
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
}

.newsletter-form .btn {
    border-radius: 0 5px 5px 0;
}

/* وسائل التواصل الاجتماعي */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* تحسينات إضافية */
.required {
    color: #e74c3c;
}

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

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

.mb-50 {
    margin-bottom: 50px;
}

/* بنر الإعلانات */
.banner-ads {
    padding: 60px 0;
    background-color: var(--light-color);
}

.banner-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.banner-slide {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.banner-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.banner-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.banner-content {
    padding: 20px;
    text-align: center;
}

.banner-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.banner-content .btn-link {
    font-weight: 600;
}

.banner-content .btn-link i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.banner-content .btn-link:hover i {
    transform: translateX(-5px);
}

/* صفحة الأرشيف */
.archive-gallery {
    padding: 60px 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* تبويبات البرامج التدريبية والخدمات الاستشارية */
.tabs-container {
    margin: 40px 0;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.tab-btn.active, .tab-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.program-card {
    display: flex;
    margin-bottom: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.program-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.program-image {
    flex: 0 0 200px;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-details {
    flex: 1;
    padding: 20px;
}

.program-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.program-details p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* أنماط صفحة الرسالة والقيم */
.mission-values-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.mission-values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.mission-card, .values-card {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mission-card:hover, .values-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 30px;
}

.mission-card h3, .values-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.mission-card p {
    font-size: 1rem;
    color: var(--text-color);
    text-align: center;
}

.values-card ul {
    list-style: none;
    padding: 0;
}

.values-card li {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.values-card li i {
    color: var(--primary-color);
    margin-left: 10px;
}
