:root {
    --radius-lg: 1rem;
    --radius-md: 0.625rem;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    /* Make the viewport the scroll snap container; we'll explicitly disable snapping on the footer */
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--color-text);
}

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

h1 {
    font-size: calc(1rem + 1.5vw);
    margin-bottom: 3rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Snap all top-level sections */
section {
    padding: 3rem 0;
    background: transparent;
    min-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Make footer a snapping endpoint so keyboard scroll lands on it */
footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(31, 59, 87, 0.65);
    backdrop-filter: blur(0.375rem);
    border-bottom: 0.0625rem solid rgba(229, 229, 229, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-bg);
}

.brand:hover {
    text-decoration: none;
}

.brand-logo {
    width: 2.25rem;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.0125rem;
}

.site-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.site-nav a {
    color: var(--color-neutral);
}

.site-nav a:hover {
    color: var(--color-neutral);
}

.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-inline: 0;
    min-height: 100svh;
    max-width: none;
    display: flex;
    justify-content: flex-end;
    align-items: start;
}

#hero-1 {
    background-image: url('../images/background-1.jpg');
}

#hero-2 {
    background-image: url('../images/background-2.jpg');
}

#hero-3 {
    background-image: url('../images/background-3.jpg');
}

#hero-4 {
    background-image: url('../images/background-4.jpg');
}

.hero-content {
    margin: 0;
    padding: 0;
    width: 100%;
    height: fit-content;
}

#hero-1 .hero-content {
    width: 50rem;
    text-align: center;
    margin: 4rem 2rem;
}

#hero-2 .hero-content {
    width: 45rem;
    text-align: center;
    margin: 4rem 3rem;
}

#hero-3 .hero-content {
    width: 25rem;
    text-align: center;
    margin: 4rem 9rem;
}

#hero-4 .hero-content {
    width: 75rem;
    text-align: right;
    margin: 3rem;
}

.hero-content h1 {
}

.hero-content p {
    margin: 0 0 var(--space-3);
    line-height: 1.25;
    font-weight: bold;
    font-size: calc(2rem + 3vw);
}

.success {
    padding-inline: 0;
    min-height: 100svh;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background:
            radial-gradient(80rem 40rem at 100% 0%, rgba(74, 189, 172, 0.10), rgba(74, 189, 172, 0) 60%),
            radial-gradient(60rem 30rem at 0% 100%, rgba(241, 199, 0, 0.10), rgba(241, 199, 0, 0) 55%);
}

.success-content {
    margin: 0 4rem;
    padding: 2rem;
    max-width: 60rem;
    width: 100%;
    text-align: center;
    height: fit-content;
}

#approach {
    background:
        radial-gradient(80rem 40rem at 100% 0%, rgba(74, 189, 172, 0.10), rgba(74, 189, 172, 0) 60%),
        radial-gradient(60rem 30rem at 0% 100%, rgba(241, 199, 0, 0.10), rgba(241, 199, 0, 0) 55%);
}

#approach .success-content {
    max-width: 72rem;
}

#approach h1 {
    font-size: calc(1rem + 1.5vw);
    margin-bottom: 3rem;
}

#approach .approach-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
    align-items: stretch;
}

@media (max-width: 1000px) {
    #approach .approach-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #approach .approach-steps {
        grid-template-columns: 1fr;
    }
}

#approach .step {
    position: relative;
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-lg);
    padding: calc(var(--space-5) - 0.25rem) var(--space-5) var(--space-5);
    box-shadow: var(--shadow-soft);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

#approach .step:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    border-color: rgba(31, 59, 87, 0.12);
}

#approach .step-number {
    z-index: 999;
    position: absolute;
    top: -1.25rem;
    left: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #1F3B57;
    background: linear-gradient(180deg, #FFE071, #F1C700);
    box-shadow: 0 6px 18px rgba(241, 199, 0, 0.35);
    border: 3px solid #ffffff; /* lift off the card */
}

#approach .step h3 {
    margin: 0.5rem 0 0.5rem;
    color: var(--color-primary);
    font-weight: 700;
}

#approach .step p {
    margin: 0;
    color: var(--color-text);
}

#approach .step::after {
    /* subtle top accent line using teal */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    background: linear-gradient(90deg, #4ABDAC, rgba(74, 189, 172, 0.2));
}


.video {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-inline: 0;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.video-content {
    margin: 0 4rem;
    padding: 2rem;
    max-width: 60rem;
    width: 100%;
    text-align: center;
    height: fit-content;
}

.video-content video {
    max-width: 100%;
}

.contact {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-inline: 0;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.contact-content {
    margin: 0 4rem;
    padding: 2rem;
    max-width: 60rem;
    width: 100%;
    text-align: center;
    height: fit-content;
}

.testimonials {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-inline: 0;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.testimonials-content {
    margin: 0 4rem;
    padding: 2rem;
    max-width: 60rem;
    width: 100%;
    text-align: center;
    height: fit-content;
}

blockquote {
    margin: var(--space-4) 0 0;
    padding-left: var(--space-4);
    border-left: 0.1875rem solid var(--color-primary);
    color: var(--color-primary);
    font-style: italic;
}

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-2);
}

.footer-nav a {
    color: var(--color-neutral);
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.copyright {
    padding: var(--space-4) 0;
    color: var(--color-muted-text);
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.06);
}

.visually-hidden {
    position: absolute !important;
    clip: rect(0.0625rem, 0.0625rem, 0.0625rem, 0.0625rem);
    padding: 0 !important;
    border: 0 !important;
    height: 0.0625rem !important;
    width: 0.0625rem !important;
    overflow: hidden;
}

/* Footer (site footer styles matching brand colors) */
footer {
    background: var(--color-primary);
    color: #ffffff;
}

footer a {
    color: var(--color-neutral);
}

footer a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

footer .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) 0 var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

footer .footer-logo {
    color: #ffffff;
    line-height: 1.5;
}

footer .social-links {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

footer .social-links .social-icon img {
    width: 28px;
    height: 28px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

footer .social-links .social-icon:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

footer .footer-legal {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    padding: var(--space-3) 0 var(--space-5);
}

footer .footer-legal a {
    color: var(--color-accent);
    text-decoration: none;
}

footer .footer-legal a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

@media (max-width: 48rem) {
    footer .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
}
