/* ========================================================================
   SHARED PAGE STYLES
   Common styles used across multiple pages
   ======================================================================== */

/* ============================================
   1. PAGE HERO
   ============================================ */

.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--main-color-rgb), 0.95) 0%, var(--main-color)60 100%);
    /* background: linear-gradient(135deg, rgba(var(--main-color-rgb), 0.95) 0%, rgba(var(--accent-color-rgb), 0.3) 100%); */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--accent-color-rgb), 0.2);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.hero-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Hero Slogan (Shared for About, Contact pages) */
.hero-slogan {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-slogan .slogan-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-slogan .slogan-item i {
    color: var(--accent-color);
}

.hero-slogan .slogan-dot {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* ============================================
   1.B DETAIL HERO (Full-Width for Detail Pages)
   ============================================ */

.detail-hero {
    position: relative;
    width: 100%;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.detail-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: detailHeroZoom 20s ease-in-out infinite alternate;
}

@keyframes detailHeroZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(var(--main-color-rgb), 0.4) 0%,
            rgba(var(--main-color-rgb), 0.6) 50%,
            rgba(var(--main-color-rgb), 0.85) 100%);
    z-index: 1;
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem 1rem;
}

/* Breadcrumb at bottom edge of hero */
.detail-hero-breadcrumb {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.detail-hero-breadcrumb nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-hero-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.detail-hero-breadcrumb a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.detail-hero-breadcrumb a i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.detail-hero-breadcrumb .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6rem;
}

[dir="rtl"] .detail-hero-breadcrumb .breadcrumb-separator {
    transform: scaleX(-1);
}

.detail-hero-breadcrumb .breadcrumb-current {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    background: rgba(var(--accent-color-rgb), 0.15);
    border-radius: 25px;
}

.detail-hero-breadcrumb .breadcrumb-current i {
    font-size: 0.8rem;
}

@media (max-width: 576px) {

    /* Hide breadcrumb entirely on mobile */
    .detail-hero-breadcrumb {
        display: none;
    }
}

.detail-hero-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.3);
    animation: detailBadgePulse 3s ease-in-out infinite;
}

@keyframes detailBadgePulse {

    0%,
    100% {
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    }

    50% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--hero-color, var(--accent-color));
    }
}

.detail-hero-badge i {
    font-size: 2.25rem;
    color: #fff;
}

.detail-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.detail-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.6;
}

/* Responsive Detail Hero */
@media (max-width: 991px) {
    .detail-hero {
        min-height: 55vh;
    }

    .detail-hero-title {
        font-size: 2.25rem;
    }

    .detail-hero-badge {
        width: 75px;
        height: 75px;
    }

    .detail-hero-badge i {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .detail-hero {
        min-height: 45vh;
    }

    .detail-hero-title {
        font-size: 1.75rem;
    }

    .detail-hero-subtitle {
        font-size: 1rem;
    }

    .detail-hero-content {
        padding: 2rem 1rem;
    }

    .detail-hero-badge {
        width: 65px;
        height: 65px;
    }

    .detail-hero-badge i {
        font-size: 1.5rem;
    }
}

/* ============================================
   1.C DETAIL META SECTION
   ============================================ */

.post-meta-section,
.project-meta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--main-color-rgb), 0.08);
}

.post-meta-badges,
.project-meta-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--main-color-rgb), 0.05);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--main-color);
    transition: all 0.3s ease;
}

.meta-badge i {
    color: var(--accent-color);
}

.meta-badge.featured {
    background: var(--accent-color);
    color: var(--main-color);
}

.meta-badge.featured i {
    color: var(--main-color);
}

@media (max-width: 576px) {
    .meta-badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   1.D DETAIL CONTENT CARD (Shared across pages)
   Used by: Service, Project, Blog Post pages
   ============================================ */

.detail-content-card {
    background: linear-gradient(145deg, var(--main-color) 0%, var(--main-color-lighter) 50%, var(--main-color-darkest) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(var(--accent-color-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    margin-bottom: 2rem;
}

/* Decorative gold accent line at top */
.detail-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent-color) 20%,
            #ffd54f 50%,
            var(--accent-color) 80%,
            transparent 100%);
    z-index: 10;
}

/* Subtle pattern overlay */
.detail-content-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(var(--accent-color-rgb), 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(var(--accent-color-rgb), 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(var(--accent-color-rgb), 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(var(--accent-color-rgb), 0.02) 75%);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Card Header */
.detail-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid rgba(var(--accent-color-rgb), 0.2);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.detail-card-header .header-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--accent-color) !important;
    box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.4);
}

.detail-card-header .header-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0);
}

.detail-card-header .header-icon i {
    font-size: 2rem;
    color: var(--main-color);
}

.detail-card-header .header-info {
    flex: 1;
}

.detail-card-header .detail-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: rgba(var(--accent-color-rgb), 0.2);
    color: var(--accent-color);
}

.detail-card-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.4;
    color: #fff;
}

/* Featured Image inside card */
.detail-featured-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    z-index: 2;
}

.detail-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-featured-image .image-overlay {
    position: absolute;
    inset: 0;
}

.detail-featured-image .featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--accent-color);
}

[dir="rtl"] .detail-featured-image .featured-badge {
    left: auto;
    right: 20px;
}

/* Card Body (Light content area) */
.detail-card-body {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.97);
    margin: 1rem;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    box-shadow:
        0 -5px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(var(--main-color-rgb), 0.05);
}

/* Gold accent corner */
.detail-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, transparent 50%);
    border-radius: 16px 0 30px 0;
    opacity: 0.3;
}

[dir="rtl"] .detail-card-body::before {
    left: auto;
    right: 0;
    background: linear-gradient(-135deg, var(--accent-color) 0%, transparent 50%);
    border-radius: 0 16px 0 30px;
}

@media (max-width: 768px) {
    .detail-card-body {
        padding: 1rem;
        margin: 0.5rem;
        border-radius: 12px;
    }

    .detail-content-card {
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .detail-card-body {
        padding: 0.75rem;
        margin: 0.35rem;
        border-radius: 10px;
    }

    .detail-content-card {
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    /* Hide decorative corner on very small screens */
    .detail-card-body::before {
        display: none;
    }
}

/* Share Section inside card */
.detail-share-section {
    padding: 1.5rem;
    margin: 0 1rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
}

.detail-share-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.email {
    background: var(--main-color);
}

/* CTA Box inside card */
.detail-cta-box {
    margin: 0 1rem 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e6a800 50%, var(--accent-color) 100%);
    box-shadow:
        0 10px 30px rgba(var(--accent-color-rgb), 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.detail-cta-box .cta-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--main-color);
}

.detail-cta-box .cta-content i {
    font-size: 2rem;
    color: var(--main-color);
}

.detail-cta-box .cta-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--main-color);
}

.detail-cta-box .cta-content p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.9rem;
    color: var(--main-color);
}

.detail-cta-box .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--main-color);
    color: #fff;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(var(--main-color-rgb), 0.3);
}

.detail-cta-box .cta-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(var(--main-color-rgb), 0.4);
    background: var(--main-color-lighter);
    color: #fff;
}

@media (max-width: 768px) {
    .detail-cta-box {
        justify-content: center;
        text-align: center;
    }

    .detail-cta-box .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .detail-cta-box .cta-link {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   1.E DETAIL SIDEBAR (Shared across pages)
   Used by: Service, Project, Blog Post pages
   ============================================ */

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

@media (max-width: 991px) {
    .detail-sidebar {
        position: static;
    }
}

.sidebar-section {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--main-color);
    color: #fff;
}

.sidebar-header i {
    font-size: 1.25rem;
    color: var(--accent-color);
}

.sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

/* Sidebar List Items */
.sidebar-list {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

[dir="rtl"] .sidebar-item:hover {
    transform: translateX(-5px);
}

.sidebar-item .item-thumb {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-item .item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-item .item-thumb .thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
}

.sidebar-item .item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.sidebar-item .item-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--main-color);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-item .item-info span {
    font-size: 0.8rem;
    color: var(--color-neutral-gray);
}

/* Sidebar Contact Card */
.sidebar-contact-card {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-lighter) 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.sidebar-contact-card .contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--main-color);
}

.sidebar-contact-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sidebar-contact-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.sidebar-contact-card .contact-btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--main-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.sidebar-contact-card .contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(var(--accent-color-rgb), 0.4);
}


/* ============================================
   1.F FEATURED BADGE (Shared)
   ============================================ */

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--accent-color);
    color: var(--main-color);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.4);
}

.featured-badge i {
    font-size: 0.9rem;
}


/* ============================================
   1.G EMPTY STATE (Shared)
   ============================================ */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.empty-state .empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: rgba(var(--accent-color-rgb), 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.empty-state h3 {
    color: var(--main-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--color-neutral-gray);
    margin: 0;
}

/* Clear Filters Button - Premium Style */
.empty-state .clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-lighter) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.3);
    position: relative;
    overflow: hidden;
}

.empty-state .clear-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.empty-state .clear-btn:hover::before {
    left: 100%;
}

.empty-state .clear-btn:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e6ad00 100%);
    color: var(--main-color);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(var(--accent-color-rgb), 0.4);
}

.empty-state .clear-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--accent-color-rgb), 0.3);
}

.empty-state .clear-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.empty-state .clear-btn:hover i {
    transform: rotate(180deg);
}

/* ============================================
   2. HERO STATS
   ============================================ */

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.hero-stat .stat-number,
.hero-stat .stat-label {
    line-height: 1.2;
}

.hero-stat .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.hero-stat .stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--accent-color);
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
}

.stat-info {
    text-align: left;
    display: flex;
    flex-direction: column;
}

[dir="rtl"] .stat-info {
    text-align: right;
}


/* ============================================
   3. HERO QUICK CONTACT
   ============================================ */

.hero-quick-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.quick-contact-item:hover {
    background: var(--accent-color);
    color: var(--main-color);
    transform: translateY(-3px);
}

.quick-contact-item i {
    font-size: 1.1rem;
}


/* ============================================
   4. FLOATING SHAPES & ANIMATIONS
   ============================================ */

.page-hero .floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.page-hero .floating-shape.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.page-hero .floating-shape.shape-2 {
    width: 150px;
    height: 150px;
    background: #fff;
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.page-hero .floating-shape.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    top: 50%;
    right: 5%;
    animation-delay: 4s;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(var(--accent-color-rgb), 0);
    }
}


/* ============================================
   5. SHARED CTA SECTION
   ============================================ */

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: 0;
}

.cta-content-wrapper {
    position: relative;
    z-index: 10;
    background: #fff;
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--accent-color);
}

.cta-content-wrapper .cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd54f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--main-color);
    animation: float 3s ease-in-out infinite;
}

.cta-content-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.cta-content-wrapper p {
    color: var(--color-neutral-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-content-wrapper .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--main-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-content-wrapper .cta-button:hover {
    background: var(--accent-color);
    color: var(--main-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), 0.4);
}

/* Note: Empty state styles defined above in section 1.G */

/* ============================================
   6. SIDEBAR CONTACT CARD (Extended)
   ============================================ */

/* Note: Base sidebar-contact-card styles defined above in section 1.E */

.sidebar-contact-card>p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.sidebar-contact-card .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sidebar-contact-card .contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.sidebar-contact-card .contact-link:hover {
    color: var(--accent-color);
}

.sidebar-contact-card .contact-btn {
    display: block;
    background: var(--accent-color);
    color: var(--main-color);
    padding: 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.sidebar-contact-card .contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--accent-color-rgb), 0.4);
}


/* ============================================
   8. BACK LINK
   ============================================ */

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--main-color);
    color: #fff;
}

/* ============================================
   9. CARD IMAGES
   ============================================ */

.card-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
}

a:hover .card-image img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* ============================================
   10. SECTION HEADER
   ============================================ */

.section-header {
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--accent-color-rgb), 0.15);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--main-color);
    margin: 0;
}

/* ============================================
   11. RESPONSIVE STYLES
   ============================================ */

@media (max-width: 767px) {
    .page-hero {
        min-height: 350px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: center;
        padding: 0 0.5rem;
    }

    .hero-stat {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
        flex: 1;
        max-width: 120px;
        justify-content: center;
    }

    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .hero-stat .stat-number {
        font-size: 1.1rem;
    }

    .hero-stat .stat-label {
        font-size: 0.7rem;
    }

    .stat-info {
        min-width: 0;
    }

    .cta-content-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .cta-content-wrapper h2 {
        font-size: 1.5rem;
    }

    .cta-content-wrapper p {
        font-size: 1rem;
    }

    .cta-content-wrapper .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================================================
   FOOTER STYLES
   ============================================================================ */

/* Modern Footer Base */
.footer-modern {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, var(--color-primary) 100%);
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d8262f, #ff6b6b, #d8262f);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }
}

.footer-main {
    position: relative;
    z-index: 1;
}

/* Footer Brand */
.footer-brand img {
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-brand:hover img {
    transform: scale(1.05);
}

.footer-brand h3 {
    margin: 0;
}

/* Footer Copyright */
.footer-copyright {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-lighter) 100%);
    border-top: 2px solid var(--accent-color);
}

.footer-copy-link {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-copy-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

[dir="rtl"] .footer-copy-link::after {
    left: auto;
    right: 0;
}

.footer-copy-link:hover::after {
    width: 100%;
}

.footer-copy-link:hover {
    opacity: 0.8;
}

.copyright-brand {
    color: var(--accent-color);
    font-weight: 600;
}

/* Footer Headings with Underline */
.footer-heading-enhanced {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-heading-underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, transparent 100%);
}

[dir="rtl"] .footer-heading-underline {
    left: auto;
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 100%);
}

/* Enhanced Social Icons */
.social-icon-enhanced {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(var(--accent-color-rgb), 0.3);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon-enhanced:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--main-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(var(--accent-color-rgb), 0.4);
}

/* Unified Footer List */
.footer-list {
    padding: 0;
    margin: 0;
}

.footer-list-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-list-item:last-child {
    margin-bottom: 0;
}

.footer-list-item i {
    flex-shrink: 0;
    width: 20px;
}

.footer-list-link {
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-list-link:hover {
    color: var(--accent-color);
}

.hover-accent:hover {
    color: var(--accent-color) !important;
}

.footer-chevron-icon {
    font-size: 0.7rem;
}

/* Syria Map Container */
.syria-map-container {
    cursor: pointer;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.syria-map-container a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    outline: none;
}

.syria-map {
    max-width: 250px;
    margin: 0 auto;
    transition: all 0.4s ease;
    filter: brightness(0.95);
}

.syria-map-container:hover .syria-map {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(var(--accent-color-rgb), 0.4)) drop-shadow(0 0 20px rgba(var(--accent-color-rgb), 0.3)) drop-shadow(0 0 30px rgba(var(--accent-color-rgb), 0.2));
    animation: mapGlow 2s ease-in-out infinite;
}

@keyframes mapGlow {

    0%,
    100% {
        filter: brightness(1.1) drop-shadow(0 0 10px rgba(var(--accent-color-rgb), 0.4)) drop-shadow(0 0 20px rgba(var(--accent-color-rgb), 0.3));
    }

    50% {
        filter: brightness(1.15) drop-shadow(0 0 15px rgba(var(--accent-color-rgb), 0.6)) drop-shadow(0 0 30px rgba(var(--accent-color-rgb), 0.4)) drop-shadow(0 0 45px rgba(var(--accent-color-rgb), 0.2));
    }
}

/* Quick Links - Vertical list on desktop */
@media (min-width: 993px) {
    .footer-quick-links {
        display: block;
    }

    .footer-quick-links .footer-list-item::after {
        display: none !important;
    }
}

/* Footer Responsive Styles */
@media (max-width: 992px) {
    .footer-heading-enhanced {
        text-align: center;
    }

    .footer-heading-underline {
        left: 50%;
        transform: translateX(-50%);
    }

    [dir="rtl"] .footer-heading-underline {
        right: 50%;
        left: 50%;
        transform: translateX(50%);
    }

    .footer-links-enhanced {
        text-align: center;
    }

    .footer-contact-list {
        text-align: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .social-links-modern {
        justify-content: center !important;
    }

    /* Center footer contact info list on mobile */
    .footer-list:not(.footer-quick-links) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-list-item {
        justify-content: center;
        text-align: center;
    }

    /* Quick Links - Inline with separators on tablet/mobile */
    .footer-quick-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.5rem 0;
    }

    .footer-quick-links .footer-list-item {
        margin-bottom: 0 !important;
        position: relative;
        margin-right: 12px;
    }

    .footer-quick-links .footer-list-item::after {
        content: '|';
        position: absolute;
        right: -7px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--accent-color);
        font-weight: 300;
    }

    .footer-quick-links .footer-list-item:last-child {
        margin-right: 0;
    }

    .footer-quick-links .footer-list-item:last-child::after {
        display: none;
    }

    [dir="rtl"] .footer-quick-links .footer-list-item {
        margin-right: 0;
        margin-left: 12px;
    }

    [dir="rtl"] .footer-quick-links .footer-list-item::after {
        right: auto;
        left: -7px;
    }

    [dir="rtl"] .footer-quick-links .footer-list-item:last-child {
        margin-left: 0;
    }
}

@media (max-width: 991px) {
    .footer-heading {
        font-size: 16px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-world {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .footer-main {
        padding: 3rem 0 !important;
    }

    .footer-brand {
        text-align: center !important;
        margin-bottom: 2rem;
    }

    .footer-brand a {
        justify-content: center;
    }

    .social-links-modern {
        justify-content: center !important;
    }

    .footer-links {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-link {
        justify-content: center;
    }

    .footer-world {
        margin-top: 2rem;
    }

    /* Hide Our Branches heading on mobile */
    .footer-main .col-lg-3.col-md-6:last-child h5 {
        display: none;
    }

    .social-icon-enhanced {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    [dir="rtl"] .footer-contact-item span small {
        margin-left: -40px;
    }
}

@media (max-width: 575px) {
    .footer-copyright {
        font-size: 13px;
        text-align: center !important;
    }

    .footer-copyright .col-md-6 {
        text-align: center !important;
        margin-bottom: 10px;
    }

    .footer-copyright .col-md-6:last-child {
        margin-bottom: 0;
    }

    .footer-copy-link {
        display: inline-block;
        margin: 5px 8px;
    }

    .footer-brand img {
        height: 60px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}

/* RTL Text Alignment Fixes */
[dir="rtl"] .text-md-start {
    text-align: right !important;
}

[dir="rtl"] .text-md-end {
    text-align: left !important;
}

[dir="rtl"] .text-lg-start {
    text-align: right !important;
}

@media (max-width: 767px) {

    [dir="rtl"] .text-md-start,
    [dir="rtl"] .text-md-end,
    [dir="rtl"] .text-lg-start {
        text-align: center !important;
    }
}