@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
    --jwy-primary: #2563eb;
    --jwy-secondary: #1e40af;
    --jwy-accent: #f59e0b;
    --jwy-bg-color: #ffffff;
    --jwy-text-color: #0f172a;
    --jwy-muted-color: #94a3b8;
    --jwy-border-color: #e2e8f0;
    --jwy-success-color: #10b981;
    --jwy-error-color: #ef4444;
    --jwy-spacing-lg: 80px;
    --jwy-spacing-md: 48px;
    --jwy-radius: 8px;
    --jwy-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --jwy-shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --jwy-transition: all 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    color: var(--jwy-text-color);
    background-color: var(--jwy-bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--jwy-primary);
    color: var(--jwy-bg-color);
}

a {
    color: var(--jwy-primary);
    text-decoration: none;
    transition: var(--jwy-transition);
}

a:hover {
    color: var(--jwy-secondary);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--jwy-text-color);
    line-height: 1.2;
    margin-bottom: 0.8em;
    font-weight: 700;
}

h1 {
    font-size: 3.2rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.4rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

p {
    margin-bottom: 1em;
}

/* Utility Classes */
.vw-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

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

.vw-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.vw-text-left {
    text-align: left;
}

.vw-text-right {
    text-align: right;
}

.vw-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Buttons */
.vw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--jwy-radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--jwy-transition);
    text-decoration: none;
    white-space: nowrap;
}

.vw-btn-primary {
    background-color: var(--jwy-primary);
    color: var(--jwy-bg-color);
}

.vw-btn-primary:hover {
    background-color: var(--jwy-secondary);
    transform: translateY(-2px);
    box-shadow: var(--jwy-shadow-md);
}

.vw-btn-secondary {
    background-color: var(--jwy-muted-color);
    color: var(--jwy-bg-color);
}

.vw-btn-secondary:hover {
    background-color: #7f8fa6;
    transform: translateY(-2px);
    box-shadow: var(--jwy-shadow-md);
}

.vw-btn-outline {
    background-color: transparent;
    color: var(--jwy-primary);
    border-color: var(--jwy-primary);
}

.vw-btn-outline:hover {
    background-color: var(--jwy-primary);
    color: var(--jwy-bg-color);
    transform: translateY(-2px);
    box-shadow: var(--jwy-shadow-md);
}

/* Navigation */
.vw-header {
    background-color: var(--jwy-bg-color);
    padding: 1rem 0;
    box-shadow: var(--jwy-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.vw-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vw-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--jwy-primary);
    letter-spacing: -0.05em;
}

.vw-logo span {
    color: var(--jwy-accent);
}

.vw-nav-links {
    list-style: none;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--jwy-bg-color);
    box-shadow: var(--jwy-shadow-md);
    padding: 1rem 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vw-nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.vw-nav-links li {
    margin: 0.5rem 0;
    text-align: center;
}

.vw-nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--jwy-text-color);
    padding: 0.5rem 1.5rem;
    display: block;
    text-decoration: none;
}

.vw-nav-links a:hover {
    color: var(--jwy-primary);
    background-color: #f0f4f8;
    text-decoration: none;
}

.vw-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
    z-index: 1001;
}

.vw-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--jwy-text-color);
    transition: var(--jwy-transition);
    border-radius: 2px;
}

.vw-hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.vw-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.vw-hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Hero Section */
.vw-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://loremflickr.com/1400/800/comparison%2Ccompare/all?lock=1598630698') no-repeat center center/cover;
    color: var(--jwy-bg-color);
    position: relative;
    padding: var(--jwy-spacing-md) 0;
}

.vw-hero-content {
    max-width: 900px;
}

.vw-hero h1 {
    color: var(--jwy-bg-color);
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.vw-hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.vw-hero .vw-btn {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

/* Section Spacing & Backgrounds */
.vw-section {
    padding: var(--jwy-spacing-lg) 0;
    position: relative;
}

.vw-section:nth-of-type(even) {
    background-color: #f8fafc;
}

.vw-section-heading {
    text-align: center;
    margin-bottom: var(--jwy-spacing-md);
}

.vw-section-heading h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.vw-section-heading p {
    font-size: 1.1rem;
    color: var(--jwy-muted-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Components */
.vw-card {
    background-color: var(--jwy-bg-color);
    border-radius: var(--jwy-radius);
    box-shadow: var(--jwy-shadow-md);
    padding: 2rem;
    transition: var(--jwy-transition);
    margin-bottom: 2rem;
    height: 100%; /* Ensure cards in a grid have equal height */
}

.vw-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.vw-card-img {
    border-radius: var(--jwy-radius) var(--jwy-radius) 0 0;
    margin-bottom: 1.5rem;
}

.vw-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--jwy-radius) var(--jwy-radius) 0 0;
}

.vw-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.vw-card-text {
    font-size: 0.95rem;
    color: var(--jwy-text-color);
}

/* Trust/Badge Elements */
.vw-trust-item {
    display: inline-flex;
    align-items: center;
    background-color: #f0f4f8;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    color: var(--jwy-primary);
    margin: 0.5rem;
}

.vw-trust-item svg {
    margin-right: 0.75rem;
    color: var(--jwy-secondary);
    font-size: 1.5rem;
}

/* Form Styling */
.vw-form-group {
    margin-bottom: 1.5rem;
}

.vw-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--jwy-text-color);
}

.vw-form-input, .vw-form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--jwy-border-color);
    border-radius: var(--jwy-radius);
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: var(--jwy-text-color);
    background-color: var(--jwy-bg-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.vw-form-input:focus, .vw-form-textarea:focus {
    outline: none;
    border-color: var(--jwy-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.vw-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.vw-form-message-success {
    background-color: #e0f2f7;
    color: var(--jwy-primary);
    border: 1px solid var(--jwy-primary);
    padding: 1rem;
    border-radius: var(--jwy-radius);
    margin-top: 1.5rem;
    display: none;
}

.vw-form-message-error {
    background-color: #ffebee;
    color: var(--jwy-error-color);
    border: 1px solid var(--jwy-error-color);
    padding: 1rem;
    border-radius: var(--jwy-radius);
    margin-top: 1.5rem;
    display: none;
}

/* FAQ Accordion */
.vw-faq-item {
    background-color: var(--jwy-bg-color);
    border: 1px solid var(--jwy-border-color);
    border-radius: var(--jwy-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.vw-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--jwy-text-color);
    background-color: #f8fafc;
    transition: var(--jwy-transition);
}

.vw-faq-q:hover {
    background-color: #f0f4f8;
    color: var(--jwy-primary);
}

.vw-faq-q svg {
    transition: transform var(--jwy-transition);
}

.vw-faq-item.active .vw-faq-q svg {
    transform: rotate(180deg);
}

.vw-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--jwy-muted-color);
}

.vw-faq-item.active .vw-faq-a {
    max-height: 500px; /* suficient for most answers */
    padding: 1rem 1.5rem 1.5rem;
}

.vw-faq-a p {
    margin-bottom: 0;
}

/* Footer */
.vw-footer {
    background-color: var(--jwy-secondary);
    color: #e2e8f0;
    padding: var(--jwy-spacing-lg) 0 1rem;
    text-align: center;
}

.vw-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: var(--jwy-spacing-md);
}

.vw-footer-col h4 {
    color: var(--jwy-bg-color);
    margin-bottom: 1rem;
}

.vw-footer-col p, .vw-footer-col a {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
}

.vw-footer-col a:hover {
    color: var(--jwy-primary);
    text-decoration: underline;
}

.vw-social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.vw-social-icons a {
    color: var(--jwy-bg-color);
    font-size: 1.8rem;
    transition: var(--jwy-transition);
}

.vw-social-icons a:hover {
    color: var(--jwy-accent);
    transform: translateY(-3px);
}

.vw-footer-bottom {
    margin-top: var(--jwy-spacing-md);
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* Animations */
.vw-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.vw-animate.vw-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 1025px) {
    .vw-nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        width: auto;
        padding: 0;
        opacity: 1;
        transform: translateY(0);
    }

    .vw-nav-links li {
        margin: 0 1rem;
    }

    .vw-nav-links a {
        padding: 0;
        background: none;
    }

    .vw-hamburger {
        display: none;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .vw-hero p {
        font-size: 1.3rem;
    }

    .vw-section {
        padding: var(--jwy-spacing-md) 0;
    }

    .vw-section-heading h2 {
        font-size: 2.4rem;
    }

    .vw-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vw-footer-col:last-child {
        grid-column: 1 / -1;
    }
}

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

    h2 {
        font-size: 2rem;
    }

    .vw-hero p {
        font-size: 1.1rem;
    }

    .vw-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .vw-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .vw-section-heading h2 {
        font-size: 1.8rem;
    }

    .vw-grid {
        grid-template-columns: 1fr;
    }

    .vw-card {
        padding: 1.5rem;
    }

    .vw-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .vw-hero p {
        font-size: 1rem;
    }

    .vw-hero .vw-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .vw-section-heading h2 {
        font-size: 1.6rem;
    }

    .vw-nav-links {
        padding-left: 0;
        padding-right: 0;
    }
}


/* === Quality polish === */
button, [class*="btn"], [class*="cta"] { transition: all 0.3s ease; cursor: pointer; }
button:hover, [class*="btn"]:hover, [class*="cta"]:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); filter: brightness(1.05); }

@keyframes vwFadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.vw-animate { opacity: 0; }
.vw-animate.vw-visible { animation: vwFadeInUp 0.6s ease forwards; }