/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Visit Section Styles */
.wsi-visit-section {
    padding: 100px 20px;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

.wsi-visit-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.wsi-visit-title {
    font-size: 40px;
    font-weight: 800;
    text-align: left;
    position: relative;
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 6px solid #C3006F;
}

.wsi-visit-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 40px;
    font-size: 18px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.wsi-visit-content strong {
    color: #C3006F;
}

/* Decorative Shapes */
.wsi-shape {
    position: absolute;
    background: #C3006F;
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.wsi-shape1 {
    width: 160px;
    height: 160px;
    top: -40px;
    left: -40px;
}

.wsi-shape2 {
    width: 100px;
    height: 100px;
    bottom: 20px;
    right: -30px;
}

.wsi-shape3 {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 80%;
    transform: translate(-50%, -50%);
}

/* Button Section Styles */
.wsi-button-wrapper {
    max-width: 1140px;
    margin: 30px auto;
    text-align: center;
}

.wsi-button-wrapper.wsi-align-left {
    text-align: left;
}

.wsi-button-wrapper.wsi-align-right {
    text-align: right;
}

.wsi-button {
    display: inline-block;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(195, 0, 111, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: 2px solid #C3006F;
}

.wsi-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(195, 0, 111, 0.3);
    background: white !important;
    color: #C3006F !important;
}

/* HTML Section Styles */
.wsi-html-section {
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.wsi-html-wrapper {
    max-width: 1140px;
    margin: 0 auto;
}

/* Steps Section Styles */
.wsi-steps-section {
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.wsi-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    position: relative;
}

.wsi-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    white-space: nowrap;
}

.wsi-section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.wsi-step-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wsi-step-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 6rem 0;
    gap: 2rem;
    position: relative;
}

.wsi-step-card-wrapper.wsi-right-image {
    flex-direction: row-reverse;
}

.wsi-step-image {
    flex: 1 1 45%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wsi-step-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.wsi-step-image::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(195, 0, 111, 0.3);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.wsi-step-image:hover::before {
    opacity: 1;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
}

.wsi-step-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.wsi-step-image:hover img {
    transform: scale(1.03);
}

.wsi-step-card {
    flex: 1 1 50%;
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.wsi-step-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 4px solid #C3006F;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(195, 0, 111, 0.2);
    z-index: 3;
}

.wsi-step-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.wsi-step-content {
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.wsi-step-content a {
    text-decoration: underline;
    font-weight: 500;
}

.wsi-two-column-lists {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

.wsi-column-list {
    flex: 1;
    list-style-type: disc;
    padding-left: 1.25rem;
}

.wsi-column-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.wsi-step-button {
    display: inline-block;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(195, 0, 111, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: 2px solid #C3006F;
}

.wsi-step-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(195, 0, 111, 0.3);
    background: white !important;
    color: #C3006F !important;
}

/* No Steps Message */
.wsi-no-steps {
    text-align: center;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 10px;
    margin: 20px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .wsi-step-card-wrapper {
        flex-direction: column;
        margin: 5rem 0;
    }
    
    .wsi-step-image, 
    .wsi-step-card {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .wsi-step-card {
        padding: 2rem;
    }
    
    .wsi-step-icon {
        top: -25px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .wsi-section-title {
        font-size: 2.2rem;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .wsi-visit-section {
        padding: 60px 15px;
    }
    
    .wsi-visit-title {
        font-size: 28px;
    }
    
    .wsi-visit-content {
        padding: 25px;
    }
    
    .wsi-html-section {
        padding: 40px 15px;
    }
    
    .wsi-steps-section {
        padding: 60px 0;
    }
    
    .wsi-step-container {
        padding: 0 1.5rem;
    }
    
    .wsi-section-title {
        font-size: 1.8rem;
    }
    
    .wsi-section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .wsi-step-card-wrapper {
        margin: 4rem 0;
    }
    
    .wsi-step-title {
        font-size: 1.6rem;
    }
    
    .wsi-two-column-lists {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wsi-step-button {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1.5rem;
    }
}

/* Elementor Editor Styles */
.elementor-editor-active .wsi-visit-section {
    min-height: 300px;
}

.elementor-editor-active .wsi-html-section {
    min-height: 200px;
}

.elementor-editor-active .wsi-steps-section {
    min-height: 400px;
}

.elementor-editor-active .wsi-step-card-wrapper {
    margin: 3rem 0;
}

.elementor-editor-active .wsi-step-image {
    min-height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-editor-active .wsi-step-image img {
    max-width: 100%;
    height: auto;
}

.elementor-editor-active .wsi-step-card {
    min-height: 200px;
}

.elementor-editor-active .wsi-no-steps {
    display: block;
}