/*
 * Ignite Creative Namibia: brand layer
 * Loaded AFTER css/styles.css (Start Bootstrap - Creative v7.0.7, MIT).
 * The upstream stylesheet is left untouched; everything below overrides or extends it.
 *
 * Colours come from the four elements of the Ignite Namibia identity (Earth, Water, Fire, Community).
 * To adjust the main accent, edit --ign-earth-deep (and --bs-primary-rgb) in :root.
 */

/* ------------------------------------------------------------------ Font */
@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------- Tokens */
:root {
    /* Brand colours come from the four elements of the identity */
    --ign-black: #000000;
    --ign-ink: #262523;
    --ign-muted: #5d5a55;
    --ign-cream: #f8f1e5;   /* warm desert sand */
    --ign-sand: #eee3cf;
    --ign-line: #ddd0b8;

    /* The four elements from the Ignite Namibia identity */
    --ign-earth: #889850;
    --ign-earth-deep: #566329;
    --ign-water: #3a88c6;
    --ign-water-deep: #25679e;
    --ign-fire: #dd743a;
    --ign-fire-deep: #a84a1b;   /* Fire for text on light backgrounds (AA contrast) */
    --ign-community: #c9cfcf;

    --nav-h: 4.25rem;

    /* Bootstrap variable overrides */
    --bs-primary: #566329;
    --bs-primary-rgb: 86, 99, 41;
    --bs-dark-rgb: 0, 0, 0;
    --bs-light-rgb: 250, 247, 242;
    --bs-body-font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-body-color: #262523;
    --bs-body-bg: #ffffff;
    --bs-body-line-height: 1.7;
    --bs-link-color: #566329;
    --bs-link-hover-color: #000000;
}

html {
    scroll-padding-top: calc(var(--nav-h) + 0.5rem);
}

body {
    font-family: var(--bs-body-font-family);
    font-size: 1rem;
    color: var(--ign-ink);
    padding-top: var(--nav-h);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--bs-body-font-family);
    color: var(--ign-black);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4,
.page-header h1 {
    color: #fff;
}

h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { max-width: 68ch; }
.text-center p, .mx-auto p { margin-left: auto; margin-right: auto; }

.text-muted { color: var(--ign-muted) !important; }
.text-deep { color: var(--ign-earth-deep) !important; }

/* Element colour helpers: set --c on an element to tint its accents */
.c-earth { --c: var(--ign-earth); }
.c-water { --c: var(--ign-water); }
.c-fire { --c: var(--ign-fire); }
.c-community { --c: var(--ign-community); }

a { text-underline-offset: 0.2em; }

:focus-visible {
    outline: 3px solid var(--ign-water-deep);
    outline-offset: 3px;
}
.bg-dark :focus-visible { outline-color: #fff; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: #000;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------------------------------------------------------------- Layout */
.page-section { padding: 4.5rem 0; }
@media (min-width: 992px) { .page-section { padding: 6.5rem 0; } }

/* The "stepping stone" bar from the Ignite logo, used as the brand divider */
hr.divider {
    height: 0.4rem;
    max-width: 4rem;
    margin: 1.25rem 0 1.5rem;
    /* four-element bar: Earth, Water, Fire, Community */
    background-color: var(--ign-earth);
    background-image: linear-gradient(90deg,
        var(--ign-earth) 0 25%, var(--ign-water) 25% 50%,
        var(--ign-fire) 50% 75%, var(--ign-community) 75% 100%);
    opacity: 1;
    border: 0;
}
hr.divider.divider-center { margin-left: auto; margin-right: auto; }


/* Four-element colour bar */
.element-bar { display: flex; height: 0.4rem; }
.element-bar span { flex: 1; }
.element-bar .e-earth { background: var(--ign-earth); }
.element-bar .e-water { background: var(--ign-water); }
.element-bar .e-fire { background: var(--ign-fire); }
.element-bar .e-community { background: var(--ign-community); }

/* --------------------------------------------------------------- Buttons */
.btn-xl {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    border-width: 2px;
    border-style: solid;
    border-radius: 10rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-xl:hover { transform: translateY(-2px); }

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--ign-earth-deep);
    --bs-btn-border-color: var(--ign-earth-deep);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #000;
    --bs-btn-hover-border-color: #000;
    --bs-btn-focus-shadow-rgb: 86, 99, 41;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #000;
    --bs-btn-active-border-color: #000;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--ign-earth-deep);
    --bs-btn-disabled-border-color: var(--ign-earth-deep);
    font-weight: 700;
}
/* On black sections the button switches to the lighter Earth green so it stays visible */
.bg-dark .btn-primary {
    --bs-btn-color: #000;
    --bs-btn-bg: var(--ign-earth);
    --bs-btn-border-color: var(--ign-earth);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-bg: #fff;
    --bs-btn-active-color: #000;
    --bs-btn-active-border-color: #fff;
}

.btn-outline-dark {
    --bs-btn-color: #000;
    --bs-btn-border-color: #000;
    --bs-btn-hover-bg: #000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-border-color: #000;
    --bs-btn-active-bg: #000;
    --bs-btn-active-border-color: #000;
    font-weight: 700;
}

.btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, 0.7);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-border-color: #fff;
    font-weight: 700;
}

/* ------------------------------------------------------------ Navigation */
#mainNav {
    background-color: #fff;
    box-shadow: 0 1px 0 var(--ign-line);
    min-height: var(--nav-h);
}
#mainNav.navbar-shrink {
    background-color: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}
#mainNav .navbar-brand { padding: 0; margin-right: 2rem; }
#mainNav .navbar-brand img { height: 2.6rem; width: auto; display: block; }
#mainNav .navbar-toggler { border: 0; padding: 0.4rem; }
#mainNav .navbar-nav .nav-item .nav-link {
    color: #000;
    font-family: var(--bs-body-font-family);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 0;
}
#mainNav .navbar-nav .nav-item .nav-link:hover { color: var(--ign-earth-deep); }
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: #000 !important;
    box-shadow: inset 0 -3px 0 var(--ign-earth);
}
#mainNav .nav-btn.active { background: #000; border-color: #000; color: #fff; }
#mainNav .nav-btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    border-radius: 10rem;
}
@media (min-width: 992px) {
    #mainNav .navbar-nav .nav-item .nav-link { padding: 0.75rem 1rem; }
    #mainNav .navbar-nav .nav-item:last-child .nav-link { padding-right: 1rem; }
}
@media (max-width: 991.98px) {
    #mainNav .navbar-collapse { padding: 0.5rem 0 1rem; }
    #mainNav .navbar-nav .nav-item .nav-link.active { box-shadow: inset 3px 0 0 var(--ign-earth); padding-left: 0.85rem; }
    #mainNav .nav-btn { display: block; text-align: center; margin-top: 0.75rem; }
}

/* ------------------------------------------------------------------ Hero */
header.hero {
    position: relative;
    overflow: hidden;
    background: var(--ign-cream);
    padding: 3.5rem 0 4.5rem;
}
@media (min-width: 992px) {
    header.hero {
        display: flex;
        align-items: center;
        min-height: calc(100vh - var(--nav-h));
        min-height: calc(100svh - var(--nav-h));
        padding: 4rem 0;
    }
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
    font-size: clamp(2.35rem, 5.4vw, 4.4rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
    font-weight: 800;
}
.hero .hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 700;
    color: var(--ign-earth-deep);
    max-width: 30ch;
    line-height: 1.4;
}
.hero .hero-text { font-size: 1.05rem; color: var(--ign-ink); max-width: 54ch; }

/* Stepping-stone staircase: three rising steps with the logo's bar above each */
.steps {
    --step-h: 26rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    align-items: end;
    height: var(--step-h);
    padding-top: 1.5rem;
}
.step {
    position: relative;
    background: var(--c, #000);
    color: #000;
    padding: 1.4rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.step::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.9rem;
    height: 0.5rem;
    background: #000;
}
.step:nth-child(1) { height: 52%; }
.step:nth-child(2) { height: 76%; }
.step:nth-child(3) { height: 100%; }
.step strong { display: block; font-size: 1.05rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.step span { display: block; margin-top: 0.35rem; font-size: 0.88rem; color: rgba(0, 0, 0, 0.78); line-height: 1.4; font-weight: 500; }
@media (max-width: 575.98px) {
    .steps { display: flex; flex-direction: column; align-items: stretch; height: auto; gap: 1.4rem; padding-top: 1rem; }
    .step { height: auto !important; padding: 1.1rem 1.2rem; }
    .step:nth-child(2) { margin-left: 1.25rem; }
    .step:nth-child(3) { margin-left: 2.5rem; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
    .steps { --step-h: 18rem; max-width: 34rem; margin-top: 1rem; }
}

/* ---------------------------------------------------------- Page header */
header.page-header {
    background: #000;
    color: #fff;
    padding: 4.5rem 0 3.5rem;
}
@media (min-width: 992px) { header.page-header { padding: 6rem 0 4.5rem; } }
header.page-header h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.03em; margin: 0; }
header.page-header .lead { color: rgba(255, 255, 255, 0.82); font-size: 1.15rem; max-width: 52ch; margin: 1.25rem 0 0; }

/* ---------------------------------------------------------- Launch strip */
.launch-strip { background: #000; color: #fff; padding: 2.25rem 0; }
.launch-strip h2 { color: #fff; font-size: 1.35rem; margin: 0 0 0.35rem; }
.launch-strip p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.launch-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .launch-facts { grid-template-columns: repeat(3, auto); gap: 2rem; justify-content: start; } }
.launch-facts li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.35; }
.launch-facts i { color: var(--c, var(--ign-earth)); font-size: 1.35rem; line-height: 1; }
.launch-facts small { display: block; color: rgba(255, 255, 255, 0.65); font-size: 0.78rem; font-weight: 500; }
.launch-facts b { font-weight: 700; }

/* --------------------------------------------------------- Feature cards */
.feature-card {
    height: 100%;
    padding: 1.75rem 1.5rem 1.75rem;
    background: #fff;
    border: 1px solid var(--ign-line);
    border-top: 0.4rem solid var(--c, var(--ign-earth));
}
.feature-card .icon-tile { margin-bottom: 1.1rem; }
.feature-card h3 { margin-bottom: 0.6rem; }
.feature-card p { margin: 0; color: var(--ign-muted); font-size: 0.95rem; }

.icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    background: #000;
    color: var(--c, var(--ign-earth));
    font-size: 1.35rem;
    flex: none;
    transition: transform 0.3s ease;
}

/* ------------------------------------------------------------- Services */
.service-grid { display: grid; gap: 0 3.5rem; border-bottom: 1px solid var(--ign-line); }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service-item {
    position: relative;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.5rem 0.25rem;
    border-top: 1px solid var(--ign-line);
}
.service-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    height: 3px;
    width: 0;
    background: var(--c, var(--ign-earth));
    transition: width 0.4s ease;
}
.service-item:hover::before { width: 100%; }
.service-item:hover .icon-tile { transform: scale(1.1) rotate(-5deg); }
.service-item h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.service-item p { margin: 0; color: var(--ign-muted); font-size: 0.95rem; line-height: 1.55; }
.service-cta {
    background: #000;
    color: #fff;
    padding: 1.75rem;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}
.service-cta h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.service-cta p { margin: 0 0 0.5rem; color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }

/* ----------------------------------------------------------- Audience tags */
.audience-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.audience-list li {
    padding: 0.55rem 1.15rem;
    border: 1.5px solid #000;
    border-radius: 10rem;
    font-weight: 600;
    font-size: 0.92rem;
    background: #fff;
    line-height: 1.3;
}

/* --------------------------------------------------------- Venture cards */
.venture-card { background: #fff; border: 1px solid var(--ign-line); height: 100%; display: flex; flex-direction: column; }
.venture-card .venture-media { background: #fff; border-bottom: 0.4rem solid var(--ign-earth); padding: 1rem; aspect-ratio: 2.2 / 1; display: flex; align-items: center; justify-content: center; }
.venture-card.is-water .venture-media { border-bottom-color: var(--ign-water); }
.venture-card .venture-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; object-fit: contain; }
.venture-card .venture-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.venture-card h3 { font-size: 1.4rem; margin: 0.75rem 0 0.6rem; }
.venture-card p { color: var(--ign-muted); font-size: 0.97rem; }
.venture-card .btn { align-self: flex-start; margin-top: auto; }

.element-tag { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.9rem; }
.element-tag img { width: 1.9rem; height: 1.9rem; }
.is-earth .element-tag, .is-earth .element-name { color: var(--ign-earth-deep); }
.is-water .element-tag, .is-water .element-name { color: var(--ign-water-deep); }

/* Product feature rows (Products page) */
.product-feature { padding: 3rem 0; border-top: 1px solid var(--ign-line); }
.product-feature:first-of-type { border-top: 0; padding-top: 0; }
.product-feature h2 { margin: 0.75rem 0 0; font-size: clamp(1.75rem, 3vw, 2.3rem); }
.product-feature .price-note { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 700; font-size: 0.95rem; margin: 0.25rem 0 1.5rem; }

#portfolio .portfolio-frame { background: #fff; border: 1px solid var(--ign-line); padding: 1.25rem; border-bottom: 0.5rem solid var(--ign-earth); }
#portfolio .portfolio-frame.is-water { border-bottom-color: var(--ign-water); }
.portfolio-box { position: relative; display: block; }
.portfolio-box img { width: 100%; height: auto; display: block; }
.portfolio-box .portfolio-box-caption {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.82); color: #fff; opacity: 0; transition: opacity 0.25s ease; text-align: center;
}
.portfolio-box:hover .portfolio-box-caption,
.portfolio-box:focus-visible .portfolio-box-caption { opacity: 1; }
.portfolio-box .project-category { font-size: 0.85rem; font-weight: 600; color: var(--ign-earth); }
.portfolio-box .project-name { font-size: 1.15rem; font-weight: 700; }
@media (hover: none) { .portfolio-box .portfolio-box-caption { opacity: 0; } }

/* ----------------------------------------------------- Four elements row */
.element-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .element-grid { grid-template-columns: repeat(4, 1fr); } }
.element-item { background: #fff; border: 1px solid var(--ign-line); padding: 1.5rem 1.25rem; text-align: left; }
.element-item img { width: 4.5rem; height: 4.5rem; display: block; margin-bottom: 1rem; }
.element-item h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.element-item p { margin: 0; font-size: 0.9rem; color: var(--ign-muted); line-height: 1.5; }
.element-item.is-earth { border-top: 0.4rem solid var(--ign-earth); }
.element-item.is-water { border-top: 0.4rem solid var(--ign-water); }
.element-item.is-fire { border-top: 0.4rem solid var(--ign-fire); }
.element-item.is-community { border-top: 0.4rem solid var(--ign-community); }

/* ------------------------------------------------------- Mission/Vision */
.mv-panel { height: 100%; padding: 2.25rem 2rem; }
.mv-panel.mission { background: #000; color: #fff; }
.mv-panel.mission h2 { color: #fff; }
.mv-panel.mission p { color: rgba(255, 255, 255, 0.88); }
.mv-panel.vision { background: var(--ign-sand); }
.mv-panel h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.mv-panel p { margin: 0; font-size: 1.08rem; line-height: 1.65; }

.fact-card { border-left: 0.5rem solid var(--ign-fire); background: var(--ign-cream); padding: 1.75rem 1.75rem; }
.fact-card .fact-year { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: #000; }
.fact-card p { margin: 0.75rem 0 0; font-size: 0.97rem; }
.fact-card .fact-reg { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--ign-line); font-size: 0.88rem; color: var(--ign-muted); }

.pull-statement {
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.025em;
    max-width: 24ch;
    margin: 0;
}
.pull-statement.wide { max-width: 30ch; }

/* ------------------------------------------------------------ Partners */
.partner-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ign-line);
    padding: 1.75rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.partner-card img { width: 6.5rem; height: auto; flex: none; }
.partner-card.kino img { width: 9rem; }
.partner-card h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.partner-card p { margin: 0; font-size: 0.9rem; color: var(--ign-muted); line-height: 1.5; }
@media (max-width: 575.98px) {
    .partner-card { flex-direction: column; align-items: flex-start; }
}

/* -------------------------------------------------------------- Contact */
.contact-details { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; }
.contact-details li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-details .icon-tile { width: 2.6rem; height: 2.6rem; font-size: 1.15rem; }
.contact-details strong { display: block; font-size: 0.95rem; color: #000; }
.contact-details div > span, .contact-details a { font-size: 0.97rem; color: var(--ign-ink); }
.contact-details .icon-tile { color: var(--c, var(--ign-earth)); }
.contact-details a { text-decoration: none; font-weight: 600; border-bottom: 2px solid var(--c, var(--ign-earth)); }
.contact-details a:hover { color: var(--ign-earth-deep); }

.contact-card { background: #fff; border: 1px solid var(--ign-line); padding: 2rem 1.5rem; }
@media (min-width: 576px) { .contact-card { padding: 2.5rem 2.25rem; } }
.form-floating > label { color: var(--ign-muted); }
.form-control, .form-select {
    border: 1.5px solid #cfc8bb;
    border-radius: 0.5rem;
    color: #000;
}
.form-control:focus, .form-select:focus {
    border-color: var(--ign-water);
    box-shadow: 0 0 0 0.25rem rgba(58, 136, 198, 0.25);
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#formStatus { min-height: 1.5rem; }

/* --------------------------------------------------------------- Footer */
footer.site-footer { background: #000; color: rgba(255, 255, 255, 0.78); padding: 4rem 0 2rem; font-size: 0.93rem; }
footer.site-footer img.footer-logo { height: 3rem; width: auto; margin-bottom: 1.1rem; }
footer.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 0; }
footer.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
footer.site-footer a:hover { color: var(--ign-earth); text-decoration: underline; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
footer.site-footer li { overflow-wrap: anywhere; }
footer.site-footer .footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); }
footer.site-footer p { max-width: 36ch; }
footer.site-footer .footer-links { grid-template-columns: repeat(2, max-content); gap: 0.6rem 2.5rem; }

/* ----------------------------------------------------- WhatsApp button */
.whatsapp-float {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 0.85rem;
    border-radius: 10rem;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
    border: 2px solid #25d366;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.whatsapp-float i { color: #25d366; font-size: 1.5rem; line-height: 1; }
.whatsapp-float span { display: none; }
.whatsapp-float:hover { color: #fff; background: #111; transform: translateY(-2px); }
@media (min-width: 768px) {
    .whatsapp-float { padding: 0.8rem 1.25rem 0.8rem 1rem; right: 1.75rem; bottom: 1.75rem; }
    .whatsapp-float span { display: inline; }
}


/* ================================================================ Motion */
/* Everything below is decoration only. Content is fully visible without it. */

@keyframes wordUp   { from { transform: translateY(112%); } to { transform: none; } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
@keyframes riseStep { from { opacity: 0; transform: translateY(3.5rem); } to { opacity: 1; transform: none; } }
@keyframes ring {
    0%   { box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Headline words slide up out of a mask, one after another */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.05em 0.16em; margin: 0 -0.05em -0.16em; }
.w > span {
    display: inline-block;
    transform: translateY(112%);
    animation: wordUp 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
    animation-delay: calc(var(--i, 0) * 85ms + 150ms);
}

/* Supporting text and buttons fade up after the headline */
.anim-in { animation: fadeUp 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) both; animation-delay: var(--d, 0ms); }

/* The three steps rise one after another, building the staircase */
.step { animation: riseStep 1s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
.step:nth-child(1) { animation-delay: 0.45s; }
.step:nth-child(2) { animation-delay: 0.7s; }
.step:nth-child(3) { animation-delay: 0.95s; }

/* Scroll reveal: elements slide in the first time they enter the screen */
.js .reveal {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.js .reveal.reveal-left  { transform: translateX(-3rem); }
.js .reveal.reveal-right { transform: translateX(3rem); }
.js .reveal.in { opacity: 1; transform: none; }

/* Divider bars and the four-element bar draw themselves in */
.js hr.divider { transform: scaleX(0); transform-origin: left center; transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1) 0.2s; }
.js hr.divider.in { transform: none; }
.js .element-bar span { transform: scaleX(0); transform-origin: left center; transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1); }
.js .element-bar.in span { transform: none; }
.js .element-bar span:nth-child(2) { transition-delay: 0.12s; }
.js .element-bar span:nth-child(3) { transition-delay: 0.24s; }
.js .element-bar span:nth-child(4) { transition-delay: 0.36s; }

/* Hover and attention effects */
.feature-card, .venture-card, .partner-card, .contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover, .venture-card:hover, .partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1);
}
.audience-list li { transition: background-color 0.2s ease, color 0.2s ease; }
.audience-list li:hover { background: #000; color: #fff; }
.whatsapp-float { animation: ring 2.8s ease-out infinite; }

/* Keep sideways slides from ever creating a horizontal scrollbar */
main { overflow-x: hidden; }
@supports (overflow: clip) { main { overflow-x: clip; } }
@media (max-width: 767.98px) {
    .js .reveal.reveal-left  { transform: translateX(-1.25rem); }
    .js .reveal.reveal-right { transform: translateX(1.25rem); }
}

/* Respect visitors who prefer reduced motion: show everything immediately */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .w > span, .step, .anim-in { transform: none !important; opacity: 1 !important; }
    .js .reveal, .js .reveal.reveal-left, .js .reveal.reveal-right { opacity: 1 !important; transform: none !important; }
    .js hr.divider, .js .element-bar span { transform: none !important; }
}
