/* ===================================
   Global Variables & Reset
   =================================== */
:root {
    --bg-dark: #0d0f12;
    --card-bg: #14181d;
    --card-border: #222831;
    --accent-gold: #d4af37;
    --accent-gold-hover: #f3ca40;
    --text-white: #ffffff;
    --text-gray: #a0a8b3;
    --text-muted: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

/* ===================================
   Header & Navigation
   =================================== */
.main-header {
    background-color: rgba(20, 24, 29, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.name-ar {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-white);
}

.name-en {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--accent-gold);
}

/* ===================================
   Buttons Style
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: #000;
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

/* ===================================
   Hero Section & Address Badge
   =================================== */
.hero-wrapper {
    padding: 50px 0;
}

.hero-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.image-frame img {
    border-radius: 12px;
    border: 2px solid var(--accent-gold);
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.sub-title {
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 700;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 10px 0;
}

.highlight-gold {
    color: var(--accent-gold);
}

.english-title {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 12px;
}

/* تنسيق شارة العنوان التفصيلي */
.office-address-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 15px;
}

.office-address-badge i {
    font-size: 1.1rem;
}

.hero-description {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.verify-link {
    color: var(--text-white);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.verify-link:hover {
    color: var(--accent-gold);
}

/* ===================================
   Grid & Card Layouts
   =================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.qualifications-title, .section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
}

.qualifications-sub, .rating-sub {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===================================
   Stats & SEO Badges
   =================================== */
.stats-section {
    display: flex;
    justify-content: space-around;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.stat-box i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.stat-box h3 {
    font-size: 1.8rem;
    font-weight: 800;
}

.seo-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.seo-badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ===================================
   Blog Section (شبكة المدونة)
   =================================== */
.blog-header-section {
    text-align: right;
    margin-bottom: 35px;
}

.blog-main-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.blog-header-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.blog-main-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
}

.blog-sub-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
}

.gold-star-icon {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-card {
    background-color: #111418;
    border: 1px solid #1f252d;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: 12px;
}

.blog-card-date {
    font-size: 0.8rem;
    color: #5d6775;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-desc {
    font-size: 0.88rem;
    color: #929ea8;
    line-height: 1.6;
    margin-bottom: 25px;
}

.blog-card-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-link:hover {
    color: var(--accent-gold-hover);
}

/* ===================================
   Reviews Section
   =================================== */
.reviews-header {
    text-align: center;
    margin-bottom: 30px;
}

.stars-top {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-stars {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.review-text {
    color: var(--text-gray);
    font-size: 0.92rem;
}

/* ===================================
   Form & Interactive Select
   =================================== */
.form-card {
    max-width: 650px;
    margin: 20px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-dark);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-white);
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
}

.form-card select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4af37'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 20px;
    appearance: none;
    -webkit-appearance: none;
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1.05rem;
    border-radius: 8px;
}

/* ===================================
   Floating Buttons & Footer
   =================================== */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.float-whatsapp { background-color: #25d366; }
.float-call { background-color: var(--accent-gold); color: #000; }

.float-btn:hover { transform: scale(1.1); }

.footer {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid var(--card-border);
    color: var(--text-gray);
    font-size: 0.88rem;
    margin-top: 40px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .hero-card {
        flex-direction: column;
        padding: 20px;
    }
    .nav-menu {
        display: none;
    }
    .office-address-badge {
        font-size: 0.82rem;
    }
}