/* =====================================================
   ANIMAL CONNECT TRUST
   FINAL CSS
   Desktop: full-screen poster layout
   Mobile: hero image keeps natural landscape shape,
           cards/cloud sit on the image,
           buttons + footer below with breathing room,
           typewriter animation runs on mobile too.
   Footer: brand, contact (phone/email/address), socials.
   Floating & lively animations on both desktop and mobile.
===================================================== */

:root {
    --dark-green: #21472f;
    --forest-green: #315b36;
    --olive-green: #668744;
    --light-olive: #78964d;
    --orange: #ef7538;
    --cream: #f8f8e8;
    --paper: #fffef1;
    --text-green: #315638;
    --blend-bg: #7a8a5e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: #000;
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

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

.page {
    width: 100%;
    max-width: 1500px;
    margin: auto;
    background: var(--cream);
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    height: 90px;
    padding: 0 5%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 100;
}

.brand-area { display: flex; align-items: center; gap: 12px; }

.brand-logo {
    width: 62px; height: 62px;
    overflow: hidden; flex-shrink: 0;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }

.brand-text h1 {
    font-family: Georgia, serif;
    font-size: 23px; line-height: 1; white-space: nowrap;
}
.brand-text h1 span { color: var(--orange); }
.brand-text h1 b { color: var(--olive-green); }

.brand-text p {
    margin-top: 6px;
    font-family: "Caveat", cursive;
    color: var(--olive-green);
    font-size: 16px;
}
.brand-text p span { color: var(--orange); margin: 0 3px; }

nav { display: flex; align-items: center; gap: 34px; }

nav a {
    color: var(--dark-green);
    font-size: 16px; font-weight: 600;
    position: relative; transition: 0.25s ease;
}
nav a:hover { color: var(--orange); }

nav .active::after {
    content: ""; position: absolute;
    left: 0; right: 0; bottom: -12px;
    height: 3px; background: var(--dark-green);
    border-radius: 50%;
}

.donate {
    color: white !important;
    background: var(--dark-green);
    padding: 13px 21px; border-radius: 12px;
    display: flex; align-items: center; gap: 9px;
    transition: 0.25s ease;
}
.donate:hover { background: var(--forest-green); transform: translateY(-2px); }
.nav-paw { color: var(--olive-green); font-size: 22px; }

/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 700px;
    overflow: hidden;
    background: var(--blend-bg);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: var(--blend-bg);
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    filter: brightness(1.02) saturate(1.05) contrast(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.3) 100%);
}

/* SIDE BORDERS */
.side-border {
    position: absolute;
    z-index: 20;
    top: 0; bottom: 0;
    width: 55px;
    background: linear-gradient(to bottom,
        rgba(33, 71, 47, 0.85) 0%,
        rgba(49, 91, 54, 0.90) 50%,
        rgba(33, 71, 47, 0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.15);
}

.side-border.left { left: 0; border-right: 2px solid rgba(255, 255, 255, 0.15); }
.side-border.right { right: 0; border-left: 2px solid rgba(255, 255, 255, 0.15); }

.side-border-text {
    font-family: "Caveat", cursive;
    font-size: 22px; font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 3px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.side-border.right .side-border-text { transform: rotate(0deg); }

.side-border-icon {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    animation: pulse-icon 3s ease-in-out infinite;
}

.side-border-icon:nth-child(2) { animation-delay: 0.5s; }
.side-border-icon:nth-child(3) { animation-delay: 1s; }

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.2); opacity: 1; color: var(--orange); }
}

.side-border-dot {
    width: 5px; height: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

/* MOBILE WRAPPERS — invisible on desktop */
.mobile-top-block { display: contents; }
.photo-row { display: contents; }

/* MAIN TITLE — CLOUD */
.main-title {
    position: absolute;
    z-index: 30;
    bottom: 120px; left: 75px;
    width: 100%;
    min-width: 260px;
    max-width: 340px;
    padding: 18px 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 40px 40px 40px 12px;
    box-shadow: 0 10px 30px rgba(33, 71, 47, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.main-title h2 {
    margin: 0;
    font-family: "Kalam", cursive;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 0.95; font-weight: 700;
    color: var(--dark-green);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.7);
}
.main-title h2 span { color: var(--olive-green); }

.main-title p {
    margin-top: 8px;
    color: var(--text-green);
    font-size: 12px; line-height: 1.35; font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.7);
}

.title-heart, .title-lines, .title-paw {
    position: absolute; color: var(--dark-green); opacity: 0.7;
}
.title-heart { top: 10px; left: 18px; font-size: 24px; transform: rotate(-15deg); }
.title-lines { top: 15px; left: 45px; font-size: 16px; transform: rotate(-20deg); }
.title-paw { right: 18px; bottom: 18px; font-size: 18px; transform: rotate(-15deg); }

.title-underline {
    width: 100px; height: 3px;
    margin: 8px auto 0;
    background: var(--olive-green);
    border-radius: 50%;
    transform: rotate(-2deg); opacity: 0.8;
}

/* TYPEWRITER */
.typewriter,
.typewriter-2,
.typewriter-3,
.typewriter-4 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid transparent;
    width: 0;
    animation-fill-mode: forwards;
}

.typewriter { animation: typing 2s steps(20, end) 0.5s forwards, blink-caret 0.75s step-end infinite; }
.typewriter-2 { animation: typing 1.5s steps(15, end) 2.5s forwards, blink-caret 0.75s step-end infinite; }
.typewriter-3 { animation: typing 2.5s steps(30, end) 4s forwards, blink-caret 0.75s step-end infinite; }
.typewriter-4 { animation: typing 1.5s steps(15, end) 6.5s forwards, blink-caret 0.75s step-end infinite; }

@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--olive-green); }
}

/* PHOTO CARDS */
.photo-card {
    position: absolute;
    z-index: 25;
    background: var(--paper);
    padding: 12px 12px 55px 12px;
    border-radius: 4px;
    border: 3px solid #ffffff;
    outline: 1px solid rgba(33, 71, 47, 0.15);
    outline-offset: 3px;
    box-shadow:
        0 4px 8px rgba(38, 60, 31, 0.15),
        0 10px 25px rgba(38, 60, 31, 0.25),
        0 20px 40px rgba(38, 60, 31, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    max-width: calc(100% - 20px);
}

.photo-card::before,
.photo-card::after {
    content: "";
    position: absolute;
    width: 45px; height: 18px;
    background: rgba(255, 249, 200, 0.75);
    border: 1px solid rgba(200, 190, 140, 0.5);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 5;
}
.photo-card::before { top: -8px; left: 20px; transform: rotate(-8deg); }
.photo-card::after { top: -8px; right: 20px; transform: rotate(8deg); }

.photo-card img {
    display: block; width: 100%;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(33, 71, 47, 0.1);
}

.photo-label {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    bottom: 15px;
    padding: 8px 18px;
    background: var(--forest-green);
    color: white; border-radius: 20px;
    font-family: "Caveat", cursive;
    font-size: 17px; line-height: 1.05;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    border: 2px solid rgba(255, 255, 255, 0.9);
    text-align: center;
    white-space: nowrap;
}

/* DESKTOP CARD POSITIONS */
.left-card {
    width: 260px; height: 280px;
    left: 75px; top: 60px;
    transform: rotate(-4deg);
    animation: float-left 4s ease-in-out infinite;
}
.left-card img {
    height: 195px;
    border: 2px dashed rgba(33, 71, 47, 0.2);
    padding: 3px;
    background: #fffef1;
}

.right-top-card {
    width: 240px; height: 310px;
    right: 75px; top: 50px;
    transform: rotate(-6deg);
    animation: float-right-top 5s ease-in-out infinite;
    border-color: #f5e6a8;
}
.right-top-card img { height: 215px; }
.right-top-card p {
    position: absolute;
    bottom: 14px; left: 0; right: 0;
    text-align: center;
    font-family: "Caveat", cursive;
    color: var(--text-green);
    font-size: 15px; line-height: 1.1;
    padding: 0 8px;
}

.right-bottom-card {
    width: 260px; height: 330px;
    right: 75px; bottom: 150px;
    transform: rotate(5deg);
    animation: float-right-bottom 4.5s ease-in-out infinite;
    border-color: #d4e5b8;
}
.right-bottom-card img { height: 240px; }
.right-bottom-card p {
    position: absolute;
    bottom: 15px; left: 0; right: 0;
    text-align: center;
    font-family: "Caveat", cursive;
    color: var(--text-green);
    font-size: 15px;
    padding: 0 8px;
}

/* FLOATING KEYFRAMES */
@keyframes float-left {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-12px); }
}
@keyframes float-right-top {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(-6deg) translateY(-15px); }
}
@keyframes float-right-bottom {
    0%, 100% { transform: rotate(5deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(-10px); }
}

.center-heart {
    position: absolute; z-index: 15; left: 48%; top: 420px;
    color: white; font-family: "Caveat", cursive;
    font-size: 65px; transform: rotate(-10deg);
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ACTION BUTTONS */
.actions {
    position: absolute; z-index: 40;
    left: 50%; transform: translateX(-50%);
    bottom: 45px; width: 75%; max-width: 850px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.action {
    min-height: 110px; padding: 15px 20px;
    background: rgba(248, 247, 219, 0.95);
    border-radius: 20px;
    display: flex; align-items: center; gap: 15px;
    box-shadow: 0 8px 25px rgba(36, 61, 33, 0.15), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.8);
}
.action:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(36, 61, 33, 0.25); }

.action-icon {
    width: 55px; min-width: 55px; height: 55px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: white; font-size: 25px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.action-icon.orange { background: var(--orange); }
.action-icon.green { background: var(--olive-green); }

.action-text h3 { font-family: "Caveat", cursive; font-size: 28px; line-height: 1; color: var(--olive-green); }
.action:nth-child(3) h3 { color: var(--orange); }
.action-text p { color: var(--text-green); font-size: 13px; line-height: 1.3; margin-top: 5px; }

/* BOTTOM GREEN STRIP */
.bottom {
    position: absolute; z-index: 35;
    bottom: 0; left: 0; width: 100%; height: 50px;
    background: var(--forest-green);
    display: flex; justify-content: center; align-items: center;
}

.bottom::before {
    content: ""; position: absolute; top: -15px; left: -5%;
    width: 110%; height: 20px;
    background: var(--forest-green);
    border-radius: 50% 50% 0 0;
}

.bottom p {
    position: relative; z-index: 5; color: white;
    font-family: "Caveat", cursive; font-size: 22px; letter-spacing: 1px;
}

.bottom-decoration { position: absolute; z-index: 5; color: var(--olive-green); font-size: 50px; }
.bottom-decoration.left { left: 70px; bottom: -10px; transform: rotate(-30deg); }
.bottom-decoration.right { right: 70px; bottom: -10px; transform: rotate(30deg); }

/* LARGE DESKTOP */
@media (min-width: 1201px) {
    .main-title { bottom: 130px; left: 85px; max-width: 360px; }
}

/* TABLET */
@media (min-width: 901px) and (max-width: 1200px) {
    .navbar { padding: 0 3%; }
    nav { gap: 18px; }
    nav a { font-size: 14px; }
    .hero { height: 100vh; min-height: 700px; }

    .side-border { width: 45px; }
    .side-border-text { font-size: 18px; letter-spacing: 2px; }
    .side-border-icon { font-size: 15px; }

    .main-title { bottom: 110px; left: 60px; max-width: 320px; padding: 15px 18px; }
    .main-title h2 { font-size: 26px; }
    .main-title p { font-size: 11px; }

    .left-card { width: 200px; height: 220px; left: 60px; top: 50px; padding: 10px 10px 45px 10px; }
    .left-card img { height: 155px; }
    .right-top-card { width: 190px; height: 250px; right: 60px; top: 40px; padding: 10px 10px 45px 10px; }
    .right-top-card img { height: 175px; }
    .right-bottom-card { width: 200px; height: 270px; right: 60px; bottom: 130px; padding: 10px 10px 45px 10px; }
    .right-bottom-card img { height: 190px; }

    .actions { width: 80%; bottom: 40px; }
    .photo-label { font-size: 15px; padding: 7px 14px; }
    .right-top-card p, .right-bottom-card p { font-size: 14px; }
}

/* SMALL DESKTOP */
@media (min-width: 701px) and (max-width: 900px) {
    .hero { height: 100vh; min-height: 700px; }

    .side-border { width: 40px; }
    .side-border-text { font-size: 15px; letter-spacing: 1px; }
    .side-border-icon { font-size: 13px; }

    .main-title { bottom: 100px; left: 50px; max-width: 300px; padding: 14px 18px; }
    .main-title h2 { font-size: 24px; }
    .main-title p { font-size: 11px; }

    .left-card { width: 170px; height: 190px; left: 50px; top: 40px; padding: 8px 8px 40px 8px; }
    .left-card img { height: 130px; }
    .right-top-card { width: 160px; height: 210px; right: 50px; top: 35px; padding: 8px 8px 40px 8px; }
    .right-top-card img { height: 145px; }
    .right-bottom-card { width: 170px; height: 230px; right: 50px; bottom: 100px; padding: 8px 8px 40px 8px; }
    .right-bottom-card img { height: 160px; }

    .actions { width: 85%; bottom: 35px; gap: 12px; }
    .action { padding: 12px; min-height: 95px; }
    .action-text h3 { font-size: 22px; }
    .photo-label { font-size: 13px; padding: 6px 12px; }
    .right-top-card p, .right-bottom-card p { font-size: 12px; }
}

/* =====================================================
   MOBILE (700px AND BELOW)
===================================================== */
@media (max-width: 700px) {

    body {
        background: var(--cream);
        overflow-x: hidden;
    }

    .page {
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    /* ---------- NAVBAR ---------- */
    .navbar {
        height: auto;
        padding: 8px 10px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }
    .brand-area { gap: 8px; }
    .brand-logo { width: 40px; height: 40px; }
    .brand-text h1 { font-size: 14px; }
    .brand-text p { font-size: 11px; margin-top: 2px; }
    nav { gap: 10px; flex-wrap: wrap; justify-content: center; }
    nav a { font-size: 11px; }
    .donate { padding: 6px 10px; font-size: 11px; border-radius: 8px; gap: 5px; }
    .nav-paw { font-size: 14px; }
    nav .active::after { bottom: -4px; height: 2px; }

    /* ---------- HERO ---------- */
    .hero {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: visible;
        background: var(--blend-bg);
        padding-bottom: 0;
    }

    .hero-image {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        z-index: 1;
        overflow: hidden;
        background: var(--blend-bg);
    }

    .hero-image img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
        object-position: center center;
        filter: none;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        pointer-events: none;
    }

    .mobile-top-block { display: contents; }
    .photo-row { display: contents; }

    /* ---------- SIDE BORDERS ---------- */
    .side-border {
        display: flex;
        width: 28px;
        gap: 16px;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    .side-border-text { font-size: 11px; letter-spacing: 1.5px; }
    .side-border-icon { font-size: 11px; }
    .side-border-dot { width: 3px; height: 3px; }

    /* ---------- CLOUD ---------- */
    .main-title {
        position: absolute;
        bottom: 26%;
        left: 40px;
        width: 62%;
        max-width: 220px;
        min-width: 0;
        padding: 10px 12px;
        border-radius: 24px 24px 24px 8px;
        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 30;
    }
    .main-title h2 { font-size: 13px; line-height: 1.1; }
    .main-title p { font-size: 8px; margin-top: 4px; line-height: 1.25; }
    .title-heart { font-size: 14px; top: 6px; left: 10px; }
    .title-lines { font-size: 10px; top: 8px; left: 26px; }
    .title-paw { font-size: 11px; right: 10px; bottom: 10px; }
    .title-underline { width: 55px; height: 2px; margin-top: 5px; }

    /* ---------- TYPEWRITER ---------- */
    .typewriter,
    .typewriter-2,
    .typewriter-3,
    .typewriter-4 {
        white-space: nowrap;
        font-size: 13px;
        line-height: 1.1;
        max-width: 100%;
    }
    .main-title p .typewriter-3,
    .main-title p .typewriter-4 {
        font-size: 8px;
        line-height: 1.2;
    }

    /* ---------- PHOTO CARDS ---------- */
    .photo-card {
        z-index: 25;
        padding: 5px 5px 22px 5px;
        border-width: 2px;
        outline-width: 1px;
    }
    .photo-card::before,
    .photo-card::after { display: none; }

    .left-card {
        width: 30%;
        height: auto;
        left: 36px;
        top: 14px;
        padding: 5px 5px 22px 5px;
        transform: rotate(-5deg);
    }
    .left-card img {
        height: auto;
        aspect-ratio: 1 / 1;
        border: 1px dashed rgba(33, 71, 47, 0.2);
        padding: 2px;
    }

    .right-top-card {
        width: 28%;
        height: auto;
        right: 36px;
        top: 14px;
        padding: 5px 5px 22px 5px;
        transform: rotate(4deg);
    }
    .right-top-card img { height: auto; aspect-ratio: 1 / 1; }

    .right-bottom-card {
        width: 30%;
        height: auto;
        right: 36px;
        bottom: 34%;
        padding: 5px 5px 22px 5px;
        transform: rotate(-3deg);
    }
    .right-bottom-card img { height: auto; aspect-ratio: 1 / 1; }

    .photo-label {
        font-size: 8px;
        padding: 2px 6px;
        bottom: 4px;
        border-width: 1px;
        white-space: normal;
        line-height: 1.1;
    }
    .right-top-card p,
    .right-bottom-card p {
        font-size: 7px;
        bottom: 4px;
        padding: 0 3px;
        line-height: 1.1;
    }

    .center-heart { display: none; }

    /* ---------- ACTIONS ---------- */
    .actions {
        position: relative;
        left: auto;
        transform: none;
        bottom: auto;
        width: calc(100% - 32px);
        max-width: 100%;
        margin: 28px auto 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        z-index: 40;
    }
    .action {
        min-height: 90px;
        padding: 10px 8px;
        border-radius: 14px;
        gap: 6px;
        flex-direction: column;
        text-align: center;
    }
    .action-icon {
        width: 36px; min-width: 36px; height: 36px;
        font-size: 16px; border-width: 1px;
    }
    .action-text h3 { font-size: 15px; }
    .action-text p { font-size: 9px; line-height: 1.2; margin-top: 2px; }
    .action-text strong { font-size: 10px; }

    /* ---------- BOTTOM GREEN STRIP ---------- */
    .bottom {
        position: relative;
        bottom: auto;
        height: 40px;
        margin-top: 16px;
        z-index: 35;
    }
    .bottom::before { display: none; }
    .bottom p {
        font-size: 13px;
        letter-spacing: 0.5px;
        padding: 0 40px;
        text-align: center;
    }
    .bottom-decoration { font-size: 26px; }
    .bottom-decoration.left { left: 15px; bottom: -4px; }
    .bottom-decoration.right { right: 15px; bottom: -4px; }
}


/* =====================================================
   SITE FOOTER — brand, contact (phone/email/address), socials
===================================================== */
.site-footer {
    background: var(--cream);
    color: var(--dark-green);
    padding: 40px 5% 0 5%;
    border-top: 3px solid var(--olive-green);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1.4fr auto;
    gap: 40px;
    align-items: center;
    padding-bottom: 30px;
}

/* ---------- Brand block ---------- */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: white;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(33, 71, 47, 0.15);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand-text h3 {
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1;
    margin: 0;
}

.footer-brand-text h3 span { color: var(--orange); }
.footer-brand-text h3 b { color: var(--olive-green); }

.footer-brand-text p {
    font-family: "Caveat", cursive;
    color: var(--olive-green);
    font-size: 15px;
    margin-top: 4px;
}

/* ---------- Contact block ---------- */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-green);
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-item:hover {
    transform: translateX(4px);
    color: var(--orange);
}

.footer-icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--forest-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(33, 71, 47, 0.2);
}

.footer-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-text small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--olive-green);
    font-weight: 600;
}

.footer-text strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-green);
}

/* ---------- Socials ---------- */
.footer-social {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.25s ease;
    box-shadow: 0 4px 10px rgba(33, 71, 47, 0.2);
}

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

/* ---------- Copyright ---------- */
.footer-copy {
    border-top: 1px solid rgba(33, 71, 47, 0.15);
    padding: 16px 0;
    text-align: center;
}

.footer-copy p {
    font-size: 12px;
    color: var(--olive-green);
    letter-spacing: 0.3px;
}

/* ---------- Footer Tablet ---------- */
@media (min-width: 701px) and (max-width: 1000px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-social {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

/* ---------- Footer Mobile ---------- */
@media (max-width: 700px) {
    .site-footer {
        padding: 28px 16px 0 16px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 20px;
        text-align: center;
    }
    .footer-brand {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer-logo {
        width: 52px;
        height: 52px;
    }
    .footer-brand-text h3 { font-size: 18px; }
    .footer-brand-text p { font-size: 14px; }

    .footer-contact {
        align-items: center;
    }
    .footer-item {
        justify-content: flex-start;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        text-align: left;
    }
    .footer-text strong { font-size: 14px; }

    .footer-social {
        justify-content: center;
    }

    .footer-copy {
        padding: 14px 0;
    }
    .footer-copy p {
        font-size: 11px;
        line-height: 1.4;
    }
}


/* =====================================================
   FLOATING & LIVELY ANIMATIONS
   Applied on BOTH desktop and mobile (fixed placement —
   this block is NOT inside any media query).
===================================================== */

/* ---------- 1. FLOATING PHOTO CARDS ---------- */
.left-card {
    animation: float-left 4.5s ease-in-out infinite;
}
.right-top-card {
    animation: float-right-top 5.2s ease-in-out infinite;
}
.right-bottom-card {
    animation: float-right-bottom 4.8s ease-in-out infinite;
}

@keyframes float-left {
    0%   { transform: rotate(-4deg) translateY(0) scale(1); }
    25%  { transform: rotate(-5deg) translateY(-10px) scale(1.01); }
    50%  { transform: rotate(-4deg) translateY(-16px) scale(1.02); }
    75%  { transform: rotate(-3deg) translateY(-8px) scale(1.01); }
    100% { transform: rotate(-4deg) translateY(0) scale(1); }
}

@keyframes float-right-top {
    0%   { transform: rotate(-6deg) translateY(0) scale(1); }
    30%  { transform: rotate(-7deg) translateY(-12px) scale(1.015); }
    60%  { transform: rotate(-6deg) translateY(-18px) scale(1.025); }
    100% { transform: rotate(-6deg) translateY(0) scale(1); }
}

@keyframes float-right-bottom {
    0%   { transform: rotate(5deg) translateY(0) scale(1); }
    35%  { transform: rotate(6deg) translateY(-8px) scale(1.01); }
    70%  { transform: rotate(5deg) translateY(-14px) scale(1.02); }
    100% { transform: rotate(5deg) translateY(0) scale(1); }
}

/* On mobile use smaller floats to fit the tight layout */
@media (max-width: 700px) {
    .left-card {
        animation: float-left-mobile 4.5s ease-in-out infinite;
    }
    .right-top-card {
        animation: float-right-top-mobile 5.2s ease-in-out infinite;
    }
    .right-bottom-card {
        animation: float-right-bottom-mobile 4.8s ease-in-out infinite;
    }

    @keyframes float-left-mobile {
        0%, 100% { transform: rotate(-5deg) translateY(0); }
        50%      { transform: rotate(-5deg) translateY(-6px); }
    }
    @keyframes float-right-top-mobile {
        0%, 100% { transform: rotate(4deg) translateY(0); }
        50%      { transform: rotate(4deg) translateY(-8px); }
    }
    @keyframes float-right-bottom-mobile {
        0%, 100% { transform: rotate(-3deg) translateY(0); }
        50%      { transform: rotate(-3deg) translateY(-6px); }
    }
}

/* ---------- 2. ACTION BOXES FLOAT & LIFT ON HOVER ---------- */
.actions .action {
    animation: bob 3.6s ease-in-out infinite;
}
.actions .action:nth-child(1) { animation-delay: 0s; }
.actions .action:nth-child(2) { animation-delay: 0.4s; }
.actions .action:nth-child(3) { animation-delay: 0.8s; }

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

.actions .action:hover {
    animation-play-state: paused;
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 16px 40px rgba(36, 61, 33, 0.3),
        0 0 0 3px rgba(239, 117, 56, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

.action-icon {
    animation: icon-pulse 2.6s ease-in-out infinite;
}
.actions .action:nth-child(1) .action-icon { animation-delay: 0s; }
.actions .action:nth-child(2) .action-icon { animation-delay: 0.5s; }
.actions .action:nth-child(3) .action-icon { animation-delay: 1s; }

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
    50%      { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
}

.actions .action:hover .action-icon {
    animation: icon-flip 0.6s ease-in-out forwards;
}
@keyframes icon-flip {
    0%   { transform: rotate(0) scale(1.08); }
    50%  { transform: rotate(-12deg) scale(1.15); }
    100% { transform: rotate(0) scale(1.08); }
}

.action-text strong {
    display: inline-block;
    transition: transform 0.3s ease;
}
.actions .action:hover .action-text strong {
    transform: translateX(6px);
}

/* ---------- 3. CLOUD TITLE — SOFT BREATHING ---------- */
.main-title {
    animation: cloud-breathe 6s ease-in-out infinite;
}

@keyframes cloud-breathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-4px) scale(1.015); }
}

/* ---------- 4. BOTTOM STRIP — GENTLE LEAF SWAY ---------- */
.bottom-decoration {
    animation: leaf-sway 3s ease-in-out infinite;
}
.bottom-decoration.left {
    animation-delay: 0s;
}
.bottom-decoration.right {
    animation-name: leaf-sway-right;
    animation-delay: 1.5s;
}

@keyframes leaf-sway {
    0%, 100% { transform: rotate(-30deg) translateY(0); }
    50%      { transform: rotate(-25deg) translateY(-3px); }
}
@keyframes leaf-sway-right {
    0%, 100% { transform: rotate(30deg) translateY(0); }
    50%      { transform: rotate(25deg) translateY(-3px); }
}

/* ---------- 5. RESPECT REDUCED MOTION PREFERENCE ---------- */
@media (prefers-reduced-motion: reduce) {
    .left-card,
    .right-top-card,
    .right-bottom-card,
    .actions .action,
    .action-icon,
    .main-title,
    .bottom-decoration {
        animation: none !important;
    }
}