:root {
    --primary: #50ddc4;
    --primary-light: #26bca1;
    --dark: #0f172a;
    --light: #f7fcfa;
    --gradient-1: linear-gradient(135deg, #7AF0C5 0%, #83D9E2 100%);
    --gradient-2: linear-gradient(135deg, #83D9E2 0%, #82C0FF 100%);
    --gradient-3: linear-gradient(135deg, #A6B3EE 0%, #FF8FD8 100%);
    --radius: 25px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --border: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    line-height: 1.6;
}

.funnel-container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    position: relative;
    /* Removed background, backdrop-filter, box-shadow, border */
}

/* Progress Bar */
.progress-container {
    margin-bottom: 60px;
    position: relative;
    padding: 0 20px;
}

.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    position: absolute;
    top: 22px;
    left: 44px;
    right: 44px;
    transform: translateY(-50%);
    z-index: 0;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 3px;
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-dot {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-dot.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(80, 221, 196, 0.4);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-align: center;
    transition: all 0.3s ease;
}

.step-item:has(.step-dot.active) .step-label {
    color: var(--primary);
    font-weight: 600;
}

/* Steps */
.step {
    display: none;
    animation: fadeIn 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark);
}

.sub-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 30px;
    font-weight: 600;
}

/* Step 1: Country */
.country-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.country-card {
    background: white;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.country-card.selected {
    border-color: var(--primary);
    background: #f0fdfa;
    box-shadow: 0 0 0 4px rgba(80, 221, 196, 0.2);
}

.flag {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
}

.flag-img {
    height: 64px;
    width: auto;
    margin-bottom: 15px;
    display: inline-block;
    object-fit: contain;
}

.country-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.city-selection {
    margin-top: 30px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

select,
input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: border-color 0.3s;
    font-family: inherit;
}

select:focus,
input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Step 2: Services Layout */
.step2-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

.step2-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step2-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-grid {
    display: grid;
    gap: 20px;
}

.service-card {
    background: white;
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    gap: 20px;
}

.service-card:hover {
    transform: translateX(5px);
    border-color: var(--border);
}

.service-card.selected {
    border-color: var(--primary);
    background: #f0fdfa;
}

.service-content {
    flex: 1;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.service-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-price {
    font-weight: 700;
    color: var(--primary-light);
    font-size: 1.1rem;
    white-space: nowrap;
}

.service-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 5px 0 0 0;
}

/* Ensure lists in description look like paragraphs */
.service-desc ul,
.service-desc ol {
    margin: 0;
    padding-left: 20px;
}

.service-desc li {
    margin-bottom: 2px;
}

/* SVG Checkmark */
.check-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-svg {
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.check-svg .check-mark {
    opacity: 0;
    transform: scale(0.5);
    transform-origin: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.check-svg.checked {
    color: var(--primary);
}

.check-svg.checked .check-mark {
    opacity: 1;
    transform: scale(1);
}

/* Sidebar Elements */
.cart-summary {
    text-align: center;
    font-size: 1.2rem;
    padding: 20px;
    background: var(--dark);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-block {
    width: 100%;
    margin: 0;
    display: block;
    text-align: center;
}

/* Reassurance Block */
.reassurance-block {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.reassurance-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Responsive Step 2 */
@media (max-width: 900px) {
    .step2-layout {
        grid-template-columns: 1fr;
    }

    .step2-sidebar {
        position: static;
        order: -1;
        /* Show summary on top on mobile? Or bottom? Let's keep it bottom for now or standard flow */
        order: 1;
    }

    .actions-left {
        display: none;
        /* Hide top/main back button on mobile if needed, or keep it */
    }

    /* We might need a sticky bottom bar for mobile, but for now just stack */
}

/* Step 3: Form */
#contactForm {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #475569;
}

/* Actions */
.actions {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(80, 221, 196, 0.3);
    margin-left: auto;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(80, 221, 196, 0.4);
}

.btn-primary:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-secondary {
    background: white;
    color: #64748b;
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: #f8fafc;
    color: var(--dark);
    border-color: #cbd5e1;
}

.hidden {
    display: none;
}

/* Iframe */
.iframe-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

/* --- WooCommerce Checkout Styling --- */

/* Wrapper & Layout */
.woocommerce-checkout-wrapper {
    animation: fadeIn 0.5s ease;
}

.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: auto;
    gap: 30px;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
    float: none;
    width: 100%;
}

.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
    float: none;
    width: 100%;
}

/* Headings */
.woocommerce h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
    display: inline-block;
}

/* Forms & Inputs */
.woocommerce form .form-row {
    margin-bottom: 20px;
    display: block;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #475569;
    line-height: 1.4;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: white;
    box-sizing: border-box;
    /* Ensure padding doesn't overflow */
}

.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Notices & Coupon */
.woocommerce-info,
.woocommerce-error,
.woocommerce-message {
    background: #f0fdfa;
    border-top: 3px solid var(--primary);
    color: var(--dark);
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-weight: 500;
    list-style: none;
}

.woocommerce-error {
    border-color: #ef4444;
    background: #fef2f2;
    color: #b91c1c;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    border-top: none;
    border-left: 4px solid var(--primary);
}

.woocommerce-form-coupon {
    border: 2px dashed var(--border);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.woocommerce-checkout-review-order-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--dark);
}

.woocommerce-checkout-review-order-table tfoot th {
    background: transparent;
    border-bottom: none;
    text-align: right;
}

.woocommerce-checkout-review-order-table tfoot td {
    border-bottom: none;
    font-weight: 700;
    color: var(--dark);
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 1.2rem;
    color: var(--primary-light);
    border-top: 2px solid var(--border);
}

/* Payment Methods */
.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.wc_payment_method {
    background: white;
    border: 2px solid var(--border);
    border-radius: 15px;
    margin-bottom: 15px;
    padding: 20px;
    transition: all 0.3s;
}

.wc_payment_method label {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0;
}

.wc_payment_method input[type="radio"] {
    width: auto;
    margin-right: 10px;
    accent-color: var(--primary);
}

.payment_box {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
    color: #64748b;
}

/* Place Order Button */
#place_order {
    width: 100%;
    padding: 18px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(80, 221, 196, 0.3);
    margin-top: 20px;
    display: block;
}

#place_order:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(80, 221, 196, 0.4);
}

/* Hide unwanted elements */
.woocommerce-privacy-policy-text {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
    text-align: center;
}

.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 20px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout-review-order-table {
        font-size: 0.9rem;
    }
}

/* Service Category Titles */
.service-category-title {
    grid-column: 1 / -1;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 5px;
    display: inline-block;
}

.service-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 5px 0 10px 0;
}