/* =========================================================
   NAKHON ENERGY — INNER PAGE
   Uses the existing style.css as the base.
   This file only adds styles for pages such as About Us.
   ========================================================= */

/* ---------- Header ---------- */

.inner-header .header_navbar {
    position: absolute;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 30px rgba(0,0,0,.04);
}

.inner-header .navbar-nav .nav-item a {
    color: #38424D;
}

.inner-header .navbar-nav .nav-item.active > a,
.inner-header .navbar-nav .nav-item:hover > a {
    color: #0a94dc;
}

.inner-header .navbar-nav .nav-item a::before {
    background-color: #0a94dc;
}

.inner-header .navbar-toggler .toggler-icon {
    background-color: #38424D;
}

/* ---------- Inner Hero ----------
   Important: unlike the homepage, this is a banner,
   not a full-screen hero.
*/

.inner-hero {
	background-color:#747E88;
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom-left-radius: 120px;
}

.inner-hero_image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.inner-hero_overlay {
    position: absolute;
    inset: 0;
    background: rgba(56,66,77,.22);
}

.inner-hero_content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    color: #fff;
}

.inner-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 12px;
}

.inner-hero h1 {
    font-size: 52px;
    line-height: 1.2;
    color: #fff;
    font-weight: 600;
    margin: 0;
}

.inner-hero p {
    margin-top: 15px;
    color: rgba(255,255,255,.92);
    font-size: 18px;
}

/* ---------- Main content ---------- */

.inner-content {
    background: #fff;
}

.inner-section {
    padding: 120px 0;
}

.inner-intro {
    padding-bottom: 100px;
}

.inner-section-title {
    padding-right: 50px;
}

.inner-section-title h4 {
    font-weight: 500;
    color: #666666;
}

.inner-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #0a94dc;
    margin-bottom: 15px;
}

.inner-section-title h2,
.inner-side-copy h2 {
    font-size: 42px;
    line-height: 1.25;
    font-weight: 600;
    color: #38424D;
}

.inner-section-title h2 span,
.inner-side-copy h2 span {
    color: #0a94dc;
}

.inner-copy {
    max-width: 720px;
}

.inner-copy p,
.inner-side-copy p {
    font-size: 17px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 22px;
}

.inner-copy p:last-child {
    margin-bottom: 0;
}

/* ---------- Image section ---------- */

.inner-image-section {
    background: #F9FAFB;
    padding-top: 110px;
    padding-bottom: 110px;
}

.inner-large-image {
    overflow: hidden;
    border-top-right-radius: 120px;
    border-bottom-left-radius: 35px;
}

.inner-large-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
}

.inner-side-copy {
    padding-left: 55px;
}

.inner-side-copy p {
    margin-top: 25px;
}

/* ---------- Stats ---------- */

.inner-stats {
    padding: 80px 0 90px;
    background: #fff;
}

.inner-stat {
    min-height: 135px;
    margin: 15px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 25px rgba(173,206,243,.20);
}

.inner-stat:nth-child(odd) {
    border-top-right-radius: 25px;
    border-bottom-left-radius: 25px;
}

.inner-stat strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: #38424D;
}

.inner-stat span {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #555555;
}

/* ---------- Next page ---------- */

.inner-next {
    padding: 0 0 120px;
}

.inner-next-box {
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #F9FAFB;
    border-top-right-radius: 55px;
    border-bottom-left-radius: 55px;
}

.inner-next-box h3 {
    font-size: 30px;
    font-weight: 600;
    margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .inner-hero {
        height: 380px;
        border-bottom-left-radius: 90px;
    }

    .inner-hero h1 {
        font-size: 44px;
    }

    .inner-section-title {
        padding-right: 0;
        margin-bottom: 45px;
    }

    .inner-side-copy {
        padding-left: 0;
        margin-top: 45px;
    }

    .inner-large-image img {
        height: 380px;
    }
}

@media (max-width: 767px) {
    .inner-header .header_navbar {
        position: absolute;
    }

    .inner-hero {
        height: 340px;
        border-bottom-left-radius: 65px;
    }

    .inner-hero_content {
        padding-top: 55px;
    }

    .inner-hero h1 {
        font-size: 32px;
    }

    .inner-hero p {
        font-size: 16px;
    }

    .inner-section {
        padding: 75px 0;
    }

    .inner-section-title h2,
    .inner-side-copy h2 {
        font-size: 30px;
    }

    .inner-copy p,
    .inner-side-copy p {
        font-size: 16px;
        line-height: 1.8;
    }

    .inner-large-image {
        border-top-right-radius: 75px;
    }

    .inner-large-image img {
        height: 280px;
    }

    .inner-stats {
        padding: 55px 0 65px;
    }

    .inner-stat {
        margin: 10px 5px;
        min-height: 120px;
    }

    .inner-stat strong {
        font-size: 28px;
    }

    .inner-stat span {
        font-size: 13px;
    }

    .inner-next {
        padding-bottom: 75px;
    }

    .inner-next-box {
        padding: 35px 25px;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================
   Solar Energy Article
========================================= */
.solar-article {
    padding: 110px 0 120px;
    background: #fff;
}

.solar-article-heading {
    max-width: 820px;
    margin: 0 auto 45px;
    text-align: center;
}

.solar-article-heading h2 {
    margin-top: 12px;
    margin-bottom: 0;
}

.solar-article-heading h2 span {
    color: #0a94dc;
}

.solar-article-copy {
    max-width: 920px;
    margin: 0 auto;
}

.solar-article-copy p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 22px;
}

.solar-article-copy ul {
    margin: 0 0 22px;
    padding-left: 24px;
}

.solar-article-copy li {
    color: #555;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 6px;
}

/* ---------- Main article image ---------- */

.solar-article-image {
    width: 100%;
	height: auto !important;
    overflow: hidden;
    border-radius: 24px;
}

.solar-main-image-wrap {
    width: 100%;
    max-width: 920px;
    margin: 0 auto 55px;
}

.solar-main-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
}

.solar-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform .5s ease;
}

.solar-main-image:hover img {
    transform: scale(1.02);
}

/* Main article images: preserve the original image ratio on every article page */
.solar-article .solar-main-image,
.solar-article .solar-main-image img {
    height: auto;
    aspect-ratio: auto;
}

.solar-article .solar-main-image {
    overflow: hidden;
}

.solar-article .solar-main-image img {
    object-fit: contain;
}

/* ---------- Solar Thermal / Solar PV ---------- */

.solar-feature-row {
    display: grid;
    grid-template-columns: 44% 1fr;
    gap: 70px;
    align-items: center;
    margin: 80px 0;
}

.solar-feature-reverse {
    grid-template-columns: 1fr 44%;
}

.solar-feature-reverse .solar-feature-image {
    order: 2;
}

.solar-feature-reverse .solar-feature-content {
    order: 1;
}

.solar-feature-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
}

.solar-feature-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.solar-feature-image:hover img {
    transform: scale(1.03);
}

.solar-feature-content {
    padding: 10px 0;
}

.solar-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #0a94dc;
    text-transform: uppercase;
}

.solar-feature-content h3 {
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 1.3;
    color: #38424D;
}

.solar-feature-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #555555;
}

.solar-divider {
    height: 1px;
    background: #e8eaed;
    margin: 65px 0;
}

/* ---------- System types ---------- */

.solar-section-title {
    text-align: center;
    font-size: 30px;
    color: #38424D;
    margin-bottom: 55px;
}

.solar-system {
    width: 100%;
    max-width: 920px;
    margin: 0 auto 80px;
    display: block;
}

.solar-system:last-child {
    margin-bottom: 70px;
}

.solar-system-reverse {
    grid-template-columns: 1fr 40%;
}

.solar-system-reverse .solar-diagram {
    order: 2;
}

.solar-system-reverse .solar-system-copy {
    order: 1;
}

/* Diagram box */

.solar-diagram {
    min-height: 280px;
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f7f8f9;
    border: 1px solid #e9ecef;
    border-radius: 24px;
}

.solar-diagram-title {
    margin-bottom: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #0a94dc;
}

.solar-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    color: #38424D;
    text-align: center;
}

.solar-flow span:not(.arrow) {
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e6e9ec;
    border-radius: 8px;
}

.solar-flow .arrow {
    color: #0a94dc;
    font-size: 18px;
}

.solar-flow-bottom {
    margin-top: 18px;
}

.solar-grid-line {
    margin: 13px 0 5px;
    color: #0a94dc;
    font-size: 20px;
    line-height: 1;
}

.solar-grid-label {
    padding: 9px 14px;
    background: #fff;
    border: 1px solid #e6e9ec;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #38424D;
}

.solar-system-copy h3 {
    color: #38424D;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 18px;
}

.solar-system-copy h3 span {
    color: #0a94dc;
    margin-right: 8px;
}

.solar-system-copy h3 small {
    font-size: 16px;
    font-weight: 400;
    color: #777;
}

.solar-system-copy p {
    margin-bottom: 16px;
}

.solar-pros-cons {
    margin-top: 25px;
	margin-bottom: 30px;
    padding: 22px 25px;
    background: #f7f8f9;
    border-radius: 14px;
}

.solar-pros-cons p {
    font-size: 15px;
    margin-bottom: 12px;
}

.solar-pros-cons p:last-child {
    margin-bottom: 0;
}


.solar-system .solar-article-image {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
}

.solar-system .solar-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.solar-choice {
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* ---------- Final choice ---------- */

.solar-choice {
    margin-top: 35px;
    padding: 55px;
    background: #f7f8f9;
    border-radius: 28px;
}

.solar-choice h3 {
    font-size: 30px;
    color: #38424D;
    margin: 12px 0 20px;
}

.solar-conclusion {
    margin-top: 45px;
    padding: 45px 35px;
    text-align: center;
    background: #38424D;
    border-radius: 28px;
}

.solar-conclusion p {
    color: #fff;
    font-size: 20px;
    line-height: 1.8;
    margin: 0;
}

.solar-conclusion strong {
    font-weight: 500;
}

/* ---------- Tax ----------- */
.article-table-wrap{width:100%;overflow-x:auto;margin:30px 0 45px}
.article-table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden;font-size:16px}
.article-table th,.article-table td{border:1px solid #e1e5e8;padding:15px 18px;text-align:left;vertical-align:top;line-height:1.75; text-align:center;}
.article-table th{background:#38424D;color:#fff;font-weight:600; text-align:center;}
.article-table tr:nth-child(even) td{background:#f7f8f9}
.solar-system-points{background:#f7f8f9;border-radius:18px;padding:28px 32px;margin:25px 0 45px}
.solar-system-points h6{color:#38424D;font-size:17px;font-weight:600;margin:0 0 8px}
.solar-system-points p{margin-bottom:18px}
.solar-system-points p:last-child{margin-bottom:0}
@media(max-width:767px){.article-table{min-width:620px}.article-table th,.article-table td{padding:12px 14px;font-size:15px}.solar-system-points{padding:22px 20px}}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .solar-feature-row,
    .solar-feature-reverse,
    .solar-system,
    .solar-system-reverse {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .solar-feature-reverse .solar-feature-image,
    .solar-feature-reverse .solar-feature-content,
    .solar-system-reverse .solar-diagram,
    .solar-system-reverse .solar-system-copy {
        order: initial;
    }

    .solar-diagram {
        min-height: 250px;
    }

    .solar-choice {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .solar-article {
        padding: 75px 0 80px;
    }

    .solar-article-heading h2 {
        font-size: 30px;
    }

    .solar-article-image {
        border-radius: 16px;
    }

    .solar-main-image-wrap {
        margin-bottom: 45px;
    }

    .solar-main-image {
        height: auto;
        aspect-ratio: auto;
    }

    .solar-feature-row {
        margin: 55px 0;
        gap: 25px;
    }

    .solar-feature-image {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .solar-feature-content h3 {
        font-size: 25px;
    }

    .solar-section-title,
    .solar-choice h3 {
        font-size: 25px;
    }

    .solar-system {
        margin-bottom: 60px;
    }

    .solar-system-copy h3 {
        font-size: 22px;
    }

    .solar-system-copy h3 small {
        display: block;
        margin-top: 5px;
        margin-left: 30px;
    }

    .solar-diagram {
        min-height: 220px;
        border-radius: 16px;
        padding: 25px 15px;
    }

    .solar-flow {
        font-size: 12px;
        gap: 6px;
    }

    .solar-flow span:not(.arrow) {
        padding: 8px 9px;
    }

    .solar-choice {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .solar-conclusion {
        padding: 32px 22px;
        border-radius: 20px;
    }

    .solar-conclusion p {
        font-size: 17px;
    }
}


/* Solar systems: content first, image below */
.solar-systems {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.solar-system .solar-system-copy {
    width: 100%;
}

.solar-system .solar-article-image {
    width: 100%;
    max-width: 100%;
    margin: 35px 0 0;
}

.solar-system .solar-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.solar-system-reverse {
    display: block;
}

/* Strengths / limitations gray box */
.solar-system-copy {
    width: 100%;
}

.solar-system-copy .solar-system-points {
    background: #f7f8f9;
    border-radius: 18px;
    padding: 28px 32px;
    margin-top: 28px;
}

.solar-system-copy .solar-system-points h4 {
    margin-top: 0;
    margin-bottom: 14px;
}

.solar-system-copy .solar-system-points ul {
    margin-bottom: 24px;
}

.solar-system-copy .solar-system-points ul:last-child {
    margin-bottom: 0;
}

/* ===== Social Project Article ===== */
.social-article .solar-article-copy {
    max-width: 920px;
    margin: 0 auto;
}

.social-highlight {
    margin: 45px 0 35px;
    padding: 30px 34px;
    border-radius: 18px;
    text-align: center;
}

.social-highlight .inner-label {
    display: inline-block;
    margin-bottom: 8px;
}

.social-highlight h3 {
    margin: 0;
    color: #38424D;
}

.social-image-placeholder {
    width: 100%;
    min-height: 300px;
    margin: 38px 0 48px;
    background: #f7f8f9;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}
.social-image-placeholder span {
    font-size: 20px;
    font-weight: 600;
    color: #38424D;
}

.social-image-placeholder small {
    margin-top: 6px;
    font-size: 14px;
}

.social-quote {
    margin: 45px 0;
    padding: 30px 34px;
    background: #f7f8f9;
    border-radius: 18px;
}

.social-quote p {
    margin-bottom: 18px;
}

.social-quote ul {
    margin: 0;
    padding-left: 22px;
}

.social-quote li {
    margin-bottom: 7px;
}

.social-video {
    margin: 50px 0;
}

.social-video-placeholder span {
    font-size: 21px;
    font-weight: 600;
}

.social-video-placeholder small {
    margin-top: 8px;
    opacity: .75;
}

.social-thanks {
    margin-top: 55px;
}

.social-thanks h3 {
    margin-bottom: 18px;
}

.partner-list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 30px;
    padding: 28px 30px;
    background: #f7f8f9;
	color:555555;
    border-radius: 18px;
}

.partner-list div {
    position: relative;
    padding-left: 18px;
}

.partner-list div::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0a94dc;
}

.social-closing {
    margin-top: 58px;
    text-align: center;
}

.social-closing > p:first-child {
    max-width: 760px;
    margin: 0 auto 35px;
    font-size: 20px;
}

.social-closing .social-image-placeholder {
    margin: 35px auto;
}

.social-date {
    margin-top: 35px;
    font-size: 18px;
}

.social-month {
    margin-top: 5px;
    color: #7b858e;
}

@media (max-width: 767px) {
    .social-highlight,
    .social-quote {
        padding: 24px 20px;
    }

    .social-image-placeholder {
        min-height: 230px;
    }

    .social-video-placeholder {
        min-height: 260px;
    }

    .partner-list {
        grid-template-columns: 1fr;
        padding: 22px 20px;
        gap: 10px;
    }

    .social-closing > p:first-child {
        font-size: 18px;
    }
}

.social-video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #38424D;
}

.social-video-placeholder iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* =========================================
   ABOUT
========================================= */

.inner-company-profile {
    padding-top: 100px;
    padding-bottom: 110px;
}

.inner-company-copy {
    max-width: 920px;
    margin: 0 auto;
}

.inner-company-copy p {
    margin-bottom: 28px;
}

.inner-company-copy p:last-child {
    margin-bottom: 0;
}

.inner-company-copy .company-highlight {
    color: #0a94dc;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .inner-company-profile {
        padding-top: 70px;
        padding-bottom: 80px;
    }
}