/* =========================================================================
   PUREEN BRAND STYLESHEET
   PREMIUM ECO-FRIENDLY DESIGN
   ========================================================================= */

/* --- Variables & Theming --- */
:root {
    --primary: #00A651;
    /* More vibrant emerald green */
    --primary-hover: #00C853;
    --secondary: #004D40;
    /* Deep teal/forest green */
    --accent: #E0F2F1;
    /* Minty Breeze */
    --bg-main: #F4F7F6;
    --bg-dark: #00241B;
    --bg-glass: rgba(255, 255, 255, 0.6);
    --bg-glass-dark: rgba(0, 36, 27, 0.7);
    --text-dark: #1A2F2B;
    --text-muted: #546E66;
    --text-light: #F0F4F3;
    --text-light-muted: #B2C7C0;
    --border-glass: rgba(255, 255, 255, 0.4);
    --border-glass-dark: rgba(255, 255, 255, 0.1);
    --white: #FFFFFF;

    --shadow-soft: 0 10px 40px -10px rgba(0, 166, 81, 0.2);
    --shadow-glass: 0 8px 32px 0 rgba(0, 36, 27, 0.04);
    --shadow-card: 0 20px 40px -12px rgba(0, 36, 27, 0.1);
    --shadow-premium: 0 30px 60px -12px rgba(0, 0, 0, 0.12), 0 18px 36px -18px rgba(0, 0, 0, 0.15);

    --transition-fast: 0.2s ease-out;
    --transition-normal: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-slow: 1.2s cubic-bezier(0.23, 1, 0.32, 1);

    --font-en: 'Outfit', sans-serif;
    --font-kr: 'Pretendard', sans-serif;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-kr);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grainy texture overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.align-center {
    text-align: center;
}

.text-light {
    color: var(--text-light) !important;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-kr);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-en);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(15, 157, 88, 0.1);
    border-radius: 50px;
}

.section-badge.light {
    color: var(--accent);
    background: rgba(165, 214, 167, 0.15);
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.grainy-gradient {
    position: relative;
    overflow: hidden;
}

.grainy-gradient::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Animations & Reveal --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Animations & Utilities --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}


.delay-3 {
    animation-delay: 0.45s;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    filter: blur(1.5px);
    opacity: 0.4;
    transition: transform var(--transition-slow);
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(25px, -35px) rotate(15deg);
    }

    66% {
        transform: translate(-15px, -55px) rotate(-10deg);
    }
}

.leaf-shape {
    width: 32px;
    height: 48px;
    background: var(--primary);
    clip-path: ellipse(50% 100% at 50% 100%);
    border-radius: 0 80% 0 80%;
    animation: float-slow 10s infinite ease-in-out;
}

.water-shape {
    width: 22px;
    height: 22px;
    background: rgba(0, 166, 81, 0.15);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: float-slow 8s infinite alternate ease-in-out;
}

/* --- Buttons --- */
.btn-primary,
.btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.8rem;
    background: var(--primary);
    color: #FFFFFF !important;
    font-weight: 700;
    line-height: 1;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary-large:hover {
    transform: translateY(-4px);
    background: var(--primary-hover);
    box-shadow: 0 15px 35px -10px rgba(8, 140, 66, 0.35);
    color: #FFFFFF !important;
}

.btn-primary-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-glass);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo img {
    height: 45px;
    /* Adjust as needed */
    width: auto;
    display: block;
}


.nav-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(to bottom, #E8F5E9, #F4F9F6);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(250, 250, 250, 0.95) 0%, rgba(250, 250, 250, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    z-index: 10;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    text-align: left;
}

@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }
}

.hero-eyebrow {
    font-family: var(--font-en);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--secondary);
    margin-bottom: 2rem;
    line-height: 1.15;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0;
}

.hero-actions .secondary-btn {
    background: transparent;
    color: var(--text-dark) !important;
    border: 2px solid var(--primary);
    box-shadow: none;
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
}

.hero-text-wrapper {
    max-width: 600px;
    text-align: left;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    animation: bounce 2s infinite ease-in-out;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--secondary);
    border-radius: 20px;
    position: relative;
    margin-bottom: 8px;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
}

.scroll-indicator span {
    font-family: var(--font-en);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 10px);
    }
}

/* --- Problem Section --- */
.problem-section {
    background: var(--bg-main);
}

.problem-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.problem-card h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.problem-solution-text {
    text-align: center;
    font-size: 1.5rem;
    color: var(--secondary);
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(244, 249, 246, 0.4));
    border-radius: 20px;
    border: 1px solid rgba(15, 157, 88, 0.1);
}

.problem-solution-text strong {
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
    font-size: 1.8rem;
}

/* --- Technology Section --- */
.dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.tech-section {
    position: relative;
}

.tech-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 157, 88, 0.15) 0%, transparent 70%);
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border-radius: 50%;
    pointer-events: none;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.tech-desc {
    font-size: 1.15rem;
    color: var(--text-light-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.tech-list li {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
}

.tech-icon-check {
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.tech-list strong {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.tech-list span {
    color: var(--text-light-muted);
}

/* Tech Visual CSS Art */
.tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.tech-sphere {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(15, 157, 88, 0.6);
    animation: pulse-glow 3s infinite alternate;
}

.orbit {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 2px solid rgba(165, 214, 167, 0.2);
    border-radius: 50%;
    animation: spin 15s linear infinite;
}

.orbit::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.orbit2 {
    width: 320px;
    height: 320px;
    animation-direction: reverse;
    animation-duration: 25s;
    border-color: rgba(165, 214, 167, 0.1);
}

.orbit2::before {
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    background: var(--accent);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 20px rgba(15, 157, 88, 0.4);
        transform: scale(0.95);
    }

    100% {
        box-shadow: 0 0 50px rgba(165, 214, 167, 0.8);
        transform: scale(1.05);
    }
}

/* --- Story & Character Section --- */
.story-section {
    background: linear-gradient(to bottom, var(--bg-main), #ffffff);
}

.brand-origin {
    text-align: center;
    margin-bottom: 8rem;
}

.big-brand-name {
    font-family: var(--font-en);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px rgba(15, 157, 88, 0.15);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.origin-desc {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.mascot-showcase {
    display: flex;
    align-items: center;
    gap: 5rem;
    background: var(--bg-main);
    border-radius: 40px;
    padding: 4rem;
    box-shadow: var(--shadow-card);
}

.mascot-text {
    flex: 1;
}

.mascot-text .section-badge {
    color: var(--white);
    background: var(--primary);
}

.mascot-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.mascot-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image Mascot - Moroo */
.mascot-blob-container {
    width: 320px;
    height: 320px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.mascot-blob {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 166, 81, 0.2));
    animation: float-slow 4s ease-in-out infinite;
    transition: transform 0.3s ease-out;
}

.mascot-secondary {
    position: absolute;
    bottom: -30px;
    right: 20px;
    width: 150px;
    z-index: 10;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    opacity: 0.9;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

.blob-eye::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.blob-eye.left {
    left: 50px;
}

.blob-eye.right {
    right: 50px;
}

.blob-smile {
    width: 24px;
    height: 12px;
    border-bottom: 4px solid var(--bg-dark);
    border-radius: 0 0 50px 50px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.leaf {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%) rotate(15deg);
    width: 30px;
    height: 40px;
    background: var(--primary-hover);
    border-radius: 0 50px 0 50px;
    transform-origin: bottom center;
    animation: leaf-sway 3s infinite alternate ease-in-out;
    box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.2);
}

@keyframes blobify {
    0% {
        border-radius: 50% 50% 45% 45% / 55% 55% 40% 40%;
    }

    50% {
        border-radius: 45% 55% 55% 45% / 45% 45% 55% 55%;
    }

    100% {
        border-radius: 55% 45% 40% 50% / 50% 55% 45% 40%;
    }
}

@keyframes float_mascot {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes blink {

    0%,
    96%,
    98% {
        transform: scaleY(1);
    }

    97% {
        transform: scaleY(0.1);
    }
}

@keyframes leaf-sway {
    0% {
        transform: translateX(-50%) rotate(5deg);
    }

    100% {
        transform: translateX(-50%) rotate(25deg);
    }
}

/* --- Crowdfunding Section --- */
.crowd-section {
    background: #ffffff;
}

.crowd-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 5rem 0;
    text-align: center;
}

.stat-item {
    padding: 3rem;
    background: var(--bg-main);
    border-radius: 30px;
    transition: var(--transition-normal);
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-card);
    background: linear-gradient(135deg, #E8F5E9, #F4F9F6);
}

.stat-value {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem;
    border-radius: 30px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 40px rgba(19, 61, 47, 0.2);
}

.quote-icon {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 40px;
}

.quote {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.quote strong {
    color: var(--accent);
    font-weight: 600;
}

.author {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
}

/* --- Trust Section --- */
.trust-section {
    position: relative;
    overflow: hidden;
}

.carbon-counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0 6rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.carbon-visual {
    font-size: 4rem;
    animation: float_mascot 3s infinite ease-in-out;
}

.carbon-text p {
    font-size: 1.1rem;
    color: var(--text-light-muted);
    margin-bottom: 0.5rem;
}

.live-counter {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -2px;
}

.certifications {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cert-badge {
    text-align: center;
    padding: 2.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.cert-badge:hover {
    background: rgba(15, 157, 88, 0.2);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cert-badge p {
    font-weight: 500;
    font-size: 1rem;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--bg-main), #ffffff);
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-family: var(--font-en);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-light-muted);
    font-size: 1.1rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-light-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light-muted);
    font-size: 0.9rem;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    color: var(--text-light-muted);
    font-weight: 500;
    transition: var(--transition-fast);
}

.socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}



.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {

    .two-col,
    .mascot-showcase {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .mascot-showcase {
        text-align: center;
        gap: 3rem;
        padding: 3rem 2rem;
    }

    .stats-grid {
        gap: 1.5rem;
    }

    .certifications {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    /* Previously nav-links were hidden here, removed to allow the new mobile menu */

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Mobile Navigation --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        /* Below navbar */
        flex-direction: column;
        background-color: var(--bg-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: 0.4s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        justify-content: flex-start;
        padding-top: 5rem;
        gap: 2rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* --- Blog Auto Grid (Masonry-like) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 250px;
    grid-gap: 1.5rem;
    padding-top: 2rem;
}

.blog-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.blog-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-item:hover img {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition-normal);
}

.blog-item:hover .blog-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* --- Contact Form UI --- */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: var(--bg-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(129, 199, 132, 0.1);
}


.form-submit {
    width: 100%;
    margin-top: 1rem;
}


/* --- Brand Story Curation --- */
.brand-curation {
    background: #fff;
    padding: 120px 0;
    overflow: hidden;
}

.curation-mission {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.curation-image {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.curation-text h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.curation-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.impact-card {
    background: #F4F9F6;
    padding: 0;
    border-radius: 32px;
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(15, 157, 88, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.impact-card:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-visual {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-card:hover .card-visual img {
    transform: scale(1.1);
}

.card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.impact-card .number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-logo {
    height: 40px;
    /* Adjust as needed */
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.impact-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.wadiz-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #E8F5E9;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    .curation-mission {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Blog Alignment & Navigation Improvements */
.ql-align-center {
    text-align: center;
}

.ql-align-right {
    text-align: right;
}

.ql-align-justify {
    text-align: justify;
}

.floating-back-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(129, 199, 132, 0.4);
    transition: all 0.3s ease, bottom 0.1s linear;
    z-index: 2000;
    font-size: 1.5rem;
    font-weight: bold;
}

.floating-back-btn:hover {
    transform: scale(1.1);
    background: var(--secondary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.floating-back-btn svg {
    display: block;
}

@media (max-width: 768px) {
    .floating-back-btn {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}