﻿/* =======================================
   STEP CIRCLES & LABELS
======================================= */

/* Main container (optional, if not using Bootstrap grid) */
.step-progress-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 2rem 0;
}

/* Base circular ring */
.step-circle {
    width: 140px; /* bigger circle size on desktop */
    height: 140px;
    border-radius: 50%;
    border: 15px solid #f5eee7;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #56483a;
    margin: 0 auto 10px;
    text-align: center;
    line-height: 1.2;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.step-circle-inner {
    width: 100%;
    font-size: 1rem; /* smaller text size */
    line-height: 1.2;
    padding: 0 8px; /* some horizontal padding */
    white-space: nowrap; /* prevent wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.circle_container {
    width: 140px;
    height: 140px;
}

.outer_circle {
    height: 140px;
    width: 140px;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 6px 6px 10px -1px rgba(0,0,0,0.15), -6px -6px 10px -1px rgba(255,255,255,0.7);
}

.inner_circle {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    box-shadow: inset 4px 4px 6px -1px rgba(0,0,0,0.2), inset -4px -4px 6px -1px rgba(255,255,255,0.7), -0.5px -0.5px 0px rgba(255,255,255,1), 0.5px 0.5px 0px rgba(0,0,0,0.15), 0px 12px 10px -10px rgba(0,0,0,0.05);
}

#circle_text {
    font-weight: 800;
    color: #555;
}

circle {
    fill: none;
    stroke: url(#GradientColor);
    stroke-width: 20px;
    stroke-dasharray: 450;
    stroke-dashoffset: 450;
    animation: anim 2s linear forwards;
}

@keyframes anim {
    100% {
        stroke-dashoffset: 0;
    }
}

svg {
    position: absolute;
    top: 0;
    left: 0;
}

/* Label below each circle */
.step-label {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #56483a;
    transition: all 0.3s ease;
}

    .step-label a {
        color: #56483a;
        text-decoration: underline;
        transition: all 0.3s ease;
    }

        .step-label a:hover {
            color: #56483a;
            text-decoration: none;
        }

    .step-label.active,
    .step-label.active a {
        color: #f16680;
        font-weight: 600;
        text-decoration: none;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .step-circle {
        width: 120px; /* slightly bigger on mobile than before */
        height: 120px;
        border-width: 12px; /* thicker border for mobile */
        font-size: 16px; /* adjust font size */
    }

        .step-circle.gradient-green::after {
            top: 12px;
            left: 12px;
            right: 12px;
            bottom: 12px;
        }

    .step-label {
        font-size: 13px;
    }
}

/* =======================================
   PARALLAX SECTION WITH WAVE DIVIDER
======================================= */

.parallax-step-section {
    height: 400px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-step-content {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    word-wrap: break-word;
    z-index: 2;
    position: relative;
}

/* Default SVG wave styling */
.parallax-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    opacity: 1;
}

    .parallax-divider svg {
        display: block;
        width: 100%;
        height: 30px;
    }

    .parallax-divider .shape-fill {
        fill: rgba(252, 220, 219, 1);
    }

/* Responsive SVG wave height */
@media (max-width: 768px) {
    .parallax-divider svg {
        height: 20px;
    }
}

/* =======================================
   CUSTOM WEBSECTIONDIVIDER OVERLAP FIX
======================================= */

.custom-overlapping-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}
