/* ==========================================================================
   KIEA Theme Custom Stylesheet - Crisp Light Body & Luxury Architecture
   Kenya in Egypt Association (KIEA)
   Developer: Goha Agency (https://goha.agency)
   ========================================================================== */

:root {
    --kiea-green: #006633;
    --kiea-green-hover: #004d26;
    --kiea-emerald: #10b981;
    --kiea-red: #bb0000;
    --kiea-black: #070b14;
    --kiea-gold: #d97706;
    --kiea-light: #f8fafc;
    --kiea-card-bg: #ffffff;
    --kiea-text-dark: #0f172a;
    --kiea-text-muted: #64748b;
    --kiea-border: #e2e8f0;
    --kiea-font-primary: 'GeosansLight', 'Geo Sans Light', 'Inter', system-ui, -apple-system, sans-serif;
    --kiea-font-heading: 'GeosansLight', 'Geo Sans Light', 'Outfit', system-ui, -apple-system, sans-serif;
}

/* Crisp Light Body Context (Only Header & Footer are Dark) */
body {
    font-family: var(--kiea-font-primary);
    color: var(--kiea-text-dark);
    background-color: var(--kiea-light);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--kiea-font-heading);
    font-weight: 700;
    color: var(--kiea-text-dark);
}

/* Inner Page Hero Header Banner (Fixes Header Overlap in All Inner Pages) */
.kiea-inner-page-hero {
    padding-top: 175px;
    padding-bottom: 70px;
    background: linear-gradient(135deg, #070b14 0%, #0d1322 60%, #004d26 100%);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Base SVG Icon Styling */
.kiea-svg-icon {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    vertical-align: -0.15em;
    fill: currentColor;
    transition: transform 0.2s ease, fill 0.2s ease;
}
.kiea-svg-icon path {
    fill: currentColor;
}

/* Color & Button Utilities */
.text-emerald { color: var(--kiea-green) !important; }
.text-emerald-subtle { color: #a7f3d0 !important; }
.text-gold { color: #ffcc00 !important; }
.text-slate-200 { color: #e2e8f0 !important; }
.text-slate-300 { color: #cbd5e1 !important; }
.bg-emerald { background-color: var(--kiea-green) !important; color: #ffffff !important; }
.bg-emerald-subtle { background-color: rgba(16, 185, 129, 0.15) !important; }
.bg-gold { background-color: #ffcc00 !important; color: #000000 !important; }
.bg-gold-subtle { background-color: rgba(255, 204, 0, 0.18) !important; color: #d97706 !important; }

.btn-emerald {
    background: linear-gradient(135deg, #006633 0%, #10b981 100%);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}
.btn-emerald:hover {
    background: linear-gradient(135deg, #004d26 0%, #059669 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 102, 51, 0.35);
}

.btn-outline-emerald {
    border: 2px solid var(--kiea-green);
    color: var(--kiea-green);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-emerald:hover {
    background-color: var(--kiea-green);
    color: #fff;
}

.hover-emerald { transition: color 0.2s ease; }
.hover-emerald:hover { color: var(--kiea-emerald) !important; }

.bg-gradient-emerald {
    background: linear-gradient(135deg, #006633 0%, #10b981 100%);
}

/* ==========================================================================
   HEADER DESIGN (Sleek Floating White Capsule & Dark Glass Wrapper)
   ========================================================================== */
.kiea-site-header {
    background: transparent;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1040;
}

/* Pre-Header Top Bar */
.kiea-top-bar {
    background: rgba(7, 11, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

/* Left Floating White Capsule Container */
.kiea-nav-capsule {
    background: #ffffff;
    border-radius: 0 50px 50px 0;
    padding: 0.5rem 1.75rem 0.5rem 1rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid var(--kiea-green);
}

.brand-logo-circle {
    width: 44px;
    height: 44px;
    box-shadow: 0 4px 15px rgba(0, 102, 51, 0.4);
}

.capsule-divider {
    width: 1px;
    height: 28px;
    background: #e2e8f0;
}

/* Desktop Menu Links */
.kiea-desktop-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kiea-desktop-menu a {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.kiea-desktop-menu a:hover,
.kiea-desktop-menu .current-menu-item > a {
    color: var(--kiea-green);
    background: rgba(0, 102, 51, 0.08);
}

/* Compact Hamburger Button */
.kiea-hamburger-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #006633 0%, #10b981 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 51, 0.3);
    transition: transform 0.2s ease;
}

.kiea-hamburger-btn svg {
    pointer-events: none;
}

.kiea-hamburger-btn:hover {
    transform: scale(1.08);
}

@media (max-width: 991.98px) {
    .kiea-hamburger-btn {
        display: inline-flex !important;
        margin-left: 0.5rem;
    }
    [dir="rtl"] .kiea-hamburger-btn {
        margin-left: 0;
        margin-right: 0.5rem;
    }
}

/* Right Header Action Buttons */
.kiea-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(7, 11, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.kiea-action-btn:hover {
    background: rgba(7, 11, 20, 0.98);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Luxury Header Donate CTA Button */
.kiea-header-donate-btn {
	background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%) !important;
	color: #0f172a !important;
	font-weight: 800 !important;
	font-size: 0.88rem !important;
	letter-spacing: 0.3px !important;
	padding: 0.55rem 1.15rem !important;
	border-radius: 50px !important;
	border: 1px solid rgba(255, 255, 255, 0.7) !important;
	box-shadow: 0 4px 15px rgba(255, 153, 0, 0.45) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	white-space: nowrap !important;
}

.kiea-header-donate-btn:hover {
	background: linear-gradient(135deg, #ffd633 0%, #ffaa00 100%) !important;
	color: #000000 !important;
	transform: translateY(-2px) scale(1.04) !important;
	box-shadow: 0 8px 25px rgba(255, 153, 0, 0.65) !important;
}

.kiea-header-donate-btn .kiea-svg-icon {
	fill: #dc2626 !important;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
	animation: heartbeat 2s infinite ease-in-out;
}

@keyframes heartbeat {
	0%, 100% { transform: scale(1); }
	14% { transform: scale(1.22); }
	28% { transform: scale(1); }
	42% { transform: scale(1.22); }
	70% { transform: scale(1); }
}

@media (max-width: 576px) {
	.kiea-header-donate-btn {
		padding: 0.45rem 0.85rem !important;
		font-size: 0.8rem !important;
	}
}

/* CTA Join Button */
.kiea-cta-btn {
    background: linear-gradient(135deg, #006633 0%, #10b981 100%);
    color: #ffffff;
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 102, 51, 0.35);
    transition: all 0.3s ease;
}

.kiea-cta-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 102, 51, 0.5);
}

/* User Floating Popup Card */
.kiea-user-popup-card {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 280px;
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--kiea-border);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1060;
}

.kiea-user-popup-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-item-link {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.popup-item-link:hover {
    color: var(--kiea-green);
    background: rgba(0, 102, 51, 0.08);
}

/* Scrolled Header State (Completely Transparent - No Dark Background Bar) */
.kiea-site-header.scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.kiea-site-header.scrolled .kiea-top-bar {
    margin-top: -42px;
    opacity: 0;
    pointer-events: none;
}

.kiea-site-header.scrolled .kiea-nav-capsule {
    padding: 0.4rem 0.8rem;
    border-radius: 0 50px 50px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.kiea-site-header.scrolled .kiea-desktop-menu {
    display: none !important;
}

.kiea-site-header.scrolled .kiea-hamburger-btn {
    display: inline-flex !important;
}

/* Drawer Navigation Overlay & Container */
.kiea-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 11, 20, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.kiea-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.kiea-drawer-menu {
    position: fixed;
    top: 0;
    right: -360px;
    width: 330px;
    max-width: 85vw;
    height: 100vh;
    background: #070b14;
    box-shadow: -10px 0 35px rgba(0,0,0,0.7);
    z-index: 1050;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .kiea-drawer-menu {
    right: auto;
    left: -360px;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.7);
}

.kiea-drawer-menu.active {
    right: 0;
}

[dir="rtl"] .kiea-drawer-menu.active {
    left: 0;
    right: auto;
}

.drawer-nav-wrap a {
    color: #e2e8f0;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: block;
}

.drawer-nav-wrap a:hover {
    color: var(--kiea-emerald);
    background: rgba(255,255,255,0.05);
}

/* Search Modal */
.kiea-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 11, 20, 0.94);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.kiea-search-modal.active {
    display: flex;
}

.kiea-search-close {
    position: absolute;
    top: 35px;
    right: 45px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3.5rem;
    cursor: pointer;
    line-height: 1;
}

.search-modal-input-wrap {
    background: #ffffff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* ==========================================================================
   HERO BANNER & LIGHT MODE HOMEPAGE CARDS
   ========================================================================== */
.kiea-hero-banner {
    padding-top: 175px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #070b14 0%, #0d1322 50%, #004d26 100%);
    position: relative;
    overflow: hidden;
}

.kiea-stat-card-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.kiea-feature-card {
    background: #ffffff;
    border: 1px solid var(--kiea-border);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.35s ease;
    height: 100%;
}

.kiea-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 102, 51, 0.08);
    border-color: rgba(0, 102, 51, 0.3);
}

.icon-box-emerald {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 102, 51, 0.1);
    color: var(--kiea-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.kiea-stat-card {
    background: #ffffff;
    border: 1px solid var(--kiea-border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.kiea-stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--kiea-green);
    font-family: var(--kiea-font-heading);
    line-height: 1;
}

.kiea-team-card {
    background: #ffffff;
    border: 1px solid var(--kiea-border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.kiea-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.kiea-card {
    border: 1px solid var(--kiea-border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.kiea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

/* ==========================================================================
   ULTRA-SLEEK HIGH-CONTRAST FOOTER & FLOATING BACK TO TOP
   ========================================================================== */
.kiea-footer-main {
    background-color: #070b14;
    color: #e2e8f0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading {
    letter-spacing: 1.5px;
    font-size: 0.88rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--kiea-emerald);
    border-radius: 2px;
}

.footer-nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer-nav-links a:hover {
    color: var(--kiea-emerald);
    padding-left: 4px;
}

.kiea-social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.kiea-social-circle:hover {
    background: var(--kiea-green);
    border-color: var(--kiea-green);
    transform: translateY(-3px);
}

.kiea-tag-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 50px;
    padding: 0.3rem 0.7rem;
    font-size: 0.74rem;
    font-family: var(--kiea-font-body);
    transition: all 0.2s ease;
}

.kiea-tag-badge:hover {
    color: var(--kiea-emerald);
    background: rgba(16, 185, 129, 0.15);
}

/* FIXED FLOATING BACK TO TOP BUTTON */
.kiea-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #070b14 0%, #006633 100%);
    border: 2px solid var(--kiea-emerald);
    color: #ffffff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 1080;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.kiea-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kiea-back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, #006633 0%, #10b981 100%);
    box-shadow: 0 12px 30px rgba(0, 102, 51, 0.6);
}

.scroll-percent {
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 2px;
    color: var(--kiea-emerald);
}

.kiea-back-to-top:hover .scroll-percent {
    color: #ffffff;
}

.kiea-dev-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.5rem 0.35rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.kiea-dev-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--kiea-emerald);
}

/* Animated Glowing Gradient Border for Featured Popular Plan Card */
.kiea-card-glowing-popular {
    position: relative;
    z-index: 1;
    border: none !important;
    border-radius: 1rem !important;
}

.kiea-card-glowing-popular::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(60deg, #dc2626, #d97706, #10b981, #006633, #dc2626, #d97706, #10b981);
    background-size: 300% 300%;
    border-radius: 1.2rem;
    z-index: -1;
    animation: kieaGlowBorder 6s ease infinite;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.45), 0 0 35px rgba(220, 38, 38, 0.3);
}

@keyframes kieaGlowBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Floating Back To Top Button */
.kiea-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #006633 0%, #10b981 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 102, 51, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1030;
}

[dir="rtl"] .kiea-back-to-top {
    right: auto;
    left: 30px;
}

.kiea-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kiea-back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 102, 51, 0.6);
    color: #ffffff;
}

.kiea-back-to-top .scroll-percent {
    font-size: 0.62rem;
    font-weight: 700;
    font-family: var(--kiea-font-primary);
    line-height: 1;
    margin-top: 2px;
}

/* Executive Founder & Leadership Showcase Card */
.kiea-founder-card {
    background: #ffffff;
    border-radius: 1.75rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 102, 51, 0.14);
    border: 1px solid rgba(0, 102, 51, 0.15);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    position: relative;
    z-index: 1;
}

.kiea-founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 75px rgba(0, 102, 51, 0.22);
}

.founder-avatar-wrap {
    width: 140px;
    height: 140px;
    position: relative;
}

.founder-avatar-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50% !important;
    box-shadow: 0 12px 35px rgba(0, 102, 51, 0.35);
    border: 4px solid #ffffff !important;
    transition: transform 0.3s ease;
}

.kiea-founder-card:hover .founder-avatar-img {
    transform: scale(1.05);
}

.founder-badge-floating {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #006633 0%, #10b981 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    font-family: var(--kiea-font-primary);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
    border: 2px solid #ffffff;
}

/* Category Pill Badge Links Fix */
.badge.bg-emerald-subtle {
    background-color: #e6f4ed !important;
    border: 1px solid rgba(0, 102, 51, 0.2) !important;
}

.badge.bg-emerald-subtle a {
    color: #006633 !important;
    text-decoration: none !important;
    font-weight: 700;
}

.badge.bg-emerald-subtle a:hover {
    color: #044b25 !important;
    text-decoration: underline !important;
}

/* Star Rating Widget */
.kiea-star-rating-widget {
    font-size: 1.8rem;
    line-height: 1;
}

.kiea-star-rating-widget input[type="radio"] {
    display: none;
}

.kiea-star-rating-widget label {
    color: #ffcc00 !important;
    opacity: 0.45;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 4px;
    font-size: 1.9rem;
}

.kiea-star-rating-widget label:hover,
.kiea-star-rating-widget label:hover ~ label,
.kiea-star-rating-widget input[type="radio"]:checked ~ label {
    color: #ffcc00 !important;
    opacity: 1;
    transform: scale(1.25);
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.9);
}

/* Comment List Reset & Reply Button Pill Styling */
.comment-list,
.comment-list ol,
.comment-list ul,
.comment-list li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--kiea-emerald);
    color: var(--kiea-emerald) !important;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.comment-reply-link:hover {
    background-color: var(--kiea-emerald);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Facebook & GitHub-Style Threaded Nested Comments System */
.comment-list .children {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 1.25rem !important;
    margin-top: 0.75rem !important;
    margin-left: 0.75rem !important;
    border-left: 3px solid var(--kiea-emerald) !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

@media (min-width: 576px) {
    .comment-list .children {
        padding-left: 2.25rem !important;
        margin-left: 1.5rem !important;
    }
}

.comment-list .children > li {
    position: relative;
}

/* Curved Reply Arrow Indicator (↳) */
.comment-list .children > li::before {
    content: "↳";
    position: absolute;
    top: 12px;
    left: -1.45rem;
    color: var(--kiea-emerald);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    z-index: 2;
}

@media (min-width: 576px) {
    .comment-list .children > li::before {
        left: -1.75rem;
        font-size: 1.5rem;
        top: 10px;
    }
}

.comment-list .children .comment-body-card {
    background-color: #f4fbf7 !important;
    border: 1px solid rgba(0, 102, 51, 0.18) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    border-radius: 1rem !important;
}

/* Dashboard Luxury Pill Tabs System */
.kiea-dash-pills .nav-link {
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-weight: 700;
    transition: all 0.25s ease;
}

.kiea-dash-pills .nav-link:hover {
    background-color: #f8fafc;
    color: var(--kiea-emerald);
    border-color: var(--kiea-emerald);
    transform: translateY(-2px);
}

.kiea-dash-pills .nav-link.active {
    background: linear-gradient(135deg, #006633 0%, #10b981 100%) !important;
    color: #ffffff !important;
    border-color: #006633 !important;
    box-shadow: 0 8px 25px rgba(0, 102, 51, 0.25) !important;
}

/* Modern Form Input Controls Design System */
.form-control,
.form-select {
    padding: 0.75rem 1.15rem;
    font-size: 0.95rem;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    background-color: #ffffff;
    color: #0f172a;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #006633;
    box-shadow: 0 0 0 4px rgba(0, 102, 51, 0.12);
    background-color: #ffffff;
    color: #0f172a;
}

.input-group-text {
    border-color: #cbd5e1;
    transition: all 0.2s ease-in-out;
}

.input-group:focus-within .input-group-text {
    border-color: #006633;
    background-color: #e6f4ed !important;
}

.input-group:focus-within .form-control,
.input-group:focus-within .form-select {
    border-color: #006633;
}

/* Luxury Trips & Excursions Cards System */
.kiea-trip-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 102, 51, 0.12) !important;
}

.kiea-trip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 102, 51, 0.12) !important;
    border-color: rgba(0, 102, 51, 0.3) !important;
}

.kiea-trip-card .card-img-top {
    transition: transform 0.5s ease;
}

.kiea-trip-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Animated Luxury Hero Background Slider */
.kiea-hero-banner {
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
    min-height: 520px;
}

.kiea-hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.kiea-hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    animation: kieaHeroKenBurns 18s infinite ease-in-out;
}

.kiea-hero-slide-item:nth-child(1) { animation-delay: 0s; }
.kiea-hero-slide-item:nth-child(2) { animation-delay: 6s; }
.kiea-hero-slide-item:nth-child(3) { animation-delay: 12s; }

@keyframes kieaHeroKenBurns {
    0% { opacity: 0; transform: scale(1); }
    12% { opacity: 0.65; }
    35% { opacity: 0.65; transform: scale(1.08); }
    45% { opacity: 0; transform: scale(1.12); }
    100% { opacity: 0; transform: scale(1); }
}

.kiea-hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(5, 46, 32, 0.78) 50%, rgba(15, 23, 42, 0.92) 100%);
    backdrop-filter: blur(2px);
}

/* Animated Luxury Kenyan Flag Border Effect */
.kiea-kenya-flag-frame {
    position: relative;
    padding: 6px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #000000 0%, #bb0000 30%, #ffffff 50%, #006633 80%, #000000 100%);
    background-size: 300% 300%;
    animation: kenyaFlagGlow 6s ease infinite;
    box-shadow: 0 12px 35px rgba(0, 102, 51, 0.25);
    transition: transform 0.3s ease;
}

.kiea-kenya-flag-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0, 102, 51, 0.35);
}

@keyframes kenyaFlagGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.kiea-kenya-flag-frame .inner-portrait-wrap {
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    height: 100%;
    min-height: 420px;
    background: #0f172a;
}

/* Animated Luxury Shifting Gradient Border for Cards */
.kiea-animated-card-border {
    position: relative;
    border-radius: 1.25rem !important;
    background: #ffffff;
    border: 2px solid transparent !important;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, #006633 0%, #ffcc00 35%, #dc2626 70%, #006633 100%) !important;
    background-origin: border-box !important;
    background-clip: content-box, border-box !important;
    background-size: 200% 200% !important;
    animation: kieaCardBorderShift 5s ease infinite;
    box-shadow: 0 10px 30px rgba(0, 102, 51, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.kiea-animated-card-border:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 45px rgba(0, 102, 51, 0.22) !important;
}

@keyframes kieaCardBorderShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
