:root {
    --color-forest: #234d3d;
    /* Deep, calming green */
    --color-sage: #5e7a6d;
    /* Soft textual green */
    --color-soft-green: #e6efe9;
    /* Light background wash */
    --color-warm-sand: #f8f6f0;
    /* Off-white, warm */
    --color-white: #ffffff;
    --color-accent: #d27c65;
    /* Warm terracotta/orange for subtle focus */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-warm-sand);
    color: var(--color-forest);
    font-family: 'Inter', 'Noto Sans Georgian', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
.text-center {
    text-align: center;
}

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

.tracking-tight {
    letter-spacing: -0.03em;
}

.leading-tight {
    line-height: 1.1;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
    letter-spacing: -0.02em;
}

.text-4xl {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .md\:text-6xl {
        font-size: 3.75rem;
    }

    .md\:text-4xl {
        font-size: 2.25rem;
    }
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.text-forest {
    color: var(--color-forest);
}

.text-sage {
    color: var(--color-sage);
}

.text-white {
    color: var(--color-white);
}

.text-soft-green-light {
    color: #a9cfbd;
}

/* Colors & Backgrounds */
.bg-soft-green {
    background-color: var(--color-soft-green);
}

.bg-warm-sand {
    background-color: var(--color-warm-sand);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-forest {
    background-color: var(--color-forest);
}

/* Layout Utilities */
.min-h-screen {
    min-height: 100vh;
}

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

.flex-col {
    flex-direction: column;
}

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

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

.flex-grow {
    flex-grow: 1;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.relative {
    position: relative;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

/* Spacing */
.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-16 {
    margin-top: 4rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.border-l-4 {
    border-left-width: 4px;
    border-left-style: solid;
}

.border-forest {
    border-color: var(--color-forest);
}

.border-transparent {
    border-color: transparent;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(35, 77, 61, 0.2);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

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

    .sm\:flex-row {
        flex-direction: row;
    }
}

/* Specific Elements */
.seedling-icon {
    font-size: 3rem;
    line-height: 1;
}

.icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.path-card {
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(210, 124, 101, 0.1), rgba(94, 122, 109, 0.1));
    z-index: -1;
    transform: scale(0.95) translate(0.5rem, 0.5rem);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.funky-card-hover:hover {
    transform: translateY(-10px) rotate(-1deg);
    border-color: var(--color-forest);
    box-shadow: 0 20px 40px -10px rgba(35, 77, 61, 0.15);
}

.funky-card-hover:hover::before {
    opacity: 1;
    transform: scale(1) translate(0.75rem, 0.75rem);
}

@media (min-width: 768px) {
    .mt-md-8 {
        margin-top: 2rem;
    }

    .mt-md-16 {
        margin-top: 4rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--color-forest);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #1a3a2e;
    transform: scale(1.02);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-forest);
    border: 2px solid var(--color-forest);
}

.btn-outline:hover {
    background-color: var(--color-forest);
    color: var(--color-white);
}

/* Language Toggle Button */
.lang-btn {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    background: transparent;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    /* Make emoji fill the circle */
    line-height: 1;
    overflow: hidden;
}

.lang-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up {
    transform: translateY(30px);
}

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

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

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

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-sage);
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.scroll-indicator .line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-sage), transparent);
    animation: pulseScroll 2s infinite;
}

@keyframes pulseScroll {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 1;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
}

/* Form */
.hidden {
    display: none !important;
}

/* Funky Empathy Section */
.overflow-hidden {
    overflow: hidden;
}

.z-10 {
    position: relative;
    z-index: 10;
}

.funky-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: 0;
    animation: floatShape 10s ease-in-out infinite alternate;
}

.shape-blob-1 {
    width: 400px;
    height: 400px;
    background: #ffd6cc;
    top: -100px;
    right: -50px;
}

.shape-blob-2 {
    width: 350px;
    height: 350px;
    background: #d4e6db;
    bottom: -50px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.funky-quote-container {
    position: relative;
    margin: 2rem 0;
}

.funky-quote-card {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 2rem;
    border: 4px solid var(--color-accent);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.funky-quote-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.funky-quote-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-soft-green);
    border-radius: 2rem;
    transform: rotate(-3deg) translate(1rem, 1rem);
    z-index: 1;
}

.emoji-decoration {
    position: absolute;
    font-size: 3rem;
    animation: pulse 2s infinite alternate;
}

.emoji-decoration.top-left {
    top: -1.5rem;
    left: -1.5rem;
}

.emoji-decoration.bottom-right {
    bottom: -1.5rem;
    right: -1.5rem;
    animation-delay: -1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.funky-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .funky-title {
        font-size: 2.5rem;
    }
}

.funky-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-forest);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(35, 77, 61, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-content {
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}