/* Activities Section - Compressed CSS */
:root {
    --activities-primary: #016A6E;
    --activities-secondary: #0A8B8F;
    --activities-accent: #F3BD01;
    --activities-bg: #f8fcff;
    --activities-text: #374151;
    --activities-muted: #64748b;
    --activities-space-xs: 8px;
    --activities-space-sm: 16px;
    --activities-space-md: 24px;
    --activities-space-lg: 32px;
    --activities-space-xl: 48px;
    --activities-radius: 12px;
    --activities-radius-lg: 20px;
    --activities-radius-full: 50px;
    --activities-font-elegant: 'IRANSansWeb', sans-serif;
    --activities-font-semibold: 600;
    --activities-font-bold: 700;
    --activities-shadow: 0 8px 32px rgba(1, 106, 110, 0.12);
    --activities-shadow-lg: 0 16px 48px rgba(1, 106, 110, 0.2);
}

/* Main Section */
.activities-section {
    position: relative;
    padding: var(--activities-space-xl) 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--activities-bg) 100%);
    overflow: hidden;
}

/* Background System */
.activities-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.energy-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 106, 110, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

.energy-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(1, 106, 110, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.3;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 252, 255, 0.6) 100%);
}

/* Container */
.activities-container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--activities-space-md);
}

/* Header */
.activities-header-compact {
    display: flex;
    align-items: center;
    gap: var(--activities-space-md);
    padding: var(--activities-space-md) var(--activities-space-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 255, 0.9) 100%);
    border-radius: var(--activities-radius-lg);
    box-shadow: var(--activities-shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(1, 106, 110, 0.1);
    margin-bottom: var(--activities-space-xl);
}

.header-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--activities-primary) 0%, var(--activities-secondary) 50%, var(--activities-accent) 100%);
    border-radius: var(--activities-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(1, 106, 110, 0.3);
}

.header-text {
    flex: 1;
}

.section-main-title {
    font-family: var(--activities-font-elegant);
    font-size: 2.2rem;
    font-weight: var(--activities-font-bold);
    color: var(--activities-primary);
    margin: 0 0 var(--activities-space-xs) 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(1, 106, 110, 0.1);
}

.section-main-subtitle {
    font-family: var(--activities-font-elegant);
    font-size: 1.1rem;
    color: var(--activities-muted);
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

/* Section Wrapper Full - Each section in its own row with unified design */
.section-wrapper-full {
    width: 100%;
    margin: 60px auto 0 auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 255, 0.9) 100%);
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(1, 106, 110, 0.12), 0 2px 8px rgba(1, 106, 110, 0.08);
    border: 2px solid rgba(1, 106, 110, 0.1);
    overflow: hidden;
    padding-bottom: var(--activities-space-xl);
}

/* Category Headers - Integrated design as part of unified section */
.section-wrapper-full .section-category-header {
    margin: 0;
    max-width: 100%;
    position: relative;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid rgba(1, 106, 110, 0.15);
    box-shadow: none;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.1) 0%, rgba(1, 106, 110, 0.06) 50%, rgba(1, 106, 110, 0.1) 100%);
    padding: 28px 32px;
}

.section-category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--activities-space-md);
    margin: 60px auto 32px auto;
    max-width: 100%;
    text-align: center;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.08) 0%, rgba(1, 106, 110, 0.04) 50%, rgba(1, 106, 110, 0.08) 100%);
    border-radius: 20px 20px 0 0;
    border: 2px solid rgba(1, 106, 110, 0.15);
    border-bottom: none;
    position: relative;
    overflow: visible;
    box-shadow: 0 -4px 20px rgba(1, 106, 110, 0.1), 0 8px 32px rgba(1, 106, 110, 0.15);
    backdrop-filter: blur(10px);
}

.section-category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--activities-primary) 20%, var(--activities-secondary) 50%, var(--activities-primary) 80%, transparent 100%);
    border-radius: 24px 24px 0 0;
}

.section-category-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.4) 50%, transparent 100%);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--activities-primary), var(--activities-secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(1, 106, 110, 0.4);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
}

.category-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--activities-primary), var(--activities-secondary));
    border-radius: 23px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-icon:hover::before {
    opacity: 1;
}

.category-icon:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 16px 40px rgba(1, 106, 110, 0.5);
}

.category-title {
    font-family: var(--activities-font-elegant);
    font-size: 1.6rem;
    font-weight: var(--activities-font-bold);
    color: var(--activities-primary);
    margin: 0 0 8px 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(1, 106, 110, 0.15);
    letter-spacing: 0.4px;
    position: relative;
    z-index: 2;
}

.category-desc {
    font-family: var(--activities-font-elegant);
    font-size: 0.95rem;
    color: var(--activities-muted);
    margin: 0;
    text-align: center;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* Activities Cards - Integrated as part of unified section with improved grid */
.section-wrapper-full .activities-cards {
    margin: 0;
    max-width: 100%;
    position: relative;
    padding: var(--activities-space-xl) var(--activities-space-lg) var(--activities-space-lg);
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
}

.section-wrapper-full .activities-cards::before {
    display: none;
}

/* Cards Grid - 3 cards per row, uniform sizing */
.activities-cards {
    display: grid;
    gap: 24px;
    margin-bottom: 60px;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    align-items: stretch;
    contain: layout style paint;
    width: 100%;
}

.activities-cards:has(.activity-card:nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    gap: 20px;
    padding: 0 var(--activities-space-md);
}

.activities-cards:has(.activity-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    gap: 24px;
}

.activities-cards:has(.activity-card:only-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    gap: 24px;
    justify-items: stretch;
    align-items: stretch;
}

.activities-cards:has(.activity-card:only-child) .activity-card {
    grid-column: 2 / 3;
    justify-self: stretch;
    max-width: 100%;
    width: 100%;
    height: 100%;
    min-height: 100%;
    contain: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-self: stretch;
}

/* Fallback */
@supports not (selector(:has(*))) {
    .activities-cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        gap: 24px;
    }

    .activities-cards.single-card {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        gap: 24px;
        justify-items: stretch;
        align-items: stretch;
    }

    .activities-cards.single-card .activity-card {
        grid-column: 2 / 3;
        justify-self: stretch;
        max-width: 100%;
        width: 100%;
        height: 100%;
        min-height: 100%;
        align-self: stretch;
    }

    .activities-cards.two-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 24px;
    }

    .activities-cards.three-cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        gap: 24px;
    }

    .activities-cards.four-cards {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
        gap: 20px;
        padding: 0 var(--activities-space-md);
    }

    .activities-cards.five-cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        gap: 24px;
    }

    .activities-cards.five-cards .activity-card:last-child {
        grid-column: span 1;
    }

    .activity-card.no-logo .card-title-area {
        border-radius: 16px 16px 0 0;
    }
}

/* Activity Card - Uniform sizing for all cards */
.activity-card {
    background: linear-gradient(145deg, #ffffff 0%, var(--activities-bg) 100%);
    border-radius: 16px;
    box-shadow: 0 3px 20px rgba(1, 106, 110, 0.1), 0 2px 8px rgba(1, 106, 110, 0.06), 0 0 0 1px rgba(1, 106, 110, 0.08);
    border: 2px solid rgba(1, 106, 110, 0.12);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    width: 100%;
    max-width: 100%;
    will-change: transform, box-shadow;
    contain: layout style paint;
    margin: 0;
}

.activity-card:not(:has(.card-header-full-logo)) .card-title-area {
    border-radius: 16px 16px 0 0;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.02) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(1, 106, 110, 0.15), 0 3px 14px rgba(1, 106, 110, 0.1), 0 0 0 1px rgba(1, 106, 110, 0.15);
    border-color: rgba(1, 106, 110, 0.2);
}

.activity-card:hover::before {
    opacity: 1;
}

.activity-card:focus-within {
    outline: 2px solid var(--activities-primary);
    outline-offset: 2px;
}

/* Card Headers - Compact design */
.card-header-full-logo {
    position: relative;
    height: 85px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    min-height: 85px;
    max-height: 85px;
    transition: transform 0.35s ease;
}

.card-header-full-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    transition: opacity 0.35s ease;
    opacity: 0;
}

.activity-card:hover .card-header-full-logo {
    transform: scale(1.01);
}

.activity-card:hover .card-header-full-logo::before {
    opacity: 0;
}

.card-header-no-logo {
    position: relative;
    height: 80px;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.12) 0%, rgba(1, 106, 110, 0.06) 50%, rgba(1, 106, 110, 0.12) 100%);
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header-new {
    position: relative;
    height: 80px;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.12) 0%, rgba(1, 106, 110, 0.06) 50%, rgba(1, 106, 110, 0.12) 100%);
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Status Badge */
.status-container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.status-badge {
    font-family: var(--activities-font-elegant);
    font-size: 0.75rem;
    font-weight: var(--activities-font-bold);
    padding: 6px 12px;
    border-radius: 15px;
    direction: rtl;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 80px;
}

.status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.status-badge:hover::before {
    left: 100%;
}

.status-active {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.status-development {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.status-planning {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Card Title Area - Compact design */
.card-title-area {
    padding: 12px var(--activities-space-sm) 10px var(--activities-space-sm);
    direction: rtl;
    background: linear-gradient(135deg, #ffffff 0%, var(--activities-bg) 50%, #ffffff 100%);
    border-bottom: 2px solid rgba(1, 106, 110, 0.12);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.title-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.card-title-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.4) 50%, transparent 100%);
    opacity: 0.6;
}

.card-title-area::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(1, 106, 110, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.title-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--activities-primary) 0%, var(--activities-secondary) 50%, var(--activities-accent) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(1, 106, 110, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.title-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--activities-primary) 0%, var(--activities-secondary) 50%, var(--activities-accent) 100%);
    border-radius: 13px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.activity-card:hover .title-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(1, 106, 110, 0.4);
}

.activity-card:hover .title-icon::before {
    opacity: 1;
}

.card-title-main {
    font-family: var(--activities-font-elegant);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--activities-primary);
    margin: 0;
    text-shadow: 0 1px 2px rgba(1, 106, 110, 0.08);
    letter-spacing: 0.1px;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: right;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-subtitle-text {
    font-family: var(--activities-font-elegant);
    font-size: 0.72rem;
    color: var(--activities-muted);
    margin: 0;
    font-weight: 500;
    text-align: right;
    line-height: 1.3;
    opacity: 0.85;
}

/* Card Body - Compact design */
.card-body {
    padding: 10px var(--activities-space-sm) var(--activities-space-sm) var(--activities-space-sm);
    direction: rtl;
    background: linear-gradient(135deg, #ffffff 0%, var(--activities-bg) 100%);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    align-items: stretch;
}

.card-description {
    font-family: var(--activities-font-elegant);
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--activities-text);
    margin: 0;
    font-weight: 400;
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 255, 0.75) 100%);
    border-radius: 8px;
    border-left: 3px solid var(--activities-primary);
    position: relative;
    box-shadow: 0 2px 4px rgba(1, 106, 110, 0.06);
    transition: all 0.35s ease;
    text-align: right;
    word-spacing: 0.03em;
    letter-spacing: 0.02px;
    overflow: visible;
    display: block;
    flex: 0 0 auto;
}

.card-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.02) 0%, transparent 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.card-description::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(1, 106, 110, 0.025) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.activity-card:hover .card-description {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(1, 106, 110, 0.1);
    border-left-color: var(--activities-secondary);
    border-left-width: 3px;
}

.activity-card:hover .card-description::before {
    opacity: 1;
}

/* Features Grid - Compact design */
.features-grid {
    margin-top: 6px;
    flex: 0 1 auto;
    padding: 10px;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.02) 0%, rgba(1, 106, 110, 0.05) 50%, rgba(1, 106, 110, 0.02) 100%);
    border-radius: 8px;
    border: 1px solid rgba(1, 106, 110, 0.08);
    position: relative;
    overflow: visible;
    height: auto;
    min-height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
    align-self: stretch;
}

.features-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.3) 50%, transparent 100%);
}

.features-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(1, 106, 110, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.features-grid h5 {
    font-family: var(--activities-font-elegant);
    font-size: 0.8rem;
    font-weight: var(--activities-font-bold);
    color: var(--activities-primary);
    margin: 0 0 8px 0;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(1, 106, 110, 0.1);
    letter-spacing: 0.1px;
    line-height: 1.2;
    width: 100%;
    box-sizing: border-box;
    flex: 0 0 auto;
}

.features-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 0 1 auto;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: auto;
    max-height: none;
}

.features-grid li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    font-family: var(--activities-font-elegant);
    font-size: 0.75rem;
    color: var(--activities-text);
    padding: 6px 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 7px;
    border-right: 2px solid var(--activities-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 3px rgba(1, 106, 110, 0.08), 0 1px 2px rgba(1, 106, 110, 0.04);
    text-align: right;
    direction: rtl;
    flex: 0 0 auto;
    height: auto;
    min-height: 34px;
    width: 100%;
    max-width: 100%;
    line-height: 1.4;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.features-grid li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.02) 0%, transparent 100%);
    border-radius: 7px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.features-grid li:hover::before {
    opacity: 1;
}

.features-grid li:hover {
    transform: translateX(-2px);
    box-shadow: 0 3px 7px rgba(1, 106, 110, 0.12), 0 2px 4px rgba(1, 106, 110, 0.08);
    border-right-color: var(--activities-secondary);
    border-right-width: 3px;
}

.features-grid li span {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
}

.feature-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    max-width: 16px;
    background: linear-gradient(135deg, var(--activities-accent), #FFD54F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 3px rgba(243, 189, 1, 0.3), 0 1px 2px rgba(243, 189, 1, 0.2);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 6px rgba(243, 189, 1, 0.4);
}

/* Card Footer - Compact design */
.card-footer-tags {
    padding: 10px var(--activities-space-sm);
    background: linear-gradient(135deg, #f0fdfa 0%, var(--activities-bg) 100%);
    border-top: 1px solid rgba(1, 106, 110, 0.08);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.tag {
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.1) 0%, rgba(1, 106, 110, 0.05) 100%);
    color: var(--activities-primary);
    padding: 3px 8px;
    border-radius: var(--activities-radius-full);
    font-family: var(--activities-font-elegant);
    font-size: 0.7rem;
    font-weight: var(--activities-font-semibold);
    border: 1px solid rgba(1, 106, 110, 0.1);
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.15) 0%, rgba(1, 106, 110, 0.1) 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(1, 106, 110, 0.18);
}

/* RTL/LTR Support */
.ltr-section .card-title-area {
    direction: ltr;
}

.ltr-section .title-header-row {
    flex-direction: row;
}

.ltr-section .card-title-main {
    text-align: left;
}

.ltr-section .card-subtitle-text {
    text-align: left;
}

.ltr-section .card-body {
    direction: ltr;
}

.ltr-section .card-description {
    border-left: none;
    border-right: 5px solid var(--activities-primary);
    text-align: left;
}

.ltr-section .features-grid li {
    text-align: left;
    direction: ltr;
    border-right: none;
    border-left: 3px solid var(--activities-primary);
    flex: 0 0 auto;
    min-height: 44px;
    width: 100%;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.ltr-section .features-grid li:hover {
    transform: translateX(2px);
    border-left-color: var(--activities-secondary);
}

/* Responsive LTR Support - Professional Mobile Design */
@media (max-width:768px) {

    /* LTR Card Title Area */
    .ltr-section .card-title-area {
        direction: ltr;
        padding: 20px 16px 18px 16px;
    }

    .ltr-section .card-title-area::after {
        left: 0;
        right: auto;
    }

    /* LTR Title Header Row */
    .ltr-section .title-header-row {
        flex-direction: row;
        direction: ltr;
        gap: 14px;
    }

    /* LTR Title Content */
    .ltr-section .title-content {
        direction: ltr;
        align-items: flex-start;
    }

    /* LTR Card Title Main */
    .ltr-section .card-title-main {
        text-align: left;
        direction: ltr;
    }

    /* LTR Card Subtitle */
    .ltr-section .card-subtitle-text {
        text-align: left;
        direction: ltr;
    }

    /* LTR Status Container */
    .ltr-section .status-container {
        justify-content: flex-start;
        align-items: flex-start;
    }

    /* LTR Card Body */
    .ltr-section .card-body {
        direction: ltr;
        padding: 20px 16px 18px 16px;
        flex: 0 1 auto;
        height: auto;
        min-height: auto;
        max-height: none;
        gap: 16px;
    }

    /* LTR Card Description */
    .ltr-section .card-description {
        text-align: left;
        direction: ltr;
        border-left: none;
        border-right: 5px solid var(--activities-primary);
        padding: 22px 20px;
    }

    .ltr-section .activity-card:hover .card-description {
        border-right-width: 6px;
        border-left: none;
    }

    /* LTR Features Grid */
    .ltr-section .features-grid {
        direction: ltr;
        width: 100%;
        box-sizing: border-box;
        padding: 18px 16px;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
        align-self: stretch;
    }

    .ltr-section .features-grid h5 {
        text-align: center;
        margin: 0 0 16px 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        line-height: 1.4;
        flex: 0 0 auto;
    }

    .ltr-section .features-grid ul {
        direction: ltr;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        align-items: stretch;
        gap: 12px;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
    }

    .ltr-section .features-grid li {
        text-align: left;
        direction: ltr;
        border-right: none;
        border-left: 3.5px solid var(--activities-primary);
        padding: 12px 16px;
        gap: 12px;
        flex: 0 0 auto;
        height: auto;
        min-height: 50px;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        line-height: 1.6;
        flex-direction: row;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .ltr-section .features-grid li:hover {
        transform: translateX(3px);
        border-left-color: var(--activities-secondary);
        border-left-width: 4px;
        border-right: none;
    }

    .ltr-section .feature-icon {
        order: 0;
        min-width: 22px;
        flex-shrink: 0;
    }

    .ltr-section .features-grid li span {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* LTR Tags */
    .ltr-section .tags-list {
        direction: ltr;
        justify-content: flex-start;
    }

    /* LTR Links */
    .ltr-section .detail-link-btn,
    .ltr-section .website-link-btn {
        direction: ltr;
        flex-direction: row;
    }

    .ltr-section .detail-link-arrow,
    .ltr-section .website-link-arrow {
        order: 2;
    }

    .ltr-section .detail-link-btn:hover .detail-link-arrow,
    .ltr-section .website-link-btn:hover .website-link-arrow {
        transform: translateX(4px);
    }
}

@media (max-width:480px) {

    /* LTR Card Title Area - Small Mobile */
    .ltr-section .card-title-area {
        direction: ltr;
        padding: 18px 12px 16px 12px;
    }

    .ltr-section .card-title-area::after {
        left: 0;
        right: auto;
    }

    /* LTR Title Header Row - Small Mobile */
    .ltr-section .title-header-row {
        flex-direction: row;
        direction: ltr;
        gap: 12px;
    }

    /* LTR Title Content - Small Mobile */
    .ltr-section .title-content {
        direction: ltr;
        align-items: flex-start;
    }

    /* LTR Card Title Main - Small Mobile */
    .ltr-section .card-title-main {
        text-align: left;
        direction: ltr;
        font-size: 1.1rem;
    }

    /* LTR Card Subtitle - Small Mobile */
    .ltr-section .card-subtitle-text {
        text-align: left;
        direction: ltr;
        font-size: 0.825rem;
    }

    /* LTR Status Container - Small Mobile */
    .ltr-section .status-container {
        justify-content: flex-start;
        align-items: flex-start;
    }

    /* LTR Card Body - Small Mobile */
    .ltr-section .card-body {
        direction: ltr;
        padding: 18px 12px 16px 12px;
        flex: 0 1 auto;
        height: auto;
        min-height: auto;
        max-height: none;
        gap: 14px;
    }

    /* LTR Card Description - Small Mobile */
    .ltr-section .card-description {
        text-align: left;
        direction: ltr;
        border-left: none;
        border-right: 5px solid var(--activities-primary);
        padding: 20px 18px;
        font-size: 0.9rem;
    }

    .ltr-section .activity-card:hover .card-description {
        border-right-width: 6px;
        border-left: none;
    }

    /* LTR Features Grid - Small Mobile */
    .ltr-section .features-grid {
        direction: ltr;
        padding: 16px 14px;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
        align-self: stretch;
    }

    .ltr-section .features-grid h5 {
        text-align: center;
        font-size: 0.9rem;
        margin: 0 0 14px 0;
        flex: 0 0 auto;
    }

    .ltr-section .features-grid ul {
        direction: ltr;
        gap: 11px;
        align-items: stretch;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
    }

    .ltr-section .features-grid li {
        text-align: left;
        direction: ltr;
        border-right: none;
        border-left: 3.5px solid var(--activities-primary);
        padding: 11px 14px;
        gap: 11px;
        font-size: 0.82rem;
        flex: 0 0 auto;
        height: auto;
        min-height: 48px;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        line-height: 1.6;
        flex-direction: row;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .ltr-section .features-grid li:hover {
        transform: translateX(3px);
        border-left-color: var(--activities-secondary);
        border-left-width: 4px;
        border-right: none;
    }

    .ltr-section .feature-icon {
        order: 0;
        min-width: 20px;
        flex-shrink: 0;
    }

    .ltr-section .features-grid li span {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* LTR Tags - Small Mobile */
    .ltr-section .tags-list {
        direction: ltr;
        justify-content: flex-start;
    }

    /* LTR Links - Small Mobile */
    .ltr-section .detail-link-btn,
    .ltr-section .website-link-btn {
        direction: ltr;
        flex-direction: row;
    }

    .ltr-section .detail-link-arrow,
    .ltr-section .website-link-arrow {
        order: 2;
    }

    .ltr-section .detail-link-btn:hover .detail-link-arrow,
    .ltr-section .website-link-btn:hover .website-link-arrow {
        transform: translateX(4px);
    }
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width:1600px) {
    .activities-cards:has(.activity-card:nth-child(4):last-child) {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
        gap: 14px;
        padding: 0 var(--activities-space-md);
    }
}

@media (max-width:1400px) {
    .activities-cards:has(.activity-card:nth-child(4):last-child) {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        gap: 16px;
        padding: 0 var(--activities-space-md);
    }
}

@media (max-width:1200px) {
    .activities-cards {
        max-width: 1000px;
        gap: 20px;
        grid-template-columns: repeat(3, 1fr);
    }

    .activities-cards:has(.activity-card:nth-child(4):last-child) {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
        gap: 18px;
        padding: 0 var(--activities-space-md);
    }

    .activities-cards:has(.activity-card:nth-child(3):last-child) {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
        gap: 20px;
    }

    .activities-cards:has(.activity-card:only-child) {
        max-width: 1000px;
        gap: 20px;
    }

    .activities-cards:has(.activity-card:only-child) .activity-card {
        grid-column: 2 / 3;
    }
}

@media (max-width:968px) {
    .section-wrapper-full .activities-cards {
        padding: var(--activities-space-lg) 16px var(--activities-space-md);
        width: 100%;
    }

    .activities-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 1fr;
        align-items: stretch;
        max-width: 100%;
        width: 100%;
        gap: 18px;
        padding: 0;
        margin-bottom: 0;
    }

    .activity-card {
        width: 100%;
        height: 100%;
        min-height: 100%;
        max-width: 100%;
        margin: 0;
        margin-bottom: 0;
        box-shadow: 0 4px 24px rgba(1, 106, 110, 0.1), 0 2px 10px rgba(1, 106, 110, 0.06), 0 0 0 1px rgba(1, 106, 110, 0.08);
        border: 2px solid rgba(1, 106, 110, 0.12);
        border-radius: 16px;
    }

    .card-description {
        font-size: 0.9rem;
        line-height: 1.75;
        text-align: right;
        word-spacing: 0.05em;
        letter-spacing: 0.03px;
        padding: 18px 16px;
        min-height: auto;
        max-height: none;
        height: auto;
        border-left: 4px solid var(--activities-primary);
        overflow: visible;
        display: block;
    }

    .card-header-full-logo {
        height: 85px;
        min-height: 85px;
        max-height: 85px;
        background-color: #ffffff;
        align-items: center;
        justify-content: center;
    }

    .card-header-full-logo::before {
        opacity: 0;
        background: transparent;
    }
}

@media (max-width:768px) {
    .activities-header-compact {
        padding: var(--activities-space-sm) 16px;
        gap: var(--activities-space-sm);
        margin-bottom: var(--activities-space-lg);
    }

    .header-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .section-main-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-main-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .section-wrapper-full {
        margin: 40px auto 0 auto;
        padding-bottom: var(--activities-space-lg);
        border-radius: 20px;
    }

    .section-category-header {
        flex-direction: column;
        gap: 12px;
        padding: 20px 16px;
        margin: 0;
        border-radius: 0;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .category-title {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .category-desc {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    /* Mobile Cards - Professional Full Width Design */
    .section-wrapper-full .activities-cards {
        padding: var(--activities-space-lg) 12px var(--activities-space-md);
        width: 100%;
    }

    .activities-cards {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto;
        align-items: start;
        gap: 28px;
        max-width: 100%;
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    .activity-card {
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
        margin-bottom: 0;
        box-shadow: 0 6px 24px rgba(1, 106, 110, 0.12), 0 3px 10px rgba(1, 106, 110, 0.08), 0 1px 4px rgba(1, 106, 110, 0.05);
        border: 2px solid rgba(1, 106, 110, 0.14);
        border-radius: 18px;
        overflow: hidden;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        background: linear-gradient(145deg, #ffffff 0%, var(--activities-bg) 100%);
    }

    .activity-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 32px rgba(1, 106, 110, 0.18), 0 5px 14px rgba(1, 106, 110, 0.12), 0 2px 6px rgba(1, 106, 110, 0.08);
        border-color: rgba(1, 106, 110, 0.2);
    }

    .card-header-full-logo {
        height: 85px;
        min-height: 85px;
        max-height: 85px;
        border-radius: 16px 16px 0 0;
        background-size: contain;
        background-position: center center;
        background-color: #ffffff;
        align-items: center;
        justify-content: center;
        transition: transform 0.35s ease;
        position: relative;
        overflow: hidden;
    }

    .card-header-full-logo::before {
        opacity: 0;
        background: transparent;
    }

    .card-header-full-logo::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.3) 100%);
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .activity-card:hover .card-header-full-logo {
        transform: scale(1.03);
    }

    .activity-card:hover .card-header-full-logo::before {
        opacity: 0;
    }

    .card-header-no-logo {
        height: 120px;
        border-radius: 18px 18px 0 0;
    }

    /* Card Title Area - Professional Mobile Design */
    .card-title-area {
        padding: 20px 16px 18px 16px;
        background: linear-gradient(135deg, #ffffff 0%, rgba(248, 252, 255, 0.7) 50%, #ffffff 100%);
        border-bottom: 2px solid rgba(1, 106, 110, 0.12);
        position: relative;
        overflow: hidden;
    }

    .card-title-area::before {
        height: 3px;
        opacity: 0.6;
        background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.5) 50%, transparent 100%);
    }

    .card-title-area::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(1, 106, 110, 0.05) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .title-header-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        width: 100%;
        flex-wrap: wrap;
        position: relative;
        z-index: 2;
    }

    .ltr-section .title-header-row {
        flex-direction: row;
        direction: ltr;
        flex-wrap: wrap;
    }

    .title-icon {
        width: 56px;
        height: 56px;
        font-size: 23px;
        flex-shrink: 0;
        border-radius: 14px;
        box-shadow: 0 5px 16px rgba(1, 106, 110, 0.25), 0 2px 8px rgba(1, 106, 110, 0.15);
        border: 2.5px solid rgba(255, 255, 255, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--activities-primary) 0%, var(--activities-secondary) 50%, var(--activities-accent) 100%);
        position: relative;
        transition: all 0.3s ease;
    }

    .title-icon::before {
        content: '';
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        background: linear-gradient(135deg, var(--activities-primary), var(--activities-secondary), var(--activities-accent));
        border-radius: 17px;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .activity-card:hover .title-icon::before {
        opacity: 0.3;
    }

    .title-content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
        justify-content: flex-start;
        align-items: stretch;
        width: 100%;
        padding-top: 2px;
    }

    .card-title-main {
        font-size: 1.2rem;
        font-weight: 800;
        line-height: 1.35;
        color: var(--activities-primary);
        margin: 0;
        padding: 0;
        text-shadow: 0 1px 3px rgba(1, 106, 110, 0.1);
        letter-spacing: 0.15px;
        display: block;
        width: 100%;
        text-align: right;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        position: relative;
    }

    .card-subtitle-text {
        font-size: 0.875rem;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        color: var(--activities-muted);
        font-weight: 600;
        opacity: 0.92;
        letter-spacing: 0.05px;
        display: block;
        width: 100%;
        text-align: right;
        word-wrap: break-word;
        overflow-wrap: break-word;
        position: relative;
    }

    .status-container {
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 2px;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        width: auto;
        min-width: fit-content;
        position: relative;
        z-index: 3;
    }

    .ltr-section .status-container {
        justify-content: flex-start;
        align-items: flex-start;
        order: 2;
    }

    .status-badge {
        font-size: 0.72rem;
        font-weight: 700;
        padding: 7px 14px;
        min-width: auto;
        max-width: none;
        width: auto;
        border-radius: 14px;
        line-height: 1.35;
        text-align: center;
        white-space: nowrap;
        word-wrap: normal;
        overflow-wrap: normal;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
        display: inline-block;
        flex-shrink: 0;
        border: 1.5px solid rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(8px);
        position: relative;
        overflow: hidden;
    }

    .ltr-section .status-badge {
        direction: ltr;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
        line-height: 1.4;
    }

    .status-badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.5s ease;
    }

    .status-badge:hover::before {
        left: 100%;
    }

    /* Card Body - Professional Mobile Design */
    .card-body {
        padding: 20px 16px 18px 16px;
        gap: 16px;
        background: linear-gradient(135deg, #ffffff 0%, rgba(248, 252, 255, 0.5) 100%);
        position: relative;
        flex: 0 1 auto;
        height: auto;
        min-height: auto;
        max-height: none;
    }

    .card-description {
        font-size: 0.95rem;
        line-height: 1.85;
        text-align: right;
        word-spacing: 0.1em;
        letter-spacing: 0.05px;
        padding: 16px 18px;
        min-height: auto;
        max-height: none;
        height: auto;
        flex: 0 0 auto;
        border-left: 5px solid var(--activities-primary);
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 255, 0.85) 100%);
        box-shadow: 0 3px 12px rgba(1, 106, 110, 0.1), 0 1px 4px rgba(1, 106, 110, 0.06);
        overflow: visible;
        display: block;
        font-weight: 400;
        color: var(--activities-text);
        position: relative;
        transition: all 0.3s ease;
    }

    .card-description::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.02) 0%, transparent 100%);
        border-radius: 16px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .activity-card:hover .card-description {
        border-left-width: 6px;
        box-shadow: 0 4px 16px rgba(1, 106, 110, 0.12), 0 2px 6px rgba(1, 106, 110, 0.08);
    }

    .activity-card:hover .card-description::before {
        opacity: 1;
    }

    /* Features Grid - Professional Mobile Design */
    .features-grid {
        padding: 18px 16px;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
        gap: 0;
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.04) 0%, rgba(1, 106, 110, 0.08) 50%, rgba(1, 106, 110, 0.04) 100%);
        border-radius: 14px;
        border: 1.5px solid rgba(1, 106, 110, 0.12);
        position: relative;
        overflow: visible;
        width: 100%;
        box-sizing: border-box;
        margin-top: 16px;
        align-self: stretch;
    }

    .features-grid::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2.5px;
        background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.4) 50%, transparent 100%);
    }

    .features-grid h5 {
        font-size: 0.95rem;
        font-weight: 700;
        margin: 0 0 16px 0;
        padding: 0;
        color: var(--activities-primary);
        text-align: center;
        letter-spacing: 0.12px;
        text-shadow: 0 1px 3px rgba(1, 106, 110, 0.12);
        position: relative;
        z-index: 2;
        line-height: 1.4;
        width: 100%;
        box-sizing: border-box;
        flex: 0 0 auto;
    }

    .features-grid ul {
        gap: 12px;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 2;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
    }

    .features-grid li {
        padding: 12px 16px;
        font-size: 0.85rem;
        gap: 12px;
        line-height: 1.6;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
        border-radius: 11px;
        border-right: 3.5px solid var(--activities-primary);
        box-shadow: 0 2px 6px rgba(1, 106, 110, 0.12), 0 1px 3px rgba(1, 106, 110, 0.08);
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        flex: 0 0 auto;
        height: auto;
        min-height: 50px;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        margin: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .features-grid li::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.03) 0%, transparent 100%);
        border-radius: 11px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .features-grid li:hover {
        transform: translateX(-3px);
        box-shadow: 0 4px 12px rgba(1, 106, 110, 0.18), 0 2px 6px rgba(1, 106, 110, 0.1);
        border-right-color: var(--activities-secondary);
        border-right-width: 4px;
    }

    .features-grid li:hover::before {
        opacity: 1;
    }

    .features-grid li span {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .feature-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
        font-size: 11px;
        flex-shrink: 0;
        box-shadow: 0 3px 8px rgba(243, 189, 1, 0.4), 0 1px 3px rgba(243, 189, 1, 0.3);
        transition: all 0.3s ease;
    }

    .features-grid li:hover .feature-icon {
        transform: scale(1.15);
        box-shadow: 0 4px 10px rgba(243, 189, 1, 0.5);
    }

    /* Card Footer Tags - Professional Mobile Design */
    .card-footer-tags {
        padding: 20px 16px;
        background: linear-gradient(135deg, #f0fdfa 0%, rgba(248, 252, 255, 0.9) 100%);
        border-top: 2px solid rgba(1, 106, 110, 0.12);
        position: relative;
    }

    .card-footer-tags::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.2) 50%, transparent 100%);
    }

    .tags-list {
        gap: 9px;
        justify-content: flex-start;
        display: flex;
        flex-wrap: wrap;
    }

    .tag {
        font-size: 0.775rem;
        font-weight: 600;
        padding: 7px 14px;
        border-radius: 13px;
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.14) 0%, rgba(1, 106, 110, 0.1) 100%);
        color: var(--activities-primary);
        border: 1.5px solid rgba(1, 106, 110, 0.18);
        box-shadow: 0 2px 5px rgba(1, 106, 110, 0.12), 0 1px 2px rgba(1, 106, 110, 0.08);
        transition: all 0.3s ease;
        letter-spacing: 0.06px;
        position: relative;
        overflow: hidden;
    }

    .tag::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.4s ease;
    }

    .tag:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(1, 106, 110, 0.25), 0 2px 5px rgba(1, 106, 110, 0.15);
        border-color: var(--activities-primary);
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.18) 0%, rgba(1, 106, 110, 0.14) 100%);
    }

    .tag:hover::before {
        left: 100%;
    }

    /* Card Links - Professional Mobile Design */
    .card-detail-link,
    .card-website-link {
        padding: 0 16px 20px 16px;
    }

    .detail-link-btn,
    .website-link-btn {
        padding: 16px 20px;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.06) 0%, rgba(1, 106, 110, 0.03) 100%);
        border: 2px solid rgba(1, 106, 110, 0.18);
        box-shadow: 0 3px 10px rgba(1, 106, 110, 0.12), 0 1px 4px rgba(1, 106, 110, 0.08);
        transition: all 0.35s ease;
        position: relative;
        overflow: hidden;
    }

    .detail-link-btn::before,
    .website-link-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(1, 106, 110, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .detail-link-btn:hover::before,
    .website-link-btn:hover::before {
        left: 100%;
    }

    .detail-link-btn:hover,
    .website-link-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(1, 106, 110, 0.2), 0 2px 8px rgba(1, 106, 110, 0.12);
        border-color: var(--activities-primary);
        border-width: 2.5px;
    }

    .detail-link-icon,
    .website-link-icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
        transition: all 0.3s ease;
    }

    .detail-link-btn:hover .detail-link-icon,
    .website-link-btn:hover .website-link-icon {
        transform: scale(1.1);
    }

    .detail-link-text,
    .website-link-text {
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.06px;
    }

    .website-link-subtitle {
        font-size: 0.8rem;
        font-weight: 500;
        opacity: 0.88;
    }

    .detail-link-arrow,
    .website-link-arrow {
        font-size: 15px;
        transition: all 0.3s ease;
    }

    .detail-link-btn:hover .detail-link-arrow,
    .website-link-btn:hover .website-link-arrow {
        transform: translateX(-4px);
    }

    /* LTR Mobile Enhancements - 768px - Comprehensive Professional Design */
    .ltr-section .card-title-area {
        direction: ltr;
        padding: 20px 16px 18px 16px;
    }

    .ltr-section .card-title-area::after {
        left: 0;
        right: auto;
    }

    .ltr-section .card-title-area::before {
        background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.5) 50%, transparent 100%);
    }

    .ltr-section .title-header-row {
        flex-direction: row;
        direction: ltr;
        align-items: flex-start;
        gap: 14px;
    }

    .ltr-section .title-icon {
        order: 0;
        flex-shrink: 0;
    }

    .ltr-section .title-content {
        direction: ltr;
        align-items: flex-start;
        flex: 1;
        min-width: 0;
        order: 1;
    }

    .ltr-section .card-title-main {
        text-align: left;
        direction: ltr;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .ltr-section .card-subtitle-text {
        text-align: left;
        direction: ltr;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .ltr-section .status-container {
        justify-content: flex-start;
        align-items: flex-start;
        order: 2;
        flex-shrink: 0;
        margin-top: 8px;
        width: 100%;
    }

    .ltr-section .status-badge {
        direction: ltr;
        text-align: center;
        white-space: nowrap;
    }

    .ltr-section .card-body {
        direction: ltr;
        padding: 20px 16px 18px 16px;
        flex: 0 1 auto;
        height: auto;
        min-height: auto;
        max-height: none;
        gap: 16px;
    }

    .ltr-section .card-description {
        text-align: left;
        direction: ltr;
        border-left: none;
        border-right: 5px solid var(--activities-primary);
        padding: 16px 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 0 0 auto;
    }

    .ltr-section .activity-card:hover .card-description {
        border-right-width: 6px;
        border-left: none;
    }

    .ltr-section .features-grid {
        direction: ltr;
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        gap: 0;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
        align-self: stretch;
    }

    .ltr-section .features-grid h5 {
        text-align: center;
        direction: ltr;
        margin: 0 0 16px 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        line-height: 1.4;
        flex: 0 0 auto;
    }

    .ltr-section .features-grid ul {
        direction: ltr;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        align-items: stretch;
        gap: 12px;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
    }

    .ltr-section .features-grid li {
        text-align: left;
        direction: ltr;
        border-right: none;
        border-left: 3px solid var(--activities-primary);
        padding: 12px 16px;
        gap: 12px;
        flex-direction: row;
        flex: 0 0 auto;
        height: auto;
        min-height: 48px;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        line-height: 1.6;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .ltr-section .features-grid li:hover {
        transform: translateX(3px);
        border-left-color: var(--activities-secondary);
        border-left-width: 4px;
        border-right: none;
    }

    .ltr-section .feature-icon {
        order: 0;
        flex-shrink: 0;
        min-width: 22px;
    }

    .ltr-section .features-grid li span {
        order: 1;
        flex: 1;
        min-width: 0;
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .ltr-section .card-footer-tags {
        direction: ltr;
    }

    .ltr-section .tags-list {
        direction: ltr;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .ltr-section .tag {
        direction: ltr;
        text-align: center;
    }

    .ltr-section .card-detail-link,
    .ltr-section .card-website-link {
        direction: ltr;
        padding: 0 16px 20px 16px;
    }

    .ltr-section .detail-link-btn,
    .ltr-section .website-link-btn {
        direction: ltr;
        flex-direction: row;
        align-items: center;
    }

    .ltr-section .detail-link-icon,
    .ltr-section .website-link-icon {
        order: 0;
    }

    .ltr-section .detail-link-content,
    .ltr-section .website-link-content {
        order: 1;
        flex: 1;
        text-align: left;
    }

    .ltr-section .detail-link-text,
    .ltr-section .website-link-text {
        text-align: left;
    }

    .ltr-section .website-link-subtitle {
        text-align: left;
    }

    .ltr-section .detail-link-arrow,
    .ltr-section .website-link-arrow {
        order: 2;
    }

    .ltr-section .detail-link-btn:hover .detail-link-arrow,
    .ltr-section .website-link-btn:hover .website-link-arrow {
        transform: translateX(4px);
    }

    /* RTL Mobile Enhancements - 768px - Comprehensive Professional Design */
    .rtl-section .card-title-area {
        direction: rtl;
        padding: 20px 16px 18px 16px;
    }

    .rtl-section .card-title-area::after {
        right: 0;
        left: auto;
    }

    .rtl-section .title-header-row {
        flex-direction: row;
        direction: rtl;
        align-items: flex-start;
        gap: 14px;
    }

    .rtl-section .title-icon {
        order: 0;
        flex-shrink: 0;
    }

    .rtl-section .title-content {
        direction: rtl;
        align-items: flex-start;
        flex: 1;
        min-width: 0;
        order: 1;
    }

    .rtl-section .card-title-main {
        text-align: right;
        direction: rtl;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .rtl-section .card-subtitle-text {
        text-align: right;
        direction: rtl;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .rtl-section .status-container {
        justify-content: flex-end;
        align-items: flex-start;
        order: 2;
        flex-shrink: 0;
        margin-top: 8px;
        width: 100%;
    }

    .rtl-section .status-badge {
        direction: rtl;
        text-align: center;
        white-space: nowrap;
    }

    .rtl-section .card-body {
        direction: rtl;
        padding: 20px 16px 18px 16px;
        flex: 0 1 auto;
        height: auto;
        min-height: auto;
        max-height: none;
        gap: 16px;
    }

    .rtl-section .card-description {
        text-align: right;
        direction: rtl;
        border-right: none;
        border-left: 5px solid var(--activities-primary);
        padding: 16px 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 0 0 auto;
    }

    .rtl-section .activity-card:hover .card-description {
        border-left-width: 6px;
        border-right: none;
    }

    .rtl-section .features-grid {
        direction: rtl;
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        gap: 0;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
        align-self: stretch;
    }

    .rtl-section .features-grid h5 {
        text-align: center;
        direction: rtl;
        margin: 0 0 16px 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        line-height: 1.4;
        flex: 0 0 auto;
    }

    .rtl-section .features-grid ul {
        direction: rtl;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        align-items: stretch;
        gap: 12px;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
    }

    .rtl-section .features-grid li {
        text-align: right;
        direction: rtl;
        border-left: none;
        border-right: 3px solid var(--activities-primary);
        padding: 12px 16px;
        gap: 12px;
        flex-direction: row;
        flex: 0 0 auto;
        height: auto;
        min-height: 48px;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        line-height: 1.6;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .rtl-section .features-grid li:hover {
        transform: translateX(-3px);
        border-right-color: var(--activities-secondary);
        border-right-width: 4px;
        border-left: none;
    }

    .rtl-section .feature-icon {
        order: 0;
        flex-shrink: 0;
        min-width: 22px;
    }

    .rtl-section .features-grid li span {
        order: 1;
        flex: 1;
        min-width: 0;
        text-align: right;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .rtl-section .card-footer-tags {
        direction: rtl;
    }

    .rtl-section .tags-list {
        direction: rtl;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .rtl-section .tag {
        direction: rtl;
        text-align: center;
    }

    .rtl-section .card-detail-link,
    .rtl-section .card-website-link {
        direction: rtl;
        padding: 0 16px 20px 16px;
    }

    .rtl-section .detail-link-btn,
    .rtl-section .website-link-btn {
        direction: rtl;
        flex-direction: row-reverse;
        align-items: center;
    }

    .rtl-section .detail-link-icon,
    .rtl-section .website-link-icon {
        order: 0;
    }

    .rtl-section .detail-link-content,
    .rtl-section .website-link-content {
        order: 1;
        flex: 1;
        text-align: right;
    }

    .rtl-section .detail-link-text,
    .rtl-section .website-link-text {
        text-align: right;
    }

    .rtl-section .website-link-subtitle {
        text-align: right;
    }

    .rtl-section .detail-link-arrow,
    .rtl-section .website-link-arrow {
        order: 2;
    }

    .rtl-section .detail-link-btn:hover .detail-link-arrow,
    .rtl-section .website-link-btn:hover .website-link-arrow {
        transform: translateX(-4px);
    }
}

@media (max-width:480px) {
    .activities-section {
        padding: var(--activities-space-md) 0;
    }

    .activities-container {
        padding: 0 8px;
        width: 100%;
    }

    .activities-header-compact {
        padding: 14px 12px;
        gap: 12px;
        margin-bottom: var(--activities-space-md);
        border-radius: 16px;
    }

    .header-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .section-main-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .section-main-subtitle {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .section-wrapper-full {
        margin: 32px auto 0 auto;
        padding-bottom: var(--activities-space-md);
        border-radius: 16px;
    }

    .section-category-header {
        padding: 16px 12px;
        gap: 10px;
    }

    .category-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .category-title {
        font-size: 1.15rem;
        line-height: 1.3;
        margin-bottom: 5px;
    }

    .category-desc {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* Mobile Cards - Optimized for Small Screens */
    .section-wrapper-full .activities-cards {
        padding: var(--activities-space-md) 8px var(--activities-space-sm);
        width: 100%;
    }

    .activities-cards {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto;
        align-items: start;
        gap: 20px;
        max-width: 100%;
        width: 100%;
        padding: 0 8px;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .activity-card {
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
        max-width: 100%;
        margin: 0 auto;
        margin-bottom: 0;
        box-shadow: 0 4px 24px rgba(1, 106, 110, 0.1), 0 2px 10px rgba(1, 106, 110, 0.06), 0 0 0 1px rgba(1, 106, 110, 0.08);
        border: 2px solid rgba(1, 106, 110, 0.12);
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        background: linear-gradient(145deg, #ffffff 0%, var(--activities-bg) 100%);
    }

    .activity-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 32px rgba(1, 106, 110, 0.16), 0 4px 16px rgba(1, 106, 110, 0.1), 0 0 0 1px rgba(1, 106, 110, 0.15);
        border-color: rgba(1, 106, 110, 0.2);
    }

    .card-header-full-logo {
        height: 85px;
        min-height: 85px;
        max-height: 85px;
        border-radius: 16px 16px 0 0;
        background-size: contain;
        background-position: center center;
        background-color: #ffffff;
        align-items: center;
        justify-content: center;
        transition: transform 0.35s ease;
        position: relative;
        overflow: hidden;
    }

    .card-header-full-logo::before {
        opacity: 0;
        background: transparent;
    }

    .card-header-full-logo::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.3) 100%);
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .activity-card:hover .card-header-full-logo {
        transform: scale(1.03);
    }

    .activity-card:hover .card-header-full-logo::before {
        opacity: 0;
    }

    .card-header-no-logo {
        height: 100px;
        border-radius: 16px 16px 0 0;
    }

    /* Card Title Area - Professional Small Mobile Design */
    .card-title-area {
        padding: 18px 12px 16px 12px;
        background: linear-gradient(135deg, #ffffff 0%, rgba(248, 252, 255, 0.7) 50%, #ffffff 100%);
        border-bottom: 2px solid rgba(1, 106, 110, 0.12);
        position: relative;
        overflow: hidden;
    }

    .card-title-area::before {
        height: 2.5px;
        opacity: 0.5;
        background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.45) 50%, transparent 100%);
    }

    .card-title-area::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 80px;
        background: radial-gradient(circle, rgba(1, 106, 110, 0.04) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .title-header-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        flex-wrap: wrap;
        position: relative;
        z-index: 2;
    }

    .ltr-section .title-header-row {
        flex-direction: row;
        direction: ltr;
        flex-wrap: wrap;
    }

    .title-icon {
        width: 52px;
        height: 52px;
        font-size: 21px;
        flex-shrink: 0;
        border-radius: 13px;
        box-shadow: 0 4px 14px rgba(1, 106, 110, 0.22), 0 2px 6px rgba(1, 106, 110, 0.12);
        border: 2.5px solid rgba(255, 255, 255, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--activities-primary) 0%, var(--activities-secondary) 50%, var(--activities-accent) 100%);
        position: relative;
        transition: all 0.3s ease;
    }

    .title-icon::before {
        content: '';
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        background: linear-gradient(135deg, var(--activities-primary), var(--activities-secondary), var(--activities-accent));
        border-radius: 16px;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .activity-card:hover .title-icon::before {
        opacity: 0.3;
    }

    .title-content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
        justify-content: flex-start;
        align-items: stretch;
        width: 100%;
        padding-top: 1px;
    }

    .card-title-main {
        font-size: 1.1rem;
        font-weight: 800;
        line-height: 1.35;
        color: var(--activities-primary);
        margin: 0;
        padding: 0;
        text-shadow: 0 1px 3px rgba(1, 106, 110, 0.1);
        letter-spacing: 0.12px;
        display: block;
        width: 100%;
        text-align: right;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        position: relative;
    }

    .card-subtitle-text {
        font-size: 0.825rem;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        color: var(--activities-muted);
        font-weight: 600;
        opacity: 0.92;
        letter-spacing: 0.04px;
        display: block;
        width: 100%;
        text-align: right;
        word-wrap: break-word;
        overflow-wrap: break-word;
        position: relative;
    }

    .status-container {
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 1px;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        width: auto;
        min-width: fit-content;
        position: relative;
        z-index: 3;
    }

    .ltr-section .status-container {
        justify-content: flex-start;
        align-items: flex-start;
        order: 2;
    }

    .status-badge {
        font-size: 0.7rem;
        font-weight: 700;
        padding: 6px 13px;
        min-width: auto;
        max-width: none;
        width: auto;
        border-radius: 13px;
        line-height: 1.35;
        text-align: center;
        white-space: nowrap;
        word-wrap: normal;
        overflow-wrap: normal;
        box-shadow: 0 3px 11px rgba(0, 0, 0, 0.14), 0 2px 5px rgba(0, 0, 0, 0.08);
        display: inline-block;
        flex-shrink: 0;
        border: 1.5px solid rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(8px);
        position: relative;
        overflow: hidden;
    }

    .ltr-section .status-badge {
        direction: ltr;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
        line-height: 1.4;
    }

    .status-badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.5s ease;
    }

    .status-badge:hover::before {
        left: 100%;
    }

    /* Card Body - Professional Small Mobile Design */
    .card-body {
        padding: 20px 12px 18px 12px;
        gap: 18px;
        background: linear-gradient(135deg, #ffffff 0%, rgba(248, 252, 255, 0.5) 100%);
        position: relative;
    }

    .card-description {
        font-size: 0.9rem;
        line-height: 1.8;
        text-align: right;
        word-spacing: 0.1em;
        letter-spacing: 0.04px;
        padding: 14px 16px;
        min-height: auto;
        max-height: none;
        height: auto;
        flex: 0 0 auto;
        border-left: 5px solid var(--activities-primary);
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 255, 0.85) 100%);
        box-shadow: 0 3px 11px rgba(1, 106, 110, 0.1), 0 1px 4px rgba(1, 106, 110, 0.06);
        overflow: visible;
        display: block;
        font-weight: 400;
        color: var(--activities-text);
        position: relative;
        transition: all 0.3s ease;
    }

    .card-description::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.02) 0%, transparent 100%);
        border-radius: 14px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .activity-card:hover .card-description {
        border-left-width: 6px;
        box-shadow: 0 4px 14px rgba(1, 106, 110, 0.12), 0 2px 6px rgba(1, 106, 110, 0.08);
    }

    .activity-card:hover .card-description::before {
        opacity: 1;
    }

    /* Features Grid - Professional Small Mobile Design */
    .features-grid {
        padding: 16px 14px;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
        gap: 0;
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.04) 0%, rgba(1, 106, 110, 0.08) 50%, rgba(1, 106, 110, 0.04) 100%);
        border-radius: 13px;
        border: 1.5px solid rgba(1, 106, 110, 0.12);
        position: relative;
        overflow: visible;
        width: 100%;
        box-sizing: border-box;
        margin-top: 16px;
        align-self: stretch;
    }

    .features-grid::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2.5px;
        background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.4) 50%, transparent 100%);
    }

    .features-grid h5 {
        font-size: 0.9rem;
        font-weight: 700;
        margin: 0 0 14px 0;
        padding: 0;
        color: var(--activities-primary);
        text-align: center;
        letter-spacing: 0.1px;
        text-shadow: 0 1px 3px rgba(1, 106, 110, 0.12);
        position: relative;
        z-index: 2;
        line-height: 1.4;
        width: 100%;
        box-sizing: border-box;
        flex: 0 0 auto;
    }

    .features-grid ul {
        gap: 11px;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 2;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
    }

    .features-grid li {
        padding: 11px 14px;
        font-size: 0.82rem;
        gap: 11px;
        line-height: 1.6;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
        border-radius: 10px;
        border-right: 3.5px solid var(--activities-primary);
        box-shadow: 0 2px 6px rgba(1, 106, 110, 0.12), 0 1px 3px rgba(1, 106, 110, 0.08);
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        flex: 0 0 auto;
        height: auto;
        min-height: 48px;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        margin: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .features-grid li::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.03) 0%, transparent 100%);
        border-radius: 10px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .features-grid li:hover {
        transform: translateX(-3px);
        box-shadow: 0 4px 12px rgba(1, 106, 110, 0.18), 0 2px 6px rgba(1, 106, 110, 0.1);
        border-right-color: var(--activities-secondary);
        border-right-width: 4px;
    }

    .features-grid li:hover::before {
        opacity: 1;
    }

    .features-grid li span {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .feature-icon {
        width: 20px;
        height: 20px;
        min-width: 20px;
        font-size: 10px;
        flex-shrink: 0;
        box-shadow: 0 3px 7px rgba(243, 189, 1, 0.4), 0 1px 3px rgba(243, 189, 1, 0.3);
        transition: all 0.3s ease;
    }

    .features-grid li:hover .feature-icon {
        transform: scale(1.15);
        box-shadow: 0 4px 9px rgba(243, 189, 1, 0.5);
    }

    /* Card Footer Tags - Professional Small Mobile Design */
    .card-footer-tags {
        padding: 18px 12px;
        background: linear-gradient(135deg, #f0fdfa 0%, rgba(248, 252, 255, 0.9) 100%);
        border-top: 2px solid rgba(1, 106, 110, 0.12);
        position: relative;
    }

    .card-footer-tags::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.2) 50%, transparent 100%);
    }

    .tags-list {
        gap: 8px;
        justify-content: flex-start;
        display: flex;
        flex-wrap: wrap;
    }

    .tag {
        font-size: 0.75rem;
        font-weight: 600;
        padding: 6px 13px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.14) 0%, rgba(1, 106, 110, 0.1) 100%);
        color: var(--activities-primary);
        border: 1.5px solid rgba(1, 106, 110, 0.18);
        box-shadow: 0 2px 5px rgba(1, 106, 110, 0.12), 0 1px 2px rgba(1, 106, 110, 0.08);
        transition: all 0.3s ease;
        letter-spacing: 0.05px;
        position: relative;
        overflow: hidden;
    }

    .tag::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.4s ease;
    }

    .tag:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(1, 106, 110, 0.25), 0 2px 5px rgba(1, 106, 110, 0.15);
        border-color: var(--activities-primary);
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.18) 0%, rgba(1, 106, 110, 0.14) 100%);
    }

    .tag:hover::before {
        left: 100%;
    }

    /* Card Links - Professional Small Mobile Design */
    .card-detail-link,
    .card-website-link {
        padding: 0 12px 18px 12px;
    }

    .detail-link-btn,
    .website-link-btn {
        padding: 14px 18px;
        border-radius: 13px;
        background: linear-gradient(135deg, rgba(1, 106, 110, 0.06) 0%, rgba(1, 106, 110, 0.03) 100%);
        border: 2px solid rgba(1, 106, 110, 0.18);
        box-shadow: 0 3px 10px rgba(1, 106, 110, 0.12), 0 1px 4px rgba(1, 106, 110, 0.08);
        transition: all 0.35s ease;
        position: relative;
        overflow: hidden;
    }

    .detail-link-btn::before,
    .website-link-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(1, 106, 110, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .detail-link-btn:hover::before,
    .website-link-btn:hover::before {
        left: 100%;
    }

    .detail-link-btn:hover,
    .website-link-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(1, 106, 110, 0.2), 0 2px 8px rgba(1, 106, 110, 0.12);
        border-color: var(--activities-primary);
        border-width: 2.5px;
    }

    .detail-link-icon,
    .website-link-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        transition: all 0.3s ease;
    }

    .detail-link-btn:hover .detail-link-icon,
    .website-link-btn:hover .website-link-icon {
        transform: scale(1.1);
    }

    .detail-link-text,
    .website-link-text {
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.05px;
    }

    .website-link-subtitle {
        font-size: 0.775rem;
        font-weight: 500;
        opacity: 0.88;
    }

    .detail-link-arrow,
    .website-link-arrow {
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .detail-link-btn:hover .detail-link-arrow,
    .website-link-btn:hover .website-link-arrow {
        transform: translateX(-4px);
    }

    /* LTR Mobile Enhancements - 480px - Comprehensive Professional Design */
    .ltr-section .card-title-area {
        direction: ltr;
        padding: 18px 12px 16px 12px;
    }

    .ltr-section .card-title-area::after {
        left: 0;
        right: auto;
    }

    .ltr-section .card-title-area::before {
        background: linear-gradient(90deg, transparent 0%, rgba(1, 106, 110, 0.45) 50%, transparent 100%);
    }

    .ltr-section .title-header-row {
        flex-direction: row;
        direction: ltr;
        align-items: flex-start;
        gap: 12px;
    }

    .ltr-section .title-icon {
        order: 0;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
    }

    .ltr-section .title-content {
        direction: ltr;
        align-items: flex-start;
        flex: 1;
        min-width: 0;
        order: 1;
    }

    .ltr-section .card-title-main {
        text-align: left;
        direction: ltr;
        font-size: 1.1rem;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .ltr-section .card-subtitle-text {
        text-align: left;
        direction: ltr;
        font-size: 0.825rem;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .ltr-section .status-container {
        justify-content: flex-start;
        align-items: flex-start;
        order: 2;
        flex-shrink: 0;
        margin-top: 8px;
        width: 100%;
    }

    .ltr-section .status-badge {
        direction: ltr;
        text-align: center;
        white-space: nowrap;
        font-size: 0.7rem;
        padding: 6px 13px;
    }

    .ltr-section .card-body {
        direction: ltr;
        padding: 18px 12px 16px 12px;
        flex: 0 1 auto;
        height: auto;
        min-height: auto;
        max-height: none;
        gap: 14px;
    }

    .ltr-section .card-description {
        text-align: left;
        direction: ltr;
        border-left: none;
        border-right: 5px solid var(--activities-primary);
        padding: 14px 16px;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 0 0 auto;
    }

    .ltr-section .activity-card:hover .card-description {
        border-right-width: 6px;
        border-left: none;
    }

    .ltr-section .features-grid {
        direction: ltr;
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
        gap: 0;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
        align-self: stretch;
    }

    .ltr-section .features-grid h5 {
        text-align: center;
        direction: ltr;
        font-size: 0.9rem;
        flex: 0 0 auto;
        margin: 0 0 12px 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        line-height: 1.4;
    }

    .ltr-section .features-grid ul {
        direction: ltr;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
        align-items: stretch;
        gap: 11px;
    }

    .ltr-section .features-grid li {
        text-align: left;
        direction: ltr;
        border-right: none;
        border-left: 3.5px solid var(--activities-primary);
        padding: 11px 14px;
        height: auto;
        gap: 11px;
        font-size: 0.82rem;
        flex-direction: row;
        flex: 0 0 auto;
        min-height: 46px;
        width: 100%;
        display: flex;
        align-items: center;
        line-height: 1.5;
    }

    .ltr-section .features-grid li:hover {
        transform: translateX(3px);
        border-left-color: var(--activities-secondary);
        border-left-width: 4px;
        border-right: none;
    }

    .ltr-section .feature-icon {
        order: 0;
        flex-shrink: 0;
        width: 20px;
        height: 20px;
    }

    .ltr-section .features-grid li span {
        order: 1;
        flex: 1;
        text-align: left;
    }

    .ltr-section .card-footer-tags {
        direction: ltr;
        padding: 18px 12px;
    }

    .ltr-section .tags-list {
        direction: ltr;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .ltr-section .tag {
        direction: ltr;
        text-align: center;
        font-size: 0.75rem;
        padding: 6px 13px;
    }

    .ltr-section .card-detail-link,
    .ltr-section .card-website-link {
        direction: ltr;
        padding: 0 12px 18px 12px;
    }

    .ltr-section .detail-link-btn,
    .ltr-section .website-link-btn {
        direction: ltr;
        flex-direction: row;
        align-items: center;
        padding: 14px 18px;
    }

    .ltr-section .detail-link-icon,
    .ltr-section .website-link-icon {
        order: 0;
        width: 36px;
        height: 36px;
    }

    .ltr-section .detail-link-content,
    .ltr-section .website-link-content {
        order: 1;
        flex: 1;
        text-align: left;
    }

    .ltr-section .detail-link-text,
    .ltr-section .website-link-text {
        text-align: left;
        font-size: 0.875rem;
    }

    .ltr-section .website-link-subtitle {
        text-align: left;
        font-size: 0.775rem;
    }

    .ltr-section .detail-link-arrow,
    .ltr-section .website-link-arrow {
        order: 2;
        font-size: 14px;
    }

    .ltr-section .detail-link-btn:hover .detail-link-arrow,
    .ltr-section .website-link-btn:hover .website-link-arrow {
        transform: translateX(4px);
    }

    /* RTL Mobile Enhancements - 480px - Comprehensive Professional Design */
    .rtl-section .card-title-area {
        direction: rtl;
        padding: 18px 12px 16px 12px;
    }

    .rtl-section .card-title-area::after {
        right: 0;
        left: auto;
    }

    .rtl-section .title-header-row {
        flex-direction: row;
        direction: rtl;
        align-items: flex-start;
        gap: 12px;
    }

    .rtl-section .title-icon {
        order: 0;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
    }

    .rtl-section .title-content {
        direction: rtl;
        align-items: flex-start;
        flex: 1;
        min-width: 0;
        order: 1;
    }

    .rtl-section .card-title-main {
        text-align: right;
        direction: rtl;
        font-size: 1.1rem;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .rtl-section .card-subtitle-text {
        text-align: right;
        direction: rtl;
        font-size: 0.825rem;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .rtl-section .status-container {
        justify-content: flex-end;
        align-items: flex-start;
        order: 2;
        flex-shrink: 0;
        margin-top: 8px;
        width: 100%;
    }

    .rtl-section .status-badge {
        direction: rtl;
        text-align: center;
        white-space: nowrap;
        font-size: 0.7rem;
        padding: 6px 13px;
    }

    .rtl-section .card-body {
        direction: rtl;
        padding: 18px 12px 16px 12px;
        flex: 0 1 auto;
        height: auto;
        min-height: auto;
        max-height: none;
        gap: 14px;
    }

    .rtl-section .card-description {
        text-align: right;
        direction: rtl;
        border-right: none;
        border-left: 5px solid var(--activities-primary);
        padding: 14px 16px;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 0 0 auto;
    }

    .rtl-section .activity-card:hover .card-description {
        border-left-width: 6px;
        border-right: none;
    }

    .rtl-section .features-grid {
        direction: rtl;
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
        gap: 0;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
        align-self: stretch;
    }

    .rtl-section .features-grid h5 {
        text-align: center;
        direction: rtl;
        font-size: 0.9rem;
        flex: 0 0 auto;
        margin: 0 0 12px 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        line-height: 1.4;
    }

    .rtl-section .features-grid ul {
        direction: rtl;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 1 auto;
        align-items: stretch;
        gap: 11px;
    }

    .rtl-section .features-grid li {
        text-align: right;
        direction: rtl;
        border-left: none;
        border-right: 3.5px solid var(--activities-primary);
        padding: 11px 14px;
        height: auto;
        gap: 11px;
        font-size: 0.82rem;
        flex-direction: row;
        flex: 0 0 auto;
        min-height: 46px;
        width: 100%;
        display: flex;
        align-items: center;
        line-height: 1.5;
    }

    .rtl-section .features-grid li:hover {
        transform: translateX(-3px);
        border-right-color: var(--activities-secondary);
        border-right-width: 4px;
        border-left: none;
    }

    .rtl-section .feature-icon {
        order: 0;
        flex-shrink: 0;
        width: 20px;
        height: 20px;
    }

    .rtl-section .features-grid li span {
        order: 1;
        flex: 1;
        text-align: right;
    }

    .rtl-section .card-footer-tags {
        direction: rtl;
        padding: 18px 12px;
    }

    .rtl-section .tags-list {
        direction: rtl;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .rtl-section .tag {
        direction: rtl;
        text-align: center;
        font-size: 0.75rem;
        padding: 6px 13px;
    }

    .rtl-section .card-detail-link,
    .rtl-section .card-website-link {
        direction: rtl;
        padding: 0 12px 18px 12px;
    }

    .rtl-section .detail-link-btn,
    .rtl-section .website-link-btn {
        direction: rtl;
        flex-direction: row-reverse;
        align-items: center;
        padding: 14px 18px;
    }

    .rtl-section .detail-link-icon,
    .rtl-section .website-link-icon {
        order: 0;
        width: 36px;
        height: 36px;
    }

    .rtl-section .detail-link-content,
    .rtl-section .website-link-content {
        order: 1;
        flex: 1;
        text-align: right;
    }

    .rtl-section .detail-link-text,
    .rtl-section .website-link-text {
        text-align: right;
        font-size: 0.875rem;
    }

    .rtl-section .website-link-subtitle {
        text-align: right;
        font-size: 0.775rem;
    }

    .rtl-section .detail-link-arrow,
    .rtl-section .website-link-arrow {
        order: 2;
        font-size: 14px;
    }

    .rtl-section .detail-link-btn:hover .detail-link-arrow,
    .rtl-section .website-link-btn:hover .website-link-arrow {
        transform: translateX(-4px);
    }
}

/* Website Link Section */
.card-website-link {
    margin-top: 0;
    padding: 0;
    flex: 1;
}

.card-detail-link+.card-website-link {
    margin-top: 0;
    padding: 0;
}

.website-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    background: linear-gradient(135deg, #016A6E 0%, #028a8f 100%);
    border: 2px solid rgba(243, 189, 1, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(1, 106, 110, 0.2);
    width: 100%;
    min-height: 48px;
}

.website-link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 189, 1, 0.2), transparent);
    transition: left 0.5s ease;
}

.website-link-btn:hover::before {
    left: 100%;
}

.website-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 106, 110, 0.3);
    border-color: #F3BD01;
    background: linear-gradient(135deg, #028a8f 0%, #016A6E 100%);
}

.website-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(243, 189, 1, 0.2);
    border-radius: 50%;
    border: 2px solid #F3BD01;
    transition: all 0.3s ease;
}

.website-link-icon i {
    font-size: 1rem;
    color: #F3BD01;
    transition: all 0.3s ease;
}

.website-link-btn:hover .website-link-icon {
    background: #F3BD01;
    transform: scale(1.1);
}

.website-link-btn:hover .website-link-icon i {
    color: #016A6E;
}

.website-link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.25rem;
}

.website-link-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
}

.website-link-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
}

.website-link-btn:hover .website-link-text {
    color: #F3BD01;
}

.website-link-btn:hover .website-link-subtitle {
    color: rgba(243, 189, 1, 0.9);
}

.website-link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(243, 189, 1, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.website-link-arrow i {
    font-size: 1rem;
    color: #F3BD01;
    transition: all 0.3s ease;
}

.website-link-btn:hover .website-link-arrow {
    background: rgba(243, 189, 1, 0.3);
    transform: translateX(-3px);
}

.website-link-btn:hover .website-link-arrow i {
    color: #ffffff;
    transform: translateX(-2px);
}

/* LTR Support for Website Link */
.ltr-section .website-link-btn {
    flex-direction: row-reverse;
}

.ltr-section .website-link-arrow i {
    transform: rotate(180deg);
}

.ltr-section .website-link-btn:hover .website-link-arrow i {
    transform: rotate(180deg) translateX(2px);
}

/* Responsive Website Link */
@media (min-width: 1401px) {

    /* Large Desktop: Side by side buttons with larger size */
    .card-buttons-container {
        gap: 12px;
        padding: 0 1.5rem 1rem;
    }

    .card-buttons-container .detail-link-btn,
    .card-buttons-container .website-link-btn {
        padding: 0.85rem 1.2rem;
        gap: 0.75rem;
        min-height: 48px;
    }

    .detail-link-btn {
        padding: 0.85rem 1.2rem;
        gap: 0.75rem;
        border-radius: 12px;
    }

    .website-link-btn {
        padding: 0.85rem 1.2rem;
        gap: 0.75rem;
        border-radius: 12px;
    }

    .website-link-icon {
        width: 36px;
        height: 36px;
    }

    .website-link-icon i {
        font-size: 1.1rem;
    }

    .website-link-text {
        font-size: 0.925rem;
        font-weight: 600;
    }

    .website-link-subtitle {
        font-size: 0.825rem;
    }

    .website-link-arrow {
        width: 30px;
        height: 30px;
    }

    .website-link-arrow i {
        font-size: 0.95rem;
    }

    .detail-link-icon {
        width: 36px;
        height: 36px;
    }

    .detail-link-icon i {
        font-size: 1.1rem;
    }

    .detail-link-text {
        font-size: 0.925rem;
        font-weight: 600;
    }

    .detail-link-arrow {
        width: 30px;
        height: 30px;
    }

    .detail-link-arrow i {
        font-size: 0.95rem;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {

    /* Laptop: Side by side buttons with medium size */
    .card-buttons-container {
        gap: 10px;
        padding: 0 1.2rem 1rem;
    }

    .card-buttons-container .detail-link-btn,
    .card-buttons-container .website-link-btn {
        padding: 0.75rem 1.1rem;
        gap: 0.7rem;
        min-height: 46px;
    }

    .detail-link-btn {
        padding: 0.75rem 1.1rem;
        gap: 0.7rem;
        border-radius: 11px;
    }

    .website-link-btn {
        padding: 0.75rem 1.1rem;
        gap: 0.7rem;
        border-radius: 11px;
    }

    .website-link-icon {
        width: 34px;
        height: 34px;
    }

    .website-link-icon i {
        font-size: 1.05rem;
    }

    .website-link-text {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .website-link-subtitle {
        font-size: 0.8rem;
    }

    .website-link-arrow {
        width: 28px;
        height: 28px;
    }

    .website-link-arrow i {
        font-size: 0.9rem;
    }

    .detail-link-icon {
        width: 34px;
        height: 34px;
    }

    .detail-link-icon i {
        font-size: 1.05rem;
    }

    .detail-link-text {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .detail-link-arrow {
        width: 28px;
        height: 28px;
    }

    .detail-link-arrow i {
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    /* Tablet: Side by side buttons with smaller size */
    .card-buttons-container {
        gap: 8px;
        padding: 0 1rem 1rem;
    }

    .card-buttons-container .detail-link-btn,
    .card-buttons-container .website-link-btn {
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
        min-height: 42px;
    }

    .detail-link-btn {
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
        border-radius: 10px;
    }

    .website-link-btn {
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
        border-radius: 10px;
    }

    .website-link-icon {
        width: 30px;
        height: 30px;
    }

    .website-link-icon i {
        font-size: 0.95rem;
    }

    .website-link-text {
        font-size: 0.8rem;
        font-weight: 600;
    }

    .website-link-subtitle {
        font-size: 0.7rem;
    }

    .website-link-arrow {
        width: 24px;
        height: 24px;
    }

    .website-link-arrow i {
        font-size: 0.8rem;
    }

    .detail-link-icon {
        width: 30px;
        height: 30px;
    }

    .detail-link-icon i {
        font-size: 0.95rem;
    }

    .detail-link-text {
        font-size: 0.8rem;
        font-weight: 600;
    }

    .detail-link-arrow {
        width: 24px;
        height: 24px;
    }

    .detail-link-arrow i {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {

    /* Mobile: Stack buttons vertically */
    .card-buttons-container {
        flex-direction: column;
        gap: 10px;
        padding: 0 1rem 1rem;
        align-items: stretch;
    }

    .card-buttons-container .card-detail-link,
    .card-buttons-container .card-website-link {
        width: 100%;
        height: auto;
    }

    .card-buttons-container .detail-link-btn,
    .card-buttons-container .website-link-btn {
        width: 100%;
        height: auto;
    }

    .website-link-btn {
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 14px rgba(1, 106, 110, 0.2), 0 2px 6px rgba(1, 106, 110, 0.12);
    }

    .website-link-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(1, 106, 110, 0.3), 0 3px 8px rgba(1, 106, 110, 0.15);
    }

    .detail-link-btn {
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
        border-radius: 12px;
    }

    .detail-link-btn:hover {
        transform: translateY(-3px);
    }

    .website-link-icon {
        width: 32px;
        height: 32px;
    }

    .website-link-icon i {
        font-size: 1rem;
    }

    .website-link-text {
        font-size: 0.825rem;
        font-weight: 600;
    }

    .website-link-subtitle {
        font-size: 0.75rem;
    }

    .website-link-arrow {
        width: 26px;
        height: 26px;
    }

    .website-link-arrow i {
        font-size: 0.875rem;
    }

    .detail-link-icon {
        width: 32px;
        height: 32px;
    }

    .detail-link-icon i {
        font-size: 1rem;
    }

    .detail-link-text {
        font-size: 0.825rem;
        font-weight: 600;
    }

    .detail-link-arrow {
        width: 28px;
        height: 28px;
    }

    .detail-link-arrow i {
        font-size: 0.9rem;
    }

    /* LTR Website Link - 768px */
    .ltr-section .website-link-btn {
        flex-direction: row;
    }

    .ltr-section .website-link-arrow {
        order: 2;
    }

    .ltr-section .website-link-arrow i {
        transform: rotate(0deg);
    }

    .ltr-section .website-link-btn:hover .website-link-arrow {
        transform: translateX(3px);
    }

    .ltr-section .website-link-btn:hover .website-link-arrow i {
        transform: translateX(2px);
    }
}

@media (max-width: 480px) {

    /* Small Mobile: Stack buttons vertically */
    .card-buttons-container {
        flex-direction: column;
        gap: 8px;
        padding: 0 0.8rem 0.8rem;
        align-items: stretch;
    }

    .card-buttons-container .card-detail-link,
    .card-buttons-container .card-website-link {
        width: 100%;
        height: auto;
    }

    .card-buttons-container .detail-link-btn,
    .card-buttons-container .website-link-btn {
        width: 100%;
        height: auto;
    }

    .website-link-btn {
        padding: 0.5rem 0.7rem;
        gap: 0.4rem;
        border-radius: 10px;
        box-shadow: 0 3px 12px rgba(1, 106, 110, 0.2), 0 2px 5px rgba(1, 106, 110, 0.12);
    }

    .website-link-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 18px rgba(1, 106, 110, 0.3), 0 2px 7px rgba(1, 106, 110, 0.15);
    }

    .detail-link-btn {
        padding: 0.5rem 0.7rem;
        gap: 0.4rem;
        border-radius: 10px;
    }

    .detail-link-btn:hover {
        transform: translateY(-2px);
    }

    .website-link-icon {
        width: 28px;
        height: 28px;
    }

    .website-link-icon i {
        font-size: 0.9rem;
    }

    .website-link-text {
        font-size: 0.75rem;
        font-weight: 600;
    }

    .website-link-subtitle {
        font-size: 0.675rem;
    }

    .website-link-arrow {
        width: 22px;
        height: 22px;
    }

    .website-link-arrow i {
        font-size: 0.75rem;
    }

    .detail-link-icon {
        width: 28px;
        height: 28px;
    }

    .detail-link-icon i {
        font-size: 0.9rem;
    }

    .detail-link-text {
        font-size: 0.75rem;
        font-weight: 600;
    }

    .detail-link-arrow {
        width: 22px;
        height: 22px;
    }

    .detail-link-arrow i {
        font-size: 0.75rem;
    }

    /* LTR Website Link - 480px */
    .ltr-section .website-link-btn {
        flex-direction: row;
    }

    .ltr-section .website-link-arrow {
        order: 2;
    }

    .ltr-section .website-link-arrow i {
        transform: rotate(0deg);
    }

    .ltr-section .website-link-btn:hover .website-link-arrow {
        transform: translateX(3px);
    }

    .ltr-section .website-link-btn:hover .website-link-arrow i {
        transform: translateX(2px);
    }
}

/* Buttons Container - Organized and clean layout */
/* Container for buttons - displays them side by side */
.card-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: stretch;
    margin-top: 1rem;
    padding: 0 1.5rem 1rem;
    direction: rtl;
}

/* RTL Section */
.rtl-section .card-buttons-container {
    direction: rtl;
    flex-direction: row;
}

/* LTR Section */
.ltr-section .card-buttons-container {
    direction: ltr;
    flex-direction: row-reverse;
}

/* Button containers inside buttons container */
.card-buttons-container .card-detail-link,
.card-buttons-container .card-website-link {
    flex: 1;
    min-width: 0;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: stretch;
}

/* Buttons inside buttons container */
.card-buttons-container .detail-link-btn,
.card-buttons-container .website-link-btn {
    width: 100%;
    height: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0.85rem 1.2rem;
}

/* Ensure both buttons have same height by matching their content alignment */
.card-buttons-container .detail-link-content,
.card-buttons-container .website-link-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

/* Force equal heights for buttons in container */
.card-buttons-container .card-detail-link,
.card-buttons-container .card-website-link {
    height: 100%;
}

/* Single button layout (when only one button exists in container) */
.card-buttons-container .card-detail-link:only-child,
.card-buttons-container .card-website-link:only-child {
    flex: 1;
}

.detail-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    width: 100%;
    min-height: 48px;
}

.detail-link-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;
}

.detail-link-btn:hover::before {
    left: 100%;
}

.detail-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border-color: #60a5fa;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.detail-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.detail-link-icon i {
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.detail-link-btn:hover .detail-link-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.detail-link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.25rem;
}

.detail-link-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
}

.detail-link-btn:hover .detail-link-text {
    color: #dbeafe;
}

.detail-link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.detail-link-arrow i {
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.detail-link-btn:hover .detail-link-arrow {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
}

.detail-link-btn:hover .detail-link-arrow i {
    transform: translateX(-2px);
}

/* LTR Support for Detail Link */
.ltr-section .detail-link-btn {
    flex-direction: row-reverse;
}

.ltr-section .detail-link-arrow i {
    transform: rotate(180deg);
}

.ltr-section .detail-link-btn:hover .detail-link-arrow i {
    transform: rotate(180deg) translateX(2px);
}

/* Responsive Detail Link */
@media (max-width: 768px) {
    .card-detail-link {
        margin-top: 0;
        padding: 0;
    }

    .detail-link-btn {
        padding: 0.9rem 1.1rem;
        gap: 0.9rem;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2), 0 2px 6px rgba(59, 130, 246, 0.12);
    }

    .detail-link-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3), 0 3px 8px rgba(59, 130, 246, 0.15);
    }

    .detail-link-icon {
        width: 38px;
        height: 38px;
    }

    .detail-link-icon i {
        font-size: 1.15rem;
    }

    .detail-link-text {
        font-size: 0.925rem;
        font-weight: 600;
    }

    .detail-link-arrow {
        width: 30px;
        height: 30px;
    }

    .detail-link-arrow i {
        font-size: 0.95rem;
    }

    /* LTR Detail Link - 768px */
    .ltr-section .detail-link-btn {
        flex-direction: row;
    }

    .ltr-section .detail-link-arrow {
        order: 2;
    }

    .ltr-section .detail-link-arrow i {
        transform: rotate(0deg);
    }

    .ltr-section .detail-link-btn:hover .detail-link-arrow {
        transform: translateX(3px);
    }

    .ltr-section .detail-link-btn:hover .detail-link-arrow i {
        transform: translateX(2px);
    }
}

@media (max-width: 480px) {
    .card-detail-link {
        margin-top: 0;
        padding: 0;
    }

    .detail-link-btn {
        padding: 0.8rem 1rem;
        gap: 0.75rem;
        border-radius: 13px;
        box-shadow: 0 3px 12px rgba(59, 130, 246, 0.2), 0 2px 5px rgba(59, 130, 246, 0.12);
    }

    .detail-link-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 18px rgba(59, 130, 246, 0.3), 0 2px 7px rgba(59, 130, 246, 0.15);
    }

    .detail-link-icon {
        width: 36px;
        height: 36px;
    }

    .detail-link-icon i {
        font-size: 1.1rem;
    }

    .detail-link-text {
        font-size: 0.875rem;
        font-weight: 600;
    }

    .detail-link-arrow {
        width: 28px;
        height: 28px;
    }

    .detail-link-arrow i {
        font-size: 0.9rem;
    }

    /* LTR Detail Link - 480px */
    .ltr-section .detail-link-btn {
        flex-direction: row;
    }

    .ltr-section .detail-link-arrow {
        order: 2;
    }

    .ltr-section .detail-link-arrow i {
        transform: rotate(0deg);
    }

    .ltr-section .detail-link-btn:hover .detail-link-arrow {
        transform: translateX(3px);
    }

    .ltr-section .detail-link-btn:hover .detail-link-arrow i {
        transform: translateX(2px);
    }
}