/* ========================================
   NH OVERSEAS - FINAL WEBSITE STYLESHEET
======================================== */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ========================================
   COMMON
======================================== */

.section-tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #3f7f4c;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.section-heading {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-heading > p:last-child {
    color: #666;
    font-size: 17px;
}

.primary-btn,
.secondary-btn,
.quote-btn,
.white-btn,
.outline-btn,
.outline-white-btn,
.get-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
    border: none;
}

.primary-btn {
    background: #3f7f4c;
    color: #ffffff;
}

.primary-btn:hover {
    background: #2f653a;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid #222;
    color: #222;
    background: transparent;
}

.secondary-btn:hover {
    background: #222;
    color: #fff;
}

.white-btn {
    background: #ffffff;
    color: #2f653a;
}

.white-btn:hover {
    transform: translateY(-2px);
}

.outline-btn,
.outline-white-btn {
    border: 1px solid #ffffff;
    color: #ffffff;
}

.outline-btn:hover,
.outline-white-btn:hover {
    background: #ffffff;
    color: #2f653a;
}


/* ========================================
   HEADER
======================================== */

.header {
    width: 100%;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eeeeee;
}

.navbar {
    max-width: 1250px;
    margin: auto;
    min-height: 82px;
    padding: 10px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 185px;
    max-height: 80px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: "";
    width: 0;
    height: 2px;
    background: #3f7f4c;

    position: absolute;
    left: 0;
    bottom: 0;

    transition: 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: #3f7f4c;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-btn {
    background: #3f7f4c;
    color: #ffffff;
    white-space: nowrap;
}

.quote-btn:hover {
    background: #2f653a;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}


/* ========================================
   HOME HERO
======================================== */

.hero {
    max-width: 1250px;
    margin: auto;
    min-height: 620px;
    padding: 70px 25px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    margin-bottom: 24px;
    max-width: 650px;
}

.hero-text {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 14px;
}


/* ========================================
   PAGE HERO
======================================== */

.page-hero {
    background: #f3f7f2;
    min-height: 320px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 25px;
    text-align: center;
}

.page-hero-content {
    max-width: 850px;
}

.page-hero-content > p {
    font-size: 13px;
    font-weight: 700;
    color: #3f7f4c;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-hero h1 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.15;
    margin-bottom: 18px;
}

.page-hero span {
    color: #666;
    font-size: 17px;
}


/* ========================================
   PRODUCT INTRO
======================================== */

.product-intro,
.products-intro {
    padding: 90px 25px 45px;
}


/* ========================================
   PRODUCT GRID
======================================== */

.products-section {
    padding: 30px 25px 100px;
}

.products-grid {
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    border: 1px solid #e9e9e9;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;

    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.product-image {
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-info > span {
    color: #3f7f4c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 23px;
    margin: 10px 0;
}

.product-info p {
    color: #666;
    font-size: 15px;
}

.product-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
}

.explore-link {
    color: #3f7f4c;
    font-weight: 700;
}

.get-quote-btn {
    padding: 10px 16px;
    background: #f3f7f2;
    color: #3f7f4c;
    font-size: 14px;
}

.get-quote-btn:hover {
    background: #3f7f4c;
    color: #fff;
}


/* ========================================
   CUSTOM / BAGASSE SECTION
======================================== */

.custom-section {
    max-width: 1250px;
    margin: 0 auto 100px;
    padding: 0 25px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
}

.custom-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
}

.custom-content {
    background: #f3f7f2;
    padding: 70px 60px;
    border-radius: 0 12px 12px 0;
}

.custom-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 22px;
}

.custom-content p {
    color: #555;
    margin-bottom: 15px;
}

.custom-content ul {
    list-style: none;
    margin: 25px 0 30px;
}

.custom-content li {
    margin-bottom: 12px;
    color: #333;
}

.custom-content li::before {
    content: "✓";
    color: #3f7f4c;
    font-weight: bold;
    margin-right: 10px;
}


/* ========================================
   WHY SECTION
======================================== */

.why-section {
    background: #fafafa;
    padding: 100px 25px;
}

.why-grid {
    max-width: 1250px;
    margin: 50px auto 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.why-card {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #ececec;
    border-radius: 10px;
}

.why-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.why-card p {
    color: #666;
    font-size: 15px;
}


/* ========================================
   PRODUCT DETAIL PAGES
======================================== */

.product-category-section {
    padding: 100px 25px;
}

.alternate-section {
    background: #fafafa;
}

.product-category-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.reverse-layout .product-category-content {
    order: 2;
}

.reverse-layout .product-category-visual {
    order: 1;
}

.product-category-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.product-category-content > p {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
}

.product-feature-list {
    margin: 28px 0 32px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-feature-list div {
    background: #f3f7f2;
    padding: 12px 14px;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
}

.product-image-visual img,
.product-category-visual img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 14px;
}


/* ========================================
   PAPER / BAGASSE FEATURE
======================================== */

.paper-feature {
    background: #315d3a;
    padding: 90px 25px;
    color: #ffffff;
}

.paper-feature-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.paper-feature-content h2 {
    font-size: 43px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.paper-feature-content > p {
    margin-bottom: 15px;
    color: #e5eee7;
}

.light-tag {
    color: #bde0c3;
}

.feature-list {
    margin: 28px 0 30px;
}

.feature-list div {
    margin-bottom: 13px;
    color: #f1f6f2;
}

.feature-list span {
    margin-right: 10px;
    color: #bde0c3;
}

.paper-feature-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 14px;
}


/* ========================================
   ABOUT PAGE
======================================== */

.about-section {
    padding: 100px 25px;
}

.about-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-content > p {
    color: #666;
    margin-bottom: 16px;
}

.about-content .primary-btn {
    margin-top: 15px;
}

.about-visual img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 14px;
}


/* ========================================
   CTA SECTIONS
======================================== */

.cta-section,
.global-cta {
    background: #315d3a;
    color: #ffffff;
    text-align: center;
    padding: 90px 25px;
}

.cta-section .section-tag,
.global-cta .section-tag {
    color: #bde0c3;
}

.cta-section h2,
.global-cta h2 {
    max-width: 800px;
    margin: 0 auto 18px;
    font-size: 42px;
    line-height: 1.2;
}

.cta-section > p:not(.section-tag),
.global-cta span {
    display: block;
    max-width: 700px;
    margin: auto;
    color: #e0e9e2;
}

.cta-buttons,
.global-cta-buttons {
    margin-top: 30px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}


/* ========================================
   CONTACT PAGE
======================================== */

.contact-section {
    padding: 100px 25px;
}

.contact-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
}

.contact-info h2,
.contact-form-box h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.contact-info > p {
    color: #666;
    margin-bottom: 35px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f7f2;
    border-radius: 50%;
    font-size: 20px;
}

.contact-detail h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.contact-detail a {
    color: #3f7f4c;
    font-weight: 600;
}

.contact-detail p {
    color: #666;
}

.contact-form-box {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    padding: 45px;
}

.form-intro {
    color: #666;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid #dddddd;
    background: #ffffff;
    border-radius: 6px;
    padding: 14px;
    outline: none;
    transition: 0.3s;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3f7f4c;
    box-shadow: 0 0 0 3px rgba(63, 127, 76, 0.1);
}

.form-submit {
    width: 100%;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    background: #202820;
    color: #ffffff;
    padding: 70px 25px 0;
}

.footer-grid {
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;

    padding-bottom: 60px;
}

.footer h2 {
    font-size: 27px;
    margin-bottom: 15px;
}

.footer h3 {
    font-size: 17px;
    margin-bottom: 20px;
}

.footer p {
    color: #bfc7c0;
    font-size: 15px;
}

.footer a {
    display: block;
    color: #bfc7c0;
    margin-bottom: 10px;
    font-size: 15px;
    transition: 0.3s;
}

.footer a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1250px;
    margin: auto;
    padding: 20px 0;

    border-top: 1px solid #394239;
    text-align: center;

    color: #9ca59d;
    font-size: 14px;
}


/* ========================================
   FLOATING WHATSAPP
======================================== */

.floating-whatsapp {
    width: 56px;
    height: 56px;

    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: #ffffff;
    border-radius: 50%;

    font-size: 25px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
}


/* ========================================
   BACK TO TOP
======================================== */

.back-to-top {
    width: 46px;
    height: 46px;

    position: fixed;
    right: 28px;
    bottom: 92px;
    z-index: 998;

    border: none;
    border-radius: 50%;

    background: #315d3a;
    color: #ffffff;

    font-size: 22px;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: 0.3s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #222;
}


/* ========================================
   TABLET RESPONSIVE
======================================== */

@media (max-width: 1000px) {

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        gap: 40px;
    }

    .custom-content {
        padding: 50px 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 768px) {

    .navbar {
        min-height: 72px;
        padding: 8px 18px;
        gap: 12px;
    }

    .logo img {
        width: 140px;
        max-height: 55px;
    }

    .quote-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;

        position: absolute;
        top: 72px;
        left: 0;

        width: 100%;
        background: #ffffff;

        padding: 15px 20px 25px;

        flex-direction: column;
        align-items: flex-start;
        gap: 5px;

        border-bottom: 1px solid #eeeeee;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        padding: 12px 0;
    }


    .hero {
        grid-template-columns: 1fr;
        padding: 55px 20px 70px;
        gap: 40px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .hero-text {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        height: 350px;
    }


    .page-hero {
        min-height: 270px;
        padding: 50px 20px;
    }

    .page-hero h1 {
        font-size: 38px;
    }


    .section-heading h2,
    .custom-content h2,
    .product-category-content h2,
    .paper-feature-content h2,
    .about-content h2,
    .cta-section h2,
    .global-cta h2 {
        font-size: 34px;
    }


    .product-intro,
    .products-intro {
        padding: 70px 20px 35px;
    }

    .products-section {
        padding: 25px 20px 70px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image img {
        height: 250px;
    }


    .custom-section {
        grid-template-columns: 1fr;
        margin-bottom: 70px;
        padding: 0 20px;
    }

    .custom-image img {
        min-height: 320px;
        border-radius: 12px 12px 0 0;
    }

    .custom-content {
        padding: 45px 28px;
        border-radius: 0 0 12px 12px;
    }


    .why-section {
        padding: 70px 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        margin-top: 35px;
    }


    .product-category-section {
        padding: 70px 20px;
    }

    .product-category-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .reverse-layout .product-category-content,
    .reverse-layout .product-category-visual {
        order: initial;
    }

    .product-feature-list {
        grid-template-columns: 1fr;
    }

    .product-image-visual img,
    .product-category-visual img {
        height: 350px;
    }


    .paper-feature {
        padding: 70px 20px;
    }

    .paper-feature-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .paper-feature-image img {
        height: 350px;
    }


    .about-section {
        padding: 70px 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual img {
        height: 350px;
    }


    .cta-section,
    .global-cta {
        padding: 70px 20px;
    }


    .contact-section {
        padding: 70px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-info h2,
    .contact-form-box h2 {
        font-size: 34px;
    }

    .contact-form-box {
        padding: 30px 22px;
    }


    .footer {
        padding: 60px 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 45px;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        right: 18px;
        bottom: 18px;
    }

    .back-to-top {
        right: 21px;
        bottom: 82px;
        width: 43px;
        height: 43px;
    }

}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 36px;
    }

    .page-hero h1 {
        font-size: 33px;
    }

    .section-heading h2,
    .custom-content h2,
    .product-category-content h2,
    .paper-feature-content h2,
    .about-content h2,
    .cta-section h2,
    .global-cta h2 {
        font-size: 29px;
    }

    .primary-btn,
    .secondary-btn,
    .white-btn,
    .outline-btn,
    .outline-white-btn {
        width: 100%;
    }

    .hero-buttons,
    .cta-buttons,
    .global-cta-buttons {
        flex-direction: column;
    }

}