p,
li {
    font-family: var(--font-body);
    margin: 0.5em 0;
}

.raleway {
    font-family: "Raleway", sans-serif;
}

.kalnia {
    font-family: "Kalnia", serif;
}

.kalnia-lite {
    font-family: "Kalnia", serif;
    font-weight: lighter;
}

/* === Links === */
a:link,
a:visited {
    /* color: var(--color-white); */
    opacity: 0.8;
    text-decoration: none;
}

a:hover,
a:active {
    /* color: var(--color-white); */
    opacity: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    /* background: rgba(255, 255, 255, 0.2); */
    background: transparent;
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.2);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

.navbar .page a {
    position: relative;
    color: white;
    transition: color 0.5s ease;
    font-family: 'Raleway', sans-serif;
}

.navbar .page a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: currentColor;
    transition: width 0.5s ease;
}

.navbar .page a:hover::after {
    width: 100%;
}

.navbar.scrolled .page a {
    color: #111;
    /* dark grey to contrast white background */
}

/* Responsive Menu */
@media (max-width: 768px) {

    /* Base hamburger styles */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1100;
        /* keep above dropdown */
        transition: transform 0.3s ease;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background-color: white;
        /* default when at top */
        transition: all 0.4s ease;
        border-radius: 2px;
    }

    /* Change color when navbar is scrolled */
    .navbar.scrolled .hamburger span {
        background-color: #111;
    }

    /* Animate into X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        /* middle bar fades out */
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Dropdown menu */
    .nav-links {
        position: absolute;
        top: 60px;
        right: 20px;
        flex-direction: column;
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

        /* Start hidden */
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
        overflow: hidden;
        pointer-events: none;

        transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
    }

    /* Active (open) menu */
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
        /* big enough for all links */
        pointer-events: auto;
    }

    /* Links inside dropdown */
    .nav-links a {
        color: #111 !important;
        text-decoration: none;
        padding: 0.5rem 1rem;
        opacity: 0;
        transform: translateY(-5px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    }

    /* Show links with staggered animation */
    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active a:nth-child(5) {
        transition-delay: 0.5s;
    }

    /* Hover effect */
    .nav-links a:hover {
        color: #555;
    }

    .nav-links.closing {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
    }

    .nav-links.closing a {
        opacity: 0;
        transform: translateY(-5px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    /* Overlay behind menu if you’re using it */
    .overlay {
        opacity: 1;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* ===== Hero Section ===== */
/* .case-hero {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
    overflow: hidden;
}

.case-hero img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center 15%;
}

.case-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3),
            rgba(0, 0, 0, 0.7));
    z-index: 1;
} */

/* Hero container */
.case-hero {
    position: relative;
    min-height: 40rem;
    height: 100svh;
    width: 100%;
    overflow-x: hidden;
    /* full screen */
    max-height: min(80rem, 300vw);
    color: white;
    text-align: center;
    overflow: hidden;

    /* Gradient background */
    background: url("ion-gradient.png") center/cover no-repeat;
}

/* Keep your existing hero-text styles */
.case-hero .hero-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
    max-width: 900px;
    /* prevent being too narrow */
    width: 90%;
    /* responsive */
}

/* Screenshot container: controls how much image peeks */
.case-screenshots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 50%;
    overflow: hidden;
    z-index: 1;
}

.case-screenshots img {
    border-radius: 8px;
}

/* Vertical screens */
@media (max-aspect-ratio: 1/1) {
    .case-screenshots {
        width: 80%;
        height: 37.5%;
    }
}

/* Smaller screens */
@media (max-width: 500px) {
    .case-screenshots {
        width: 90%;
        height: 25%;
    }
}

/* Screenshot image: fills container, cropped at top */
.case-screenshots img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* crop instead of contain */
    object-position: bottom;
    /* keep bottom edge visible */
    pointer-events: none;
    user-select: none;
}

/* Optional overlay for readability */
.case-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .case-screenshots {
        max-height: 400px;
        /* show less on smaller screens */
    }

    .case-screenshots img {
        max-width: 100%;
    }
}


/* Overlay Text */
/* .case-hero .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
} */

.case-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0;
}

.case-hero h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-top: 0.5rem;
    color: #fdfdfd;
    opacity: 0.9;
}

/* Tags / Metadata */
.hero-tags {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    color: white;
    backdrop-filter: blur(6px);
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
}

/* Animations */
@keyframes fadeUp {
    from {
        transform: translate(-50%, -40%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

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

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



/* ===== Sections ===== */
.case-section {
    margin: 4rem auto;
    max-width: 1100px;
    padding: 0 1rem;
}

.highlight-case-section {
    background-color: #f6f7ff;
    padding: 4rem 1rem;
}

.highlight-case-section .highlight-content {
    max-width: 1100px;
    margin: 0 auto;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .grid-2col {
        grid-template-columns: 1fr;
    }
}

/* ===== Images ===== */
.case-img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 2rem 0;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

/* ===== Buttons ===== */
.btn-2 {
    display: inline-block;
    border: 2px solid var(--color-accent1-3);
    color: var(--color-accent1-3);
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-family: var(--font-body);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-2:hover {
    background: var(--color-accent1-3);
    color: var(--color-white);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 2rem;
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    display: block;
    color: var(--color-light);
    text-decoration: none;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

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

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Bento Column Layout ===== */
.bento-columns {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* Left 1/3, Right 2/3 */
    gap: 1rem;
    margin-top: 2rem;
    align-items: stretch;
    /* ensures columns match height */
}

/* Columns */
.bento-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Cards */
.bento-card {
    background: #f6f7ff;
    /* Pink Card Color: #fff8fa */
    border-radius: 1rem;
    padding: 1.25rem;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
    transition: transform 0.8s ease, box-shadow 0.3s ease;
}

/* .bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
} */

/* Headers */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-family: "Kalnia", serif;
    font-size: 1.25rem;
    margin: 0;
}

.card-header .icon {
    font-size: 1.25rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
    .bento-columns {
        grid-template-columns: 1fr;
        /* stack */
    }
}

/* Grid container for 3 equal columns */
/* Add some spacing around the overview section */
.overview-section {
    padding: 0 1.5rem;
    /* horizontal padding */
    margin: 3rem auto;
    /* vertical spacing */
}

/* Optional: max-width so it doesn’t stretch too far on large screens */
.overview-grid {
    max-width: 80%;
    margin: 0 auto;
    /* center the grid */
    gap: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}


/* Staggered delays */
.overview-grid .fade-in:nth-child(1) {
    transition-delay: 0.1s;
}

.overview-grid .fade-in:nth-child(2) {
    transition-delay: 0.3s;
}

.overview-grid .fade-in:nth-child(3) {
    transition-delay: 0.5s;
}

/* Optional: max-width so it doesn’t stretch too far on large screens */
.card-grid {
    /* max-width: 80%; */
    margin: 0 auto;
    /* center the grid */
    gap: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}


/* Staggered delays */
.card-grid .fade-in:nth-child(1) {
    transition-delay: 0.1s;
}

.card-grid .fade-in:nth-child(2) {
    transition-delay: 0.3s;
}

.card-grid .fade-in:nth-child(3) {
    transition-delay: 0.5s;
}

/* Card header */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-header h3 {
    font-family: "Raleway", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Chips */
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-family: "Raleway", sans-serif;
}

/* Tools grid */
.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.75rem;
}

.tools-grid div {
    text-align: center;
}

.tools-grid p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Duration timeline */
.duration-text {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #444;
}

.timeline {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.timeline-step {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.05);
}

/* At narrow screens, stack vertically */
@media (max-width: 900px) {
    .timeline {
        flex-direction: column;
        align-items: stretch;
        /* make all steps same width */
    }

    .timeline-step {
        flex: none;
        /* don’t force resize */
        width: 100%;
        /* all steps same width */
    }
}

@media (max-width: 1300px) and (min-width: 1046px) {
    .timeline {
        flex-direction: column;
        align-items: stretch;
        /* make all steps same width */
    }

    .timeline-step {
        flex: none;
        /* don’t force resize */
        width: 100%;
        /* all steps same width */
    }
}

.timeline-step.done {
    background: #d4edda;
    color: #155724;
}

.timeline-step.current {
    background: #ffeeba;
    color: #856404;
}

/* Keyframe animation for fade-up effect */
@keyframes fadeUpStagger {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base fade-in class for bento cards */
.overview-grid .bento-card.fade-in {
    opacity: 0;
    /* hidden before animation */
}

/* When visible, trigger animation */
.overview-grid .bento-card.fade-in.visible {
    animation: fadeUpStagger 0.8s ease forwards;
}

/* Stagger delays for each card */
.overview-grid .bento-card.fade-in:nth-child(1).visible {
    animation-delay: 0.1s;
}

.overview-grid .bento-card.fade-in:nth-child(2).visible {
    animation-delay: 0.2s;
}

.overview-grid .bento-card.fade-in:nth-child(3).visible {
    animation-delay: 0.3s;
}

/* Grid for side-by-side images */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.image-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.figma-embed {
    position: relative;
    width: 100%;
    max-width: 1200px;
    /* prevent getting too big on desktop */
    margin: 0 auto;
    aspect-ratio: 1440 / 1024;
    /* maintain aspect ratio */
}

.figma-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* Footer */
footer {
    background: var(--color-accent3);
    color: var(--color-white);
    padding: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 8rem;
}

.footer-links h5 {
    margin-bottom: 0.5rem;
}

.footer-links a {
    display: block;
    margin: 0.25rem 0;
    color: var(--color-white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

/* Goals & Deliverables 2:1 column layout */
.goals-deliverables .gd-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 2:1 ratio */
    gap: 2rem;
    align-items: start;
    margin-top: 1rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Left column */
.gd-left .gd-story {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--color-dark, #111);
}

/* Goals list styles */
.gd-goals {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.gd-goals li {
    margin-bottom: 0.6rem;
    font-size: 0.98rem;
}

/* Right column */
.gd-right {
    background: #f6f7ff;
    /* subtle tint to separate column */
    border-radius: 0.75rem;
    padding: 1rem;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); */
}

/* Deliverables list compact */
.gd-deliverables {
    list-style-type: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.gd-deliverables li {
    margin-bottom: 0.75rem;
    padding-left: 0.8rem;
    position: relative;
    font-size: 0.95rem;
}

/* little bullet icon for deliverables */
.gd-deliverables li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #25356C;
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Keep button consistent with your .btn-2 styles but stretch a little */
.gd-right .btn-2 {
    display: inline-block;
    margin-top: 0.5rem;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
    .goals-deliverables .gd-grid {
        grid-template-columns: 1fr;
    }

    .gd-right {
        margin-top: 1rem;
    }
}

/* Small visual nicety: slightly larger headings in this block */
.goals-deliverables h4 {
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
}

/* User persona template CSS */
.persona {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(102, 102, 102, 0.1);
    margin: 2rem auto;
    max-width: 1000px;
    background: #fff;
}

/* Header with circular photo */
.persona-header {
    text-align: center;
    padding: 2rem 1rem 1rem;
    background: #ecf0fd;
}

.persona-header img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    /* border: 6px solid #fff; */
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); */
    margin-bottom: 1rem;
}

.persona-header h2 {
    margin: 0.5rem 0;
    color: #25356C;
}

.persona-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.persona-chip {
    background: rgba(255, 255, 255, 0.5);
    color: #25356C;
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-family: "Raleway", sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    white-space: nowrap;
}


/* Layout */
.persona-body {
    display: flex;
    flex-wrap: wrap;
    padding: 2rem;
}

.persona-left,
.persona-right {
    flex: 1 1 300px;
    box-sizing: border-box;
}

.persona-left p {
    margin: 0.4rem 0;
    font-size: 0.95rem;
}

.persona-left p strong {
    font-weight: bold;
}

.persona-section {
    margin-bottom: 1.5rem;
    font-family: "Raleway", sans-serif;
}

.persona-section h3 {
    margin: 0 0 0.5rem 0;
    font-family: "Raleway", sans-serif;
    font-size: 1.2rem;
    color: #444;
}

.persona-section ul {
    margin: 0;
    padding-left: 1.2rem;
    font-family: "Raleway", sans-serif;
}

.persona-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Personality circles */
.personality {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.circle {
    --size: 4rem;
    --track: #f6f7ff;
    /* dark gray background ring */
    --fill: #25356C;
    /* iOS green */
    --percent: 70;
    /* default if not passed inline */

    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: conic-gradient(var(--fill) calc(var(--percent) * 1%),
            var(--track) 0);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: #fff;
}

/* inner circle "cutout" */
.circle::before {
    content: "";
    position: absolute;
    inset: 10%;
    /* cleaner than width/height */
    background: #fff;
    /* match widget background */
    border-radius: 50%;
    z-index: 0;
}

/* percentage text */
.circle span {
    color: #000;
    position: relative;
    z-index: 1;
}

/* label under circle */
.circle::after {
    content: attr(data-label);
    position: absolute;
    bottom: -1.6rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: normal;
    color: #aaa;
}

@media (max-width: 768px) {
    .persona-body {
        flex-direction: column;
    }

    .personality {
        justify-content: center;
    }
}

/* Timeline */

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.process-timeline .step {
    flex: 1;
    text-align: center;
    text-decoration: none;
    /* remove default link underline */
    color: inherit;
    /* inherit text color */
}

.process-timeline .step img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.process-timeline .step h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #25356C;
    display: inline-block;
    /* so underline hug text only */
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

/* Hover effects */
.process-timeline .step:hover img {
    transform: scale(1.05);
    /* subtle zoom effect on hover */
}

.process-timeline .step:hover h3 {
    border-color: #25356C;
    /* underline on hover */
}

/* --- Responsive --- */
@media (max-width: 800px) {
    .process-timeline {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .process-timeline .step {
        flex: none;
        margin-bottom: 2rem;
    }

    .process-timeline .step img {
        max-width: 200px;
    }
}

/* Easy Row Columns */
.flex-row {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    /* replaces <br> for spacing */
}

.flex-col {
    flex: 1;
    min-width: 300px;
}

/* --- Responsive reorder --- */
@media (max-width: 800px) {
    .flex-row {
        flex-direction: column;
        /* stack them */
    }

    .flex-row .text-col {
        order: -1;
        /* put text first, above the image */
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 9999px;
    /* pill shape */
    border: none;
    cursor: pointer;
    text-align: center;

    color: white !important;
    background-image: linear-gradient(90deg, #A781F8, #eb1dcc, #FF004D);

    background-size: 200% auto;
    transition: background-position 1s ease,
        box-shadow 0.5s ease,
        transform 0.5s ease;
}

.btn:hover {
    color: white !important;
    background-position: right center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
    /* subtle growth */
}

.btn:active,
.btn:focus {
    color: white !important;
}

/* Optional full-width version */
.btn.full-width {
    display: block;
    width: 100%;
}