/*
 Theme Name:     Hello Elementor Child
 Template:       hello-elementor
 Version:        1.0.0
 Text Domain:    hello-elementor-child
*/

/* --- Infographic Styles --- */
:root {
    --bg-color: #02041F;
    --primary-glow-color: #00e5ff;
    --accent-glow-color: #ff00ff;
    --card-bg-color: rgba(18, 35, 58, 0.4);
    --text-color: #ffffff;
    --text-muted-color: #c0c8d8;
    --font-family: 'Vazirmatn', sans-serif;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px var(--primary-glow-color); }
    50% { transform: scale(1.05); box-shadow: 0 0 35px var(--primary-glow-color); }
}

.infographic-wrapper {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 50px 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 900px;
    text-align: center;
    margin: 40px auto;
    border-radius: 20px;
}

.infographic-wrapper .main-title-container {
    padding: 25px 40px;
    margin-bottom: 70px;
    display: inline-block;
    border-radius: 15px;
    background: var(--card-bg-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 229, 255, 0.5);
    animation: pulse 5s infinite ease-in-out;
}

.infographic-wrapper .main-title-container .subtitle {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
    margin: 0;
    letter-spacing: 1px;
    color: var(--primary-glow-color);
}

.infographic-wrapper .main-title-container .title {
    font-size: 42px;
    font-weight: 800;
    margin: 5px 0 0;
    color: var(--text-color);
    text-shadow: 0 0 15px var(--accent-glow-color);
}

.infographic-wrapper .process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.infographic-wrapper .process-item {
    display: flex;
    align-items: center;
    background: var(--card-bg-color);
    border-radius: 15px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.infographic-wrapper .process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.1);
}

.infographic-wrapper .process-item:nth-child(1) { animation-delay: 0.2s; }
.infographic-wrapper .process-item:nth-child(2) { animation-delay: 0.4s; }
.infographic-wrapper .process-item:nth-child(3) { animation-delay: 0.6s; }
.infographic-wrapper .process-item:nth-child(4) { animation-delay: 0.8s; }
.infographic-wrapper .process-item:nth-child(5) { animation-delay: 1.0s; }

.infographic-wrapper .step-number {
    font-size: 48px;
    font-weight: 800;
    margin-left: 25px;
    color: var(--accent-glow-color);
    text-shadow: 0 0 15px var(--accent-glow-color);
    flex-shrink: 0;
}

.infographic-wrapper .step-icon {
    font-size: 32px;
    color: var(--primary-glow-color);
    text-shadow: 0 0 15px var(--primary-glow-color);
    margin-left: 25px;
    transition: transform 0.3s ease;
}

.infographic-wrapper .process-item:hover .step-icon {
    transform: scale(1.2) rotate(-10deg);
}

.infographic-wrapper .step-content {
    text-align: right;
    flex-grow: 1;
}

.infographic-wrapper .step-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.infographic-wrapper .step-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted-color);
    margin: 0;
}

@media (min-width: 768px) {
    .infographic-wrapper .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 40px;
    }
    .infographic-wrapper .process-item:last-child:nth-child(odd) {
        grid-column: span 2;
        max-width: calc(50% - 20px);
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .infographic-wrapper .main-title-container .title { font-size: 34px; }
    .infographic-wrapper .process-item { flex-direction: column; text-align: center; }
    .infographic-wrapper .step-content { text-align: center; }
    .infographic-wrapper .step-number, .infographic-wrapper .step-icon { margin: 0 0 15px 0; }
}
/* --- End Infographic Styles --- */