/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* ============================================================================
   MODERN STEPS SECTION STYLING
   ============================================================================ */

.steps-section {
    padding: 120px 0 95px;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    overflow: hidden;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 0.8s ease-out;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #3f4079;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header h2 strong {
    color: #e74e84;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
    position: relative;
}

/* Step Card */
.step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.6);
    animation: scaleIn 0.6s ease-out;
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(63, 64, 121, 0.15);
    border-color: #e74e84;
}

/* Step Number Badge */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74e84 0%, #d43b6f 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(231, 78, 132, 0.3);
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Step Icon */
.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    color: #74d1c6;
    animation: slideInUp 0.6s ease-out 0.1s both;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(116, 209, 198, 0.2));
    transition: all 0.4s ease;
}

.step-card:hover .step-icon svg {
    filter: drop-shadow(0 8px 24px rgba(116, 209, 198, 0.35));
    transform: scale(1.05) rotate(2deg);
}

/* Step Title */
.step-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #3f4079;
    margin-bottom: 15px;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.step-card:hover .step-title {
    color: #e74e84;
}

/* Step Description */
.step-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* ============================================================================
   RESPONSIVE DESIGN - TABLET (768px and below)
   ============================================================================ */

@media (max-width: 991px) {
    .steps-section {
        padding: 80px 0 60px;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-card {
        padding: 35px 25px;
    }

    .step-icon {
        max-width: 120px;
        height: 120px;
    }

    .step-title {
        font-size: 1.2rem;
    }
}

/* ============================================================================
   RESPONSIVE DESIGN - MOBILE (576px and below)
   ============================================================================ */

@media (max-width: 575px) {
    .steps-section {
        padding: 60px 0 45px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .step-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .step-icon {
        max-width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .step-title {
        font-size: 1.1rem;
        margin-top: 10px;
    }

    .step-description {
        font-size: 0.9rem;
    }
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
.step-card:nth-child(1) {
    animation-delay: 0s;
}

.step-card:nth-child(3) {
    animation-delay: 0.15s;
}

.step-card:nth-child(5) {
    animation-delay: 0.3s;
}
