
:root {
    --ek-black: #030712;
    --ek-white: #ffffff;
    --ek-gray-50: #f8fafc;
    --ek-gray-100: #f1f5f9;
    --ek-gray-200: #e2e8f0;
    --ek-gray-300: #cbd5e1;
    --ek-gray-400: #94a3b8;
    --ek-gray-500: #64748b;
    --ek-gray-600: #475569;
    --ek-gray-700: #334155;
    --ek-gray-800: #1e293b;
    --ek-gray-900: #0f172a;
    --ek-primary: #2563eb;
    --ek-primary-dark: #1d4ed8;
    --ek-primary-light: #3b82f6;
    --ek-primary-glow: rgba(37, 99, 235, 0.25);
    --ek-secondary: #7c3aed;
    --ek-secondary-light: #8b5cf6;
    --ek-accent: #db2777;
    --ek-success: #10b981;
    --ek-warning: #f59e0b;
    --ek-error: #ef4444;
    --ek-gradient-primary: linear-gradient(135deg, #2563eb, #7c3aed);
    --ek-gradient-accent: linear-gradient(135deg, #db2777, #7c3aed);
    --ek-gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);
    --ek-border-radius-sm: 0.375rem;
    --ek-border-radius: 0.75rem;
    --ek-border-radius-lg: 1.5rem;
    --ek-border-radius-xl: 2rem;
    --ek-border-radius-2xl: 2.5rem;
    --ek-border-radius-full: 9999px;
    --ek-shadow-sm: 0 1px 2px 0 rgb(0 0 0/0.05);
    --ek-shadow: 0 4px 6px -1px rgb(0 0 0/0.1), 0 2px 4px -2px rgb(0 0 0/0.1);
    --ek-shadow-lg: 0 10px 15px -3px rgb(0 0 0/0.1), 0 4px 6px -4px rgb(0 0 0/0.1);
    --ek-shadow-xl: 0 20px 25px -5px rgb(0 0 0/0.1), 0 8px 10px -6px rgb(0 0 0/0.1);
    --ek-shadow-2xl: 0 25px 50px -12px rgb(0 0 0/0.25);
    --ek-shadow-glow: 0 0 20px var(--ek-primary-glow);
    --ek-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ek-transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --ek-container-max: 1400px;
    --ek-container-padding: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--ek-gray-50);
    color: var(--ek-gray-900);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.03)0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(124, 58, 237, 0.03)0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    font-size: 0.001px;
}

.ek-container {
    max-width: var(--ek-container-max);
    margin: 0 auto;
    padding: 0 var(--ek-container-padding);
    width: 100%;
    box-sizing: border-box;
}

.ek-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.ek-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.ek-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.ek-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ek-gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.ek-logo:hover::after {
    transform: translateX(0);
}

.ek-logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ek-gray-900);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.ek-logo-title {
    font-size: 0.875rem;
    color: var(--ek-gray-600);
    font-weight: 500;
}

.ek-nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.ek-nav-list a {
    text-decoration: none;
    color: var(--ek-gray-700);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--ek-transition);
    position: relative;
    padding: 0.5rem 0;
}

.ek-nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ek-gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.ek-nav-list a:hover::before,
.ek-nav-list a.ek-active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.ek-nav-list a:hover,
.ek-nav-list a.ek-active {
    color: var(--ek-gray-900);
}

.ek-mobile-toggle {
    display: none;
    flex-direction: column;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
    position: relative;
}

.ek-mobile-toggle span {
    width: 100%;
    height: 2px;
    background: var(--ek-gradient-primary);
    margin: 3px 0;
    transition: var(--ek-transition);
    border-radius: 2px;
}

@media(max-width:1024px) {
    .ek-mobile-toggle {
        display: flex;
    }

    .ek-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 100px 2rem 2rem;
        transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: var(--ek-shadow-2xl);
        z-index: 150;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }

    .ek-nav.ek-active {
        right: 0;
    }

    .ek-nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .ek-nav-list a {
        font-size: 1.2rem;
        display: inline-block;
    }

    .ek-mobile-toggle.ek-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        width: 80%;
    }

    .ek-mobile-toggle.ek-active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .ek-mobile-toggle.ek-active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        width: 80%;
    }
}

.ek-footer {
    background: var(--ek-gray-900);
    color: var(--ek-gray-400);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.ek-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.1), transparent 70%);
    pointer-events: none;
}

.ek-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.ek-footer h4 {
    color: var(--ek-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.ek-footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--ek-gradient-primary);
    border-radius: 3px;
}

.ek-footer ul {
    list-style: none;
}

.ek-footer ul li {
    margin-bottom: 0.75rem;
}

.ek-footer ul li:last-child {
    margin-bottom: 0;
}

.ek-footer a {
    color: var(--ek-gray-400);
    text-decoration: none;
    transition: var(--ek-transition);
    position: relative;
    display: inline-block;
}

.ek-footer a:hover {
    color: var(--ek-white);
    transform: translateX(5px);
}

.ek-footer a.ek-active {
    color: var(--ek-primary);
    font-weight: 600;
    position: relative;
    padding-left: 0;
}

.ek-footer a.ek-active::before {
    content: '→';
    position: absolute;
    left: -1.2rem;
    color: var(--ek-primary);
    font-weight: 400;
    opacity: 1;
    transform: translateX(0);
    animation: ek-footerActiveGlow 2s infinite;
}

.ek-footer a.ek-active:hover {
    color: var(--ek-primary-light);
    transform: translateX(8px);
}

.ek-footer a.ek-active:hover::before {
    animation: none;
    transform: translateX(3px);
}

@keyframes ek-footerActiveGlow {
    0% {
        opacity: 0.6;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(3px);
    }

    100% {
        opacity: 0.6;
        transform: translateX(0);
    }
}

.ek-footer-links ul li:last-child,
.ek-footer-contact ul li:last-child {
    margin-bottom: 0;
}

.ek-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.ek-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--ek-border-radius-full);
    transition: var(--ek-transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ek-social-links a:hover {
    background: var(--ek-gradient-primary);
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
}

.ek-footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--ek-gray-500);
    position: relative;
    z-index: 1;
}

@media(max-width:768px) {
    .ek-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.ek-hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.ek-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08)0%, transparent 70%);
    border-radius: 50%;
    animation: ek-float 20s infinite alternate;
}

.ek-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08)0%, transparent 70%);
    border-radius: 50%;
    animation: ek-float 15s infinite alternate-reverse;
}

@keyframes ek-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

.ek-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.ek-hero-content {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.ek-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--ek-primary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--ek-border-radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ek-hero-badge::before {
    content: '✨';
    font-size: 1.1rem;
}

.ek-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--ek-gray-900);
    letter-spacing: -0.03em;
    padding-bottom: 0.15em;
    max-width: 100%;
    overflow-wrap: break-word;
}

.ek-hero-title span {
    background: var(--ek-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    padding-bottom: 0.15em;
    max-width: 100%;
    overflow-wrap: break-word;
}

.ek-hero-text {
    font-size: 1.2rem;
    color: var(--ek-gray-600);
    margin-bottom: 2.5rem;
    max-width: 600px;
    width: 100%;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.ek-hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.ek-stat-item {
    text-align: left;
}

.ek-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ek-gray-900);
    line-height: 1;
    margin-bottom: 0.25rem;
    background: var(--ek-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ek-stat-label {
    font-size: 0.95rem;
    color: var(--ek-gray-600);
    font-weight: 500;
}

.ek-hero-image {
    position: relative;
    perspective: 1000px;
    width: 100%;
    max-width: 100%;
}

.ek-profile-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: var(--ek-border-radius-2xl);
    box-shadow: var(--ek-shadow-2xl);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--ek-transition-smooth);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: block;
}

.ek-profile-image:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
    box-shadow: var(--ek-shadow-glow);
}

@media(max-width:768px) {
    .ek-profile-image {
        transform: rotateY(0) rotateX(0);
        max-width: 400px;
        margin: 0 auto;
    }
}

.ek-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    width: 100%;
}

@media(max-width:768px) {
    .ek-hero {
        padding: 3rem 0;
    }

    .ek-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ek-hero-image {
        order: -1;
    }
}

.ek-section {
    padding: 6rem 0;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.ek-section-alt {
    background: rgba(37, 99, 235, 0.02);
    position: relative;
}

.ek-section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.03), transparent 50%);
    pointer-events: none;
}

.ek-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--ek-gray-900);
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.ek-section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--ek-gradient-primary);
    border-radius: 4px;
}

.ek-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 90px;
    width: 20px;
    height: 4px;
    background: var(--ek-gradient-accent);
    border-radius: 4px;
}

.ek-section-subtitle {
    color: var(--ek-gray-600);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 700px;
}

.ek-about-content {
    max-width: 800px;
}

.ek-about-content p {
    font-size: 1.1rem;
    color: var(--ek-gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.ek-column {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
}

.ek-column>* {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.ek-column-thrice {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
}

.ek-column-thrice .ek-card {
    flex: 1 1 calc(33.333% - 1.34rem);
    min-width: 280px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

@media(max-width:1024px) {
    .ek-column-thrice .ek-card {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media(max-width:640px) {
    .ek-column-thrice .ek-card {
        flex: 1 1 100%;
    }
}

.ek-column-thrice .ek-card-header {
    flex-wrap: wrap;
}

.ek-column-thrice .ek-card-title {
    word-break: break-word;
    hyphens: auto;
}

.ek-masonry-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    flex-wrap: wrap;
}

.ek-masonry-col {
    flex: 1 1 300px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
}

.ek-masonry-col .ek-card {
    margin: 0;
    width: 100%;
    animation: ek-cardAppear 0.5s ease-out;
    animation-fill-mode: both;
    transition: var(--ek-transition-smooth);
    break-inside: avoid;
}

.ek-masonry-col .ek-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ek-shadow-2xl), var(--ek-shadow-glow);
}

.ek-masonry-col:nth-child(1) .ek-card:nth-child(1) {
    animation-delay: 0.05s;
}

.ek-masonry-col:nth-child(1) .ek-card:nth-child(2) {
    animation-delay: 0.1s;
}

.ek-masonry-col:nth-child(1) .ek-card:nth-child(3) {
    animation-delay: 0.15s;
}

.ek-masonry-col:nth-child(1) .ek-card:nth-child(4) {
    animation-delay: 0.2s;
}

.ek-masonry-col:nth-child(1) .ek-card:nth-child(5) {
    animation-delay: 0.25s;
}

.ek-masonry-col:nth-child(1) .ek-card:nth-child(6) {
    animation-delay: 0.3s;
}

.ek-masonry-col:nth-child(1) .ek-card:nth-child(7) {
    animation-delay: 0.35s;
}

.ek-masonry-col:nth-child(1) .ek-card:nth-child(8) {
    animation-delay: 0.4s;
}

.ek-masonry-col:nth-child(2) .ek-card:nth-child(1) {
    animation-delay: 0.07s;
}

.ek-masonry-col:nth-child(2) .ek-card:nth-child(2) {
    animation-delay: 0.12s;
}

.ek-masonry-col:nth-child(2) .ek-card:nth-child(3) {
    animation-delay: 0.17s;
}

.ek-masonry-col:nth-child(2) .ek-card:nth-child(4) {
    animation-delay: 0.22s;
}

.ek-masonry-col:nth-child(2) .ek-card:nth-child(5) {
    animation-delay: 0.27s;
}

.ek-masonry-col:nth-child(2) .ek-card:nth-child(6) {
    animation-delay: 0.32s;
}

.ek-masonry-col:nth-child(2) .ek-card:nth-child(7) {
    animation-delay: 0.37s;
}

.ek-masonry-col:nth-child(2) .ek-card:nth-child(8) {
    animation-delay: 0.42s;
}

.ek-masonry-col:nth-child(3) .ek-card:nth-child(1) {
    animation-delay: 0.09s;
}

.ek-masonry-col:nth-child(3) .ek-card:nth-child(2) {
    animation-delay: 0.14s;
}

.ek-masonry-col:nth-child(3) .ek-card:nth-child(3) {
    animation-delay: 0.19s;
}

.ek-masonry-col:nth-child(3) .ek-card:nth-child(4) {
    animation-delay: 0.24s;
}

.ek-masonry-col:nth-child(3) .ek-card:nth-child(5) {
    animation-delay: 0.29s;
}

.ek-masonry-col:nth-child(3) .ek-card:nth-child(6) {
    animation-delay: 0.34s;
}

.ek-masonry-col:nth-child(3) .ek-card:nth-child(7) {
    animation-delay: 0.39s;
}

.ek-masonry-col:nth-child(3) .ek-card:nth-child(8) {
    animation-delay: 0.44s;
}

@keyframes ek-cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ek-card .ek-credential-id {
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--ek-gray-100);
    border-radius: var(--ek-border-radius);
    font-size: 0.85rem;
    word-break: break-word;
    border-left: 3px solid var(--ek-primary);
}

@media(max-width:768px) {
    .ek-masonry-row {
        flex-direction: column;
        gap: 1.2rem;
    }

    .ek-masonry-col {
        gap: 1.2rem;
    }

    .ek-masonry-col .ek-card {
        animation-delay: 0s !important;
    }
}

@media(min-width:769px)and(max-width:1024px) {
    .ek-masonry-row {
        gap: 1.2rem;
    }

    .ek-masonry-col {
        gap: 1.2rem;
    }
}

.ek-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--ek-border-radius-xl);
    padding: 2rem;
    box-shadow: var(--ek-shadow-lg);
    transition: var(--ek-transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.ek-card:hover::before {
    opacity: 1;
}

.ek-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--ek-shadow-2xl), var(--ek-shadow-glow);
    border-color: rgba(37, 99, 235, 0.2);
}

.ek-card-featured {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    border-left: 4px solid var(--ek-primary);
}

.ek-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    width: 100%;
    flex-wrap: wrap;
    min-width: 0;
}

@media(max-width:425px) {
    .ek-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .ek-card-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .ek-card-meta {
        justify-content: center;
        text-align: center;
    }
    
    .ek-card-meta span {
        justify-content: center;
        width: 100%;
        max-width: fit-content;
        margin: 0 auto;
    }
    
    .ek-tags {
        justify-content: center;
        text-align: center;
    }
    
    .ek-tag {
        text-align: center;
    }
    
    .ek-credential-id {
        text-align: center;
    }
}

.ek-card-header>div:last-child {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.ek-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    background: var(--ek-gradient-primary);
    border-radius: var(--ek-border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ek-white);
    font-size: 1.8rem;
    box-shadow: var(--ek-shadow);
    flex-shrink: 0;
}

.ek-card-icon-lg {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    background: var(--ek-gradient-primary);
    border-radius: var(--ek-border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ek-white);
    font-size: 2.2rem;
    box-shadow: var(--ek-shadow-lg);
    flex-shrink: 0;
}

.ek-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ek-gray-900);
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.ek-card-title-lg {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ek-gray-900);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.ek-card-subtitle {
    font-size: 0.95rem;
    color: var(--ek-gray-600);
    margin-top: 0.25rem;
    overflow-wrap: break-word;
}

.ek-card-subtitle-lg {
    font-size: 1.1rem;
    color: var(--ek-gray-600);
    margin-top: 0.25rem;
}

.ek-card-body {
    margin-bottom: 1.2rem;
    color: var(--ek-gray-700);
}

.ek-card-result {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--ek-success);
    border-radius: var(--ek-border-radius);
    font-weight: 500;
    border-left: 3px solid var(--ek-success);
}

.ek-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    color: var(--ek-gray-600);
    width: 100%;
}

.ek-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ek-gray-100);
    padding: 0.3rem 1rem;
    border-radius: var(--ek-border-radius-full);
    white-space: nowrap;
}

@media(max-width:480px) {
    .ek-card-meta span {
        white-space: normal;
    }
}

.ek-card-description {
    margin: 1.5rem 0;
    line-height: 1.8;
    color: var(--ek-gray-700);
}

.ek-card-footer {
    margin-top: 1.5rem;
}

.ek-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--ek-gradient-primary);
    color: var(--ek-white);
    border-radius: var(--ek-border-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: var(--ek-shadow-sm);
}

.ek-progress {
    margin: 1.5rem 0 0.5rem;
    width: 100%;
    min-width: 0;
}

.ek-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ek-gray-700);
    width: 100%;
    gap: 0.5rem;
}

.ek-progress-label span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ek-progress-label span:last-child {
    white-space: nowrap;
    flex-shrink: 0;
}

.ek-progress-bar {
    height: 10px;
    background: var(--ek-gray-200);
    border-radius: var(--ek-border-radius-full);
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.ek-progress-fill {
    height: 100%;
    background: var(--ek-gradient-primary);
    border-radius: var(--ek-border-radius-full);
    transition: width 1.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.ek-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, 0.3)50%, transparent 70%);
    animation: ek-shimmer 2s infinite;
}

@keyframes ek-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.ek-org-group {
    margin-bottom: 4rem;
}

.ek-org-group:last-child {
    margin-bottom: 0;
}

.ek-org-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--ek-gray-800);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-left: 1rem;
}

.ek-org-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ek-gradient-primary);
    border-radius: 4px;
}

.ek-org-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 1rem;
    width: 60px;
    height: 3px;
    background: var(--ek-gradient-accent);
    border-radius: 3px;
}

.ek-timeline {
    position: relative;
    padding-left: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    overflow-wrap: break-word;
}

.ek-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: var(--ek-gradient-primary);
    border-radius: 3px;
    box-shadow: var(--ek-shadow-glow);
}

.ek-timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
    animation: ek-slideInRight 0.6s ease-out;
    animation-fill-mode: both;
    width: 100%;
    overflow-wrap: break-word;
}

.ek-timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.ek-timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.ek-timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.ek-timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.ek-timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes ek-slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ek-timeline-item::before {
    content: '';
    position: absolute;
    left: -3.2rem;
    top: 0.25rem;
    width: 1.2rem;
    height: 1.2rem;
    background: var(--ek-white);
    border: 3px solid var(--ek-primary);
    border-radius: 50%;
    z-index: 2;
    transition: var(--ek-transition);
}

.ek-timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.ek-timeline-date {
    font-size: 0.9rem;
    color: var(--ek-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.2rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--ek-border-radius-full);
}

.ek-timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--ek-gray-900);
}

.ek-timeline-subtitle {
    color: var(--ek-gray-600);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.ek-timeline-desc {
    margin-top: 0.75rem;
    color: var(--ek-gray-700);
    line-height: 1.7;
}

.ek-achievements {
    margin: 1.5rem 0;
}

.ek-achievements h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ek-gray-800);
}

.ek-achievements ul {
    list-style: none;
}

.ek-achievements li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--ek-gray-700);
}

.ek-arrow {
    color: var(--ek-primary);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

.ek-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.ek-tag {
    padding: 0.4rem 1rem;
    background: var(--ek-gray-100);
    color: var(--ek-gray-700);
    border-radius: var(--ek-border-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--ek-transition);
    border: 1px solid transparent;
}

.ek-tag:hover {
    background: var(--ek-gradient-primary);
    color: var(--ek-white);
    transform: translateY(-2px);
}

.ek-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    background: var(--ek-gradient-primary);
    color: var(--ek-white);
    text-decoration: none;
    border-radius: var(--ek-border-radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--ek-transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ek-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--ek-primary-dark), var(--ek-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.ek-btn:hover::before {
    opacity: 1;
}

.ek-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--ek-shadow-lg), var(--ek-shadow-glow);
}

.ek-btn-outline {
    background: transparent;
    color: var(--ek-gray-900);
    border: 2px solid rgba(37, 99, 235, 0.3);
    box-shadow: none;
}

.ek-btn-outline::before {
    display: none;
}

.ek-btn-outline:hover {
    background: var(--ek-gradient-primary);
    color: var(--ek-white);
    border-color: transparent;
}

.ek-btn-block {
    width: 100%;
    justify-content: center;
}

.ek-view-more {
    text-align: center;
    margin-top: 3rem;
}

.ek-category-block {
    margin-bottom: 3rem;
}

.ek-category-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--ek-gray-800);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.ek-category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--ek-gradient-accent);
    border-radius: 3px;
}

.ek-credential-id {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--ek-gray-500);
    padding: 0.5rem;
    background: var(--ek-gray-100);
    border-radius: var(--ek-border-radius);
}

.ek-contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.ek-contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    margin-bottom: 3rem;
}

.ek-contact-card {
    flex: 1 1 250px;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--ek-border-radius-xl);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--ek-transition-smooth);
    box-shadow: var(--ek-shadow-lg);
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.ek-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ek-shadow-2xl), var(--ek-shadow-glow);
    border-color: rgba(37, 99, 235, 0.2);
}

.ek-contact-icon {
    width: 72px;
    height: 72px;
    background: var(--ek-gradient-primary);
    border-radius: var(--ek-border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ek-white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--ek-shadow);
}

.ek-contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--ek-gray-900);
}

.ek-contact-card a {
    color: var(--ek-gray-600);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--ek-transition);
}

.ek-contact-card a:hover {
    color: var(--ek-primary);
}

.ek-contact-form-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--ek-border-radius-xl);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--ek-shadow-lg);
}

.ek-contact-form-card h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--ek-gray-900);
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

.ek-form-group {
    margin-bottom: 1.8rem;
}

.ek-form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--ek-gray-700);
    font-size: 0.95rem;
}

.ek-form-group input,
.ek-form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--ek-gray-200);
    border-radius: var(--ek-border-radius-lg);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--ek-transition);
    background: rgba(255, 255, 255, 0.9);
}

.ek-form-group input:focus,
.ek-form-group textarea:focus {
    outline: none;
    border-color: var(--ek-primary);
    box-shadow: 0 0 0 4px var(--ek-primary-glow);
    background: var(--ek-white);
}

.ek-form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.ek-alert {
    padding: 1.2rem;
    border-radius: var(--ek-border-radius-lg);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.ek-alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--ek-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.ek-alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--ek-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.ek-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: 3rem;
    width: 100%;
}

.ek-gallery-item {
    position: relative;
    border-radius: var(--ek-border-radius-xl);
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    box-shadow: var(--ek-shadow-lg);
    transform: translateY(0);
    transition: var(--ek-transition-smooth);
    width: 100%;
    max-width: 100%;
}

.ek-gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--ek-shadow-2xl), var(--ek-shadow-glow);
    z-index: 5;
}

.ek-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ek-transition-smooth);
}

.ek-gallery-item:hover img {
    transform: scale(1.1);
}

.ek-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ek-gallery-item:hover .ek-gallery-overlay {
    opacity: 1;
}

.ek-gallery-info {
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.ek-gallery-item:hover .ek-gallery-info {
    transform: translateY(0);
}

.ek-gallery-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.ek-gallery-category {
    font-size: 0.9rem;
    opacity: 0.8;
}

.ek-gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ek-gray-200), var(--ek-gray-300));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ek-gray-600);
    font-weight: 500;
    font-size: 1.2rem;
}

@keyframes ek-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ek-fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ek-fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ek-animate-fadeInUp {
    animation: ek-fadeInUp 0.8s ease forwards;
}

.ek-animate-fadeInLeft {
    animation: ek-fadeInLeft 0.8s ease forwards;
}

.ek-animate-fadeInRight {
    animation: ek-fadeInRight 0.8s ease forwards;
}

.ek-gallery-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--ek-border-radius-2xl);
    border: 2px dashed rgba(37, 99, 235, 0.3);
    margin: 2rem 0;
}

.ek-gallery-empty-icon {
    font-size: 4rem;
    color: var(--ek-gray-400);
    margin-bottom: 1rem;
}

.ek-gallery-empty h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ek-gray-700);
    margin-bottom: 0.5rem;
}

.ek-gallery-empty p {
    color: var(--ek-gray-500);
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

.ek-gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0 3rem;
}

.ek-filter-btn {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--ek-border-radius-full);
    font-weight: 600;
    color: var(--ek-gray-700);
    cursor: pointer;
    transition: var(--ek-transition-smooth);
    box-shadow: var(--ek-shadow-sm);
}

.ek-filter-btn:hover {
    background: var(--ek-gradient-primary);
    color: var(--ek-white);
    transform: translateY(-2px);
    box-shadow: var(--ek-shadow-glow);
    border-color: transparent;
}

.ek-filter-btn.ek-active {
    background: var(--ek-gradient-primary);
    color: var(--ek-white);
    border-color: transparent;
    box-shadow: var(--ek-shadow-glow);
}

.ek-gallery-desc {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    line-height: 1.4;
}

[data-category] {
    transition: var(--ek-transition-smooth);
}

.ek-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    height: 100%;
}

.ek-gallery-modal.ek-active {
    display: flex;
    opacity: 1;
}

.ek-modal-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

.ek-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    color: white;
    box-sizing: border-box;
}

.ek-modal-counter {
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

.ek-modal-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ek-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.ek-modal-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 7rem;
    box-sizing: border-box;
    min-height: 0;
}

.ek-modal-image-container {
    position: relative;
    max-width: 90vw;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ek-modal-image {
    max-width: 100%;
    max-height: calc(80vh - 10rem);
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ek-modal-caption {
    text-align: center;
    color: white;
    font-size: 1rem;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: 100%;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 12;
    box-sizing: border-box;
}

.ek-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
}

.ek-modal-nav:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.ek-modal-nav.ek-prev {
    left: 2rem;
}

.ek-modal-nav.ek-next {
    right: 2rem;
}

.ek-modal-nav.ek-hidden {
    display: none;
}

.ek-modal-thumbnails {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 9999px;
    max-width: 90vw;
    overflow-x: auto;
    z-index: 15;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.ek-modal-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.ek-modal-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.ek-modal-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.ek-modal-thumb {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.ek-modal-thumb:hover {
    opacity: 0.8;
}

.ek-modal-thumb.ek-active {
    opacity: 1;
    border-color: #2563eb;
    transform: scale(1.1);
}

.ek-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

@media (max-width: 768px) {
    .ek-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .ek-modal-nav.ek-prev {
        left: 0.5rem;
    }

    .ek-modal-nav.ek-next {
        right: 0.5rem;
    }

    .ek-modal-header {
        padding: 1rem;
    }

    .ek-modal-content {
        padding: 4rem 1rem 5rem;
    }

    .ek-modal-image {
        max-height: calc(75vh - 8rem);
    }

    .ek-modal-caption {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .ek-modal-thumbnails {
        display: none;
    }
}

@media (max-width: 480px) {
    .ek-modal-content {
        padding: 3.5rem 0.5rem 4.5rem;
    }

    .ek-modal-image {
        max-height: calc(70vh - 7rem);
    }

    .ek-modal-caption {
        font-size: 0.85rem;
        padding: 0.6rem 0.75rem;
    }
}

.ek-reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.ek-reveal-up.ek-visible {
    opacity: 1;
    transform: translateY(0);
}

.ek-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.ek-reveal-left.ek-visible {
    opacity: 1;
    transform: translateX(0);
}

.ek-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.ek-reveal-right.ek-visible {
    opacity: 1;
    transform: translateX(0);
}

.ek-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.ek-reveal-scale.ek-visible {
    opacity: 1;
    transform: scale(1);
}

.ek-reveal-rotate {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.ek-reveal-rotate.ek-visible {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.ek-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: calc(0.1s * var(--ek-index, 1));
}

.ek-stagger.ek-visible>* {
    opacity: 1;
    transform: translateY(0);
}

.ek-parallax-slow {
    transform: translateY(0);
    transition: transform 0.1s linear;
    will-change: transform;
}

.ek-parallax-medium {
    transform: translateY(0);
    transition: transform 0.1s linear;
    will-change: transform;
}

.ek-parallax-fast {
    transform: translateY(0);
    transition: transform 0.1s linear;
    will-change: transform;
}

.ek-fade-sequence .ek-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ek-fade-sequence.ek-visible .ek-card {
    opacity: 1;
    transform: translateY(0);
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(1) {
    transition-delay: 0.05s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(2) {
    transition-delay: 0.1s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(3) {
    transition-delay: 0.15s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(4) {
    transition-delay: 0.2s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(5) {
    transition-delay: 0.25s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(6) {
    transition-delay: 0.3s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(7) {
    transition-delay: 0.35s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(8) {
    transition-delay: 0.4s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(9) {
    transition-delay: 0.45s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(10) {
    transition-delay: 0.5s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(11) {
    transition-delay: 0.55s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(12) {
    transition-delay: 0.6s;
}

.ek-fade-sequence.ek-visible .ek-card:nth-child(n+13) {
    transition-delay: 0.65s;
}

.ek-reveal-flip {
    opacity: 0;
    transform: perspective(1000px) rotateX(30deg) translateY(50px);
    transform-origin: top;
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.ek-reveal-flip.ek-visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) translateY(0);
}

.ek-reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.95);
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.ek-reveal-blur.ek-visible {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.ek-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(0.05s * attr(data-ek-delay integer, 1));
}

.ek-slide-up.ek-visible {
    opacity: 1;
    transform: translateY(0);
}

.ek-reveal-bounce {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.ek-reveal-bounce.ek-visible {
    opacity: 1;
    transform: translateY(0);
}

.ek-reveal-zoom {
    opacity: 0;
    transform: scale(1.2);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ek-reveal-zoom.ek-visible {
    opacity: 1;
    transform: scale(1);
}