/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8faf9;
    color: #222222;
    line-height: 1.65;
}

/* Header & Navigation (Matching About Us style) */
header {
    background-color: #14532d;
    color: #ffffff;
    padding: 0.85rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.brand img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #facc15;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* Main Container */
.container {
    max-width: 960px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

/* Hero Intro Card */
.about-intro {
    background: linear-gradient(135deg, #14532d, #166534);
    color: #ffffff;
    padding: 2.75rem 2.25rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 18px rgba(20, 83, 45, 0.18);
}

.badge {
    display: inline-block;
    background-color: rgba(250, 204, 21, 0.18);
    color: #facc15;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-intro h1 {
    font-size: 2rem;
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.about-intro p {
    font-size: 1.05rem;
    color: #dcfce7;
}

/* Info Cards */
.info-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.75rem;
    border-left: 5px solid #166534;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.info-card h2 {
    color: #14532d;
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.info-card ul {
    list-style-type: none;
}

.info-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.35rem;
    position: relative;
    color: #334155;
}

.info-card ul li::before {
    content: "•";
    color: #166534;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.info-card a {
    color: #166534;
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
    color: #14532d;
}

/* Form Styles */
.form-desc {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #0f172a;
    background-color: #f8fafc;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #166534;
    background-color: #ffffff;
}

.btn-submit {
    background-color: #14532d;
    color: #ffffff;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    width: 100%;
    font-size: 1rem;
}

.btn-submit:hover {
    background-color: #166534;
    transform: translateY(-2px);
}

.form-success-msg {
    margin-top: 1rem;
    padding: 0.85rem;
    background-color: #dcfce7;
    color: #166534;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

/* Footer */
footer {
    background-color: #0f291e;
    color: #cbd5e1;
    padding: 3rem 5% 1.5rem;
    margin-top: 3.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

footer h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.85rem;
    letter-spacing: 0.5px;
}

footer p,
footer li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

footer ul {
    list-style: none;
}

footer a {
    color: #86efac;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #facc15;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom p {
    margin-bottom: 0.35rem;
}

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

    nav {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding-top: 1rem;
        gap: 0.85rem;
    }

    .nav-links.show {
        display: flex;
    }

    .about-intro {
        padding: 2rem 1.5rem;
    }

    .about-intro h1 {
        font-size: 1.6rem;
    }
}

/* Custom Page Loading Animation */
#page-loader {
    position: fixed;
    inset: 0;
    background-color: #14532d;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}
.loader-spinner {
    width: 55px;
    height: 55px;
    border: 4px solid rgba(250, 204, 21, 0.2);
    border-top-color: #facc15;
    border-radius: 50%;
    animation: spinLoader 0.9s linear infinite;
    margin-bottom: 1.2rem;
}
@keyframes spinLoader {
    to { transform: rotate(360deg); }
}
.loader-text {
    font-family: 'Segoe UI', sans-serif;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* Email Card & Action Button Styles */
.email-card-desc {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Action Buttons on Contact Page */
.info-card a.btn-email,
.btn-email,
.info-card a.btn-maps,
.btn-maps {
    display: inline-block;
    background-color: #14532d;
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border: none;
    border-radius: 6px;
    text-decoration: none !important;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-size: 1rem;
    cursor: pointer;
}

.info-card a.btn-email,
.btn-email {
    width: 100%;
}

.info-card a.btn-maps,
.btn-maps {
    margin-top: 0.65rem;
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
}

.info-card a.btn-email:hover,
.btn-email:hover,
.info-card a.btn-maps:hover,
.btn-maps:hover {
    background-color: #166534;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

/* Navigation fit for 7 links (tablet widths) */
@media (min-width: 769px) and (max-width: 960px) {
    .menu-toggle { display: block; }
    nav { flex-wrap: wrap; }
    .nav-links { display: none; flex-direction: column; align-items: flex-start; width: 100%; padding-top: 1rem; gap: 0.85rem; }
    .nav-links.show { display: flex; }
}

/* Inquiry form */
.inquiry-form { display: grid; gap: 1rem; text-align: left; }
.inquiry-form label { display: block; font-weight: 600; color: #14532d; margin-bottom: 0.3rem; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
    width: 100%; padding: 0.7rem 0.8rem; border: 1px solid #cbd5e1; border-radius: 6px; font: inherit; background: #fff;
}
.inquiry-form textarea { min-height: 130px; resize: vertical; }
.inquiry-form .input-error { border-color: #b91c1c; background: #fef2f2; }
.inquiry-form button {
    justify-self: start; background: #14532d; color: #fff; font-weight: 600; font-size: 1rem;
    padding: 0.8rem 1.75rem; border: none; border-radius: 6px; cursor: pointer; transition: background-color 0.2s ease;
}
.inquiry-form button:hover { background: #166534; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4rem; font-weight: 600; }
.form-status.error { color: #b91c1c; }
.form-status.ok { color: #166534; }
