/*
Theme Name:        kuwaitfridgerepair 
Theme URI:         https://kuwaitfridgerepair.com/
Description:       PageSpeed Insights WordPress Theme
Version:           6.0.0
Author:            HanyBee
Author URI:        https://kuwaitfridgerepair.com/
Tags:              white, black, two-columns, custom-colors, seo
License:           GNU General Public License
License URI:       http://www.gnu.org/copyleft/gpl.html
*/

/* =========================================
   1. VARIABLES & RESET & BASICS
   ========================================= */
:root {
    --primary: #1e3a8a;   /* أزرق غامق */
    --secondary: #2563eb; /* أزرق فاتح */
    --accent: #f97316;    /* برتقالي */
    --light: #f8fafc;
    --dark: #0f172a;
}

/* تحسين شكل روابط الكروت */
.service-card a,
.service-card h3 a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease, box-shadow .2s ease;
}

/* عنوان المقال */
.service-card h3 a {
  display: inline-block;
  line-height: 1.5;
}

.service-card h3 a:hover {
  color: var(--secondary);
}

/* زر اقرأ المقال */
.service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.service-card .read-more:hover {
  color: var(--secondary);
  transform: translateX(-4px); /* مناسب للـ RTL */
}

/* منع تأثير لون المتصفح الافتراضي */
.service-card a:visited {
  color: var(--primary);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: #fff;
}
.homemain {
    margin: 0 10%;
}
article {
    margin: 0 10%;
}
/* صور وفيديو */
img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

iframe {
    max-width: 100% !important;
}
/* زر الاتصال – تصميم احترافي */
.button-5 {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 26px;
    border-radius: 14px;

    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    border: none;
    cursor: pointer;

    box-shadow: 
        0 10px 25px rgba(14, 165, 233, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.2);

    transition: 
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

/* Hover */
.button-5:hover {
    background: linear-gradient(135deg, #0284c7, #075985);
    transform: translateY(-2px);
    box-shadow: 
        0 14px 30px rgba(2, 132, 199, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Active */
.button-5:active {
    transform: translateY(0);
    box-shadow: 
        0 6px 15px rgba(2, 132, 199, 0.4),
        inset 0 2px 6px rgba(0,0,0,0.2);
}

/* تحسين للموبايل */
@media (max-width: 768px) {
    .button-5 {
        width: 100%;
        justify-content: center;
        font-size: 17px;
        padding: 16px 20px;
    }
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* =========================================
   FIX MOBILE MENU & REMOVE DOTS
   (ضع هذا الكود في نهاية ملف style.css)
   ========================================= */
.post-box {
    margin: 0 10%;
}
/* 1. إزالة النقاط من جميع القوائم في الموقع */
ul, li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* 2. إخفاء زر القائمة في الشاشات الكبيرة (لابتوب) */
.menu-toggle {
    display: none;
}

/* 3. تنسيقات الموبايل فقط */
@media (max-width: 768px) {
    
    /* إظهار زر القائمة في الموبايل */
    .menu-toggle {
        display: block !important;
        background: transparent;
        border: none;
        font-size: 2.5rem; /* تكبير حجم الزر */
        cursor: pointer;
        padding: 10px;
        color: #333;
        line-height: 1;
    }

    /* إخفاء القائمة الأساسية في الموبايل */
    .nav-links {
        display: none !important; /* مخفية افتراضياً */
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
        position: absolute;
        top: 100%; /* تظهر تحت الهيدر مباشرة */
        left: 0;
        right: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 99999; /* لضمان ظهورها فوق كل شيء */
        border-top: 2px solid #0073aa;
    }

    /* الكلاس السحري: إظهار القائمة عند النقر */
    /* هذا الكود هو المسؤول عن فتح القائمة */
    .main-navigation.toggled .nav-links {
        display: flex !important;
    }

    /* تنسيق روابط القائمة في الموبايل */
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-links li a {
      
       
        color: #333;
        font-weight: bold;
    }
    
    .nav-links li a:hover {
        background-color: #f9f9f9;
        color: #0073aa;
    }
}
/* العناوين العامة */
h1 { color: var(--primary); font-size: 2.2rem; text-align: center; margin-bottom: 30px; }
h2 { color: var(--primary); border-right: 5px solid var(--accent); padding-right: 15px; margin-top: 50px; background: #f1f5f9; padding: 10px 15px 10px 0; border-radius: 4px; }
h3 { color: #334155; margin-top: 30px; font-weight: 700; }
p, li { font-size: 1.1rem; color: #1c232e; margin-bottom: 15px; max-width: 98%; }

/* الحاوية الرئيسية */
.container {
    max-width: 100%;
    /* padding: 20px; */
}

/* جداول */
table { width: 100%; border-collapse: collapse; margin: 25px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
th, td { border: 1px solid #e2e8f0; padding: 15px; text-align: right; }
th { background: #f8fafc; color: var(--primary); }

/* أدوات مساعدة (Accessibility) */
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
    padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important;
    clip-path: none; color: #21759b; display: block; font-size: 14px; font-weight: bold; height: auto; left: 5px;
    line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;
}

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


/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span { color: var(--accent); }

.custom-logo { max-height: 50px; width: auto; }
.logo-text { font-size: 1.5rem; font-weight: bold; color: #333; text-decoration: none; }
.logo-text span { color: #0073aa; }

.nav-links {
    list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; align-items: center;
}
.nav-links li a {
    text-decoration: none; color: var(--dark); font-weight: 600; font-size: 1rem; transition: color 0.3s;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--secondary); }

.cta-header-btn {
    background: #0073aa; color: #fff !important; padding: 8px 20px; border-radius: 5px;
    font-weight: bold; text-decoration: none; margin-right: 15px;
}

.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #333; }


/* =========================================
   3. HOME PAGE SECTIONS
   ========================================= */
/* Hero Section */
.hero-section {
    position: relative;
    background: url('images/header.webp') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #fff;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 28 141 / 62%);
    z-index: 1;
}
.hero-container { position: relative; z-index: 2; width: 100%; max-width: 900px; }

.hero-title {
    color: whitesmoke; font-size: 2.5rem; font-weight: 800; margin-bottom: 15px;
    line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.2rem; line-height: 1.6; margin-bottom: 40px; color: #f0f0f0;
    max-width: 700px; margin-left: auto; margin-right: auto;
}

/* Search Form (Glassmorphism) */
.booking-form-wrapper {
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px);
    padding: 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
.hero-search-form {
    display: flex; gap: 15px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.form-group { flex: 1; min-width: 200px; }
.form-control {
    width: 100%; padding: 15px; border-radius: 8px; border: 2px solid transparent;
    font-size: 1rem; color: #333; background: #fff; cursor: pointer; transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230073aa%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat; background-position: left 15px top 50%; background-size: 12px auto;
}
.form-control:focus { outline: none; border-color: #0073aa; box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.2); }

.btn-group { flex: 0 0 auto; }
.hero-btn {
    background: #fbff00; color: black; padding: 15px 30px; border: none; border-radius: 8px;
    font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: all 0.3s; display: flex;
    align-items: center; gap: 10px; width: 100%; justify-content: center;
}
.hero-btn:hover { background: #965d00; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

/* Home Intro */
.home-intro {/* padding: 50px 20px; */background: #f9f9f9;}
.intro-text { max-width: 800px; margin: 0 auto 20px; line-height: 1.8; color: #555; font-size: 1.1rem; }
.location-text { color: #0073aa; font-weight: bold; }
.section-title { text-align: center; font-size: 2rem; color: #222; margin-bottom: 30px; font-weight: 700; }

/* CTA Strip */
.cta-strip {
    background: #0073aa; color: #fff; padding: 20px; text-align: center;
    display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cta-strip p { margin: 0; font-size: 1.2rem; font-weight: bold; }
.cta-phone-btn {
    background: #fff; color: #0073aa; padding: 10px 25px; border-radius: 50px;
    text-decoration: none; font-weight: bold; transition: transform 0.3s;
}
.cta-phone-btn:hover { transform: scale(1.05); }

/* Services Grid */
.services-grid-section {}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.service-card {
    background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.card-img img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 20px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-content h3 { color: #333; margin-bottom: 10px; }
.read-more {
    display: inline-block; margin-top: 15px; color: #0073aa; text-decoration: none; font-weight: bold;
    border: 2px solid #0073aa; padding: 8px 15px; border-radius: 5px; transition: all 0.3s;
}
.read-more:hover { background: #0073aa; color: #fff; }

/* Features & Reviews */
.features-section {background: #004eff14;}
.features-section .section-title {/* color: #fff; */}
.features-list { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; text-align: center; }
.feature-item { max-width: 300px; }
.f-icon { font-size: 3rem; display: block; margin-bottom: 10px; }

.reviews-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.review-box { background: #fff; border: 1px solid #eee; padding: 20px; border-radius: 10px; }
.stars { color: #fbbf24; margin-bottom: 10px; }

.contact-hero { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); padding: 30px; border-radius: 20px; text-align: center; margin: 30px 0; border: 1px solid #bfdbfe; }
.contact-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.btn { padding: 15px 40px; border-radius: 12px; font-weight: bold; text-decoration: none; font-size: 1.1rem; color: white; transition: transform 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.btn-call { background: var(--primary); }
.btn-wa { background: #1da650; }
.btn:hover { transform: translateY(-3px); }


/* =========================================
   4. SINGLE POST & ARCHIVE
   ========================================= */
/* Single Post Structure */
.entry-header { margin-bottom: 20px; }
.entry-title { font-size: 2rem; color: #222; margin-bottom: 10px; }
.entry-meta { font-size: 0.9rem; color: #777; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; }
.entry-meta span {/* margin-left: 15px; */}

.entry-content { line-height: 1.8; font-size: 1.1rem; color: #333; margin-bottom: 30px; padding: 0 15px 20px; flex-grow: 1; }
.entry-content p { margin-bottom: 1.5em; }
.entry-footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; background: #f9f9f9; border-top: 1px solid #eee; font-size: 0.85rem; margin-top: auto; }
.entry-footer span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Post Thumbnail */
.post-thumbnail-container {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background-color: #f0f0f0; overflow: hidden; border-radius: 8px; margin-bottom: 25px;
}
.post-thumbnail-container img { width: 100%; height: 100%; object-fit: cover; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.post-media { margin: 0; padding: 0; overflow: hidden; position: relative; aspect-ratio: 16 / 9; }

/* Grid for Archive/Category */
.posts-grid-container {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin: 30px 0;
}
.post-block-out {
    background-color: #fff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column;
}
.post-block-out:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: #ddd; }
.post-block-out:hover .post-thumbnail img { transform: scale(1.05); }

/* Related Posts */
.related-posts-section { margin-top: 50px; border-top: 2px solid #eee; padding-top: 30px; }
.related-title { margin-bottom: 20px; font-size: 1.4rem; position: relative; display: inline-block; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.related-item { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: transform 0.3s; }
.related-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-thumb-link img { width: 100%; height: 150px; object-fit: cover; display: block; }
.related-post-title { padding: 10px 15px; font-size: 1rem; margin: 0; line-height: 1.4; }
.related-post-title a { text-decoration: none; color: #333; }
.related-post-title a:hover { color: #0073aa; }

/* Tags & Pagination */
.post-tags a {
    background: #eee; padding: 5px 10px; border-radius: 4px; text-decoration: none;
    font-size: 0.85rem; margin-left: 5px; color: #555;
}
.post-tags a:hover { background: #0073aa; color: #fff; }

.pagination-wrapper { margin: 40px 0; text-align: center; }
.pagination .page-numbers {
    display: inline-block; padding: 8px 16px; margin: 0 3px; background: #fff; border: 1px solid #ddd;
    color: #333; text-decoration: none; border-radius: 4px; font-weight: 600; transition: all 0.3s;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
    background: #0073aa; color: #fff; border-color: #0073aa;
}

/* Archive Header */
.archive-header {
    background: #fff; border-bottom: 2px solid #0073aa; padding: 30px 20px;
    margin-bottom: 30px; text-align: center; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.archive-header .page-title { margin: 0; font-size: 1.8rem; color: #333; }
.archive-header .page-title span { display: none; }
.archive-description { margin-top: 15px; font-size: 1.1rem; color: #666; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Search Header */
.search-header {
    background: #f4f6f8; padding: 30px; border-radius: 8px; margin-bottom: 30px;
    text-align: center; border-bottom: 2px solid #0073aa;
}
.search-header .page-title { margin: 0 0 10px; font-size: 1.8rem; color: #333; }
.search-query-highlight {
    color: #d63638; background: #fff; padding: 2px 8px; border-radius: 4px; border: 1px solid #ddd;
}
.search-count { color: #666; font-size: 0.95rem; margin: 0; }


/* =========================================
   5. COMMENTS SECTION
   ========================================= */
.comments-area { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; }
.comments-title { font-size: 1.5rem; margin-bottom: 30px; position: relative; padding-bottom: 10px; }
.comments-title:after {
    content: ''; width: 50px; height: 3px; background: #0073aa; position: absolute; bottom: 0; right: 0;
}
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body {
    background: #f9f9f9; padding: 20px; border-radius: 8px; margin-bottom: 20px;
    border: 1px solid #eee; position: relative;
}
.comment-list .avatar { float: right; border-radius: 50%; margin-left: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.comment-meta { margin-bottom: 10px; font-size: 0.9rem; color: #777; }
.fn { font-weight: bold; font-size: 1.1rem; color: #333; font-style: normal; }
.comment-metadata a { color: #999; text-decoration: none; font-size: 0.85rem; margin-right: 10px; }
.reply { text-align: left; margin-top: 10px; }
.comment-reply-link {
    display: inline-block; padding: 5px 15px; background: #fff; border: 1px solid #ddd;
    border-radius: 20px; font-size: 0.85rem; text-decoration: none; transition: all 0.3s;
}
.comment-reply-link:hover { background: #0073aa; color: #fff; border-color: #0073aa; }
.children { list-style: none; padding-right: 40px; margin-top: 20px; border-right: 2px solid #e5e5e5; }

/* Comment Form */
.comment-respond { margin-top: 40px; background: #fff; padding: 20px 0; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit;
    margin-bottom: 10px; background: #fcfcfc; transition: border 0.3s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: #0073aa; background: #fff; outline: none; }
.comment-form-row {display: flex;/* gap: 20px; */}
.comment-form-author, .comment-form-email { flex: 1; margin-bottom: 0; }
.submit-comment-btn {
    background-color: #0073aa; color: #fff; border: none; padding: 12px 30px; font-size: 1rem;
    border-radius: 5px; cursor: pointer; transition: background 0.3s;
}
.submit-comment-btn:hover { background-color: #005a87; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; font-size: 0.9rem; color: #666; gap: 10px; }
.comment-form-cookies-consent input { margin-top: 5px; }


/* =========================================
   6. SOCIAL SHARE BUTTONS
   ========================================= */
.share-box-bottom { background: #f9f9f9; padding: 20px; border-radius: 8px; margin: 30px 0; text-align: center; }
.share-title { margin: 0 0 15px; font-size: 1.1rem; }

.social-share-container {
    display: flex !important; align-items: center; justify-content: center;
    gap: 15px !important; margin: 30px 0; flex-wrap: wrap; direction: ltr;
}
.social-btn {
    display: flex !important; align-items: center; justify-content: center;
    width: 45px !important; height: 45px !important; border-radius: 50% !important;
    text-decoration: none !important; border: none !important; transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); color: #fff !important;
}
.social-btn svg {
    width: 22px !important; height: 22px !important; fill: #fff !important;
    margin: 0 !important; vertical-align: middle;
}
.social-btn:hover {
    transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    opacity: 0.9; color: #fff !important;
}

/* Social Colors */
.sb-facebook { background-color: #1877F2 !important; }
.sb-twitter  { background-color: #000000 !important; }
.sb-whatsapp { background-color: #25D366 !important; }
.sb-gmail    { background-color: #EA4335 !important; }
.sb-email    { background-color: #607D8B !important; }


/* =========================================
   7. FLOATING CONTACT BAR
   ========================================= */
.float-contact-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 100%;
    margin: 0 auto;
    display: none; /* مخفي بالموبايل يظهر بالميديا كويري */
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom);
    font-family: sans-serif;
}
.float-contact-label {
    color: #555;
    font-size: 14px;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    padding: 5px 15px;
}
.float-pulse-dot { color: #28a745; font-weight: bold; animation: floatPulse 1.5s infinite; }
@keyframes floatPulse {
    0% { opacity: 1; }
    50% { opacity: .5; }
    100% { opacity: 1; }
}
.float-contact-actions {
    display: flex;
    gap: 10px;
    padding: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    /* border-radius: 5px; */
    overflow: hidden;
    background: #fff;
}
.float-contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    padding: 12px 0;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    transition: transform .2s;
    border: none;
}
.float-contact-btn:active { transform: scale(.96); }
.float-icon { margin-left: 8px; font-size: 18px; }

.float-btn-call { background-color: #007bff; color: #fff !important; box-shadow: 0 4px 6px rgba(0,123,255,.2); }
.float-btn-whatsapp { background-color: #0e9e43; color: #fff !important; box-shadow: 0 4px 6px rgba(37,211,102,.2); }


/* =========================================
   8. FOOTER
   ========================================= */
footer { background: #111827; color: #9ca3af; padding: 50px 0 20px; margin-top: 50px; }
.footer-content {
    max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; padding: 0 20px;
}
.footer-content p { color: whitesmoke; }
.footer-col h4 {
    color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 15px;
    margin-bottom: 20px; display: inline-block;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { border-bottom: 1px solid #374151; padding: 10px 0; color: whitesmoke; }
.footer-col a { color: wheat; text-decoration: none; }
.copyright { text-align: center; margin-top: 50px; color: white; padding-top: 20px; border-top: 1px solid #374151; }


/* =========================================
   9. 404 & TOOLS
   ========================================= */
.error-404 { padding: 40px 0; text-align: center; }
.error-icon svg { margin-bottom: 10px; stroke: #0073aa; }
.error-icon .page-title {
    font-size: 6rem; font-weight: 900; color: #333; margin: -20px 0 10px; line-height: 1;
}
.error-title { font-size: 1.8rem; margin-bottom: 15px; color: #444; }
.error-text { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto 30px; }
.search-404 { max-width: 500px; margin: 0 auto 30px; }
.search-404 .search-form { display: flex; justify-content: center; }
.btn-home {
    display: inline-block; background-color: #333; color: #fff; padding: 12px 30px;
    border-radius: 5px; text-decoration: none; font-weight: bold; transition: background 0.3s; margin-bottom: 50px;
}
.btn-home:hover { background-color: #0073aa; }
.suggestions-404 { margin-top: 40px; border-top: 1px solid #eee; padding-top: 40px; text-align: right; }
.suggestions-404 h3 { text-align: center; margin-bottom: 30px; font-size: 1.4rem; }
.mini-card .entry-title { font-size: 1rem; padding: 10px; }
.mini-card .post-media { aspect-ratio: 16 / 9; }
.no-results { text-align: center; padding: 50px 0; }
.no-results .page-title { font-size: 2rem; margin-bottom: 20px; }
.no-results p { font-size: 1.1rem; color: #555; margin-bottom: 30px; }
.no-results .search-form { max-width: 400px; margin: 0 auto; }

/* Tools (Custom Forms) */
.tool-card {
    background: #fff; padding: 25px; border-radius: 15px; border: 1px solid #e2e8f0;
    margin: 30px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.btn-tool {
    width: 100%; padding: 12px; background: #cc5f13; color: white; border: none;
    border-radius: 8px; font-size: 1.1rem; cursor: pointer; font-weight: bold;
}
.result-msg {
    margin-top: 15px; padding: 15px; background: #fff7ed; border: 1px solid #ffedd5;
    border-radius: 8px; color: #9a3412; display: none;
}


/* =========================================
   10. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    /* Header & Nav */
    .homemain {
    margin: 0 1%;
}
    .menu-toggle { display: block; }
    .site-header {/* position: unset; */} /* في الموبايل الهيدر غير مثبت حسب طلبك */
    .container {/* margin: 0 2%; */} /* هوامش أقل للموبايل */

    .main-navigation {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #eee;
        display: none; flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); z-index: 1000;
    }
    .main-navigation.toggled { display: flex; }

    .nav-links { display: none; flex-direction: column; width: 100%; gap: 15px; text-align: center; }
    .nav-links.active { display: flex; }

    .cta-header-btn { margin-right: 0; text-align: center; display: block; margin-top: 10px; }

    /* Home Page Elements */
    .hero-search-form { flex-direction: column; gap: 10px; }
    .form-group, .btn-group, .hero-btn { width: 100%; }
    .hero-title { font-size: 1.8rem; }
    .posts-grid-container { gap: 15px; grid-template-columns: 1fr; }
    .entry-title { font-size: 1.2rem; }

    /* Floating Contact */
    .float-contact-wrapper {}
    body { padding-bottom: 85px !important; }
    .homemain { margin:0 8px; }

    /* Social Share */
    .social-share-container { gap: 10px !important; }
    .social-btn { width: 40px !important; height: 40px !important; }

    /* Comments */
    .comment-form-row { flex-direction: column; gap: 0; }
    .children { padding-right: 15px; }

    /* 404 */
    .error-icon .page-title { font-size: 4rem; }
    .search-404 { width: 100%; }
}

@media (max-width: 480px) {
    .social-share-container { gap: 10px !important; }
    .social-btn { width: 40px !important; height: 40px !important; }
}/*
Theme Name:        repairskw.com
Theme URI:         https://www.repairskw.com/
Description:       PageSpeed Insights WordPress Theme
Version:           5.5.5
Author:            HanyBee
Author URI:        https://www.repairskw.com/
Tags:              white, black, two-columns, custom-colors, seo
License:           GNU General Public License
License URI:       http://www.gnu.org/copyleft/gpl.html
*/

/* =========================================
   1. VARIABLES & RESET & BASICS
   ========================================= */
:root {
    --primary: #1e3a8a;   /* أزرق غامق */
    --secondary: #2563eb; /* أزرق فاتح */
    --accent: #f97316;    /* برتقالي */
    --light: #f8fafc;
    --dark: #0f172a;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: #fff;
}

/* صور وفيديو */
 img {
    max-width: 100%;
    height: auto; /* هذا السطر يمنع التمدد ويحافظ على النسبة والتناسب */
}
/* =========================================
   FIX WP CAPTION WIDTH ON MOBILE
   (إصلاح مشكلة عرض الصور التي تحتوي على وصف)
   ========================================= */

/* 1. إجبار حاوية الصورة على عدم تجاوز عرض الشاشة */
.wp-caption {
    width: auto !important; /* إلغاء العرض الثابت (722px) */
    max-width: 100% !important; /* لا تتجاوز عرض الموبايل */
}

/* 2. ضبط الصورة داخل الحاوية */
.wp-caption img {
    width: auto; /* تملأ الحاوية */
    height: auto !important; /* تحافظ على التناسق */
    display: block;
    margin: 0 auto;
}

/* 3. تنسيق نص الوصف أسفل الصورة (اختياري لتحسين الشكل) */
.wp-caption-text {
    font-size: 14px;
    padding: 10px;
    text-align: center;
    background: #f9f9f9;
    margin: 0;
}
/* 2. إصلاح صور البطاقات (الخدمات + المقالات) */
/* هنا نحتاج طول ثابت ليكون الشكل متناسقاً، لكن نستخدم object-fit لمنع التمدد */
.card-img img, 
.post-thumbnail img, 
.service-card img,
.related-thumb-link img {
    width: 100%;
    height: 250px !important; /* ارتفاع موحد لجميع البطاقات */
    object-fit: cover !important; /* هذا هو السر: يقوم بقص الزوائد بدلاً من ضغط الصورة */
    border-radius: 12px 12px 0 0; /* تحسين شكل الحواف */
}

/* 3. إصلاح الصور داخل المقالات (لتظهر كاملة بدون قص) */
.entry-content img {
    height: auto !important; /* في داخل المقال نريد رؤية الصورة كاملة */
    object-fit: contain;
}
}

iframe {
    max-width: 100% !important;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* العناوين العامة */
h1 { color: var(--primary); font-size: 2.2rem; text-align: center; margin-bottom: 30px; }
h2 { color: var(--primary); border-right: 5px solid var(--accent); padding-right: 15px; margin-top: 50px; background: #f1f5f9; padding: 10px 15px 10px 0; border-radius: 4px; }
h3 { color: #334155; margin-top: 30px; font-weight: 700; }
p, li { font-size: 1.1rem; color: #1c232e; margin-bottom: 15px; max-width: 98%; }

/* الحاوية الرئيسية */
.container {
    max-width: 100%;
    /* padding: 20px; */
}

/* جداول */
table { width: 100%; border-collapse: collapse; margin: 25px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
th, td { border: 1px solid #e2e8f0; padding: 15px; text-align: right; }
th { background: #f8fafc; color: var(--primary); }

/* أدوات مساعدة (Accessibility) */
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
    padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important;
    clip-path: none; color: #21759b; display: block; font-size: 14px; font-weight: bold; height: auto; left: 5px;
    line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;
}

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


/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span { color: var(--accent); }

.custom-logo { max-height: 50px; width: auto; }
.logo-text { font-size: 1.5rem; font-weight: bold; color: #333; text-decoration: none; }
.logo-text span { color: #0073aa; }

.nav-links {
    list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; align-items: center;
}
.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--secondary); }

.cta-header-btn {
    background: #0073aa; color: #fff !important; padding: 8px 20px; border-radius: 5px;
    font-weight: bold; text-decoration: none; margin-right: 15px;
}

.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #333; }


/* =========================================
   3. HOME PAGE SECTIONS
   ========================================= */
/* Hero Section */
.hero-section {
    position: relative;
    background: url('images/header.webp') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #fff;
}
.site-info {
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgb(31 67 210); */
    z-index: 1;
}
.hero-container { position: relative; z-index: 2; width: 100%; max-width: 900px; }

.hero-title {
    color: whitesmoke; font-size: 2.5rem; font-weight: 800; margin-bottom: 15px;
    line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.2rem; line-height: 1.6; margin-bottom: 40px; color: #f0f0f0;
    max-width: 700px; margin-left: auto; margin-right: auto;
}

/* Search Form (Glassmorphism) */
.booking-form-wrapper {
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px);
    padding: 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
.hero-search-form {
    display: flex; gap: 15px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.form-group { flex: 1; min-width: 200px; }
.form-control {
    width: 100%; padding: 15px; border-radius: 8px; border: 2px solid transparent;
    font-size: 1rem; color: #333; background: #fff; cursor: pointer; transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230073aa%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat; background-position: left 15px top 50%; background-size: 12px auto;
}
.form-control:focus { outline: none; border-color: #0073aa; box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.2); }

.btn-group { flex: 0 0 auto; }
.hero-btn {
    background: #fbff00; color: black; padding: 15px 30px; border: none; border-radius: 8px;
    font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: all 0.3s; display: flex;
    align-items: center; gap: 10px; width: 100%; justify-content: center;
}
.hero-btn:hover { background: #965d00; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

/* Home Intro */
.home-intro {/* padding: 50px 20px; */background: #f9f9f9;}
.intro-text { max-width: 800px; margin: 0 auto 20px; line-height: 1.8; color: #555; font-size: 1.1rem; }
.location-text { color: #0073aa; font-weight: bold; }
.section-title {text-align: center;font-size: 2rem;color: #222;margin-bottom: 30px;font-weight: 700;}

/* CTA Strip */
.cta-strip {
    background: #0073aa; color: #fff; padding: 20px; text-align: center;
    display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cta-strip p { margin: 0; font-size: 1.2rem; font-weight: bold; }
.cta-phone-btn {
    background: #fff; color: #0073aa; padding: 10px 25px; border-radius: 50px;
    text-decoration: none; font-weight: bold; transition: transform 0.3s;
}
.cta-phone-btn:hover { transform: scale(1.05); }

/* Services Grid */
.services-grid-section {/* padding: 50px 0; */}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.service-card {
    background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.card-img img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 20px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-content h3 { color: #333; margin-bottom: 10px; }
.read-more {
    display: inline-block; margin-top: 15px; color: #0073aa; text-decoration: none; font-weight: bold;
    border: 2px solid #0073aa; padding: 8px 15px; border-radius: 5px; transition: all 0.3s;
}
.read-more:hover { background: #0073aa; color: #fff; }

/* Features & Reviews */
.features-section {background: #ffe13a14;/* padding: 50px 0; */}
.features-section .section-title {/* color: #fff; */}
.features-list { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; text-align: center; }
.feature-item { max-width: 300px; }
.f-icon { font-size: 3rem; display: block; margin-bottom: 10px; }

.reviews-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.review-box { background: #fff; border: 1px solid #eee; padding: 20px; border-radius: 10px; }
.stars { color: #fbbf24; margin-bottom: 10px; }

.contact-hero { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); padding: 30px; border-radius: 20px; text-align: center; margin: 30px 0; border: 1px solid #bfdbfe; }
.contact-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.btn { padding: 15px 40px; border-radius: 12px; font-weight: bold; text-decoration: none; font-size: 1.1rem; color: white; transition: transform 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.btn-call { background: var(--primary); }
.btn-wa { background: #1da650; }
.btn:hover { transform: translateY(-3px); }


/* =========================================
   4. SINGLE POST & ARCHIVE
   ========================================= */
/* Single Post Structure */
.entry-header { margin-bottom: 20px; }
.entry-title { font-size: 2rem; color: #222; margin-bottom: 10px; }
.entry-meta { font-size: 0.9rem; color: #777; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; }
.entry-meta span {/* margin-left: 15px; */}

.entry-content { line-height: 1.8; font-size: 1.1rem; color: #333; margin-bottom: 30px; padding: 0 15px 20px; flex-grow: 1; }
.entry-content p { margin-bottom: 1.5em; }
.entry-footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; background: #f9f9f9; border-top: 1px solid #eee; font-size: 0.85rem; margin-top: auto; }
.entry-footer span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Post Thumbnail */
.post-thumbnail-container {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background-color: #f0f0f0; overflow: hidden; border-radius: 8px; margin-bottom: 25px;
}
.post-thumbnail-container img { width: 100%; height: 100%; object-fit: cover; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.post-media { margin: 0; padding: 0; overflow: hidden; position: relative; aspect-ratio: 16 / 9; }

/* Grid for Archive/Category */
.posts-grid-container {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin: 30px 0;
}
.post-block-out {
    background-color: #fff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column;
}
.post-block-out:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: #ddd; }
.post-block-out:hover .post-thumbnail img { transform: scale(1.05); }

/* Related Posts */
.related-posts-section { margin-top: 50px; border-top: 2px solid #eee; padding-top: 30px; }
.related-title { margin-bottom: 20px; font-size: 1.4rem; position: relative; display: inline-block; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.related-item { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: transform 0.3s; }
.related-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-thumb-link img { width: 100%; height: 150px; object-fit: cover; display: block; }
.related-post-title { padding: 10px 15px; font-size: 1rem; margin: 0; line-height: 1.4; }
.related-post-title a { text-decoration: none; color: #333; }
.related-post-title a:hover { color: #0073aa; }

/* Tags & Pagination */
.post-tags a {
    background: #eee; padding: 5px 10px; border-radius: 4px; text-decoration: none;
    font-size: 0.85rem; margin-left: 5px; color: #555;
}
.post-tags a:hover { background: #0073aa; color: #fff; }

.pagination-wrapper { margin: 40px 0; text-align: center; }
.pagination .page-numbers {
    display: inline-block; padding: 8px 16px; margin: 0 3px; background: #fff; border: 1px solid #ddd;
    color: #333; text-decoration: none; border-radius: 4px; font-weight: 600; transition: all 0.3s;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
    background: #0073aa; color: #fff; border-color: #0073aa;
}

/* Archive Header */
.archive-header {
    background: #fff; border-bottom: 2px solid #0073aa; padding: 30px 20px;
    margin-bottom: 30px; text-align: center; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.archive-header .page-title { margin: 0; font-size: 1.8rem; color: #333; }
.archive-header .page-title span { display: none; }
.archive-description { margin-top: 15px; font-size: 1.1rem; color: #666; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Search Header */
.search-header {
    background: #f4f6f8; padding: 30px; border-radius: 8px; margin-bottom: 30px;
    text-align: center; border-bottom: 2px solid #0073aa;
}
.search-header .page-title { margin: 0 0 10px; font-size: 1.8rem; color: #333; }
.search-query-highlight {
    color: #d63638; background: #fff; padding: 2px 8px; border-radius: 4px; border: 1px solid #ddd;
}
.search-count { color: #666; font-size: 0.95rem; margin: 0; }


/* =========================================
   5. COMMENTS SECTION
   ========================================= */
.comments-area { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; }
.comments-title { font-size: 1.5rem; margin-bottom: 30px; position: relative; padding-bottom: 10px; }
.comments-title:after {
    content: ''; width: 50px; height: 3px; background: #0073aa; position: absolute; bottom: 0; right: 0;
}
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body {
    background: #f9f9f9; padding: 20px; border-radius: 8px; margin-bottom: 20px;
    border: 1px solid #eee; position: relative;
}
.comment-list .avatar { float: right; border-radius: 50%; margin-left: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.comment-meta { margin-bottom: 10px; font-size: 0.9rem; color: #777; }
.fn { font-weight: bold; font-size: 1.1rem; color: #333; font-style: normal; }
.comment-metadata a { color: #999; text-decoration: none; font-size: 0.85rem; margin-right: 10px; }
.reply { text-align: left; margin-top: 10px; }
.comment-reply-link {
    display: inline-block; padding: 5px 15px; background: #fff; border: 1px solid #ddd;
    border-radius: 20px; font-size: 0.85rem; text-decoration: none; transition: all 0.3s;
}
.comment-reply-link:hover { background: #0073aa; color: #fff; border-color: #0073aa; }
.children { list-style: none; padding-right: 40px; margin-top: 20px; border-right: 2px solid #e5e5e5; }

/* Comment Form */
.comment-respond { margin-top: 40px; background: #fff; padding: 20px 0; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 96%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    margin-bottom: 10px;
    background: #fcfcfc;
    transition: border 0.3s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: #0073aa; background: #fff; outline: none; }
.comment-form-row {display: flex;gap: 4px;}
.comment-form-author, .comment-form-email {flex: 1;margin-bottom: 0;}
.submit-comment-btn {
    background-color: #0073aa; color: #fff; border: none; padding: 12px 30px; font-size: 1rem;
    border-radius: 5px; cursor: pointer; transition: background 0.3s;
}
.submit-comment-btn:hover { background-color: #005a87; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; font-size: 0.9rem; color: #666; gap: 10px; }
.comment-form-cookies-consent input { margin-top: 5px; }


/* =========================================
   6. SOCIAL SHARE BUTTONS
   ========================================= */
.share-box-bottom { background: #f9f9f9; padding: 20px; border-radius: 8px; margin: 30px 0; text-align: center; }
.share-title { margin: 0 0 15px; font-size: 1.1rem; }

.social-share-container {
    display: flex !important; align-items: center; justify-content: center;
    gap: 15px !important; margin: 30px 0; flex-wrap: wrap; direction: ltr;
}
.social-btn {
    display: flex !important; align-items: center; justify-content: center;
    width: 45px !important; height: 45px !important; border-radius: 50% !important;
    text-decoration: none !important; border: none !important; transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); color: #fff !important;
}
.social-btn svg {
    width: 22px !important; height: 22px !important; fill: #fff !important;
    margin: 0 !important; vertical-align: middle;
}
.social-btn:hover {
    transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    opacity: 0.9; color: #fff !important;
}

/* Social Colors */
.sb-facebook { background-color: #1877F2 !important; }
.sb-twitter  { background-color: #000000 !important; }
.sb-whatsapp { background-color: #25D366 !important; }
.sb-gmail    { background-color: #EA4335 !important; }
.sb-email    { background-color: #607D8B !important; }


/* =========================================
   7. FLOATING CONTACT BAR
   ========================================= */
.float-contact-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 100%;
    margin: 0 auto;
    display: none; /* مخفي بالموبايل يظهر بالميديا كويري */
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom);
    font-family: sans-serif;
}
.float-contact-label {
    color: #555;
    font-size: 14px;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    padding: 5px 15px;
}
.float-pulse-dot { color: #28a745; font-weight: bold; animation: floatPulse 1.5s infinite; }
@keyframes floatPulse {
    0% { opacity: 1; }
    50% { opacity: .5; }
    100% { opacity: 1; }
}
.float-contact-actions {
    display: flex;
    gap: 10px;
    padding: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    /* border-radius: 5px; */
    overflow: hidden;
    background: #fff;
}
.float-contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    padding: 12px 0;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    transition: transform .2s;
    border: none;
}
.float-contact-btn:active { transform: scale(.96); }
.float-icon { margin-left: 8px; font-size: 18px; }

.float-btn-call { background-color: #007bff; color: #fff !important; box-shadow: 0 4px 6px rgba(0,123,255,.2); }
.float-btn-whatsapp { background-color: #0e9e43; color: #fff !important; box-shadow: 0 4px 6px rgba(37,211,102,.2); }


/* =========================================
   8. FOOTER
   ========================================= */
footer { background: #111827; color: #9ca3af; padding: 50px 0 20px; margin-top: 50px; }
.footer-content {
    max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; padding: 0 20px;
}
.footer-content p { color: whitesmoke; }
.footer-col h4 {
    color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 15px;
    margin-bottom: 20px; display: inline-block;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { border-bottom: 1px solid #374151; padding: 10px 0; color: whitesmoke; }
.footer-col a { color: wheat; text-decoration: none; }
.copyright { text-align: center; margin-top: 50px; color: white; padding-top: 20px; border-top: 1px solid #374151; }


/* =========================================
   9. 404 & TOOLS
   ========================================= */
.error-404 { padding: 40px 0; text-align: center; }
.error-icon svg { margin-bottom: 10px; stroke: #0073aa; }
.error-icon .page-title {
    font-size: 6rem; font-weight: 900; color: #333; margin: -20px 0 10px; line-height: 1;
}
.error-title { font-size: 1.8rem; margin-bottom: 15px; color: #444; }
.error-text { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto 30px; }
.search-404 { max-width: 500px; margin: 0 auto 30px; }
.search-404 .search-form { display: flex; justify-content: center; }
.btn-home {
    display: inline-block; background-color: #333; color: #fff; padding: 12px 30px;
    border-radius: 5px; text-decoration: none; font-weight: bold; transition: background 0.3s; margin-bottom: 50px;
}
.btn-home:hover { background-color: #0073aa; }
.suggestions-404 { margin-top: 40px; border-top: 1px solid #eee; padding-top: 40px; text-align: right; }
.suggestions-404 h3 { text-align: center; margin-bottom: 30px; font-size: 1.4rem; }
.mini-card .entry-title { font-size: 1rem; padding: 10px; }
.mini-card .post-media { aspect-ratio: 16 / 9; }
.no-results { text-align: center; padding: 50px 0; }
.no-results .page-title { font-size: 2rem; margin-bottom: 20px; }
.no-results p { font-size: 1.1rem; color: #555; margin-bottom: 30px; }
.no-results .search-form { max-width: 400px; margin: 0 auto; }

/* Tools (Custom Forms) */
.tool-card {
    background: #fff; padding: 25px; border-radius: 15px; border: 1px solid #e2e8f0;
    margin: 30px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.btn-tool {
    width: 100%; padding: 12px; background: #cc5f13; color: white; border: none;
    border-radius: 8px; font-size: 1.1rem; cursor: pointer; font-weight: bold;
}
.result-msg {
    margin-top: 15px; padding: 15px; background: #fff7ed; border: 1px solid #ffedd5;
    border-radius: 8px; color: #9a3412; display: none;
}


/* =========================================
   10. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .post-box {
    margin: unset!important;
}
    article {margin:unset!important;}
.wp-caption img {
    width: 100% !important;}
    .menu-toggle { display: block; }
    .site-header {/* position: unset; */} /* في الموبايل الهيدر غير مثبت حسب طلبك */
    .container { margin: 0 2%; } /* هوامش أقل للموبايل */
.main-navigation.toggled a {
    text-decoration: none;
    text-align: center;
    display: table;
    width: 100%;
    background: #dbdbdb38;
    color: #020000;
    font-size: x-large;
    border-bottom: 1px solid #929292;
}
    .main-navigation.toggled li {list-style: none !important;}
    .main-navigation {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #eee;
        display: none; flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); z-index: 1000;
    }
    .main-navigation.toggled {display: flex;text-decoration: none;}

    .nav-links {display: none;flex-direction: column;width: 100%;gap: 1px;text-align: center;}
    .nav-links.active { display: flex; }

    .cta-header-btn { margin-right: 0; text-align: center; display: block; margin-top: 10px; }

    /* Home Page Elements */
    .hero-search-form { flex-direction: column; gap: 10px; }
    .form-group, .btn-group, .hero-btn { width: 100%; }
    .hero-title { font-size: 1.8rem; }
    .posts-grid-container { gap: 15px; grid-template-columns: 1fr; }
    .entry-title { font-size: 1.2rem; }

    /* Floating Contact */
    .float-contact-wrapper {display: flex;bottom: 0px;width: 100%;left: 0px;right: 0px;background: white;}
    body { padding-bottom: 85px !important; }

    /* Social Share */
    .social-share-container { gap: 10px !important; }
    .social-btn { width: 40px !important; height: 40px !important; }

    /* Comments */
    .comment-form-row { flex-direction: column; gap: 0; }
    .children { padding-right: 15px; }

    /* 404 */
    .error-icon .page-title { font-size: 4rem; }
    .search-404 { width: 100%; }
}

@media (max-width: 480px) {
    .social-share-container { gap: 10px !important; }
    .social-btn { width: 40px !important; height: 40px !important; }
}