/*
  Theme Name:   gooalplus — GooalPlus Edition
  Theme URI:    https://gooalplus.com/
  Description:  Beautiful, Powerful & Flexible WordPress Theme for News, Magazine and Blog websites. مُكيّف خصيصاً لموقع GooalPlus
  Author:       فريق التصميم والبرمجة في GooalPlus
  Author URI:   https://gooalplus.com/
  Version:      7.1.0
  License:      license purchased
  License URI:  https://gooalplus.com/licenses/regular_extended
  Tags:         two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
  Text Domain:  gooalplus
  Tested up to: 6.4
  Requires at least: 5.0
*/

/* ==== تصميم صفحات موقع GooalPlus ==== */

/* المتغيرات الرئيسية */
:root {
    --gooalplus-bg: #f4f6f9;
    --gooalplus-frame-bg: #ffffff;
    --gooalplus-primary-text: #2c3e50;
    --gooalplus-accent-1: #c0392b;
    --gooalplus-title-bg: rgba(44, 62, 80, 0.95);
    --gooalplus-border-color: #e9ebee;
    --gooalplus-font: 'Cairo', sans-serif;
    --gooalplus-gap: 15px;
}

/* تصميم الإطار الرئيسي للصفحة */
.gooalplus-main-frame {
    max-width: 1350px;
    margin: var(--gooalplus-gap) auto;
    padding: var(--gooalplus-gap);
    background-color: var(--gooalplus-frame-bg);
    border-radius: 5px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.gooalplus-section {
    margin-bottom: calc(var(--gooalplus-gap) * 2);
}

/* تصميم عناوين الأقسام */
.section-title-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.section-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    padding: 10px 18px;
    color: #fff;
    background-color: var(--gooalplus-title-bg);
    border-radius: 5px;
}

.section-title .icon-svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* تصميم وصف القسم */
.gooalplus-category-description {
    background-color: #f8f9fa;
    color: #555;
    border-right: 4px solid var(--gooalplus-accent-1);
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    font-size: 15px;
    line-height: 1.7;
}

/* تصميم مربع الأقسام الفرعية */
.gooalplus-sub-cats-box {
    background-color: #f8f9fa;
    border: 1px solid var(--gooalplus-border-color);
    padding: var(--gooalplus-gap);
    border-radius: 5px;
    margin-bottom: var(--gooalplus-gap);
}

.gooalplus-sub-cats-box strong {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.gooalplus-sub-cats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.gooalplus-sub-cats-grid a {
    text-decoration: none;
    background-color: #e9ecef;
    color: var(--gooalplus-primary-text);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.gooalplus-sub-cats-grid a:hover,
.gooalplus-sub-cats-grid a.current-cat-link {
    background-color: var(--gooalplus-accent-1);
    color: #fff;
}

/* تصميم شبكة المقالات */
.gooalplus-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gooalplus-gap);
}

.gooalplus-post-card {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.gooalplus-post-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--gooalplus-accent-1);
}

.gooalplus-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gooalplus-card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.gooalplus-card-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    border-radius: 5px 5px 0 0;
}

.gooalplus-card-image-wrapper img.loaded {
    opacity: 1;
}

.gooalplus-card-date {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    z-index: 3;
}

.gooalplus-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    padding: 12px;
    margin: 0;
    height: 72px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === تصميم ترقيم الصفحات (مع الإصلاح) === */
.gooalplus-pagination-container {
    margin-top: calc(var(--gooalplus-gap) * 2);
    padding: var(--gooalplus-gap);
    background-color: #f8f9fa;
    border-radius: 5px;
}
/* هذا هو السطر الذي تم إصلاحه */
.gooalplus-pagination-container .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    list-style: none;
    margin: 0;
}

.gooalplus-pagination-container .page-numbers li a,
.gooalplus-pagination-container .page-numbers li span {
    display: block;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid var(--gooalplus-border-color);
    color: var(--gooalplus-primary-text);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gooalplus-pagination-container .page-numbers li a:hover {
    background-color: var(--gooalplus-accent-1);
    color: #fff;
    border-color: var(--gooalplus-accent-1);
}

.gooalplus-pagination-container .page-numbers li span.current {
    background-color: var(--gooalplus-accent-1);
    color: #fff;
    border-color: var(--gooalplus-accent-1);
    cursor: default;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}


/* === تصميم متجاوب === */
@media (max-width: 1200px) {
    .gooalplus-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .gooalplus-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* === تصميم قسم الأقسام (ثابت بدون حركة) === */
.gooalplus-top-cats-box {
    padding: var(--gooalplus-gap);
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: var(--gooalplus-gap);
    border: 1px solid var(--gooalplus-border-color);
}

.gooalplus-cats-grid {
    display: grid;
    gap: var(--gooalplus-gap);
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.gooalplus-cat-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid var(--gooalplus-border-color);
    text-decoration: none;
    color: var(--gooalplus-primary-text);
    font-weight: 600;
    font-size: 14px;
    /* تم تعديل الانتقال ليؤثر على الألوان فقط وليس الحركة
    */
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.gooalplus-cat-box:hover {
    /*
      تم حذف transform و box-shadow لإزالة الحركة والظل
    */
    background-color: var(--gooalplus-accent-1);
    color: #fff;
    border-color: var(--gooalplus-accent-1);
}

.gooalplus-cat-box .icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}


.gooalplus-featured-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;          /* يحجز المساحة بالنسبة 16:9 */
    background: #e0e0e0;         /* placeholder لون افتراضي */
    overflow: hidden;
}

/* الصورة مخفية أولًا */
.gooalplus-lazy-featured {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

/* بعد التحميل يصبح ظاهر */
.gooalplus-featured-container.loaded .gooalplus-lazy-featured {
    opacity: 1;
}

/* النص البديل */
.gooalplus-alt-overlay {
    position: absolute;
    bottom: 10px; 
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: .9em;
    pointer-events: none;
}

/* التاريخ بخلفية شفافة */
.gooalplus-date-overlay {
    position: absolute;
    top: 10px; 
    right: 10px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 4px 6px;
    border-radius: 3px;
    font-size: .85em;
    pointer-events: none;
    z-index: 5;
}


.gooalplus-news-meta {
    position: relative;
    width: 100%;
    margin: 20px 0;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.4);  /* خلفية شفافة */
    backdrop-filter: blur(5px);             /* بلور خفيف */
    border: 2px solid rgba(0, 64, 104, 0.8);
    border-radius: 12px;
    box-sizing: border-box;
    min-height: 48px;                       /* يحجز ارتفاع مناسب */
}

/* القسم – شمال */
.gooalplus-news-meta .news-category {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95em;
    color: #004068;
}

/* التاريخ – في المنتصف */
.gooalplus-news-meta .news-date {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.95em;
    color: #004068;
    font-weight: 500;
}

/* الكاتب – يمين */
.gooalplus-news-meta .news-author {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95em;
    color: #004068;
    font-weight: 500;
    cursor: pointer;
}

/* tooltip عند المرور على اسم الكاتب */
.gooalplus-news-meta .news-author:hover::after {
    content: "تمت المراجعة بواسطة " attr(data-author);
    position: absolute;
    bottom: -30px;        /* يظهر تحت الاسم */
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.85em;
    z-index: 10;
    pointer-events: none;
}

.gooalplus-breadcrumb-box {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0;
    padding: 0.6em 1em;
    background-color: #ffffff;
    border: 2px solid #004068;
    border-radius: 6px;
    font-size: 1rem;
    align-items: center;
    gap: 0.5rem;
}

.gooalplus-breadcrumb-box .gooalplus-breadcrumb-item {
    color: #004068;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}

.gooalplus-breadcrumb-box .gooalplus-breadcrumb-item:hover,
.gooalplus-breadcrumb-box .gooalplus-breadcrumb-item:focus {
    color: #002d4a;
    text-decoration: underline;
}

.gooalplus-breadcrumb-box .gooalplus-breadcrumb-sep {
    color: #004068;
    font-weight: bold;
}


.gooalplus-post-title {
    /* مساحة حول العنوان */
    margin: 0 0 1rem;
    /* حجم متجاوب بين 1.75 و2.5 ريم حسب عرض الشاشة */
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    color: #004068;
    /* سلسلة خطوط النظام لتجنب تحميل Web‑Fonts */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    /* تحسين رسم النص */
    text-rendering: optimizeLegibility;
    /* عزل إعادة الترسيم في هذا العنصر فقط */
    contain: content;
}


.gooalplus-latest-news {
    border: 2px solid #004068;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    background: #ffffff;
    box-sizing: border-box;
}

.gooalplus-latest-news-title {
    margin: 0 0 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #004068;
}

.gooalplus-latest-items {
    display: flex;
    flex-direction: column;
    gap: 10px; /* فراغ 10px بين المربعات */
}

.gooalplus-latest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #004068; /* مربع حول كل عنوان */
    border-radius: 4px;
    background: #f9f9f9;
    transition: background .2s, transform .2s;
    box-sizing: border-box;
}

.gooalplus-latest-item:hover {
    background: #eef6f9;
    transform: translateX(4px);
}

.gooalplus-latest-link {
    flex: 1;
    text-decoration: none;
    color: #004068;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.gooalplus-latest-date {
    font-size: 0.85em;
    color: #555;
    white-space: nowrap;
    margin-left: 12px;
}


/* الصندوق العام */
.gooalplus-related-news {
  width: 100%;
  margin: 2em 0;
}
.gooalplus-section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #004068;
}

/* شبكة 3 أعمدة متجاوبة */
.gooalplus-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* بطاقة الخبر */
.gooalplus-news-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gooalplus-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* حاوية الصورة تحفظ النسبة 3:2 */
.gooalplus-news-image-container {
  position: relative;
  width: 100%;
  padding-top: 66.66%; /* 200/300 = 0.6666 */
  background: #f0f0f0;
}
.gooalplus-news-image-container img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* عنوان الخبر */
.gooalplus-news-title {
  padding: 0.75em 1em;
  font-size: 1rem;
  line-height: 1.4;
  color: #004068;
  margin: 0;
  min-height: 2.8em; /* يضمن ارتفاع متسق */
}

.gooalplus-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.gooalplus-tag-link {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #004068;
    border-radius: 4px;
    background-color: transparent;
    color: #004068;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color .2s, color .2s;
}

.gooalplus-tag-link:hover,
.gooalplus-tag-link:focus {
    background-color: rgba(0,64,104,0.1);
    color: #002d4a;
}

.gooalplus-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
    padding: 12px 8px;
    border-top: 4px solid #005A9C;       /* شريط علوي ملون */
    background-color: #FAFBFC;           /* خلفية فاتحة جدًا */
    border-radius: 0 0 8px 8px;          /* حواف سفلية مستديرة */
    box-sizing: border-box;
}

.gooalplus-tag-link {
    font-size: 1.1rem;                   /* حجم أكبر قليلاً */
    font-weight: 700;                    /* بنط عريض */
    color: #005A9C;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color .2s, color .2s;
}

.gooalplus-tag-link:hover,
.gooalplus-tag-link:focus {
    border-bottom-color: #005A9C;        /* خط سفلي عند المرور */
    color: #004068;
    outline: none;
}

/* الحاوية العامة */
.gooalplus-follow {
  width: 100%;
  margin: 30px 0;
  padding: 16px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* عنوان القسم */
.gooalplus-follow-title {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #004068;
}

/* شبكة الأزرار بعرض كامل */
.gooalplus-social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

/* زرّ التواصل مع دعم للون المخصّص بكل شبكة */
.gooalplus-social-link {
  /* كل زر يعرّف المتغيّر --brand بلونه الرسمي */
  --brand: currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid var(--brand);
  border-radius: 6px;
  color: var(--brand);
  background: transparent;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color .2s, color .2s, transform .1s;
  box-sizing: border-box;
}

/* أيقونة SVG ترث لون النص */
.gooalplus-social-link svg {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  display: block;
}

/* ألوان الشبكات عبر تخصيص --brand */
.gooalplus-facebook       { --brand: #1877F2; }
.gooalplus-x              { --brand: #000000; }
.gooalplus-telegram       { --brand: #0088CC; }
.gooalplus-google-news    { --brand: #DB4437; }

/* التفاعل عند المرور: خلفية باللون الرسمي ونص أبيض */
.gooalplus-social-link:hover,
.gooalplus-social-link:focus {
  background-color: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}


.gooalplus-footer-bar {
  width: 100%;
  background-color: #4d1f1f;
  color: #ffffff;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.gooalplus-footer-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 40px;                /* ارتفاع بسيط */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.gooalplus-footer-bar-left,
.gooalplus-footer-bar-right {
  white-space: nowrap;
}

/* للتأكد من وضوح النص على خلفية داكنة */
.gooalplus-footer-bar-left,
.gooalplus-footer-bar-right {
  color: #ffffff;
}

/* على الشاشات الصغيرة نجمع النص في الوسط بشكل عمودي */
@media (max-width: 600px) {
  .gooalplus-footer-bar-inner {
    flex-direction: column;
    height: auto;
    padding: 8px 16px;
    gap: 4px;
    text-align: center;
  }
}

/* 1. الحاوية الشبكية الرئيسية */
.gooalplus-com-tag-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* عمودين للكمبيوتر */
    gap: 30px;
}

/* 2. تصميم البطاقة الخارجية (الإطار) */
.gooalplus-com-frame-card {
    background-color: #4a5568; /* لون الإطار */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    /* تم حذف أي تأثيرات حركة من هنا */
}

/* 3. الحاوية الداخلية البيضاء */
.gooalplus-com-card-inner {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 4. صورة المقال */
.gooalplus-com-card-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    /* تم حذف أي تأثيرات حركة من هنا */
}

/* 5. محتوى البطاقة */
.gooalplus-com-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

/* 6. البيانات العلوية (القسم) */
.gooalplus-com-card-meta-top {
    margin-bottom: 12px;
}
.gooalplus-com-card-category {
    font-size: 13px;
    /* تم حذف font-weight ليعتمد على القالب */
    color: #4a5568;
    text-decoration: none;
    text-transform: uppercase;
}

/* 7. العنوان */
.gooalplus-com-card-title {
    font-size: 20px; /* يمكن تعديل الحجم حسب الحاجة */
    line-height: 1.5;
    margin: 0 0 15px 0;
    flex-grow: 1;
}
.gooalplus-com-card-title a {
    color: #1a202c;
    text-decoration: none;
    /* تم حذف أي تأثيرات حركة من هنا */
}

/* 8. البيانات السفلية (التاريخ) */
.gooalplus-com-card-meta-bottom {
    font-size: 14px;
    color: #718096;
}
.gooalplus-com-card-meta-bottom .tie-icon-date {
    margin-right: 6px;
}

/* --- 9. التصميم المتجاوب --- */
@media (max-width: 991px) {
    .gooalplus-com-tag-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .gooalplus-com-tag-grid {
        grid-template-columns: 1fr;
    }
    .gooalplus-com-card-title {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .gooalplus-sub-cats-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
        margin-bottom: -15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .gooalplus-sub-cats-grid::-webkit-scrollbar {
        display: none;
    }
    .gooalplus-sub-cats-grid a {
        flex-shrink: 0;
    }
    .gooalplus-cats-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
        margin-bottom: -15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .gooalplus-cats-grid::-webkit-scrollbar {
        display: none;
    }
    .gooalplus-cat-box {
        flex: 0 0 170px;
    }
}

@media (max-width: 767px) {
    .gooalplus-news-meta {
        padding: 16px;
        font-size: 16px;
        flex-wrap: wrap;
        line-height: 1.6;
    }
    .gooalplus-news-meta .news-category,
    .gooalplus-news-meta .news-author {
        flex-basis: auto;
    }
    .gooalplus-news-meta .news-date {
        flex-basis: 100%;
        text-align: center;
        border-top: 1px solid #e0e0e0;
        margin-top: 12px;
        padding-top: 12px;
    }
}

/* روابط المحتوى بلون أزرق */
.entry-content a,
.gooalplus-block-content a {
  color: #007bff;            /* أزرق قياسي */
  text-decoration: underline;
  transition: color 0.2s ease;
}

/* عند المرور بلون أزرق داكن */
.entry-content a:hover,
.gooalplus-block-content a:hover {
  color: #0056b3;            /* أغمق للتمييز */
  text-decoration: none;
}


/*
 * CSS Styles for Gooal Plus Privacy Policy Page
 * By: خبير/ة البرمجة
 * Version: 1.0
 */

/* === الإعدادات العامة للحاوية === */
.gooalplus-com-privacy {
    background-color: #ffffff; /* خلفية بيضاء نظيفة للمحتوى */
    border: 1px solid #e0e0e0; /* إطار خفيف حول المحتوى */
    border-radius: 8px; /* حواف دائرية */
    padding: 30px 40px; /* هوامش داخلية واسعة */
    margin: 40px auto; /* توسيط الصفحة مع هامش علوي وسفلي */
    max-width: 800px; /* تحديد عرض أقصى لسهولة القراءة */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* ظل ناعم لإعطاء عمق */
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* خط عربي مميز واحتياطي */
    line-height: 1.8; /* ارتفاع سطر مريح للقراءة */
    color: #333; /* لون نص أساسي داكن ومريح للعين */
}

/* === تنسيق الهيدر والعنوان الرئيسي === */
.gooalplus-com-privacy__header {
    text-align: center; /* توسيط العنوان والتاريخ */
    margin-bottom: 40px; /* مسافة سفلية كبيرة لفصل الهيدر عن المحتوى */
    border-bottom: 2px solid #f0b90b; /* خط سفلي بلون ذهبي مميز */
    padding-bottom: 20px;
}

.gooalplus-com-privacy__title {
    font-size: 2.5em; /* حجم خط كبير للعنوان الرئيسي */
    color: #1a237e; /* لون أزرق داكن فخم */
    font-weight: 700; /* خط عريض */
    margin-bottom: 10px;
}

.gooalplus-com-privacy__date {
    font-size: 0.9em;
    color: #757575; /* لون رمادي للتاريخ */
    letter-spacing: 0.5px;
}

/* === تنسيق عناوين الأقسام === */
.gooalplus-com-privacy__section-title {
    font-size: 1.8em;
    color: #1a237e; /* نفس اللون الأزرق الداكن */
    margin-top: 40px; /* مسافة علوية لفصل الأقسام */
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee; /* خط سفلي خفيف */
    font-weight: 600;
}

.gooalplus-com-privacy__subsection-title {
    font-size: 1.3em;
    color: #3f51b5; /* درجة أفتح من الأزرق للعناوين الفرعية */
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* === تنسيق الفقرات والروابط === */
.gooalplus-com-privacy__content p {
    margin-bottom: 1.2em; /* مسافة بين الفقرات */
}

.gooalplus-com-privacy__content a {
    color: #3f51b5; /* لون الروابط أزرق */
    text-decoration: none; /* إزالة الخط السفلي */
    border-bottom: 1px dotted #3f51b5; /* إضافة خط منقط لتمييز الرابط */
    transition: all 0.2s ease-in-out; /* حركة ناعمة عند التمرير */
}

.gooalplus-com-privacy__content a:hover {
    color: #f0b90b; /* تغيير اللون إلى الذهبي عند التمرير */
    border-bottom-color: #f0b90b;
}

/* === تنسيق القوائم النقطية === */
.gooalplus-com-privacy__list {
    list-style-type: none; /* إزالة النقاط الافتراضية */
    padding-right: 20px; /* هامش داخلي بدلاً من النقاط */
    margin-bottom: 20px;
}

.gooalplus-com-privacy__list li {
    position: relative;
    padding-right: 25px; /* مسافة لإفساح المجال للأيقونة */
    margin-bottom: 10px; /* مسافة بين عناصر القائمة */
}

.gooalplus-com-privacy__list li::before {
    content: '⚽'; /* استخدام أيقونة كرة قدم كنقطة للقائمة */
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
    color: #1a237e;
}

/* === تأثيرات إضافية عند عرض الصفحة على شاشات أصغر (موبايل) === */
@media (max-width: 768px) {
    .gooalplus-com-privacy {
        padding: 20px; /* تقليل الهوامش الداخلية في الشاشات الصغيرة */
    }

    .gooalplus-com-privacy__title {
        font-size: 2em; /* تصغير حجم العنوان الرئيسي */
    }

    .gooalplus-com-privacy__section-title {
        font-size: 1.5em; /* تصغير عناوين الأقسام */
    }
}

/*
 * ===================================================================
 * الكود الكامل والنهائي لصفحة "اتصل بنا" - تصميم "عناوين البانر"
 * (Scoped CSS with Radical Banner Titles)
 * ===================================================================
*/

/* === 1. إعدادات عامة للحاوية === */
.gooalplus-com-contact { 
    padding: 20px 0; 
    margin: 40px auto; 
    max-width: 900px; 
    font-family: 'Tajawal', sans-serif; 
}

/* === 2. التصميم الجذري الجديد للعناوين - "نمط البانر" === */
/* إزالة التنسيقات القديمة من الهيدر */
.gooalplus-com-contact .gooalplus-com-contact__header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* تنسيق العنوان الرئيسي (H1) كبانر ضخم */
.gooalplus-com-contact .gooalplus-com-contact__title {
    background-color: rgba(26, 35, 126, 0.95); /* خلفية بلون أزرق داكن شبه شفاف */
    color: #ffffff; /* نص أبيض */
    padding: 40px 30px;
    margin: 0 0 50px 0;
    border-radius: 12px;
    text-align: center; /* توسيط العنوان الرئيسي */
    font-size: 2.8em;
    font-weight: 700;
}

/* تنسيق العناوين العامة للأقسام (H2) كبانرات فرعية */
.gooalplus-com-contact .section-title {
    background-color: rgba(26, 35, 126, 0.9); /* نفس الخلفية بشفافية أقل قليلاً */
    color: #ffffff;
    font-size: 1.6em;
    font-weight: 600;
    text-align: right;
    padding: 20px 30px;
    margin: 60px 0 30px; /* زيادة المسافات لتحديد الأقسام */
    border-radius: 8px;
    border-right: 6px solid #f0b90b; /* شريط جانبي ذهبي للمسة جمالية */
    position: relative;
}

/* التأكد من إزالة أي تأثيرات قديمة */
.gooalplus-com-contact .section-title::before,
.gooalplus-com-contact .section-title::after {
    display: none;
}


/* === 3. تنسيق الفقرة التقديمية === */
.gooalplus-com-contact .contact-intro-paragraph {
    font-size: 1.15em;
    line-height: 1.8;
    color: #333;
    text-align: center;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 50px;
    border-left: 5px solid #f0b90b;
}

/* === 4. تنسيق قسم "لماذا تتصل بنا؟" (البطاقات) === */
.gooalplus-com-contact .contact-reasons { margin-bottom: 50px; }
.gooalplus-com-contact .contact-reasons__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.gooalplus-com-contact .contact-reasons__card {
    background-color: #ffffff; 
    border: 1px solid #e0e0e0; 
    border-radius: 8px;
    padding: 25px; 
    text-align: center; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gooalplus-com-contact .contact-reasons__card:hover { transform: translateY(-8px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
.gooalplus-com-contact .contact-reasons__icon { font-size: 2.5em; margin-bottom: 15px; }
.gooalplus-com-contact .contact-reasons__card-title { font-size: 1.2em; color: #1a237e; margin-bottom: 10px; }
.gooalplus-com-contact .contact-reasons__card p { font-size: 0.95em; color: #666; line-height: 1.6; }

/* === 5. تنسيق قسم التواصل المباشر (قريباً) === */
.gooalplus-com-contact .direct-contact { margin-bottom: 50px; }
.gooalplus-com-contact .direct-contact__buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.gooalplus-com-contact .direct-contact__button {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 25px; border-radius: 50px;
    color: #fff !important; font-size: 1.1em; font-weight: 600; text-decoration: none !important;
    position: relative; overflow: hidden; opacity: 0.6; cursor: not-allowed;
}
.gooalplus-com-contact .direct-contact__button--whatsapp { background-color: #25D366; }
.gooalplus-com-contact .direct-contact__button--email { background-color: #4285F4; }
.gooalplus-com-contact .direct-contact__badge {
    position: absolute; top: -10px; right: -10px; background-color: #f0b90b; color: #1a237e;
    padding: 8px; font-size: 0.7em; font-weight: bold; transform: rotate(25deg);
}

/* === 6. تنسيق قسم ونموذج الاتصال === */
.gooalplus-com-contact .contact-form-section__form-container { background: #fff; padding: 30px; border-radius: 8px; border: 1px solid #e0e0e0; }
.gooalplus-com-contact .form-messages { padding: 15px; margin-bottom: 20px; border-radius: 6px; border: 1px solid; }
.gooalplus-com-contact .form-errors { background-color: #f8d7da; border-color: #f5c6cb; color: #721c24; }
.gooalplus-com-contact .form-success { background-color: #d4edda; border-color: #c3e6cb; color: #155724; }
.gooalplus-com-contact .gooalplus-form { display: flex; flex-direction: column; gap: 15px; }
.gooalplus-com-contact .gooalplus-form p { margin: 0; }
.gooalplus-com-contact .gooalplus-form label { display: block; font-weight: 600; margin-bottom: 8px; color: #333; }
.gooalplus-com-contact .gooalplus-input, .gooalplus-com-contact .gooalplus-textarea { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; }
.gooalplus-com-contact .gooalplus-input:focus, .gooalplus-com-contact .gooalplus-textarea:focus { outline: none; border-color: #3f51b5; box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.2); }
.gooalplus-com-contact .gooalplus-submit {
    width: auto; padding: 12px 30px; background-color: #1a237e; color: #fff; border: none;
    border-radius: 50px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease;
}
.gooalplus-com-contact .gooalplus-submit:hover { background-color: #f0b90b; color: #1a237e; }

/*
 * ===================================================================
 * التصميم الكامل لصفحة "من نحن" - نسخة "الهوية المؤسسية" الاحترافية
 * ===================================================================
*/

/* === 1. تعريف الألوان والخطوط الأساسية === */
:root {
    --color-primary: #0a2540; /* لون أساسي: أزرق داكن جداً ومحترف */
    --color-accent: #00d4ff; /* لون مميز: أزرق سماوي ساطع */
    --color-text-dark: #222;
    --color-text-light: #6b7c93;
    --color-background-light: #f6f9fc;
    --font-main: 'Tajawal', sans-serif;
}

/* === 2. الإعدادات العامة للصفحة === */
.page-container-pro { font-family: var(--font-main); }

/* === 3. قسم المقدمة البصري (HERO) === */
.about-hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    color: #fff;
    background-color: #111; /* لون احتياطي في حال عدم تحميل الصورة */
    
    /* ملاحظة: قم بتغيير 'URL_TO_YOUR_IMAGE.jpg' إلى رابط صورة مناسبة من مكتبة الوسائط لديك */
    background-image: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.85)), url('URL_TO_YOUR_IMAGE.jpg');
    background-size: cover;
    background-position: center;
}
.hero-title {
    font-size: 3.2em;
    font-weight: 700;
    margin: 0;
}
.hero-subtitle {
    font-size: 1.4em;
    font-weight: 300;
    max-width: 700px;
    margin: 15px auto 0;
    opacity: 0.9;
}

/* === 4. تنسيق المحتوى الرئيسي والعناوين المخصصة === */
.about-us-main-content-pro { padding: 40px 20px; }
.about-pro-section { margin: 0 auto 80px; max-width: 950px; }
.about-pro__section-title {
    font-size: 2.2em;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
}
.about-pro__story {
    font-size: 1.15em;
    line-height: 1.9;
    color: var(--color-text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}
.vision-mission-grid-pro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.vision-mission-item-pro h3 { font-size: 1.5em; color: var(--color-primary); border-bottom: 2px solid var(--color-accent); padding-bottom: 10px; margin-bottom: 15px; }
.vision-mission-item-pro p { font-size: 1.1em; line-height: 1.8; color: var(--color-text-light); }

/* === 5. تنسيق شبكة المبادئ الجديدة === */
.principles-section { background-color: var(--color-background-light); padding: 60px 40px; border-radius: 12px; }
.principles-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}
.principle-icon-pro svg {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    margin-bottom: 15px;
}
.principle-item-pro h4 {
    font-size: 1.2em;
    color: var(--color-primary);
    margin-bottom: 10px;
}
.principle-item-pro p { font-size: 0.95em; color: var(--color-text-light); line-height: 1.7; }

/* === 6. تنسيق قسم الدعوة للتواصل === */
.cta-section-pro { text-align: center; }
.cta-section-pro h2 { font-size: 2em; color: var(--color-primary); }
.cta-section-pro p { color: var(--color-text-light); font-size: 1.2em; margin-bottom: 30px; }
.cta-button-pro {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.cta-button-pro:hover { background-color: #000; transform: translateY(-3px); }

/* === 7. تنسيقات للشاشات الصغيرة (موبايل) === */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5em; }
    .hero-subtitle { font-size: 1.2em; }
    .vision-mission-grid-pro { grid-template-columns: 1fr; }
}
/* The stylesheet is located in "assets/css/style.css". */
