/* --------------------------------------------------------------
   Zenwaveservices Global Stylesheet
   Crafted for a modern, polished marketing presence
--------------------------------------------------------------- */

/* Base reset & variables ------------------------------------------------ */
:root {
    --deep-navy: #0f1d33;
    --midnight: #102a43;
    --teal-accent: #14b8a6;
    --cyan-accent: #06b6d4;
    --lavender: #8b5cf6;
    --cool-gray: #475569;
    --muted-gray: #64748b;
    --light-gray: #f5f7fb;
    --lighter-gray: #f8fafc;
    --border-gray: #e2e8f0;
    --white: #ffffff;
    --card-shadow: 0 18px 45px rgba(15, 29, 51, 0.08);
    --card-shadow-hover: 0 28px 65px rgba(15, 29, 51, 0.12);
    --transition: 200ms ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--muted-gray);
    background-color: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover, a:focus {
    color: var(--teal-accent);
}

button {
    font-family: inherit;
}

section {
    position: relative;
}

.bg-teal-accent { background-color: var(--teal-accent); }
.text-teal-accent { color: var(--teal-accent); }
.bg-deep-navy { background-color: var(--midnight); }
.text-deep-navy { color: var(--midnight); }
.hover\:text-teal-accent:hover { color: var(--teal-accent); }
.hover\:text-deep-navy:hover { color: var(--midnight); }

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.5rem, 5vw, 3rem);
    padding-right: clamp(1.5rem, 5vw, 3rem);
    max-width: 1180px;
}

main {
    overflow-x: hidden;
}

.ambient-orbs {
    position: fixed;
    inset: -10% 0 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    mix-blend-mode: screen;
    opacity: 0.65;
}

.ambient-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    transform-origin: center;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.ambient-orbs .orb-one {
    width: clamp(22rem, 42vw, 32rem);
    height: clamp(22rem, 42vw, 32rem);
    top: -12%;
    left: -8%;
    background: radial-gradient(circle at 30% 30%, rgba(20, 184, 166, 0.55), rgba(15, 23, 42, 0));
    animation-name: orbDrift;
    animation-duration: 36s;
}

.ambient-orbs .orb-two {
    width: clamp(18rem, 36vw, 28rem);
    height: clamp(18rem, 36vw, 28rem);
    top: 35%;
    right: -10%;
    background: radial-gradient(circle at 70% 40%, rgba(6, 182, 212, 0.5), rgba(15, 23, 42, 0));
    animation-name: orbDriftReverse;
    animation-duration: 30s;
    animation-delay: -6s;
}

.ambient-orbs .orb-three {
    width: clamp(20rem, 38vw, 30rem);
    height: clamp(20rem, 38vw, 30rem);
    bottom: -15%;
    left: 25%;
    background: radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.45), rgba(15, 23, 42, 0));
    animation-name: orbDrift;
    animation-duration: 40s;
    animation-delay: -12s;
}

@media (prefers-reduced-motion: reduce) {
    .ambient-orbs {
        opacity: 0.25;
    }

    .ambient-orbs .orb {
        animation: none !important;
    }
}

/* Utility classes -------------------------------------------------------- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-accent);
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.24);
}

.section-tag i {
    font-size: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-accent), var(--cyan-accent));
    color: var(--white);
    box-shadow: 0 16px 40px rgba(20, 184, 166, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.35);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: transparent;
    color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.icon-pill {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(6, 182, 212, 0.18));
    color: var(--teal-accent);
    transition: transform 250ms ease, box-shadow 250ms ease;
    position: relative;
    overflow: hidden;
}

.icon-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover .icon-pill {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px rgba(20, 184, 166, 0.24);
}

.card:hover .icon-pill::after {
    opacity: 1;
}

.float {
    animation: float 3.4s ease-in-out infinite;
}

.pulse-on-hover {
    transition: transform var(--transition);
}

.pulse-on-hover:hover {
    animation: pulse 0.6s ease-in-out;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }

.card {
    background: var(--white);
    border-radius: 1.35rem;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border: 1px solid rgba(15, 29, 51, 0.06);
    box-shadow: var(--card-shadow);
    transition: transform 260ms ease, box-shadow 260ms ease;
    height: 100%;
}

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

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in,
.slide-up,
.slide-left,
.slide-right,
.scale-in,
.bounce-in,
.rotate-in {
    opacity: 0;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-play-state: paused;
}

.fade-in { animation-name: fadeIn; }
.slide-up { animation-name: slideUp; }
.slide-left { animation-name: slideLeft; }
.slide-right { animation-name: slideRight; }
.scale-in { animation-name: scaleIn; }
.bounce-in { animation-name: bounceIn; }
.rotate-in { animation-name: rotateIn; }

/* Header --------------------------------------------------------------- */
header {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 0 rgba(15, 29, 51, 0.05);
    transition: box-shadow 200ms ease, background 200ms ease;
}

header.scrolled {
    box-shadow: 0 16px 40px rgba(15, 29, 51, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

header .cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    background: var(--teal-accent);
    color: var(--white);
    box-shadow: 0 14px 32px rgba(20, 184, 166, 0.25);
    transition: transform var(--transition), box-shadow var(--transition);
}

header .cta-link:hover,
header .cta-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(20, 184, 166, 0.32);
}

/* Mobile navigation */
#nav-toggle {
    line-height: 1;
    padding: 0.4rem;
}

#mobile-nav {
    background: var(--white);
    box-shadow: 0 22px 60px rgba(15, 29, 51, 0.18);
}

#mobile-nav a {
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    transition: background var(--transition), color var(--transition);
}

#mobile-nav a:hover {
    background: rgba(20, 184, 166, 0.12);
    color: var(--midnight);
}

/* Hero ----------------------------------------------------------------- */
#hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.15), transparent 55%),
                radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.15), transparent 60%),
                linear-gradient(135deg, #0f172a, #0d1b31 60%, #111827 100%);
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(20, 184, 166, 0.18), rgba(6, 182, 212, 0));
    opacity: 0.55;
}

#hero .floating-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#hero .floating-dots::before,
#hero .floating-dots::after {
    content: '';
    position: absolute;
    width: clamp(16rem, 40vw, 28rem);
    height: clamp(16rem, 40vw, 28rem);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: float 10s ease-in-out infinite;
}

#hero .floating-dots::before {
    background: rgba(14, 165, 233, 0.55);
    top: 20%;
    left: 5%;
}

#hero .floating-dots::after {
    background: rgba(139, 92, 246, 0.35);
    bottom: 15%;
    right: 8%;
    animation-delay: 3s;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}

.hero-description {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.9vw, 1.25rem);
    margin-bottom: 2.2rem;
}

.hero-highlights {
    margin-top: clamp(2rem, 5vw, 3.5rem);
}

.hero-highlights p {
    color: rgba(226, 232, 240, 0.9);
}

/* Services -------------------------------------------------------------- */
#services {
    background: linear-gradient(180deg, var(--lighter-gray) 0%, var(--white) 100%);
}

#services .section-intro p {
    color: var(--muted-gray);
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

#services .grid {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2rem);
}

#services .card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

#services .card li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--muted-gray);
}

#services .card li i {
    color: var(--teal-accent);
    font-size: 1rem;
    margin-top: 0.15rem;
}

/* Process --------------------------------------------------------------- */
#process {
    background: radial-gradient(circle at top, rgba(20, 184, 166, 0.08), transparent 55%),
                radial-gradient(circle at bottom, rgba(6, 182, 212, 0.06), transparent 60%),
                var(--white);
}

#process .process-step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

#process .step-circle {
    width: 4.75rem;
    height: 4.75rem;
    margin: 0 auto;
    border-radius: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-accent), var(--cyan-accent));
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.32);
    position: relative;
    overflow: hidden;
}

#process .step-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
}

#process .step-icon {
    position: absolute;
    top: -0.65rem;
    right: -0.65rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lavender), var(--cyan-accent));
    color: var(--white);
    box-shadow: 0 14px 28px rgba(139, 92, 246, 0.28);
}

#process .process-card {
    background: var(--white);
    border-radius: 1.4rem;
    padding: 2rem 1.75rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(15, 29, 51, 0.05);
    text-align: left;
    height: 100%;
    transition: transform 260ms ease, box-shadow 260ms ease, border 260ms ease;
}

#process .process-step:hover .process-card {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(20, 184, 166, 0.35);
}

#process .process-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: grid;
    gap: 0.6rem;
    color: var(--cool-gray);
    font-size: 0.95rem;
}

#process .process-card li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

#process .process-card li i {
    color: var(--teal-accent);
}

/* About ---------------------------------------------------------------- */
#about .metrics-grid {
    display: grid;
    gap: 1.25rem;
}

#about .metric {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.18);
    text-align: left;
}

#about .metric strong {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--teal-accent);
}

/* Callout band ---------------------------------------------------------- */
.cta-band {
    background: linear-gradient(135deg, var(--teal-accent), var(--cyan-accent));
    color: var(--white);
    border-radius: 2rem;
    padding: clamp(2.5rem, 5vw, 3.75rem);
    box-shadow: 0 32px 80px rgba(15, 29, 51, 0.18);
}

.cta-band a {
    background: var(--white);
    color: var(--teal-accent);
    padding: 0.85rem 2.4rem;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.cta-band a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(255, 255, 255, 0.25);
}

/* Contact --------------------------------------------------------------- */
#contact {
    background: linear-gradient(135deg, #0f172a, #0b1525);
}

#contact .contact-card {
    background: var(--white);
    border-radius: 1.75rem;
    padding: clamp(2rem, 4vw, 2.75rem);
    box-shadow: 0 36px 80px rgba(15, 29, 51, 0.18);
}

form label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cool-gray);
}

input,
select,
textarea {
    width: 100%;
    border-radius: 0.9rem;
    border: 1px solid var(--border-gray);
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    transition: border var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(20, 184, 166, 0.8);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}

textarea {
    resize: vertical;
    min-height: 160px;
}

form button[type="submit"] {
    width: 100%;
    border: none;
    border-radius: 0.9rem;
    padding: 0.95rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--teal-accent), var(--cyan-accent));
    color: var(--white);
    box-shadow: 0 20px 45px rgba(20, 184, 166, 0.25);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 55px rgba(20, 184, 166, 0.32);
}

/* Footer --------------------------------------------------------------- */
footer {
    background: var(--midnight);
    color: rgba(226, 232, 240, 0.8);
}

footer .newsletter {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding-bottom: clamp(2rem, 6vw, 3rem);
    margin-bottom: clamp(2rem, 6vw, 3rem);
}

footer input[type="email"] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
}

footer input[type="email"]::placeholder {
    color: rgba(226, 232, 240, 0.6);
}

footer button[type="submit"] {
    border-radius: 0.9rem;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--teal-accent), var(--cyan-accent));
    border: none;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
    transition: transform var(--transition), box-shadow var(--transition);
}

footer button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.36);
}

#newsletter-form {
    width: 100%;
}

#newsletter-form > div {
    min-width: 0;
}

#newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    backdrop-filter: blur(6px);
}

#newsletter-form input[type="email"]:focus {
    background: rgba(6, 182, 212, 0.16);
    border-color: rgba(6, 182, 212, 0.65);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.22);
}

#newsletter-form input[type="email"]::placeholder {
    color: rgba(226, 232, 240, 0.72);
}

#newsletter-form button[type="submit"] {
    width: 100%;
    padding-left: 2.2rem;
    padding-right: 2.2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    #newsletter-form {
        align-items: center;
        gap: 1rem;
    }

    #newsletter-form button[type="submit"] {
        width: auto;
        min-width: 10.5rem;
    }
}

footer a {
    color: rgba(226, 232, 240, 0.78);
    transition: color var(--transition);
}

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

/* Notification system --------------------------------------------------- */
.notification {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.3rem;
    border-radius: 1rem;
    color: var(--white);
    box-shadow: 0 25px 60px rgba(15, 29, 51, 0.22);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
    z-index: 1000;
    min-width: 300px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.95), rgba(6, 182, 212, 0.95));
}

.notification.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification .icon {
    font-size: 1.4rem;
}

.notification .close {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.75;
    transition: opacity var(--transition);
}

.notification .close:hover {
    opacity: 1;
}

.loading-dots {
    display: inline-block;
    width: 1.6rem;
    text-align: left;
}

.loading-dots::after {
    content: '\2022\2022\2022';
    letter-spacing: 0.2rem;
    animation: blink 1.2s steps(4, end) infinite;
}

/* Legal pages ----------------------------------------------------------- */
.legal-hero {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto 3rem;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 1.75rem;
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(15, 29, 51, 0.05);
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--midnight);
}

.legal-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--midnight);
}

.legal-content p,
.legal-content li {
    color: var(--muted-gray);
}

.legal-highlight {
    background: rgba(14, 165, 233, 0.08);
    border-left: 4px solid var(--cyan-accent);
    padding: 1.2rem 1.4rem;
    border-radius: 0.75rem;
    margin: 1.75rem 0;
}

/* Animations ------------------------------------------------------------ */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
 
@keyframes orbDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    30% {
        transform: translate3d(6%, -4%, 0) scale(1.05);
    }
    65% {
        transform: translate3d(-8%, 5%, 0) scale(0.97);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes orbDriftReverse {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    40% {
        transform: translate3d(-7%, 6%, 0) scale(1.06);
    }
    70% {
        transform: translate3d(5%, -6%, 0) scale(0.95);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }
    60% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotate(-8deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes blink {
    to {
        visibility: hidden;
    }
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
    header {
        backdrop-filter: blur(10px);
    }

    #hero {
        min-height: 85vh;
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    #hero .floating-dots::before,
    #hero .floating-dots::after {
        filter: blur(60px);
    }

    #process .process-step {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    header .container {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    #hero {
        padding-top: 6.5rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 6vw, 2.8rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn,
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    #services .grid,
    #process .grid,
    #about .metrics-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1.6rem;
    }

    footer .newsletter form {
        flex-direction: column;
    }

    .notification {
        left: 1rem;
        right: 1rem;
        min-width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .fade-in,
    .slide-up,
    .slide-left,
    .slide-right,
    .scale-in,
    .bounce-in,
    .rotate-in {
        opacity: 1 !important;
        transform: none !important;
    }
}
