:root {
    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-surface-hover: #f1f5f9;
    --primary: #0f172a;
    /* Navy/Black */
    --accent: #2563eb;
    /* Royal Blue */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.2s ease-in-out;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography & Utils */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: .75rem;
}

.text-gradient {
    color: var(--accent);
    /* Gradient removed for minimalist style, kept class for structure but used solid professional color */
}

.section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 32px;
    /* Sharper corners */
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy spring transition */
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
    /* Sticker-like pop */
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: #080f20;
    /* Transformation handled by generic .btn:hover */
}

.btn-secondary {
    background: #fff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    /* High opacity */
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.logo .dot {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.mobile-only {
    display: none;
}

.nav-toggle {
    display: none;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(to bottom, #fff 0%, var(--bg-surface) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: #ebf5ff;
    /* Soft blue bg */
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.trust-badges {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badges i {
    color: var(--accent);
    margin-right: 8px;
}

/* Hero Visual - Minimalist Code Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    /* Slight playful tilt */
    transition: var(--transition);
}

.glass-card:hover {
    transform: rotate(0deg);
}

.code-snippet {
    font-family: 'Fira Code', 'Menlo', monospace;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 16px;
}

.red {
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.yellow {
    background: #fef9c3;
    border: 1px solid #fde047;
}

.green {
    background: #dcfce7;
    border: 1px solid #86efac;
}

pre {
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Detailed Service Cards */
.key-features {
    margin-top: 24px;
    margin-bottom: 32px;
}

.key-features h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.key-features ul {
    list-style: none;
    padding-left: 0;
}

.key-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.key-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    /* Push to bottom if flex column */
}

.card-actions .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
    gap: 8px;
}

/* Ensure service card is flex container for vertical alignment */
.service-card {
    display: flex;
    flex-direction: column;
}

/* Services */
.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-card .icon-box {
    transition: transform 0.4s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.15);
}

.service-card:hover .overlay-icon {
    opacity: 1;
    transform: translateY(0);
}

.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    color: var(--primary);
    border-radius: 8px;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

.learn-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.learn-more:hover {
    gap: 10px;
    color: var(--accent);
}

.center-btn {
    text-align: center;
}

/* Features/Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.feature-item {
    padding: 24px;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    background: var(--bg-surface);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 16px;
    transition: transform 0.4s ease;
    display: inline-block;
}

.feature-item:hover .feature-icon {
    transform: scale(1.15);
}

/* CTA */
.cta-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #fff;
    padding: 80px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-info p {
    color: var(--text-muted);
    margin: 24px 0;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Testimonials */
.testimonials {
    background: var(--bg-surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 64px;
}

.testimonial-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-icon {
    transition: transform 0.4s ease;
}

.testimonial-card:hover .quote-icon {
    transform: scale(1.15);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 20px;
}

.quote-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.7;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
}

.stat-icon {
    width: 58px;
    height: 58px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.15);
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Animations */
.hidden-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    will-change: opacity, transform;
}

.show-section {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .hidden-section {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Scroll Animation - Individual Cards */
.hidden-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    will-change: opacity, transform;
}

.show-card {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
    }

    .bar {
        display: block;
        width: 24px;
        height: 2px;
        margin: 6px auto;
        background-color: var(--primary);
        transition: var(--transition);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 68px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        padding: 32px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-only {
        display: block;
        margin-top: 24px;
    }

    .desktop-only {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

    .hero-btns {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-visual {
        display: none;
        /* Hide visual on mobile for minimalist clearer view, strictly text focused */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Process Section (Numbered Steps) */
.process-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.process-step {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.process-step:hover {
    transform: translateY(-8px);
}

.step-number {
    width: 58px;
    height: 58px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
}

.process-step:hover .step-number {
    transform: scale(1.15);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.process-step p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .process-grid {
        flex-direction: column;
        gap: 48px;
    }
}

/* Portfolio Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    background: var(--bg-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    border-bottom: 1px solid var(--border-color);
}

/* Dark gradient overlay */
.portfolio-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-card:hover .portfolio-img-wrapper::after {
    opacity: 1;
}

/* Icon Overlay */
.overlay-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.portfolio-card:hover .overlay-icon {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    z-index: 2;
}

.portfolio-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.portfolio-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tag {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.portfolio-card:hover .tag {
    background: rgba(37, 99, 235, 0.15);
}

/* Contact Layout Refinements */
.info-item-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    /* Square with slight radius as per image */
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item-row h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary);
    font-weight: 700;
}

.info-item-row p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.info-item-row a {
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.2s;
}

.info-item-row a:hover {
    color: var(--accent);
}

/* Custom Buttons for Contact */
.btn-dark {
    background: #0f172a;
    /* Dark Navy */
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    /* More square as per image */
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-dark:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: #22c55e;
    /* WhatsApp Green */
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-whatsapp:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Form Styles Matching Design */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    border: 1px solid var(--border-color);
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    /* Square inputs */
    font-size: 0.95rem;
    background-color: #fff;
    transition: border-color 0.2s;
    color: var(--text-main);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
    font-family: var(--font-main);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}

.select-wrapper {
    position: relative;
}

.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-prefix .prefix {
    position: absolute;
    left: 16px;
    color: var(--text-main);
    font-weight: 500;
    pointer-events: none;
    z-index: 5;
}

.input-with-prefix input {
    padding-left: 32px !important;
}

.form-group {
    padding: 12px 0;
}

/* Hide default select arrow and add custom one if needed, but browser default is usually fine for MVP */


/* Quick Actions Container Update */
.quick-actions {
    background-color: var(--bg-surface);
    padding: 24px;
    border-radius: 12px;
    margin-top: 32px;
}

.quick-actions p {
    margin-top: 0;
}

/* Custom Quote Wizard Styles */
.quote-wizard-container {
    max-width: 800px;
    margin: 0 auto 60px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* Wizard Progress Bar */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.progress-step.active {
    color: var(--primary);
    font-weight: 600;
}

.progress-step.completed {
    color: var(--accent);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.progress-step.active .step-num {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
}

.progress-step.completed .step-num {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 16px;
    margin-bottom: 24px;
    /* Align with dots roughly */
    position: relative;
    top: -12px;
    /* Adjust vertical alignment */
}

/* Wizard Form */
.wizard-form {
    padding: 40px;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

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

.form-step h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--primary);
    text-align: center;
}

.field-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: -4px;
    margin-bottom: 8px;
}

.required {
    color: #ef4444;
    /* Red */
}

.form-actions {
    display: flex;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.form-actions.right {
    justify-content: flex-end;
}

.form-actions.space-between {
    justify-content: space-between;
}

.confirmation-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .wizard-progress {
        padding: 20px 16px;
    }

    .progress-step span {
        display: none;
        /* Hide text label on very small screens if crowded */
    }

    .wizard-form {
        padding: 24px;
    }
}


/* Quote Page Wizard Styles */
.quote-wizard-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgb(0 0 0 / 0.1));
    padding: 40px;
    border: 1px solid var(--border-color);
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    color: var(--text-muted);
}

.progress-step.active {
    color: var(--primary);
    font-weight: 600;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.progress-step.active .step-num {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 10px;
    margin-bottom: 24px;
    /* Align with dots */
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

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

.field-hint {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Form Actions */
.form-actions {
    margin-top: 32px;
    display: flex;
    gap: 16px;
}

.form-actions.right {
    justify-content: flex-end;
}

.form-actions.space-between {
    justify-content: space-between;
}

.required {
    color: #ef4444;
    margin-left: 4px;
}

.confirmation-box {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.confirmation-box i {
    font-size: 1.5rem;
    color: var(--accent);
}

.confirmation-box p {
    margin: 0;
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 600px) {
    .quote-wizard-container {
        padding: 24px;
    }

    .wizard-progress span {
        display: none;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }
}


/* Refined Quote Form Styles */
.step-header {
    text-align: center;
    margin-bottom: 32px;
}

.step-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.step-sub {
    color: var(--text-muted);
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group label i {
    margin-right: 8px;
    color: var(--text-muted);
    width: 16px;
    /* Fixed width for alignment */
    text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    /* Slightly softer corners */
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fff;
    color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}


.loading {
    display: none;
    margin-bottom: 15px;
    color: #444;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid #ddd;
    border-top: 3px solid #1a73e8;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Mobile responsive for form row */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}