:root {
    --primary-green: #1E4D2B;
    --accent-yellow: #F2B705;
    --warm-bg: #FFFBF5;
}
html {
     scroll-padding-top: 80px; /* Offset for sticky header */
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--warm-bg);
    color: #333;
}
.bg-primary-green { background-color: var(--primary-green); }
.text-primary-green { color: var(--primary-green); }
.border-primary-green { border-color: var(--primary-green); }
.ring-yellow { --tw-ring-color: var(--accent-yellow) !important; }
.bg-accent-yellow { background-color: var(--accent-yellow); }
.hover\:bg-accent-yellow-dark:hover { background-color: #dab62c; }

/* Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ Accordion */
.faq-question { cursor: pointer; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-arrow { transition: transform 0.3s ease; }

/* Modal styles */
.modal { transition: opacity 0.3s ease; }
.modal-content { transition: transform 0.3s ease; }

/* Hero background */
#hero {
    background-image: linear-gradient(to right, rgba(255, 251, 245, 1) 40%, rgba(255, 251, 245, 0.8)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?q=80&w=1932&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.pedagogy-path > div:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -40px; /* Half of the gap */
    width: 80px; /* The full gap */
    height: 2px;
    background: repeating-linear-gradient(90deg, #1E4D2B, #1E4D2B 4px, transparent 4px, transparent 8px);
}

@media (max-width: 767px) {
    .pedagogy-path > div:not(:last-child)::after {
        top: auto;
        bottom: -20px;
        left: 50%;
        right: auto;
        width: 2px;
        height: 40px; /* The full gap */
        background: repeating-linear-gradient(180deg, #1E4D2B, #1E4D2B 4px, transparent 4px, transparent 8px);
    }
}

.icon-interactive {
    transition: transform 0.3s ease;
}
.icon-interactive:hover {
    transform: scale(1.1) rotate(-5deg);
}
.button-interactive {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.button-interactive:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.2);
}
.card-interactive {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-interactive::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}
.card-interactive:hover {
     transform: translateY(-8px);
     box-shadow: 0 15px 30px -10px rgba(0,0,0,0.15);
}
.card-interactive:hover::after {
    transform: scaleX(1);
}
.legal-link {
    cursor: pointer;
}

.logo-img {
    height: 6rem; /* Mobile first */
}
@media (min-width: 768px) { /* md breakpoint */
    .logo-img {
        height: 8.5rem;
    }
}

/* RGAA Focus visible styles */
*:focus-visible {
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Nav link animation */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s ease-in-out;
}
.nav-link:hover::after {
    width: 100%;
}

/* Partner logo animation */
.partner-logo {
    transition: filter 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.8;
}
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Word Cloud Styles */
#word-cloud-container a {
    position: absolute;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#word-cloud-container a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10;
}

/* PDCA Wheel Styles */
.pdca-text {
    font-size: 22px;
    font-weight: 600;
    fill: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    paint-order: stroke;
    stroke: rgba(0,0,0,0.2);
    stroke-width: 2px;
    stroke-linejoin: round;
}
.pdca-quadrant {
    transition: filter 0.3s ease-in-out;
    cursor: pointer;
}
.pdca-quadrant:hover {
    filter: brightness(1.1);
}

.pdca-plan { fill: #38bdf8; } /* sky-500 */
.pdca-do { fill: #10b981; } /* emerald-500 */
.pdca-check { fill: #f59e0b; } /* amber-500 */
.pdca-act { fill: #f97316; } /* orange-500 */

