/*
Theme Name: Code Lab
Theme URI: https://lab.arkplants.com
Author: Yun
Description: A custom WordPress theme for code learning.
Version: 2.5
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #111827;
}

body.modal-open {
    overflow: hidden;
}

main {
    margin: 0;
    padding: 0;
}

section,
.anchor-card {
    scroll-margin-top: 90px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
}

a {
    transition: all 0.2s ease;
}

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 9990;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 0;
    backdrop-filter: blur(14px);
    transition: padding 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

body.admin-bar .site-header {
    top: 32px;
}

.site-header.is-scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: #2f6b3f;
    transition: width 0.22s ease;
}

.site-nav a:hover {
    color: #2f6b3f;
}

.site-nav a:hover::after {
    width: 100%;
}

.site-main {
    min-height: calc(100vh - 180px);
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 105px;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef4ef 100%);
}

.home-hero::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(47, 107, 63, 0.08);
    filter: blur(4px);
}

.home-hero::after {
    content: "";
    position: absolute;
    left: -180px;
    bottom: -220px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(47, 107, 63, 0.06);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e7f3e8;
    color: #2f6b3f;
    font-size: 14px;
    font-weight: 600;
}

.hero-content h1 {
    max-width: 880px;
    margin: 0 0 24px;
    font-size: 60px;
    line-height: 1.08;
    letter-spacing: -1.8px;
    color: #111827;
}

.hero-content p {
    max-width: 820px;
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.primary-btn,
.secondary-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transform: translateZ(0);
}

.primary-btn {
    background: #2f6b3f;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(47, 107, 63, 0.18);
}

.primary-btn:hover {
    background: #245532;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(47, 107, 63, 0.22);
}

.secondary-btn {
    background: #ffffff;
    color: #2f6b3f;
    border: 1px solid #c9d8cc;
}

.secondary-btn:hover {
    background: #f3f8f4;
    transform: translateY(-2px);
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: translate(-50%, -50%) scale(0);
    animation: buttonRipple 0.65s ease-out;
    pointer-events: none;
}

.secondary-btn .btn-ripple,
.footer-contact-link .btn-ripple {
    background: rgba(47, 107, 63, 0.16);
}

@keyframes buttonRipple {
    to {
        transform: translate(-50%, -50%) scale(2.7);
        opacity: 0;
    }
}

.hero-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(17, 24, 39, 0.12);
}

.hero-card h2 {
    margin: 0 0 20px;
    font-size: 24px;
    color: #111827;
}

.hero-card ul {
    margin: 0;
    padding-left: 20px;
}

.hero-card li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
}

.product-section {
    padding: 90px 0;
    background: #ffffff;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #2f6b3f;
    font-size: 14px;
    font-weight: 700;
}

.section-heading h2 {
    margin: 0 0 18px;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.8px;
    color: #111827;
}

.section-heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #f8faf9;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 28px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #c8ddce;
    box-shadow: 0 22px 48px rgba(17, 24, 39, 0.1);
}

.product-tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e7f3e8;
    color: #2f6b3f;
    font-size: 13px;
    font-weight: 700;
}

.product-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.3;
    color: #111827;
}

.product-card p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

.product-card a {
    margin-top: auto;
    color: #2f6b3f;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.product-card a:hover {
    color: #245532;
}

.capability-section {
    padding: 100px 0;
    background: #f3f8f4;
}

.capability-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.capability-content h2 {
    margin: 0 0 22px;
    max-width: 680px;
    font-size: 44px;
    line-height: 1.18;
    letter-spacing: -0.8px;
    color: #111827;
}

.capability-content p {
    max-width: 720px;
    margin: 0 0 34px;
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
}

.capability-list {
    display: grid;
    gap: 16px;
}

.capability-list div {
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #dce8df;
    border-radius: 18px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.capability-list div:hover {
    transform: translateX(6px);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.06);
}

.capability-list strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
    color: #111827;
}

.capability-list span {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

.capability-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.stat-card {
    min-height: 150px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #dce8df;
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(17, 24, 39, 0.1);
}

.stat-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 34px;
    line-height: 1.1;
    color: #2f6b3f;
}

.stat-card span {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    color: #4b5563;
}

.process-section {
    padding: 100px 0;
    background: #ffffff;
}

.process-heading {
    max-width: 780px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-card {
    position: relative;
    padding: 30px;
    background: #f8faf9;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    min-height: 270px;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    border-color: #c8ddce;
    box-shadow: 0 22px 48px rgba(17, 24, 39, 0.1);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 26px;
    border-radius: 50%;
    background: #e7f3e8;
    color: #2f6b3f;
    font-size: 17px;
    font-weight: 800;
}

.process-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.3;
    color: #111827;
}

.process-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

.gallery-section {
    padding: 100px 0;
    background: #f8faf9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 24px;
}

.gallery-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.05);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 54px rgba(17, 24, 39, 0.12);
}

.gallery-card:hover .gallery-image {
    transform: scale(1.03);
}

.large-card {
    grid-row: span 2;
}

.gallery-image {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #2f6b3f;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.35s ease;
}

.large-card .gallery-image {
    min-height: 420px;
}

.placeholder-green {
    background: linear-gradient(135deg, #dcefe2 0%, #f3f8f4 100%);
}

.placeholder-light {
    background: linear-gradient(135deg, #eef4ef 0%, #ffffff 100%);
}

.placeholder-soft {
    background: linear-gradient(135deg, #e7f3e8 0%, #f8faf9 100%);
}

.placeholder-dark {
    background: linear-gradient(135deg, #d3e7d8 0%, #eef4ef 100%);
}

.gallery-content {
    padding: 24px;
}

.gallery-content h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    color: #111827;
}

.gallery-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

.faq-section {
    padding: 100px 0;
    background: #ffffff;
}

.faq-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.faq-heading h2 {
    margin: 0 0 18px;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.8px;
    color: #111827;
}

.faq-heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    padding: 24px 26px;
    background: #f8faf9;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.faq-list.is-interactive .faq-item {
    cursor: pointer;
}

.faq-list.is-interactive .faq-item:hover,
.faq-list.is-interactive .faq-item.is-open {
    border-color: #c8ddce;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.faq-list.is-interactive .faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h3 {
    position: relative;
    margin: 0 0 10px;
    padding-right: 42px;
    font-size: 19px;
    line-height: 1.35;
    color: #111827;
}

.faq-list.is-interactive .faq-item h3 {
    margin-bottom: 0;
}

.faq-list.is-interactive .faq-item h3::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #e7f3e8;
    color: #2f6b3f;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    transition: transform 0.22s ease, background 0.22s ease;
}

.faq-list.is-interactive .faq-item.is-open h3::after {
    content: "−";
    background: #2f6b3f;
    color: #ffffff;
}

.faq-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

.faq-list.is-interactive .faq-item p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.26s ease, opacity 0.2s ease, margin-top 0.2s ease;
}

.faq-list.is-interactive .faq-item.is-open p {
    max-height: 180px;
    margin-top: 12px;
    opacity: 1;
}

.cta-section {
    padding: 100px 0;
    background: #ffffff;
}

.cta-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    padding: 56px;
    border-radius: 28px;
    background: linear-gradient(135deg, #12311f 0%, #2f6b3f 100%);
    color: #ffffff;
}

.cta-box::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -160px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.cta-content,
.cta-actions {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.8px;
    color: #ffffff;
}

.cta-content p {
    max-width: 780px;
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #dcefe2;
}

.cta-box .section-label {
    color: #bce7c7;
}

.cta-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-box .primary-btn {
    background: #ffffff;
    color: #2f6b3f;
}

.cta-box .primary-btn:hover {
    background: #eef4ef;
}

.cta-box .secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.cta-box .secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.form-status {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.form-status.success {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.site-footer {
    background: #111827;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
    gap: 42px;
    padding-bottom: 52px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

.footer-brand p {
    max-width: 360px;
    margin: 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.8;
}

.footer-column h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact p {
    margin: 0 0 18px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact-link {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #2f6b3f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.footer-contact-link:hover {
    background: #e7f3e8;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
}

/* Inquiry Modal */

.inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.inquiry-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 30px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.inquiry-modal.is-open .modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #c8cfda;
    color: #ffffff;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.modal-close:hover {
    background: #94a3b8;
    transform: rotate(90deg);
}

.modal-heading span {
    display: inline-block;
    margin-bottom: 8px;
    color: #2f6b3f;
    font-size: 13px;
    font-weight: 800;
}

.modal-heading h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 30px;
    line-height: 1.18;
    letter-spacing: -0.5px;
}

.modal-heading p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
}

.modal-alert {
    margin: 0 0 14px;
    padding: 11px 13px;
    border-radius: 12px;
    background: #fff1f2;
    color: #be123c;
    font-size: 13px;
    line-height: 1.5;
}

.inquiry-form {
    display: grid;
    gap: 11px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #f1f5f9;
    color: #111827;
    font-size: 15px;
    outline: none;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.form-row input {
    min-height: 50px;
    padding: 0 17px;
}

.form-row textarea {
    min-height: 112px;
    padding: 15px 17px;
    resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #9ca3af;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: #2f6b3f;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(47, 107, 63, 0.12);
}

.attachment-area {
    display: grid;
    gap: 9px;
}

.form-actions-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 2px;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid #2f6b3f;
    border-radius: 999px;
    color: #2f6b3f;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.upload-btn:hover {
    background: #f3f8f4;
    transform: translateY(-2px);
}

.upload-btn input {
    display: none;
}

.upload-btn span::after {
    content: "↥";
    display: inline-block;
    margin-left: 9px;
    font-size: 20px;
    line-height: 1;
}

.attachment-limit {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.attachment-preview {
    display: none;
    padding: 10px;
    border-radius: 14px;
    background: #f8faf9;
    border: 1px solid #dce8df;
}

.attachment-preview.is-active {
    display: grid;
    gap: 8px;
}

.attachment-summary {
    color: #2f6b3f;
    font-size: 13px;
    font-weight: 700;
}

.attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.attachment-info {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.attachment-info strong {
    overflow: hidden;
    color: #111827;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attachment-info span {
    color: #94a3b8;
    font-size: 12px;
}

.attachment-remove {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eef4ef;
    color: #2f6b3f;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.attachment-remove:hover {
    background: #2f6b3f;
    color: #ffffff;
}

.attachment-error {
    min-height: 18px;
    margin: 0;
    color: #be123c;
    font-size: 12px;
    line-height: 1.5;
}

.modal-submit {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 52px;
    margin-top: 2px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f6b3f 0%, #49a063 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-submit:hover {
    background: linear-gradient(135deg, #245532 0%, #2f6b3f 100%);
    transform: translateY(-1px);
}

.form-note {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.55;
}

/* Dynamic Reveal */

.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card.reveal-item:nth-child(2),
.process-card.reveal-item:nth-child(2),
.gallery-card.reveal-item:nth-child(2) {
    transition-delay: 0.08s;
}

.product-card.reveal-item:nth-child(3),
.process-card.reveal-item:nth-child(3),
.gallery-card.reveal-item:nth-child(3) {
    transition-delay: 0.16s;
}

.product-card.reveal-item:nth-child(4),
.process-card.reveal-item:nth-child(4),
.gallery-card.reveal-item:nth-child(4) {
    transition-delay: 0.24s;
}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 54px;
    }

    .product-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .large-card {
        grid-row: auto;
    }

    .large-card .gallery-image {
        min-height: 260px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    section,
    .anchor-card {
        scroll-margin-top: 120px;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .home-hero {
        padding: 70px 0 90px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-content h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-card {
        padding: 26px;
    }

    .product-section,
    .capability-section,
    .process-section,
    .gallery-section,
    .faq-section,
    .cta-section {
        padding: 70px 0;
    }

    .section-heading h2,
    .capability-content h2,
    .faq-heading h2,
    .cta-content h2 {
        font-size: 34px;
    }

    .capability-inner,
    .faq-inner,
    .cta-box {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-box {
        padding: 38px;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .site-container {
        padding: 0 18px;
    }

    .site-logo {
        font-size: 20px;
    }

    .site-nav {
        gap: 10px 14px;
    }

    .site-nav a {
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .product-grid,
    .process-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-card,
    .process-card {
        min-height: auto;
    }

    .capability-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: auto;
    }

    .gallery-image,
    .large-card .gallery-image {
        min-height: 220px;
    }

    .cta-box {
        padding: 30px 24px;
    }

    .cta-content h2 {
        font-size: 30px;
    }

    .site-footer {
        padding-top: 54px;
    }

    .footer-grid {
        gap: 32px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .inquiry-modal {
        padding: 12px;
    }

    .modal-dialog {
        padding: 26px 18px;
        border-radius: 20px;
    }

    .modal-heading h2 {
        font-size: 26px;
    }

    .modal-close {
        top: 14px;
        right: 14px;
    }

    .attachment-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .attachment-remove {
        align-self: flex-start;
    }
}

@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .section-heading h2,
    .capability-content h2,
    .faq-heading h2,
    .cta-content h2 {
        font-size: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal-item {
        opacity: 1;
        transform: none;
    }
}
.primary-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    margin: 0;
    padding: 0;
}

.primary-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #4b5563;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.primary-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: #2f6b3f;
    transition: width 0.22s ease;
}

.primary-menu a:hover {
    color: #2f6b3f;
}

.primary-menu a:hover::after {
    width: 100%;
}

@media (max-width: 900px) {
    .primary-menu {
        flex-wrap: wrap;
        gap: 12px 16px;
    }
}
/* WordPress Primary Menu Fix */

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.site-nav ul,
.site-nav .primary-menu,
.site-nav .menu {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #4b5563;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: #2f6b3f;
    transition: width 0.22s ease;
}

.site-nav a:hover {
    color: #2f6b3f;
}

.site-nav a:hover::after {
    width: 100%;
}

@media (max-width: 900px) {
    .site-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .site-nav ul,
    .site-nav .primary-menu,
    .site-nav .menu {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px 18px;
    }

    .site-nav a {
        font-size: 14px;
    }
}