/* ==========================================================================
           KOABODE BRAND DESIGN TOKENS
           ========================================================================== */
        :root {
            --brand-bg: #f7e7ce;            /* Warm cream background */
            --brand-bg-light: #fdf8f0;      /* Ultra soft cream tint */
            --brand-green: #215437;         /* Deep eucalyptus green (Text & Core Brand) */
            --brand-green-hover: #193f2a;   /* Darker eucalyptus hover shade */
            --brand-accent: #88d49e;        /* Fresh sage/mint green accent */
            --brand-accent-hover: #72c489;  /* Darker sage hover */
            --brand-accent-light: #e6f3e9;  /* Soft pastel sage tint */
            --brand-clay: #a0703d;          /* Warm wood tone for small labels */
            --brand-wood: #ebd3b4;          /* Tan borders */
            
            --text-dark: #1d3326;           /* Dark eucalyptus body text */
            --text-muted: #4b5f52;          /* Muted sage-green body text */
            
            --font-serif: 'Merriweather', serif;
            --font-sans: 'Lora', Georgia, serif;
        }

        html {
            scroll-behavior: smooth;
            font-family: var(--font-sans);
            color: var(--text-dark);
            background-color: var(--brand-bg);
        }

        /* Tailwind's CDN adds its own html font after this file loads, so set the font on body too */
        body {
            font-family: var(--font-sans);
        }

        /* Helper Classes */
        .font-serif-brand { font-family: var(--font-serif); }
        .font-sans-brand { font-family: var(--font-sans); }

        .bg-brand-main { background-color: var(--brand-bg); }
        .bg-brand-light { background-color: var(--brand-bg-light); }
        .bg-brand-green { background-color: var(--brand-green); }
        .bg-brand-accent { background-color: var(--brand-accent); }
        .bg-brand-accent-light { background-color: var(--brand-accent-light); }
        
        .text-brand-green { color: var(--brand-green); }
        .text-brand-accent { color: var(--brand-accent); }
        .text-brand-muted { color: var(--text-muted); }
        
        .border-brand-green { border-color: var(--brand-green); }
        .border-brand-accent { border-color: var(--brand-accent); }
        .border-brand-light { border-color: #ebd3b4; }

        /* Modern Styled Buttons with High Contrast Accent */
        .btn-koala-accent {
            background-color: var(--brand-accent);
            color: var(--brand-green);
            font-family: var(--font-sans);
            font-weight: 800;
            border-radius: 9999px;
            transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 4px 14px rgba(136, 212, 158, 0.4);
        }
        .btn-koala-accent:hover {
            background-color: var(--brand-accent-hover);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 6px 20px rgba(136, 212, 158, 0.5);
        }

        .btn-koala-primary {
            background-color: var(--brand-green);
            color: #ffffff;
            font-family: var(--font-sans);
            font-weight: 800;
            border-radius: 9999px;
            transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 4px 14px rgba(33, 84, 55, 0.25);
        }
        .btn-koala-primary:hover {
            background-color: var(--brand-green-hover);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 6px 20px rgba(33, 84, 55, 0.35);
        }

        .btn-koala-secondary {
            background-color: var(--brand-bg-light);
            color: var(--brand-green);
            border: 2px solid var(--brand-green);
            font-family: var(--font-sans);
            font-weight: 800;
            border-radius: 9999px;
            transition: all 0.25s ease;
        }
        .btn-koala-secondary:hover {
            background-color: var(--brand-accent-light);
            transform: translateY(-2px);
        }

        /* Cute Card Component */
        .koala-card {
            background: #ffffff;
            border-radius: 28px;
            border: 2px solid #ebd3b4;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .koala-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 14px 32px -8px rgba(33, 84, 55, 0.12);
            border-color: var(--brand-accent);
        }
        /* Each standalone HTML page displays its own main content. */


        /* Floating Mascot Animation */
        @keyframes gentle-float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-8px) rotate(2deg); }
        }
        .animate-float {
            animation: gentle-float 4s ease-in-out infinite;
        }

        /* Active Navigation Link Styling */
        .nav-link.active-link {
            color: var(--brand-green);
            background-color: #ffffff;
            box-shadow: 0 2px 8px rgba(33, 84, 55, 0.08);
            border: 1px solid #ebd3b4;
        }

        /* Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background-color: rgba(32, 53, 19, 0.6);
            backdrop-filter: blur(4px);
            z-index: 100;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        .modal-overlay.active {
            display: flex;
        }





        
/* Koabode Under Construction Overlay */

/* Official Koabode brand colors */
#construction-overlay {
    background: rgba(247, 231, 206, 0.98);
}

.construction-card {
    background: #fdf8f0;
    border-color: #f7e7ce;
    box-shadow: 0 20px 60px rgba(33, 84, 55, 0.12);
}

.construction-label {
    color: #215437;
}

#construction-title {
    color: #215437;
}

.construction-message {
    color: #4b5f52;
}

.construction-home-btn {
    background: #215437;
    border-color: #215437;
    color: #fdf8f0;
}

.construction-home-btn:hover {
    background: #193f2a;
}

.construction-home-btn:focus-visible {
    outline-color: #88d49e;
}

.construction-footer {
    color: #4b5f52;
}


@media (max-width: 480px) {
    #construction-overlay {
        padding: 16px;
    }

    .construction-card {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .construction-mascot {
        max-width: 220px;
        max-height: 220px;
    }

    .construction-message {
        font-size: 14px;
    }
}


/* =========================================
   KOABODE UNDER CONSTRUCTION SCREEN
   ========================================= */

html:has(#construction-overlay),
body:has(#construction-overlay) {
    overflow: hidden !important;
    height: 100%;
}

#construction-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    padding: 24px !important;

    background: #f7e7ce !important;
    font-family: 'Lora', Georgia, serif !important;
    color: #1d3326 !important;
}

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

#construction-overlay .construction-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 520px;
    max-height: 100%;
    overflow-y: auto;

    padding: 32px 28px;
    margin: auto;

    background: #fdf8f0;
    border: 2px solid #ebd3b4;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(33, 84, 55, 0.12);

    text-align: center;
    font-family: 'Lora', Georgia, serif;
}

#construction-overlay .construction-mascot {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 250px !important;
    object-fit: contain !important;

    margin: 0 auto 20px !important;
    border-radius: 16px;
}

#construction-overlay .construction-label {
    margin: 0 0 12px;
    color: #215437;
    font-family: 'Lora', Georgia, serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

#construction-overlay #construction-title {
    margin: 0 0 16px;
    color: #215437;
    font-family: 'Merriweather', serif;
    font-size: clamp(25px, 5vw, 34px);
    font-weight: 900;
    line-height: 1.3;
}

#construction-overlay .construction-message {
    max-width: 390px;
    margin: 0 0 24px;
    color: #4b5f52;
    font-family: 'Lora', Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
}

#construction-overlay .construction-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    max-width: 290px;
    padding: 15px 24px;

    background: #215437;
    color: #fdf8f0;
    border: 2px solid #215437;
    border-radius: 999px;

    font-family: 'Lora', Georgia, serif;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;

    transition: background 0.2s ease, transform 0.2s ease;
}

#construction-overlay .construction-home-btn:hover {
    background: #193f2a;
    border-color: #193f2a;
    transform: translateY(-2px);
}

#construction-overlay .construction-home-btn:focus-visible {
    outline: 3px solid #88d49e;
    outline-offset: 4px;
}

#construction-overlay .construction-footer {
    margin: 18px 0 0;
    color: #4b5f52;
    font-family: 'Lora', Georgia, serif;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 480px) {
    #construction-overlay {
        padding: 14px !important;
    }

    #construction-overlay .construction-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    #construction-overlay .construction-mascot {
        max-height: 200px !important;
    }

    #construction-overlay .construction-message {
        font-size: 14px;
    }
}


/* =========================================
   HERO BANNER & OUTLINED MOTTO STYLES
   ========================================= */

/* Background container for eucalyptus/koala image */
.hero-banner-bg {
    /* Place your photo in the images folder as images/hero-bg.jpg */
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* White text with a deep eucalyptus green stroke outline */
.hero-motto {
    color: #ffffff;
    text-shadow: 
        -2px -2px 0 #215437,  
         2px -2px 0 #215437,
        -2px  2px 0 #215437,
         2px  2px 0 #215437,
         0px  4px 10px rgba(0, 0, 0, 0.4);
}

/* Modern text stroke support for WebKit browsers */
@supports (-webkit-text-stroke: 2px #215437) {
    .hero-motto {
        -webkit-text-stroke: 2px #215437;
        text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    }
}

/* =========================================
   PRESENTATION LOOK (matches the pitch poster)
   ========================================= */

/* Small uppercase label above a heading */
.brand-kicker {
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-clay);
    margin-bottom: 0.6rem;
}

/* Mint circle holding an icon */
.icon-dot {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: var(--brand-accent);
    color: var(--brand-green-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.icon-dot-lg {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.9rem;
}

/* Dark green tile with cream heading and mint text */
.green-tile {
    background: var(--brand-green);
    border-radius: 28px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    color: var(--brand-accent);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.green-tile:hover { transform: translateY(-4px); }
.green-tile h3 { color: var(--brand-bg-light); }

/* Speech bubble, like Kobi talking */
.speech-bubble {
    background: #ffffff;
    border: 2px solid var(--brand-wood);
    border-radius: 22px 22px 22px 6px;
    padding: 0.9rem 1.1rem;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
    text-wrap: pretty;
}

/* Numbered step circle */
.step-num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: var(--brand-green);
    color: var(--brand-bg-light);
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Sample match cards */
.match-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: var(--brand-accent);
    color: var(--brand-green-hover);
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fit-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    background: var(--brand-green);
    color: var(--brand-bg-light);
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 0.75rem;
    white-space: nowrap;
}
.fit-badge i { color: var(--brand-accent); }
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.8rem;
    border-radius: 9999px;
    background: var(--brand-accent-light);
    color: var(--brand-green);
}
.tag-chip i { color: var(--brand-green); font-size: 0.8em; }

/* Emoji inside a question bubble */
.bubble-emoji {
    display: block;
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 0.4rem;
}

/* Bubble with a tail on its left side, pointing at whoever is talking */
.speech-bubble-left {
    position: relative;
    border-radius: 22px;
}
.speech-bubble-left::before,
.speech-bubble-left::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-color: transparent;
}
.speech-bubble-left::before {
    left: -16px;
    border-width: 11px 16px 11px 0;
    border-right-color: var(--brand-wood);
}
.speech-bubble-left::after {
    left: -12px;
    border-width: 9px 13px 9px 0;
    border-right-color: #ffffff;
}

/* Meet Kobi: center the bubble on Kobi's mouth (about 37% down the picture) */
.kobi-says {
    position: absolute;
    left: 0;
    right: 0;
    top: 37%;
    transform: translateY(-50%);
}
@media (max-width: 639px) {
    .kobi-says { font-size: 0.85rem; padding: 0.75rem 0.9rem; }
}

/* Contact page: round founder photo (or initial) */
.founder-photo {
    width: 7rem;
    height: 7rem;
    border-radius: 9999px;
    border: 4px solid var(--brand-accent);
    background: var(--brand-accent-light);
    color: var(--brand-green);
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
