/* ---------- Base ---------- */

:root {
    --bg-body: #f3faf6;
    --bg-card: #ffffff;
    --bg-hero: #f3faf6;
    --bg-footer: #020617;
    --bg-footer-alt: #0b1120;

    --primary: #009458;
    --primary-dark: #006f42;
    --primary-soft: #d9f5e6;
    --text-main: #05101a;
    --text-muted: #64748b;
    --border-soft: #e5e7eb;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: radial-gradient(circle at top left, #f5fff8, var(--bg-body));
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header / Nav ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.nav-brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-nav-primary)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav-links a:not(.btn-nav-primary):hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-dark);
}

.nav-links a.active:not(.btn-nav-primary)::after {
    width: 100%;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 148, 88, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-ghost {
    background: #ffffff;
    border-color: var(--border-soft);
    color: var(--text-main);
}

.btn-ghost:hover {
    border-color: var(--primary-soft);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-soft);
}

.btn-light {
    background: #ffffff;
    color: var(--primary-dark);
    border-color: #ffffff;
}

.btn-light:hover {
    background: #f9fafb;
}

.btn-nav-primary {
    background: var(--primary);
    color: #ffffff;
    padding-inline: 18px;
    box-shadow: 0 12px 30px rgba(0, 148, 88, 0.35);
}

.btn-nav-primary:hover {
    background: var(--primary-dark);
}

/* ---------- Hero ---------- */

.hero {
    background: var(--bg-hero);
    padding: 60px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #e0f7eb;
    color: var(--primary-dark);
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.hero-badge-icon {
    font-size: 0.9rem;
}

.hero-title {
    font-size: clamp(2.3rem, 3.7vw, 3rem);
    margin: 0 0 12px;
    line-height: 1.1;
}

.hero-title-accent {
    color: var(--primary);
}

.hero-text {
    max-width: 520px;
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 320px;
    border-radius: 32px;
    background: linear-gradient(135deg, #fdfcfb, #d1f5e3);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    padding: 18px;
}

.hero-image-card {
    background-image: url("/assets/coconut-tree-1.jpg");
    background-size: cover;
    background-position: center;
}

.hero-image-label {
    position: absolute;
    top: 16px;
    left: 24px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-stats-card {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.25);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hero-stat {
    flex: 1;
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ---------- Sections ---------- */

.section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 28px;
}

.section-header.centered {
    text-align: center;
}

.section-title {
    font-size: 1.9rem;
    margin: 0 0 6px;
}

.section-subtitle {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* ---------- Products grid ---------- */

.section-products {
    background: #ffffff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

/* Layout like your screenshot: last card full width */
/* .product-card-5 {
  grid-column: 1 / -1;
} */

.product-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 210px;
    box-shadow: var(--shadow-soft);
    background-size: cover;
    background-position: center;
}

/* Placeholder background images – replace with real images in assets and adjust paths */

.product-card-1 {
    background-image: url("/assets/white-copra-2.jpg");
}

.product-card-2 {
    background-image: url("/assets/coconut-shell-charcoal-1.jpg");
}

.product-card-3 {
    background-image: url("/assets/pure-coconut-oil-1.jpg");
}

.product-card-4 {
    background-image: url("/assets/refined-coconut-oil.jpg");
}

.product-card-5 {
    background-image: url("/assets/coconut_big_1.jpeg");
}

/* Fallback gradient if images not present */
/* .product-card {
    background-image: linear-gradient(135deg, #cbd5f5, #94a3b8);
} */

.product-card-1,
.product-card-2,
.product-card-3,
.product-card-4,
.product-card-5 {
    background-blend-mode: multiply;
}

/* Overlay text */
.product-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.1),
            transparent);
    color: #ffffff;
}

.product-title {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
}

.product-subtitle {
    margin: 0;
    font-size: 0.9rem;
}

/* clickable overlay */
.product-link {
    position: absolute;
    inset: 0;
}

/* View all button */
.section-cta {
    margin-top: 28px;
}

/* ---------- Why Choose ---------- */

.section-why {
    background: #f9fafb;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.why-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 18px 20px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.why-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #e2f3ec;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.why-title {
    margin: 0 0 6px;
    font-size: 1rem;
}

.why-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---------- CTA Band ---------- */

.section-cta-band {
    background: var(--primary);
    color: #ffffff;
    padding: 50px 0;
}

.cta-band-inner {
    text-align: center;
}

.cta-band-title {
    font-size: 1.8rem;
    margin: 0 0 8px;
}

.cta-band-text {
    margin: 0 0 18px;
    font-size: 0.98rem;
    opacity: 0.9;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--bg-footer);
    color: #cbd5f5;
    padding-top: 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    padding-bottom: 28px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-title {
    font-weight: 700;
    font-size: 1rem;
}

.footer-brand-subtitle {
    font-size: 0.78rem;
    color: #9ca3af;
}

.footer-description {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #9ca3af;
}

.footer-heading {
    margin: 0 0 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #e5e7eb;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.footer-links li+li {
    margin-top: 6px;
}

.footer-links a {
    color: #cbd5f5;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    background: var(--bg-footer-alt);
}

.footer-bottom-inner {
    padding: 10px 0 14px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-right {
        justify-content: flex-start;
    }

    .hero-image-card {
        max-width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .why-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 40px;
    }
}


/* ---------- Products page ---------- */

.products-hero {
    background: radial-gradient(circle at top left, #f5fff8, #f3faf6);
    padding-top: 70px;
    padding-bottom: 40px;
    text-align: center;
}

.products-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: #d9f5e6;
    color: var(--primary-dark);
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.products-hero-title {
    font-size: 2.2rem;
    margin: 0 0 8px;
}

.products-hero-text {
    margin: 0;
    max-width: 640px;
    margin-inline: auto;
    font-size: 0.98rem;
    color: var(--text-muted);
}

.products-section {
    background: #ffffff;
}

/* rows */

.product-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    margin-bottom: 40px;
}

.product-row:last-child {
    margin-bottom: 0;
}

.product-row-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.product-row-reverse .product-row-image {
    order: 2;
}

.product-row-reverse .product-row-card {
    order: 1;
}

/* image side */

.product-row-image {
    border-radius: 26px;
    height: 260px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
}

/* plug in your own photos here (place them in assets/ and update paths if needed) */
.product-row-image-1 {
    background-image: url("/assets/white-copra-11.jpg");
}

.product-row-image-2 {
    background-image: url("/assets/coconut-shell-charcoal-5.jpg");
}

.product-row-image-3 {
    background-image: url("/assets/coconut-oil-2.jpg");
}

.product-row-image-4 {
    background-image: url("/assets/refined-coconut-oil.jpg");
}

.product-row-image-5 {
    background-image: url("/assets/raw-coconut-3.jpg");
}

/* if images missing, fall back to gradient */
/* .product-row-image {
    background-image: linear-gradient(135deg, #cbd5f5, #94a3b8);
} */

/* card side */

.product-row-card {
    background: #ecfff7;
    border-radius: 26px;
    padding: 22px 24px 24px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.product-row-title {
    margin: 0 0 6px;
    font-size: 1.4rem;
}

.product-row-summary {
    margin: 0 0 18px;
    font-size: 0.97rem;
    color: var(--text-muted);
}

.product-row-block {
    margin-top: 12px;
}

.product-row-subheading {
    margin: 0 0 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* features list with check marks */

.product-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 40px;
    font-size: 0.9rem;
}

.product-feature-item {
    position: relative;
    padding-left: 20px;
}

.product-feature-item::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
    color: var(--primary);
}

/* applications tags */

.product-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.product-tag {
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.78rem;
}

/* responsive tweaks */

@media (max-width: 960px) {

    .product-row,
    .product-row-reverse {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-row-image {
        order: 1 !important;
    }

    .product-row-card {
        order: 2 !important;
    }

    .product-feature-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-row-image {
        height: 220px;
    }
}

/* ---------- About page: hero ---------- */

.about-hero {
    background: radial-gradient(circle at top left, #f5fff8, #f3faf6);
    padding-top: 70px;
    padding-bottom: 40px;
}

.about-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.about-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: #d9f5e6;
    color: var(--primary-dark);
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.about-hero-title {
    font-size: clamp(2.2rem, 3.6vw, 3rem);
    margin: 0 0 10px;
    line-height: 1.1;
}

.about-hero-title-accent {
    color: var(--primary);
}

.about-hero-text {
    margin: 0;
    max-width: 520px;
    font-size: 0.98rem;
    color: var(--text-muted);
}

.about-hero-right {
    display: flex;
    justify-content: flex-end;
}

.about-hero-image {
    width: 100%;
    max-width: 460px;
    height: 280px;
    border-radius: 28px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    background-image: url("/assets/coconut_trees.jpg");
    /* replace with your actual image */
}

/* fallback gradient if image missing */
/* .about-hero-image {
    background-image: linear-gradient(135deg, #cbd5f5, #94a3b8);
} */

/* ---------- About page: heritage timeline ---------- */

.about-heritage {
    background: #ffffff;
}

.about-timeline {
    position: relative;
    max-width: 900px;
    margin: 38px auto 0;
    padding: 10px 0 30px;
}

.about-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: var(--primary-soft);
}

.about-timeline-item {
    position: relative;
    margin: 20px 0;
}

.about-timeline-card {
    position: relative;
    width: 48%;
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 20px 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

/* left side by default */
.about-timeline-item .about-timeline-card {
    margin-right: 52%;
}

/* right side */
.about-timeline-item.is-right .about-timeline-card {
    margin-left: 52%;
    margin-right: 0;
}

.about-timeline-year {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.about-timeline-title {
    margin: 0 0 4px;
    font-size: 1rem;
}

.about-timeline-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* dots on the central line */
.about-timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--primary);
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

/* ---------- About page: values grid ---------- */

.about-values {
    background: #f9fafb;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.value-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 20px 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.value-icon {
    width: 36px;
    height: 36px;
    border-radius: 16px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.value-title {
    margin: 0 0 6px;
    font-size: 1rem;
}

.value-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---------- About page: stats band ---------- */

.about-stats-band {
    background: var(--primary);
    color: #ffffff;
    padding: 40px 0;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ---------- About page: responsive ---------- */

@media (max-width: 960px) {
    .about-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-hero-right {
        justify-content: flex-start;
    }

    .about-hero-image {
        max-width: 100%;
        height: 240px;
    }

    .about-timeline::before {
        left: 10px;
        transform: none;
    }

    .about-timeline-card {
        width: auto;
        margin: 0 0 0 28px !important;
    }

    .about-timeline-dot {
        left: 10px;
        transform: translate(-50%, -50%);
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .values-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .stats-row {
        justify-content: center;
    }
}

/* ---------- Contact page: hero ---------- */

.contact-hero {
    background: radial-gradient(circle at top left, #f5fff8, #f3faf6);
    padding-top: 70px;
    padding-bottom: 40px;
    text-align: center;
}

.contact-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: #d9f5e6;
    color: var(--primary-dark);
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.contact-hero-title {
    font-size: 2.2rem;
    margin: 0 0 8px;
}

.contact-hero-text {
    margin: 0;
    max-width: 640px;
    margin-inline: auto;
    font-size: 0.98rem;
    color: var(--text-muted);
}

/* ---------- Contact page: main layout ---------- */

.contact-main {
    background: #ffffff;
    padding-top: 30px;
    padding-bottom: 50px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
    align-items: flex-start;
}

/* info column */

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 20px 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.info-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 16px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-card-title {
    margin: 0 0 4px;
    font-size: 1rem;
}

.info-card-line {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.info-card-line a {
    color: var(--primary-dark);
}

.info-card-line a:hover {
    text-decoration: underline;
}

/* green company card */

.info-card-company {
    background: linear-gradient(135deg, var(--primary), #007246);
    color: #ffffff;
}

.info-card-company .info-card-line {
    color: #e5f6ff;
}

.info-card-label {
    margin-top: 8px;
    font-weight: 600;
}

.info-card-list {
    margin: 4px 0 0 16px;
    padding: 0;
    font-size: 0.9rem;
}

/* form column */

.contact-form-column {
    width: 100%;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 22px 24px 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.contact-form-title {
    margin: 0 0 14px;
    font-size: 1.4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.86rem;
}

.form-field label {
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 9px 10px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(0, 148, 88, 0.2);
}

.contact-submit {
    width: 100%;
    margin-top: 6px;
}

/* ---------- Contact page: locations ---------- */

.contact-locations {
    background: #f9fafb;
    padding-top: 40px;
    padding-bottom: 60px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
}

.location-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 20px 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.location-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}

.location-country-code {
    font-weight: 700;
    font-family: "Courier New", monospace;
}

.location-country-name {
    font-weight: 700;
}

.location-subtitle {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.location-map {
    border-radius: 14px;
    background: #e3fdf1;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-pin {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-dark);
}

/* ---------- Contact page: responsive ---------- */

@media (max-width: 960px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-grid-two {
        grid-template-columns: minmax(0, 1fr);
    }

    .location-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Nav: hamburger for small screens ---------- */

.nav-bar {
    position: relative;
}

/* hamburger button: hidden on desktop */
.nav-toggle {
    position: relative;
    width: 40px;
    height: 32px;
    border: none;
    background: #ecfdf3;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    display: none;
    /* shown in mobile media query */
}

/* three lines, absolutely centered */
.nav-toggle-line {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* initial positions (closed burger) */
.nav-toggle-line:nth-child(1) {
    transform: translate(-50%, -6px);
    /* top line */
}

.nav-toggle-line:nth-child(2) {
    transform: translate(-50%, 0);
    /* middle line */
}

.nav-toggle-line:nth-child(3) {
    transform: translate(-50%, 6px);
    /* bottom line */
}

/* X animation when open */
.nav-toggle.is-open .nav-toggle-line:nth-child(1) {
    transform: translate(-50%, 0) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open .nav-toggle-line:nth-child(3) {
    transform: translate(-50%, 0) rotate(-45deg);
}

/* Small screens: show hamburger and dropdown nav */
@media (max-width: 720px) {
    .nav-bar {
        padding: 10px 0;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px 16px;
        gap: 10px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.35);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        display: none;
        /* hidden by default */
        z-index: 30;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a:not(.btn-nav-primary) {
        padding: 4px 0;
    }

    .nav-links .btn-nav-primary {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }

    /* extra padding for logo + name on mobile */
    .site-header .container.nav-bar {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nav-brand {
        gap: 12px;
    }
}


@media (max-width: 720px) {
    .site-header .container.nav-bar {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nav-brand {
        gap: 12px;
        /* a bit more space between logo icon and text */
    }
}


/* ---------- WHITE COPRA PAGE SPECIFIC STYLES ---------- */
/* Product detail hero */
.product-detail-hero {
    background: radial-gradient(circle at top left, #f5fff8, #f3faf6);
    padding: 24px 0 30px;
}

.product-detail-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.detail-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #d9f5e6;
    color: var(--primary-dark);
    font-size: .8rem;
    margin-bottom: 14px;
}

.product-detail-title {
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    margin: 0 0 8px;
    line-height: 1.1;
}

.product-detail-lead {
    color: var(--text-muted);
    margin: 0 0 18px;
    max-width: 620px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 600;
}

.product-detail-image {
    width: 100%;
    max-width: 560px;
    height: 360px;
    border-radius: 28px;
    background: #cbd5f5;
    background-image: url("/assets/white-copra-3.jpg");
    /* <- replace path */
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-soft);
}

/* Methodology */
.method-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 16px;
}

.method-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px 18px 20px;
    box-shadow: var(--shadow-soft);
}

.method-step {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 8px;
}

.method-title {
    margin: 0 0 6px;
    font-size: 1rem;
}

.method-text {
    margin: 0;
    color: var(--text-muted);
    font-size: .92rem;
}

/* Specs */
.specs-band {
    background: #f7faf9;
}

.specs-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    max-width: 920px;
    margin: 18px auto 0;
    padding: 10px 6px;
}

.specs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.specs-row:last-child {
    border-bottom: 0;
}

.specs-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 10px;
}

.specs-label {
    color: var(--text-muted);
    font-size: .9rem;
}

.specs-value {
    font-weight: 600;
}

.specs-value.highlight {
    color: var(--primary-dark);
}

/* Applications */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.app-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #eaf9f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
}

.app-text {
    font-weight: 600;
    text-align: center;
}

/* Back button tiny tweak */
.btn-back {
    padding: 6px 10px;
}

/* Responsive */
@media (max-width: 1100px) {
    .apps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .product-detail-hero-inner {
        grid-template-columns: 1fr;
    }

    .product-detail-image {
        max-width: 100%;
        height: 300px;
    }

    .method-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .method-grid {
        grid-template-columns: 1fr;
    }
}