@media (max-width: 600px) {
    #preloader .preloader-logo {
        width: 200px;
        height: 200px;
        max-width: 98vw;
        max-height: 98vw;
    }
}

/* Pro Footer Styles & Animations */
.pro-footer {
    position: relative;
    background: linear-gradient(120deg, #388e3c, #1b5e20, #4caf50, #388e3c 90%);
    background-size: 400% 400%;
    animation: footerGradientMove 18s ease infinite;
    overflow: hidden;
    padding: 0;
}
@keyframes footerGradientMove {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}
.footer-bubbles {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.footer-bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.13;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #b6e2c2 100%);
    animation: bubbleFloat 12s linear infinite;
}
.footer-bubble.b1 { width: 60px; height: 60px; left: 10%; bottom: 10%; animation-delay: 0s;}
.footer-bubble.b2 { width: 40px; height: 40px; left: 30%; bottom: 5%; animation-delay: 3s;}
.footer-bubble.b3 { width: 80px; height: 80px; left: 70%; bottom: 12%; animation-delay: 6s;}
.footer-bubble.b4 { width: 30px; height: 30px; left: 80%; bottom: 20%; animation-delay: 1.5s;}
.footer-bubble.b5 { width: 50px; height: 50px; left: 55%; bottom: 8%; animation-delay: 4.5s;}
@keyframes bubbleFloat {
    0% { transform: translateY(0) scale(1);}
    80% { opacity: 0.13;}
    100% { transform: translateY(-120px) scale(1.2); opacity: 0;}
}
.footer-glass-card {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    max-width: 1200px;
    background: rgba(255,255,255,0.10);
    border-radius: 1.5rem;
    box-shadow: 0 8px 40px 0 rgba(44,167,67,0.10), 0 1.5px 8px 0 rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0;
}
.fade-in-footer {
    animation: fadeInFooter 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInFooter {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}
.footer-socials .social-bubble {
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
    box-shadow: 0 0 0 0 #b6e2c2;
}
.footer-socials .social-bubble:hover {
    transform: translateY(-6px) scale(1.15) rotate(-6deg);
    background: #fff;
    color: #388e3c;
    box-shadow: 0 0 18px 4px #b6e2c2;
    animation: socialGlow 1.2s infinite alternate;
}
@keyframes socialGlow {
    0% { box-shadow: 0 0 18px 4px #b6e2c2, 0 0 0 0 #fff;}
    100% { box-shadow: 0 0 28px 10px #fff, 0 0 0 0 #b6e2c2;}
}
.pro-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.footer-brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(76,175,80,0.10);
    transition: transform 0.3s;
}
.footer-brand img:hover {
    transform: scale(1.08) rotate(-4deg);
}
.footer-brand h2 {
    font-family: 'Edu NSW ACT Cursive', cursive;
    font-size: 2rem;
    margin: 0;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 8px #388e3c44;
}
.footer-socials {
    display: flex;
    gap: 1rem;
    margin: 1rem 0 0 0;
}
.social-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.2s, color 0.2s;
}
.dropdown-header {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 0.5px;
}
.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.dropdown-content a {
    color: #fff;
    text-decoration: none;
    padding: 0.3rem 0;
    border-radius: 0.3rem;
    transition: background 0.2s, color 0.2s;
}
.dropdown-content a:hover {
    background: #b6e2c2;
    color: #256029;
}
.dropdown-content p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.13);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #e0ffe0;
    font-size: 0.97rem;
    letter-spacing: 0.5px;
}
/* Hide Quick Links and Categories on mobile */
@media (max-width: 768px) {
    .footer-hide-mobile {
        display: none !important;
    }
    .pro-footer .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .brand-section, .contact-section {
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
    }
    .footer-brand {
        justify-content: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-glass-card {
        padding: 2rem 0.5rem 1rem 0.5rem;
    }
}

/* Scroll Effect */
.scroll-fx,
.scroll-fx.scrolled-in {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
}

/* --- Kiwi Hero Section --- */
.kiwi-hero {
    margin-top: 120px; /* Increased for desktop */
    width: 100%;
    min-height: 520px;
    background: linear-gradient(120deg, #e8f5e9 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0 2rem 0;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}
.kiwi-hero-inner {
    display: flex;
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    align-items: stretch;
    justify-content: center;
}
.kiwi-hero-banner {
    flex: 1.2 1 0;
    min-width: 0;
    position: relative;
    border-radius: 0; /* Remove rounded corners */
    overflow: hidden;
    box-shadow: 0 8px 32px 0 #4caf5022, 0 2px 8px 0 #b6e2c2;
    background: #fff;
    display: flex;
    align-items: stretch;
    min-height: 820px;
    max-height: 1100px;
    height: 900px;
    width: 70vw;
    max-width: 1100px;
}
.kiwi-hero-slider {
    display: flex;
    width: 100%;
    height: 900px;
    overflow: hidden;
    position: relative;
    border-radius: 0; /* Remove rounded corners */
    transition: none !important;
    min-height: 820px;
    max-height: 1100px;
}
.kiwi-hero-slide {
    min-width: 100%;
    height: 900px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    z-index: 0;
    border-radius: 0; /* Remove rounded corners */
    transition: opacity 1s cubic-bezier(.4,0,.2,1), z-index 0s 1s;
    pointer-events: none;
    min-height: 820px;
    max-height: 1100px;
}
.kiwi-hero-slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
    transition: opacity 1s cubic-bezier(.4,0,.2,1), z-index 0s;
}
.kiwi-hero-content {
    background: rgba(255, 255, 255, 0.696);
    padding: 2.2rem 2.5rem 2.2rem 2.5rem;
    border-radius: 1.5rem;
    margin: 2.5rem;
    box-shadow: 0 4px 24px #b6e2c244;
    max-width: 420px;
    animation: heroContentFloat 2.2s cubic-bezier(.4,0,.2,1) infinite alternate;
}
@keyframes heroContentFloat {
    0% { transform: translateY(0);}
    100% { transform: translateY(-10px);}
}
.kiwi-hero-content h1 {
    font-family: 'Edu NSW ACT Cursive', cursive;
    font-size: 2.2rem;
    color: #2d5016;
    margin-bottom: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #b6e2c244;
}
.kiwi-hero-content p {
    font-size: 1.1rem;
    color: #388e3c;
    margin-bottom: 1.2rem;
}
.kiwi-hero-btn {
    display: inline-block;
    background: linear-gradient(90deg, #4caf50 60%, #b6e2c2 100%);
    color: #fff;
    font-weight: bold;
    border-radius: 1.2rem;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 2px 12px #4caf5012;
    transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
    border: none;
    outline: none;
    cursor: pointer;
}
.kiwi-hero-btn:hover, .kiwi-hero-btn:focus {
    background: linear-gradient(90deg, #388e3c 60%, #4caf50 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 18px #4caf5022;
}

/* Slider nav */
.kiwi-hero-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    transform: translateY(-50%);
}
.kiwi-hero-slider-arrow {
    pointer-events: all;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    color: #388e3c;
    box-shadow: 0 2px 8px #b6e2c244;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1vw;
}
.kiwi-hero-slider-arrow:hover {
    background: #4caf50;
    color: #fff;
    transform: scale(1.08);
}

/* --- Kiwi Hero Slider Pagination Buttons --- */
.kiwi-hero-slider-pagination {
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.7em;
    z-index: 10;
    pointer-events: none;
}
.kiwi-hero-slider-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #4caf50;
    opacity: 0.7;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
    box-shadow: 0 2px 8px #4caf5012;
}
.kiwi-hero-slider-dot.active {
    background: #4caf50;
    border-color: #388e3c;
    opacity: 1;
}

/* Right side: Countdown & Tiles */
.kiwi-hero-side {
    flex: 0.9 1 0;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    justify-content: flex-start;
}

/* --- Modern Countdown Redesign: Pro, Sri Lanka Time, Animated, Image BG --- */
.kiwi-hero-countdown-card {
    position: relative;
    background: rgba(255, 255, 255, 0);
    border-radius: 2.2rem;
    box-shadow: 0 8px 40px 0 #4caf5022, 0 1.5px 8px 0 #b6e2c2;
    backdrop-filter: blur(16px) saturate(180%);
    border: 3px solid rgba(76,175,80,0.22);
    padding: 2.8rem 2.2rem 2.2rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
    min-width: 0;
    z-index: 2;
    overflow: hidden;
    animation: countdownGlow 3.5s linear infinite alternate;
}
.kiwi-hero-countdown-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
    opacity: 0.22;
    filter: blur(1.5px) saturate(1.2);
    pointer-events: none;
}
@keyframes countdownGlow {
    0% { box-shadow: 0 0 0 0 #4caf5022, 0 8px 40px 0 #4caf5022; border-color: #4caf50; }
    50% { box-shadow: 0 0 32px 8px #b6e2c2cc, 0 8px 40px 0 #4caf5022; border-color: #b6e2c2; }
    100% { box-shadow: 0 0 0 0 #4caf5022, 0 8px 40px 0 #4caf5022; border-color: #4caf50; }
}
.kiwi-hero-countdown-label {
    font-size: 1.3rem;
    color: #4caf50;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: 0.7px;
    font-family: 'Edu NSW ACT Cursive', 'Segoe UI', Arial, sans-serif;
    text-transform: uppercase;
    text-shadow: 0 2px 8px #b6e2c244;
    z-index: 2;
}
.kiwi-hero-countdown-timer {
    display: flex;
    gap: 0.5em;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0);
    border-radius: 1.5rem;
    padding: 1.1rem 2.8rem;
    box-shadow: 0 2px 24px #b6e2c288, 0 0 0 2px #4caf5022 inset;
    border: 2.5px solid #b6e2c2;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    margin-bottom: 0.2rem;
    position: relative;
    z-index: 2;
    min-width: 260px;
    animation: countdownShadowPulse 2.8s cubic-bezier(.4,0,.2,1) infinite alternate;
    overflow: visible;
}
@keyframes countdownShadowPulse {
    0% { box-shadow: 0 2px 24px #b6e2c288, 0 0 0 2px #4caf5022 inset; }
    60% { box-shadow: 0 8px 40px #4caf5044, 0 0 0 4px #b6e2c244 inset; }
    100% { box-shadow: 0 2px 24px #b6e2c288, 0 0 0 2px #4caf5022 inset; }
}
/* Flip digit animation */
.kiwi-hero-countdown-timer .flip-digit {
    display: inline-block;
    perspective: 120px;
    min-width: 2.3ch;
    min-height: 2.5em;
    margin: 0 0.1em;
    position: relative;
}
.kiwi-hero-countdown-timer .flip-digit-inner {
    display: block;
    font-size: 2.8rem;
    font-family: 'Edu NSW ACT Cursive', 'Segoe UI', Arial, sans-serif;
    color: #222;
    font-weight: 900;
    background: linear-gradient(120deg, #ffffff00 60%, #b6e2c200 100%);
    border-radius: 0.7em;
    box-shadow: 0 2px 12px #b6e2c244;
    text-align: center;
    padding: 0.1em 0.3em;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
    will-change: transform;
    animation: flipIn 0.7s cubic-bezier(.4,0,.2,1);
}
@keyframes flipIn {
    0% { transform: rotateX(90deg) scale(0.8); opacity: 0.3;}
    60% { transform: rotateX(-20deg) scale(1.08); opacity: 1;}
    100% { transform: rotateX(0deg) scale(1); opacity: 1;}
}
.kiwi-hero-countdown-timer .flip-digit-inner.glow {
    box-shadow: 0 0 18px 4px #b6e2c200, 0 2px 12px #4caf5022;
    background: linear-gradient(90deg, #b6e2c200 60%rgba(255, 255, 255, 0)ff 100%);
    color: #4caf50;
    animation: flipGlow 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes flipGlow {
    0% { box-shadow: 0 0 0 0 #b6e2c200; }
    100% { box-shadow: 0 0 18px 4px #b6e2c200; }
}
.kiwi-hero-countdown-timer .colon {
    font-size: 2.8rem;
    color: #b6e2c200;
    font-weight: 900;
    margin: 0 0.1em;
    opacity: 0.7;
    text-shadow: 0 2px 8px #b6e2c244;
    vertical-align: middle;
    user-select: none;
}
/* Responsive adjustments */
@media (max-width: 700px) {
    .kiwi-hero-countdown-card {
        padding: 1.2rem 0.5rem 0.7rem 0.5rem;
        border-radius: 1.2rem;
    }
    .kiwi-hero-countdown-label {
        font-size: 1.05rem;
        margin-bottom: 0.7rem;
    }
    .kiwi-hero-countdown-timer {
        font-size: 1.1rem;
        min-width: 120px;
        padding: 0.5rem 0.7rem;
        border-radius: 1rem;
    }
    .kiwi-hero-countdown-timer .flip-digit-inner,
    .kiwi-hero-countdown-timer .colon {
        font-size: 1.5rem;
    }
}

/* --- Kiwi Hero Tiles Modern Redesign --- */
.kiwi-hero-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem;
    width: 100%;
}
.kiwi-hero-tile {
    position: relative;
    min-height: 220px;
    border-radius: 1.3rem;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    box-shadow: 0 4px 24px #b6e2c244, 0 2px 8px #4caf5012;
    cursor: pointer;
    background: #fff;
    padding: 0;
    margin: 0;
    transition: box-shadow 0.2s, transform 0.18s;
}
.kiwi-hero-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 0;
    transition: filter 0.2s;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}
.kiwi-hero-tile::after {
    display: none !important;
}
.kiwi-hero-tile:hover img {
    filter: brightness(1.08) saturate(1.2) blur(0.5px);
}
.kiwi-tile-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.5rem 1.5rem 1.7rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
    justify-content: flex-end;
    background: none;
    margin: 0;
    min-height: 0;
}
.kiwi-tile-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 12px #000c, 0 1px 2px #fff2;
    letter-spacing: 0.5px;
    font-family: 'Edu NSW ACT Cursive', 'Segoe UI', Arial, sans-serif;
}
.kiwi-tile-btn {
    background: rgba(44,167,67,0.92);
    color: #fff;
    border-radius: 0.8rem;
    padding: 0.5rem 1.5rem;
    font-size: 1.08rem;
    text-decoration: none;
    font-weight: 700;
    border: none;
    outline: none;
    box-shadow: 0 1px 8px #4caf5022;
    transition: background 0.2s, color 0.2s, transform 0.18s;
    cursor: pointer;
    margin-top: 0.3rem;
    text-shadow: 0 2px 8px #0008;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.kiwi-tile-btn:hover, .kiwi-tile-btn:focus {
    background: #388e3c;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}
.kiwi-tile-school,
.kiwi-tile-office {
    border-left: none;
    background: none;
}

@media (max-width: 700px) {
    .kiwi-hero-tiles {
        grid-template-columns: 1fr !important;
        gap: 1.3rem !important;
    }
    .kiwi-hero-tile {
        min-height: 220px !important;
        height: 220px !important;
        border-radius: 1.3rem !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
        overflow: hidden !important;
        box-shadow: 0 4px 24px #b6e2c244, 0 2px 8px #4caf5012 !important;
        background: #fff !important;
        position: relative !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .kiwi-hero-tile img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: inherit !important;
        z-index: 0 !important;
        background: #f8f9fa !important;
        margin: 0 !important;
        padding: 0 !important;
        filter: none !important;
    }
    .kiwi-tile-content {
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        padding: 1.5rem 1.5rem 1.7rem 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.7rem !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        background: none !important;
        margin: 0 !important;
        min-height: 0 !important;
    }
    .kiwi-tile-title {
        font-size: 1.25rem !important;
    }
    .kiwi-tile-btn {
        font-size: 1.08rem !important;
        padding: 0.5rem 1.5rem !important;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .kiwi-hero-inner {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .kiwi-hero-banner, .kiwi-hero-side {
        max-width: 100%;
        width: 100%;
    }
    .kiwi-hero-banner {
        min-height: 320px;
        max-height: 420px;
    }
}
@media (max-width: 700px) {
    .kiwi-hero {
        padding: 0.5rem 0 1.2rem 0 !important;
        min-height: 0 !important;
        margin-top: 0px !important; /* Decreased for mobile */
    }
    .kiwi-hero-inner {
        flex-direction: column;
        gap: 1.2rem;
        max-width: 99vw;
        padding: 0 0.2rem;
    }
    .kiwi-hero-banner {
        border-radius: 1.2rem;
        min-height: 180px;
        max-height: 260px;
    }
    .kiwi-hero-content {
        padding: 1.1rem 1.2rem;
        margin: 1.2rem;
        border-radius: 1rem;
        max-width: 99vw;
    }
    .kiwi-hero-content h1 {
        font-size: 1.2rem;
    }
    .kiwi-hero-countdown-card {
        padding: 1.1rem 0.7rem 0.7rem 0.7rem;
        border-radius: 1rem;
    }
    .kiwi-hero-countdown-timer {
        font-size: 1.2rem;
        min-width: 110px;
        padding: 0.3rem 0.7rem;
    }
    .kiwi-hero-tile img {
        width: 56px;
        height: 56px;
        border-radius: 1rem 0 0 1rem;
    }
    .kiwi-tile-content {
        padding: 0.7rem 0.7rem 0.8rem 0.7rem;
    }
    .kiwi-hero-tile {
        border-radius: 1rem;
        min-height: 56px;
    }
    .kiwi-hero-tiles {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .kiwi-tile-title {
        font-size: 0.95rem;
    }
    .kiwi-tile-btn {
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }
}

/* --- Hero Slider Responsive Height --- */
.kiwi-hero-banner,
.kiwi-hero-slider,
.kiwi-hero-slide {
    height: 100%;
    min-height: 420px;
    max-height: 620px;
}
@media (max-width: 700px) {
    .kiwi-hero-banner,
    .kiwi-hero-slider,
    .kiwi-hero-slide {
        min-height: 340px !important;
        height: 340px !important;
        max-height: none !important;
        
    }
    .kiwi-hero {
        min-height: 0 !important;
        padding: 0.5rem 0 1.2rem 0 !important;
        
    }
}

/* --- Kiwi Hero Section: Full-fill, Larger Banner & Tiles, Less Gap (Desktop) --- */
@media (min-width: 1101px) {
    .kiwi-hero {
        /* Remove side paddings for full-fill effect */
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100vw !important;
        width: 100vw !important;
    }
    .kiwi-hero-inner {
        /* Reduce gap between banner and tiles */
        gap: 1.2rem !important;
        /* Stretch to full width */
        max-width: 100vw !important;
        width: 100vw !important;
        padding-left: 2.5vw !important;
        padding-right: 2.5vw !important;
    }
    .kiwi-hero-banner {
        /* Make banner container larger */
        min-width: 0 !important;
        max-width: none !important;
        width: 75vw !important;
        min-height: 640px !important;
        max-height: 1200px !important;
        height: 640px !important;
        max-width: 1300px !important;
    }
    .kiwi-hero-slider,
    .kiwi-hero-slide {
        min-height: 640px !important;
        max-height: 1200px !important;
        height: 640px !important;
        width: 100% !important;
    }
    .kiwi-hero-content {
        /* Optionally increase content card size */
        max-width: 540px !important;
        padding: 3rem 3.5rem 3rem 3.5rem !important;
        margin: 3.5rem !important;
    }
    .kiwi-hero-side {
        /* Make tiles column larger */
        min-width: 420px !important;
        max-width: 600px !important;
        width: 38vw !important;
        gap: 2rem !important;
    }
    .kiwi-hero-tiles {
        gap: 2.2rem !important;
    }
    .kiwi-hero-tile {
        min-height: 320px !important;
        height: 320px !important;
        border-radius: 2rem !important;
        font-size: 1.15rem !important;
    }
    .kiwi-tile-content {
        padding: 2.2rem 2.2rem 2.5rem 2.2rem !important;
    }
    .kiwi-tile-title {
        font-size: 1.45rem !important;
    }
    .kiwi-tile-btn {
        font-size: 1.18rem !important;
        padding: 0.7rem 2.2rem !important;
    }
}

/* Hero right-side stacked images (plain text overlay, no background) */
.kiwi-hero-images-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 2rem;
}
.kiwi-hero-image-box {
    position: relative;
    width: 450px;
    height: 200px;
    border-radius: 0; /* Remove rounded corners */
    overflow: hidden;
    box-shadow: 0 4px 24px #b6e2c244, 0 2px 8px #4caf5012;
    background: #f8f9fa;
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
}
.kiwi-hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0; /* Remove rounded corners */
}
.kiwi-hero-image-text {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 1.1rem 1.5rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    text-shadow: 0 2px 8px #000a;
    letter-spacing: 0.5px;
    border-radius: 0; /* Remove rounded corners */
    box-sizing: border-box;
    background: none !important;
}

/* Responsive: stack below slider on mobile */
@media (max-width: 1100px) {
    .kiwi-hero-inner {
        flex-direction: column;
        align-items: center;
    }
    .kiwi-hero-images-col {
        flex-direction: row;
        gap: 1rem;
        margin-left: 0;
        margin-top: 1.5rem;
        width: 100%;
        justify-content: center;
    }
    .kiwi-hero-image-box {
        width: 48vw;
        min-width: 180px;
        max-width: 340px;
        height: 120px;
    }
    .kiwi-hero-image-text {
        font-size: 1rem;
        padding: 0.7rem 1rem;
        border-radius: 0 0 1rem 1rem;
    }
}
@media (max-width: 700px) {
    .kiwi-hero-images-col {
        flex-direction: column;
        gap: 0.7rem;
        margin-left: 0;
        margin-top: 1.2rem;
        width: 100%;
        align-items: center;
    }
    .kiwi-hero-image-box {
        width: 98vw;
        max-width: 99vw;
        height: 100px;
        border-radius: 0.7rem;
    }
    .kiwi-hero-image-text {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
        border-radius: 0 0 0.7rem 0.7rem;
    }
}

/* New Hero Section Styles */
.hero-section {
    margin-top: 80px;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e9 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #2d5016;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: 'Edu NSW ACT Cursive', cursive;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #388e3c;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.cta-primary, .cta-secondary {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-primary {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-secondary {
    background: white;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.quick-categories {
    display: flex;
    gap: 1rem;
}

.category-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 50px;
    color: #388e3c;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.category-tag:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

.hero-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.slider-container {
    aspect-ratio: 4/3;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slide-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #FF5722;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.slider-nav {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: #4CAF50;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #4CAF50;
    color: white;
}

.category-highlights {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.highlight-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.highlight-card:hover img {
    transform: scale(1.1);
}

.card-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    background: #4CAF50;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-cta, .quick-categories {
        justify-content: center;
    }

    .category-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .category-highlights {
        grid-template-columns: 1fr;
    }
}

/* --- Mobile Sidebar Styles --- */
.mobile-sidebar-backdrop {
    display: none;
    position: fixed;
    z-index: 30000;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44,167,67,0.13);
    transition: opacity 0.3s;
}
.mobile-sidebar-backdrop.active {
    display: block;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 24px #4caf5022;
    z-index: 30001;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.2rem 1.2rem 1.2rem;
}
.mobile-sidebar.active {
    transform: translateX(0);
}
.mobile-sidebar-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #388e3c;
    cursor: pointer;
}
.mobile-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove gap between links */
    margin-top: 2.5rem;
}
.mobile-sidebar-link {
    font-size: 1.15rem;
    color: #2d5016;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.5rem;
    border-radius: 0.7rem;
    transition: background 0.18s, color 0.18s;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-sidebar-link:hover,
.mobile-sidebar-link:focus {
    background: #e8f5e9;
    color: #388e3c;
}
.mobile-sidebar-link .arrow {
    font-size: 1.1em;
    color: #4caf50;
    margin-left: 0.5em;
}
.mobile-sidebar-divider {
    height: 1px;
    background: #e8f5e9;
    margin: 1.2rem 0;
}

/* Hamburger Icon */
.mobile-hamburger {
    display: none;
    position: fixed;
    top: 1.2rem;
    left: 1.2rem;
    z-index: 31000;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px #4caf5012;
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.mobile-hamburger:active,
.mobile-hamburger:focus {
    background: #e8f5e9;
}
.mobile-hamburger i {
    font-size: 1.7rem;
    color: #388e3c;
}

@media (max-width: 900px) {
    .mobile-hamburger {
        display: flex;
    }
}

/* Hide header when sidebar is open */
@media (max-width: 900px) {
    body.sidebar-open .header {
        display: none !important;
    }
}

/* Sidebar Category Levels */
.mobile-sidebar-cat-btn {
    background: #f7faf7;
    color: #256029;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.7em;
}
.mobile-sidebar-cat-btn .arrow {
    color: #388e3c;
}
.mobile-sidebar-cat-item {
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    outline: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 1.05rem;
    background: #fff;
    color: #2d5016;
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 0.6rem 0.7rem;
    transition: background 0.15s, color 0.15s;
}
.mobile-sidebar-cat-item.has-arrow .arrow {
    color: #4caf50;
}
.mobile-sidebar-cat-item.active,
.mobile-sidebar-cat-item:focus {
    background: #e8f5e9;
    color: #256029;
}
.mobile-sidebar-cat-item:hover {
    background: #f2fdf6;
    color: #388e3c;
}
.mobile-sidebar-cat-item.cat-parent {
    font-weight: 600;
    font-size: 1.09rem;
    padding-left: 0.7rem;
}
.mobile-sidebar-cat-item.cat-sub {
    font-weight: 500;
    font-size: 1.03rem;
    padding-left: 1.5rem;
}
.mobile-sidebar-cat-item.cat-subsub {
    font-weight: 400;
    font-size: 0.98rem;
    padding-left: 2.3rem;
}
#mobileSidebarCategoryTree {
    background: #f7faf7;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 1px 4px #e0e0e0;
}
.mobile-sidebar-back {
    font-size: 1.03rem;
    color: #388e3c;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    padding: 0.6rem 0.5rem;
    border-radius: 0.5rem;
    margin-bottom: 0.2rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.mobile-sidebar-back:hover,
.mobile-sidebar-back:focus {
    background: #e8f5e9;
    color: #256029;
}

/* Sidebar Brand Levels: use same as category for simplicity */
#mobileSidebarBrandTree {
    background: #f7faf7;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 1px 4px #e0e0e0;
}

/* --- Shop by Category Box Grid --- */
.categories-box-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2rem;
    padding: 1.5rem 2vw 2rem 2vw;
    justify-items: center;
    align-items: stretch;
    overflow-x: visible;
}
.category-box {
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 2px 12px #4caf5012;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 160px;
    min-width: 0;
    cursor: pointer;
    transition: box-shadow 0.18s, transform 0.18s;
    overflow: hidden;
}
.category-box:hover {
    box-shadow: 0 6px 24px #4caf5022;
    transform: translateY(-4px) scale(1.04);
}
.category-box-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 1.1rem 1.1rem 0 0;
    background: #f8f9fa;
    display: block;
}
.category-box-name {
    font-size: 1rem;
    color: #2d5016;
    font-weight: 600;
    text-align: center;
    padding: 0.9rem 0.5rem 1rem 0.5rem;
    background: none;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove old disk row styles for .categories-row if using .categories-box-row */
.categories-row.categories-box-row {
    overflow-x: visible;
    scrollbar-width: none;
}
.categories-row.categories-box-row::-webkit-scrollbar {
    display: none;
}

/* Responsive: 5 columns on mobile, no scroll */
@media (max-width: 700px) {
    .categories-box-row {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.7rem;
        padding: 1rem 0.2rem 1.2rem 0.2rem;
    }
    .category-box {
        max-width: 99vw;
        min-width: 0;
    }
    .category-box-img {
        height: 54px;
        border-radius: 0.7rem 0.7rem 0 0;
    }
    .category-box-name {
        font-size: 0.82rem;
        padding: 0.6rem 0.2rem 0.7rem 0.2rem;
    }
}