.phone {
  color: #fbf5f5;
  font-weight: bold;
  text-decoration: none;
 text-align:left;
 
}

.company-card {
    
  background: #fff;
  padding: 40px 25px 40px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  max-width: 100%;
  text-align: justify;
  text-justify: inter-word;
  transition: 0.3s ease;
   font-family: "Cairo", sans-serif;
}

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

 

.company-card h3 {
  margin: 10px 0;
  color: #222;
}

.company-card p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.card-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.card-btn:hover {
  background: #0056b3;
}

/* تنسيق LI */
.company-card ul li {
  background: #f7f7f7;
  margin-bottom: 10px;
  padding: 12px 15px;
  border-radius: 10px;
  position: relative;
  padding-right: 35px;
  transition: 0.3s;
  color: #333;
}

/* hover */
.company-card ul li:hover {
  background: #eaeaea;
  transform: translateX(-5px);
}

/* علامة مميزة */
.company-card ul li::before {
  content: "✔";
  position: absolute;
  right: 12px;
  color: green;
  font-weight: bold;
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-box {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.image-box img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    border-radius: 12px;
    background: #fafafa;
}

.block2-pic {
    overflow: hidden;
    border-radius: 2px;
}

 
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #e6e6e6;
    
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.block2:hover .product-img {
    transform: scale(1.05);
    border-color: #d0d0d0;
}

.product-title {
      font-family: "Cairo", sans-serif;
       font-weight: 700;
    font-size:18px;
    text-align: center !important;
}


.post-title {
    font-family: "Cairo", sans-serif;
    font-size:20px;
    text-align: center !important;
}


/* الشكل الأساسي */
.phone-box {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 10px;
}

/* الرقم */
.phone-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-left: 12px; /* مسافة بين الرقم والأيقونة */
    transition: 0.3s;
}

/* الدائرة (تم تصغيرها) */
.phone-icon {
    width: 36px;   /* كان 42px */
    height: 36px;  /* كان 42px */
    background:#07418d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px; /* تصغير الأيقونة */
    
    animation: phone-shake 2.5s infinite;
}
.phone-icon:hover {
    border-color: #222;
  background-color: #1d6fdd;
  color: #fff;
}

/* Animation */
@keyframes phone-shake {
    0%   { transform: rotate(0deg); }
    2%   { transform: rotate(-10deg); }
    4%   { transform: rotate(10deg); }
    6%   { transform: rotate(-8deg); }
    8%   { transform: rotate(8deg); }
    10%  { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/* Hover */
.phone-box:hover .phone-icon {
     border-color: #222;
  background-color: #1d6fdd;
  color: #fff;
    
    transform: scale(1.1);
    animation: phone-shake 0.6s infinite;
}

.phone-box:hover .phone-text {
    color: #0d6efd;
}

.post-img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 8px;
}

/* الكارت */
.blog-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    background: #fff;
    transition: 0.3s ease;
}

/* Hover */
.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

 

/* العنوان */
.post-title a {
    font-size: 20px;
    color: #222;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.post-title a:hover {
    color: #007bff;
}

/* زر Read More */
.read-more-btn {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    padding: 10px 22px;
    background: #717fe0;
    color: #fff;
    border-radius: 30px;
    text-align: center;
    transition: 0.3s;
}

.read-more-btn:hover {
     color: #fff;
    transform: translateY(-2px);
}

/* موبايل */
@media (max-width: 768px) {
    .post-title a {
        font-size: 18px;
    }

    .read-more-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}


/* الصندوق العام */
.sidebar-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.sidebar-box:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* العناوين */
.sidebar-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #222;
}

/* البحث */
.sidebar-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
}

/* الفيديو */
.video-box iframe {
    width: 100%;
    height: 180px;
    border-radius: 10px;
}

/* التليفون */
.contact-box {
    text-align: center;
}

.phone-number {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* زر الاتصال */
.call-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #28a745;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.call-btn:hover {
    background: #717fe0;
    color: #fff;
}

/* about */
.about-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* categories */
.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    border-bottom: 1px solid #eee;
}

.sidebar-list li a {
    display: block;
    padding: 8px 0;
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar-list li a:hover {
    color: #007bff;
}

/* موبايل */
@media (max-width: 768px) {
    .video-box iframe {
        height: 200px;
    }
}



.video-box {
    width: 100%;
    height: 400px; /* أو حسب التصميم */
    overflow: hidden;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Pagination Container */
.pagination-numbers {
    margin-top: 40px;
}

/* كل الأرقام */
.pagination-numbers .page-numbers {
    display: inline-block;
    margin: 5px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background: #7e83e0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover */
.pagination-numbers .page-numbers:hover {
    background:	#9397e5;
    color: #fff;
    transform: translateY(-2px);
}

/* الصفحة الحالية */
.pagination-numbers .page-numbers.current {
    background: #9397e5;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Prev & Next */
.pagination-numbers .page-numbers.prev,
.pagination-numbers .page-numbers.next {
    font-weight: bold;
    padding: 10px 14px;
}

/* نقاط ... */
.pagination-numbers .dots {
    padding: 10px 12px;
    color: #999;
}

/* موبايل */
@media (max-width: 576px) {
    .pagination-numbers .page-numbers {
        padding: 8px 12px;
        font-size: 14px;
    }
}


/* الفاصل */
.cta-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 40px 0;
}

/* البوكس */
.cta-box {
    text-align: center;
    padding: 30px;
    background: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* العنوان */
.cta-title {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

/* النص */
.cta-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* زر الاتصال */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #afafed, #8281dd);
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* Hover */
.cta-btn:hover {
    color:#fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,123,255,0.4);
}
/* المحتوى */
.post-content {
    line-height: 1.9;
    font-size: 16px;
    color: #444;
}
.post-content h2 {
    font-size: 18px;
}
.post-content h2.wp-block-heading {
    font-size: 18px;
}



/* الصورة */
.post-image img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
}
 
 /* الهيدر */
.contact-hero {
    position: relative;
    height: 250px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:100px;
}

.contact-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgb(215 209 209 / 11%)
    
    
    
}

.contact-hero h2 {
    color: #fff;
    font-size: 32px;
    z-index: 1;
}

/* القسم */
.contact-section {
    padding: 60px 0;
}

/* المعلومات */
.contact-info .info-box {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* زر الاتصال */
.call-btnx {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    background: #28a745;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
}

/* الفورم */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-form h3 {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.contact-form button {
    width: 100%;
    background: #007bff;
    color: #fff;
    padding: 12px;
    border-radius: 30px;
    border: none;
}

/* الخريطة */
.map-box iframe {
    width: 100%;
    height: 400px;
    border: 0;
    margin-top: 40px;
}

 /*-------------------*/
 .side-menu_2 {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.side-menu_2 h5 {
    font-size: 18px;
    margin-bottom: 18px;
    color: #111;
}

/* القائمة */
.product-sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* كل عنصر */
.product-sidebar li {
    margin: 0;
}

/* الروابط */
.product-sidebar li a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 14px;
    margin: 4px 0;

    border-radius: 10px;

    text-decoration: none;
    color: #333;

    font-weight: 500;

    transition: all 0.25s ease;
    background: #f8f9fa;
}

/* hover */
.product-sidebar li a:hover {
    background: #111;
    color: #fff;
    transform: translateX(-4px);
}

/* active */
.product-sidebar li.active a {
    background: #0d6efd;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(13,110,253,0.25);
}

/* الفاصل */
.product-sidebar .divider {
    height: 1px;
    background: #eee;
    margin: 6px 0;
}

/* (اختياري) عداد لو حابب تضيف counts لاحقًا */
.product-sidebar .count {
    background: #fff;
    color: #111;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
}

/*-------searching  start----------------------*/
.search-page {
    margin-top: 90px;
}

/* صندوق البحث الكامل */
.main-search {
    width: 100%;
}

/* كل نتيجة */
.content-search {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.content-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ترتيب الصورة والنص */
.pic3 {
    display: flex;
    align-items: center;
}

/* الصورة */
.img-search {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

/* النص */
.text-content-search {
    padding-right: 20px;
}

.text-content-search a {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.text-content-search a:hover {
    color: #6c7ae0;
}

.text-content-search p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* عنوان البحث */
.main-search h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Pagination */
.pagination-numbers {
    margin-top: 30px;
}

.pagination-numbers a,
.pagination-numbers span {
    display: inline-block;
    padding: 8px 14px;
    margin: 3px;
    border-radius: 6px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
}

.pagination-numbers .current {
    background: #6c7ae0;
    color: #fff;
    
    
}

@media (max-width: 768px) {

    /* الصفحة نفسها */
    .search-page {
        margin-top: 20px;
        padding: 0 10px;
    }

    /* كل نتيجة */
    .content-search {
        padding: 12px;
        border-radius: 10px;
    }

    /* تحويل التصميم من أفقي إلى عمودي */
    .pic3 {
        flex-direction: column;
        align-items: flex-start;
    }

    /* تحسين صورة البحث في الموبايل */
    .img-search {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 10px;
        display: block;
    }

    /* حاوية الصورة */
    .pic3 {
        gap: 10px;
    }

    /* النص */
    .text-content-search {
        padding-right: 0;
        width: 100%;
    }

    .text-content-search a {
        font-size: 16px;
    }

    .text-content-search p {
        font-size: 13px;
        line-height: 1.6;
    }

    /* العنوان */
    .main-search h2 {
        font-size: 16px;
        text-align: center !important;
    }

    /* pagination */
    .pagination-numbers {
        text-align: center;
    }

    .pagination-numbers a,
    .pagination-numbers span {
        padding: 6px 10px;
        font-size: 13px;
    }
}
 /*-------end of searching ---------------------*/
 .fa-facebook,
.fa-instagram,
.fa-pinterest-p{
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #07418d;
    color: #fff;
    font-size: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(7,65,141,0.25);
}

.fa-facebook:hover,
.fa-instagram:hover,
.fa-pinterest-p:hover{
    transform: translateY(-6px) scale(1.12);
    background: #1877f2;
    box-shadow: 0 12px 28px rgba(24,119,242,0.45);
    color: #fff;
}
/*------------message -------*/

  
.moving-text{
    flex: 0 0 70%;     /* أهم سطر: يفرض 70% فعليًا */
    max-width: 70%;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
}

.content-topbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.marquee{
    display: flex;
    gap: 50px;
    white-space: nowrap;
    width: max-content;
    animation: marqueeMove 22s linear infinite;
}

.marquee span{
    color: #07418d;
    font-size: 15px;
    font-weight: 700;
    background: #f5f8ff;
    padding: 6px 18px 5px 18px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(7,65,141,0.10);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.marquee span:hover{
    background: #1877f2;
    color: #fff;
    transform: scale(1.05);
}

/* توقف عند المرور */
.moving-text:hover .marquee{
    animation-play-state: paused;
}

/* حركة أنعم بدون قطع مفاجئ */
@keyframes marqueeMove{
    0%{
        transform: translateX(100%);
    }
    100%{
        transform: translateX(-100%);
    }
}