/* ========================================================================
   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: -15% 0 0 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    transform: scale(1.1);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--main-color-rgb), 0.75) 0%, rgba(var(--main-color-rgb), 0.45) 70%, rgba(var(--main-color-rgb), 0.6) 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: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 0.9rem 2.75rem;
}

.hero-slogan .slogan-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-slogan .slogan-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(97, 178, 58, 0.5));
}

.hero-slogan .slogan-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero-slogan .slogan-dot img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* ============================================
   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);
    }
}

/* Multi-layered overlay for depth and readability */
.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(var(--main-color-rgb), 0.65) 0%,
            rgba(var(--main-color-rgb), 0.78) 40%,
            rgba(var(--main-color-rgb), 0.92) 100%);
    z-index: 1;
}

/* Animated gradient shimmer */
.detail-hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0.03) 75%,
            transparent 100%);
    background-size: 200% 200%;
    animation: heroShimmer 8s ease-in-out infinite;
}

@keyframes heroShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Decorative geometric shapes */
.detail-hero::before,
.detail-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.06;
    background: #fff;
    pointer-events: none;
}

.detail-hero::before {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -80px;
    animation: heroFloat 12s ease-in-out infinite;
}

.detail-hero::after {
    width: 250px;
    height: 250px;
    bottom: -60px;
    left: -40px;
    animation: heroFloat 15s ease-in-out infinite reverse;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

[dir="rtl"] .detail-hero::before {
    right: auto;
    left: -80px;
}

[dir="rtl"] .detail-hero::after {
    left: auto;
    right: -40px;
}

.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.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.detail-hero-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.9);
    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.2);
    color: #fff;
}

.detail-hero-breadcrumb a i {
    font-size: 0.8rem;
    opacity: 0.85;
}

.detail-hero-breadcrumb .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.45);
    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: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.35rem 0.85rem;
    background: rgba(var(--accent-color-rgb), 0.25);
    border-radius: 25px;
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
}

.detail-hero-breadcrumb .breadcrumb-current i {
    font-size: 0.8rem;
}

@media (max-width: 576px) {

    /* Hide breadcrumb entirely on mobile */
    .detail-hero-breadcrumb {
        display: none;
    }
}

/* Hero Badge with glow ring */
.detail-hero-badge {
    width: 100px;
    height: 100px;
    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.35),
        0 0 0 6px rgba(255, 255, 255, 0.15),
        0 0 40px rgba(var(--accent-color-rgb, 97, 178, 58), 0.3);
    border: 4px solid rgba(255, 255, 255, 0.35);
    animation: detailBadgePulse 3s ease-in-out infinite;
    position: relative;
}

/* Outer ring animation */
.detail-hero-badge::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: badgeRing 3s ease-in-out infinite;
}

@keyframes badgeRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

@keyframes detailBadgePulse {

    0%,
    100% {
        box-shadow:
            0 15px 50px rgba(0, 0, 0, 0.35),
            0 0 0 6px rgba(255, 255, 255, 0.15),
            0 0 40px rgba(var(--accent-color-rgb, 97, 178, 58), 0.3);
    }

    50% {
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.4),
            0 0 0 8px rgba(255, 255, 255, 0.2),
            0 0 60px rgba(var(--accent-color-rgb, 97, 178, 58), 0.5);
    }
}

.detail-hero-badge i {
    font-size: 2.5rem;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.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.5), 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-inline: auto;
}

.detail-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Detail Hero */
@media (max-width: 991px) {
    .detail-hero {
        min-height: 55vh;
    }

    .detail-hero-title {
        font-size: 2.25rem;
    }

    .detail-hero-badge {
        width: 80px;
        height: 80px;
    }

    .detail-hero-badge i {
        font-size: 2rem;
    }

    .detail-hero::before {
        width: 250px;
        height: 250px;
    }

    .detail-hero::after {
        width: 150px;
        height: 150px;
    }
}

@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;
    }

    .detail-hero::before,
    .detail-hero::after {
        display: none;
    }
}

/* ============================================
   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: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.detail-card-header .header-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.detail-card-header .header-icon i {
    font-size: 2rem;
    color: #fff;
}

.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.9rem;
    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.95rem;
    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.9rem;
    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.95rem;
    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.95rem;
    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:
        radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.6;
}

@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
   ============================================ */

.global-cta {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(160deg, #f0f4f8 0%, #fff 40%, #f5f7fa 100%);
    overflow: hidden;
}

.global-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Floating humanitarian icons */
.cta-float-icon {
    position: absolute;
    font-size: 5.5rem;
    color: rgba(var(--accent-color-rgb), 0.08);
    animation: ctaIconFloat 7s ease-in-out infinite;
    z-index: 0;
}

@keyframes ctaIconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(8deg);
    }
}

.global-cta-card {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent-color), rgba(var(--accent-color-rgb), 0.3), var(--main-color));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 40px rgba(var(--accent-color-rgb), 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.global-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 0 50px rgba(var(--accent-color-rgb), 0.1);
}

.cta-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.08), transparent 30%);
    animation: ctaSpin 8s linear infinite;
    border-radius: 24px;
}

@keyframes ctaSpin {
    to {
        transform: rotate(360deg);
    }
}

.cta-card-content {
    background: #fff;
    border-radius: 22px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--accent-color), #8dd94c);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.global-cta-card:hover .cta-badge {
    transform: rotate(0deg) scale(1.05);
}

.cta-card-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--main-color);
    margin-bottom: 0.6rem;
}

.cta-card-content p {
    color: #6b7b8d;
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto 1.75rem;
    line-height: 1.7;
}

.global-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--main-color);
    color: #fff;
    padding: 0.85rem 2.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 6px 25px rgba(29, 159, 218, 0.2);
}

.global-cta-btn:hover {
    background: #166fb3;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(29, 159, 218, 0.4);
}

.global-cta-btn .cta-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.global-cta-btn:hover .cta-arrow {
    transform: translateX(4px);
}

[dir="rtl"] .global-cta-btn:hover .cta-arrow {
    transform: translateX(-4px);
}

/* 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. UNIFIED SECTION HEADER DESIGN SYSTEM
   ============================================ */

.section-header {
    margin-bottom: 2.75rem;
    position: relative;
    z-index: 2;
}

.section-header.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Section Badge / Kicker */
.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(29, 159, 218, 0.08);
    color: #0f2446;
    border: 1px solid rgba(29, 159, 218, 0.22);
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.2px;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 6px rgba(15, 36, 70, 0.03);
    transition: all 0.3s ease;
    width: fit-content;
}

.section-badge i {
    font-size: 0.9rem;
    color: var(--accent-color, #61B23A);
}

.section-badge-outline {
    background: transparent;
    border: 1px solid rgba(29, 159, 218, 0.25);
    color: #0f2446;
}

/* Light variants for dark backgrounds */
.section-badge--light,
.section-badge-light {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.section-badge--light i,
.section-badge-light i {
    color: #63d2ff !important;
}

.section-header--light {
    margin-bottom: 2.75rem;
    position: relative;
    z-index: 2;
}

/* Section Main Title */
.section-main-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 600;
    color: #0f2446 !important;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 1.15rem;
    line-height: 1.25;
    letter-spacing: -0.015em;
    max-width: 880px;
    margin-inline: auto;
    text-wrap: balance;
}

/* Base side-aligned underline (gradient line) */
.section-main-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color, #61B23A) 0%, rgba(97, 178, 58, 0.25) 75%, transparent 100%);
    border-radius: 3px;
}

[dir="rtl"] .section-main-title::before {
    left: auto;
    right: 0;
    background: linear-gradient(270deg, var(--accent-color, #61B23A) 0%, rgba(97, 178, 58, 0.25) 75%, transparent 100%);
}

/* Base side-aligned diamond */
.section-main-title::after {
    content: '';
    position: absolute;
    bottom: -2.5px;
    left: 20px;
    width: 8px;
    height: 8px;
    background: var(--accent-color, #61B23A);
    border-radius: 2px;
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(97, 178, 58, 0.6), 0 0 16px rgba(97, 178, 58, 0.25);
    z-index: 2;
}

[dir="rtl"] .section-main-title::after {
    left: auto;
    right: 20px;
}

/* Centered Title Variant (also applies automatically if inside .section-header.text-center) */
.section-main-title-center,
.section-header.text-center .section-main-title,
.text-center .section-main-title {
    text-align: center;
}

/* Centered Glowing Faded Gradient Line */
.section-main-title-center::before,
.section-header.text-center .section-main-title::before,
.text-center .section-main-title::before {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(97, 178, 58, 0.25) 15%,
            var(--accent-color, #61B23A) 50%,
            rgba(97, 178, 58, 0.25) 85%,
            transparent 100%) !important;
}

/* Centered Glowing Diamond Jewel */
.section-main-title-center::after,
.section-header.text-center .section-main-title::after,
.text-center .section-main-title::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) rotate(45deg) !important;
    bottom: -2.5px !important;
    width: 8px;
    height: 8px;
    background: var(--accent-color, #61B23A) !important;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(97, 178, 58, 0.7), 0 0 18px rgba(97, 178, 58, 0.35) !important;
}

/* Light Background Variant (e.g. for Dark Sections) */
.section-main-title--light {
    color: #ffffff !important;
}

.section-main-title--light::before {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(99, 210, 255, 0.25) 15%,
            #63d2ff 50%,
            rgba(99, 210, 255, 0.25) 85%,
            transparent 100%) !important;
}

.section-main-title--light::after {
    background: #63d2ff !important;
    box-shadow: 0 0 10px rgba(99, 210, 255, 0.8), 0 0 20px rgba(99, 210, 255, 0.4) !important;
}

/* Section Subtitle / Lead Text */
.section-subtitle {
    text-align: center;
    color: #526071;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.7;
    max-width: 720px;
    margin-inline: auto;
    text-wrap: pretty;
}

.section-lead-title {
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    font-weight: 700;
    color: var(--accent-color, #1D9FDA);
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

/* Responsive Styles for Section Headers */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 1.85rem;
    }

    .section-main-title,
    .section-main-title-center {
        font-size: clamp(1.45rem, 5vw, 1.85rem);
        margin-bottom: 0.85rem;
        padding-bottom: 0.65rem;
    }

    .section-main-title::before,
    .section-main-title-center::before {
        width: 90px;
        height: 2.5px;
    }

    .section-main-title::after,
    .section-main-title-center::after {
        width: 7px;
        height: 7px;
        bottom: -2.25px !important;
    }

    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 92%;
    }

    .section-badge {
        font-size: 0.78rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.55rem;
    }
}

@media (max-width: 480px) {

    .section-main-title,
    .section-main-title-center {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }
}

/* ============================================
   HUMANITARIAN INSPIRATION SECTION (shared)
   ============================================ */
.humanitarian-inspiration-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.humanitarian-inspiration-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--main-color-rgb), 0.75) 0%, rgba(var(--accent-color-rgb), 0.6) 100%);
}

.humanitarian-inspiration-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.inspiration-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.inspiration-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.inspiration-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.inspiration-line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(var(--accent-color-rgb), 0.4);
}

/* ============================================
   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;
    }

    .humanitarian-inspiration-section {
        padding: 3rem 0;
    }

    .inspiration-title {
        font-size: 1.5rem;
    }

    .inspiration-logo {
        width: 70px;
        height: 70px;
    }

    .global-cta {
        padding: 3rem 0;
    }

    .cta-card-content {
        padding: 2rem 1.5rem;
    }

    .cta-card-content h2 {
        font-size: 1.35rem;
    }

    .cta-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hero-slogan {
        gap: 0.75rem;
        padding: 0.65rem 1.25rem;
        margin-top: 1.25rem;
    }

    .hero-slogan .slogan-item {
        font-size: 0.9rem;
        gap: 0.4rem;
    }

    .hero-slogan .slogan-dot {
        font-size: 1.1rem;
    }
}

/* ============================================================================
   FOOTER STYLES
   ============================================================================ */

/* Modern Footer Base */
.footer-modern {
    position: relative;
    background: linear-gradient(135deg, #0d1b2a 0%, #112240 50%, #0d1b2a 100%);
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color, #1D9FDA) 0%, var(--accent-color, #61B23A) 100%);
}



.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;
    background: #091528;
    border-top: 1px solid rgba(29, 159, 218, 0.15);
}

.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: #fff;
    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;
    padding-inline-end: 1rem;
}

.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;
    }
}

/* ============================================
   NEWSLETTER SUBSCRIPTION
   ============================================ */

.newsletter-input-group {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 230, 126, 34), 0.15);
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    color: #fff !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.875rem !important;
    border-radius: 0 !important;
    font-family: 'Inter', sans-serif !important;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.newsletter-input:focus {
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

.newsletter-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    padding: 0 1.1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.newsletter-btn:active {
    transform: scale(0.95);
}

.newsletter-message {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    animation: fadeSlideUp 0.3s ease;
}

.newsletter-message.success {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}

.newsletter-message.error {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.newsletter-message.info {
    color: var(--accent-color);
    background: rgba(var(--accent-rgb, 230, 126, 34), 0.1);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL: flip the paper-plane icon */
[dir="rtl"] .newsletter-btn i {
    transform: scaleX(-1);
}

/* Footer Language Toggle */
.footer-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-lang-toggle:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Arabic font for language label in LTR */
.footer-lang-label {
    font-family: 'Tajawal', 'Inter', sans-serif;
}

/* Newsletter message - reserve space to prevent layout shift */
.newsletter-message {
    min-height: 1.4em;
    color: transparent;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}