:root {
    --primary-bg: #fffbeb;
    --primary-text: #1f2937;
    --secondary-bg: #064e3b;
    --secondary-text: #f9fafb;
    --accent-color: #f97316;
    --accent-text: #ffffff;
    --muted-text-light: #6b7280;
    --muted-text-dark: #d1d5db;
    --border-color: #e5e7eb;
    --border-radius: 12px;
    --shadow-main: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-top: 0;
    color: inherit;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    text-transform: uppercase;
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    h3 {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
    }

    body {
        font-size: 0.9375rem;
    }

    .break-long-text {
        overflow-wrap: break-word;
        word-break: break-all;
    }
}

:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== header_main ===== */
.js-mobile-menu {
    display: none
}

.js-mobile-menu.open {
    display: block
}

/* ===== hero_section ===== */
#hero_section {
    width: 100%
}

.hero-overlay-custom {
    background-color: rgba(6, 78, 59, 0.75)
}

.btn-accent-custom {
    background-color: var(--accent-color) !important;
    color: var(--accent-text) !important;
    border: none !important;
    transition: transform 0.2s ease
}

.btn-accent-custom:hover {
    filter: brightness(1.1);
    transform: scale(1.02)
}

.modal {
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px)
}

.modal-open {
    visibility: visible;
    opacity: 1
}

.modal-box {
    transform: translateY(20px);
    transition: transform 0.3s ease-out
}

.modal-open .modal-box {
    transform: translateY(0)
}

/* ===== main_article ===== */
.prose strong {
    color: var(--secondary-bg);
    font-weight: 700;
}

#main_news img {
    width: 100%;
    display: block;
}

/* ===== news_showcase ===== */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#news_section {
    width: 100%;
}

.js-news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ===== about_zoo ===== */
#about_section {
    width: 100%
}

/* ===== faq_accordion ===== */
#faq_section {
    width: 100%;
}

.collapse-plus .collapse-title:after {
    color: var(--accent-color) !important;
    top: 1.8rem;
}

.collapse-title {
    transition: color 0.3s ease;
}

.js-faq-input:checked~.collapse-title {
    color: var(--secondary-bg);
}

/* ===== community_comments ===== */
#forum_section {
    background-color: var(--primary-bg);
}

.forum-card {
    transition: transform 0.3s ease;
}

.forum-card:hover {
    transform: translateY(-4px);
}

/* ===== feedback_form ===== */
#contact_section {
    width: 100%;
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

#contact_section .contact-card {
    background-color: var(--secondary-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-main);
    width: 100%;
}

#contact_section .contact-input {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 100%;
    transition: all 0.3s ease;
}

#contact_section .contact-btn {
    background-color: var(--accent-color);
    color: var(--accent-text);
    border-radius: var(--border-radius);
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#contact_section .contact-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

#contact_section .contact-btn:active {
    transform: scale(0.98);
}

/* ===== footer_main ===== */
.footer-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.footer-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.modal-box img{
    height: 400px !important;
}

.w-full.h-full.object-cover.opacity-20,
.absolute.inset-0.opacity-5.pointer-events-none{
    opacity: 0.4 !important;
}

#contact_section,
#faq_section{
    --muted-text-light: #000 !important;
}