/*
Theme Name: NGO Relief Theme
Theme URI: https://6dtec.com
Author: Diaa Aldara
Description: قالب مخصص لمنظمة عدالة
Version: 1.0
Text Domain: ngo-relief-theme
*/


.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 50px 20px;
    background: #f5f5f5;
}

.hero h1 {
    font-size: 2.5rem;
}

.donate-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #B1B523;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.projects {
    padding: 40px 20px;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-item {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.donation-progress {
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: #008c3f;
    transition: width 0.5s ease;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery img {
    width: 200px;
    border-radius: 5px;
}

.project-detail {
    padding: 30px 0;
}

.featured-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.donation-progress {
    background: #f9f9f9;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background-color: #008c3f;
    transition: width 0.5s ease;
}

.gallery {
    margin-top: 30px;
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery-images img {
    width: 200px;
    border-radius: 5px;
}

.donation-form {
    background: #f0f0f0;
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
}

.donation-form input[type="text"],
.donation-form input[type="email"],
.donation-form input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.donation-form input[type="submit"] {
    background: #008c3f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.donation-form input[type="submit"]:hover {
    background: #00762f;
}

.donation-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}


.site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

.logo img {
    max-height: 90px; /* يمكنك زيادتها حسب رغبتك: مثلاً 100px */
  height: auto;
  transition: all 0.3s ease;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    font-weight: 500;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.nav-menu li a:hover {
    color: #B1B523;
}

.donate-button {
    background-color: #B1B523;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.donate-button:hover {
    background-color: #C9CC66;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    /* يمكنك إضافة زر قائمة جانبية لاحقًا */
}


.mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ccc;
        z-index: 999;
        justify-content: space-around;
        padding: 5px 0;
        text-align: center;
    }

    .mobile-btn {
        flex: 1;
        font-size: 8px;
        color: #333;
        text-decoration: none;
    }

    .mobile-btn span {
        font-size: 20px;
        display: block;
    }

    body {
        padding-bottom: 60px; /* مساحة أسفل لتجنب تغطية المحتوى */
    }
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .mobile-side-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 9999;
        padding: 20px;
    }

    body.show-mobile-menu .mobile-side-menu {
        right: 0;
    }

    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .mobile-menu {
        list-style: none;
        padding: 0;
    }

    .mobile-menu li {
        margin-bottom: 15px;
    }

    .mobile-menu li a {
        text-decoration: none;
        color: #333;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .donate-button {
        font-size: 13px;
        padding: 6px 12px;
        border-radius: 4px;
    }
     .mobile-side-menu {
        display: block;
    }
}

.mobile-side-menu {
    display: none; /* ← إخفاء افتراضي على كل الشاشات */
}

/* عكس اتجاه القائمة عندما تكون اللغة عربية */
body.rtl .nav-menu {
    direction: rtl;
    flex-direction: row-reverse;
}

/* تنسيق روابط القائمة */
body.rtl .nav-menu li {
    text-align: right;
}

body.rtl .nav-menu li a {
    font-family: 'Tajawal', 'Tajawal', sans-serif; /* خط عربي إن أردت */
}


/* ===== فرض اتجاه RTL عند استخدام اللغة العربية ===== */
body[lang="ar"] .nav-menu {
    direction: rtl !important;
    flex-direction: row-reverse !important;
    justify-content: flex-start !important;
    text-align: right;
}

body[lang="ar"] .nav-menu li {
    float: right !important;
    text-align: right;
}

body[lang="ar"] .nav-menu li a {
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

html[lang="ar"] body {
    direction: rtl;
}

/* ===== دعم RTL كامل عند اللغة العربية ===== */
html[lang="ar"] body {
    direction: rtl;
    text-align: right;
    font-family: 'Tajawal', sans-serif;
}

/* الفوتر */
html[lang="ar"] footer,
html[lang="ar"] .site-footer {
    direction: rtl;
    text-align: right;
}

/* المحتوى العام */
html[lang="ar"] .container,
html[lang="ar"] .entry-content,
html[lang="ar"] .post,
html[lang="ar"] article {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .footer-widgets,
html[lang="ar"] .footer-widgets ul,
html[lang="ar"] .footer-widgets li {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .footer-widgets li {
    float: right;
}


html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select {
    direction: rtl;
    text-align: right;
}


html[lang="ar"] .row {
    flex-direction: row-reverse;
}

html[lang="ar"] .site-header .header-container {
    flex-direction: row-reverse;
}

body {
    font-family: 'Tajwal', sans-serif;
      overflow-x: hidden;
}


/* القائمة الجانبية - افتراضيًا مخفية */
.mobile-side-menu {
    display: none;
}

/* القائمة تظهر فقط في الشاشات الصغيرة */
@media (max-width: 768px) {

    .mobile-side-menu {
        display: block;
        position: fixed;
        top: 0;
        width: 250px;
        height: 100%;
        background: #fff;
        box-shadow: 2px 0 5px rgba(0,0,0,0.2);
        transition: all 0.3s ease-in-out;
        z-index: 10000;
        padding: 20px;
    }

    /* القائمة الجانبية عند اللغة العربية: من اليسار */
    html[lang="ar"] .mobile-side-menu {
        left: -100%;
        right: auto;
    }

    html[lang="ar"] body.show-mobile-menu .mobile-side-menu {
        left: 0;
    }

    /* القائمة الجانبية عند اللغة الإنجليزية: من اليمين */
    html[lang="en"] .mobile-side-menu {
        right: -100%;
        left: auto;
    }

    html[lang="en"] body.show-mobile-menu .mobile-side-menu {
        right: 0;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .mobile-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu li {
        margin-bottom: 15px;
    }

    .mobile-menu li a {
        text-decoration: none;
        color: #333;
        font-size: 16px;
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu,
    .mobile-menu li,
    .mobile-menu li a {
        font-family: 'Tajawal', sans-serif !important;
    }
}

.body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.about-brief {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.about-brief .section-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
}

.about-brief .about-excerpt {
    font-size: 16px;
    color: #444;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.about-brief .btn-primary {
    background-color: #B1B523;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.about-brief .btn-primary:hover {
    background-color: #C9CC66;
}

.about-button-wrapper {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

html[lang="ar"] .about-button-wrapper {
    text-align: left;
    direction: rtl;
}

html[lang="en"] .about-button-wrapper {
    text-align: left;
    direction: ltr;
}


.home-projects {
    padding: 60px 20px;
    background-color: #fff;
}

.home-projects .section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
}

.home-projects .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.project-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.progress-bar-container {
    height: 16px;
    width: 100%;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    display: block;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #B1B523, #C9CC66);
    border-radius: 8px 0 0 8px;
    transition: width 0.5s ease;
    display: block;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.progress-bar-container {
    background-color: #ddd; /* بدلاً من #eee */
}


.project-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #444;
}

.project-card img {
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

.project-card img:hover {
  transform: scale(1.05); /* تكبير بنسبة 5% */
}


.donate-now-button {
    display: inline-block;
    padding: 8px 16px;
    margin-top: 10px;
    background-color: #B1B523;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.donate-now-button:hover {
    background-color: #C9CC66;
}


.home-news-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    direction: rtl;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    font-size: 13px;
    color: #B1B523;
    text-decoration: underline;
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-filter-buttons {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-btn {
    background-color: #B1B523; /* أخضر */
    border: none;
    padding: 10px 20px;
    margin: 0 5px 10px;
    cursor: pointer;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    color: #fff; /* 👈 خط أبيض */
    font-weight: 500;
    font-family:'Tajwal' !important;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #C9CC66;
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.news-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: scale(1.03);
}

.news-image-wrapper {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .overlay {
    opacity: 1;
}

/* Title */
.news-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.news-card:hover .news-title {
    font-size: 1rem;
    transform: translateY(-30px);
}

/* مقتطف */
.news-hover-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.news-card:hover .news-hover-content {
    opacity: 1;
    transform: translateY(0);
}

/* زر اقرأ المزيد */
.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    background-color: #B1B523;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.read-more:hover {
    background-color: #C9CC66;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.news-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: scale(1.02);
}

.news-image-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.news-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end ;  /* 👈 يجعل العناصر تنزل للأسفل */
    padding: 20px;
    transition: background 0.3s ease;
    text-align: right; /* 👈 للمحاذاة من اليمين */
}

/* العنوان */
.news-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff; /* 👈 لون أبيض */
    margin: 0;
    margin-bottom: 10px; /* 👈 ترك مسافة عن الأسفل */
    transition: all 0.3s ease;
    position: fixed;
}


/* محتوى عند التمرير */
.news-hover-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #fff;
}

.news-card:hover .news-title {
    font-size: 1rem;
    transform: translateY(-100px);
}

.news-card:hover .news-hover-content {
    opacity: 1;
    transform: translateY(0);
}



/* زر اقرأ المزيد */
.read-more {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    background-color: #B1B523; /* 👈 نفس لون زر التبرع */
    color: #fff;
    border-radius: 25px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.read-more:hover {
    background-color: #C9CC66;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.read-more {
    background-color: #B1B523;
    color: #fff;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
}

.read-more:hover {
    background-color: #C9CC66;
}

@media (max-width: 768px) {
    .news-title {
        font-size: 1.2rem;
    }

    .read-more {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .news-hover-content p {
        font-size: 0.85rem;
    }

    .post-filter-buttons {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .filter-btn {
        display: inline-block;
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

.site-footer-minimal {
    background-color: #B1B523;
    color: #fff;
    padding: 20px 0 10px;
    font-size: 0.9rem;
    direction: rtl;
}

.footer-minimal-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    max-height: 35px;
}

.footer-menu {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.footer-menu li a:hover {
    opacity: 0.8;
}

.social-icons a {
    color: #fff;
    font-size: 1.1rem;
    margin-left: 10px;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
    opacity: 0.9;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 15px auto 10px;
    width: 100%;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #f0f0f0;
}

/* Responsive */
@media (max-width: 600px) {
    .footer-minimal-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
    }

    .social-icons {
        margin-top: 10px;
    }
}

.project-card,
.project-card * {
    font-family: 'Tajawal', sans-serif !important;
}

.projects-page {
    font-family: 'Tajawal', sans-serif;
    padding: 40px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
    font-family: 'Tajawal', sans-serif;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 15px;
    color: #B1B523;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.project-title:hover {
    color: #C9CC66; /* أخضر أغمق عند التحويم */
    transform: scale(1.05);
}
.project-excerpt {
    margin: 0 15px 15px;
    color: #555;
    font-size: 0.95rem;
}

.progress-bar-container {
    background: #eee;
    height: 8px;
    border-radius: 4px;
    margin: 0 15px 10px;
    overflow: hidden;
}

.progress-bar {
    background-color: #B1B523;
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    margin: 10px 15px;
    font-size: 0.9rem;
    color: #444;
}

.donate-now-button {
    display: block;
    text-align: center;
    margin: 15px;
    padding: 10px;
    background-color: #B1B523;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.donate-now-button:hover {
    background-color: #C9CC66;
}

.load-more-wrapper {
    text-align: center;
    margin-top: 30px;
}

.btn-primary {
    padding: 10px 25px;
    background-color: #B1B523;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
}

.btn-primary:hover {
    background-color: #C9CC66;
}

body, h1, h2, h3, p, label, input, textarea, button {
    font-family: 'Tajawal', sans-serif !important;
}

/* تأكد من تضمين خط Tajawal */
body, input, textarea, select, button {
    font-family: 'Tajawal', sans-serif !important;
}

/* الحاوية */
.wpcf7 {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* العناوين */
.wpcf7 h2, .wpcf7 p {
    text-align: center;
}

/* التصنيفات */
.wpcf7 label {
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

/* الحقول */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    background: #fff;
    font-size: 16px;
    transition: 0.3s border-color ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

/* زر الإرسال */
.wpcf7 input[type="submit"] {
    margin-top: 25px;
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #45a049;
}

/* رسائل النجاح أو الخطأ */
.wpcf7-response-output {
    margin-top: 20px;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
}

.wpcf7-validation-errors,
.wpcf7-mailfailed {
    background-color: #f8d7da;
    color: #721c24;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    text-align: center;
}

@media (min-width: 768px) {
  .site-header .logo img {
    max-height: 90px;
  }
}

@media (max-width: 767px) {
  .site-header .logo img {
    max-height: 50px;
  }
}
