/* ==========================================================================
   Trontek - About Us Page Stylesheet
   Matching Design Reference Wireframe & Typography
   ========================================================================== */

:root {
    --about-orange: #f3752c;
    --about-orange-dark: #dc5f18;
    --about-dark: #22252a;
    --about-text-muted: #555b62;
    --about-card-bg: #eaebed;
    --about-border: #e6e8eb;
}

.about-us-page {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--about-dark);
    background-color: #ffffff;
    overflow-x: clip;
}

.about-us-page *:not(i):not([class*="fa"]):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-brands) {
    font-family: 'Montserrat', sans-serif !important;
}

/* Container Content Width Alignment: Matches Career Page (1140px max-width) */
@media (min-width: 1200px) {
    .about-us-page section .container,
    .about-us-page .container {
        max-width: 1140px !important;
    }
}

/* ==========================================================================
   Typography Standards:
   - Section Main Headings: 45.6px / 'Montserrat', sans-serif
   - Paragraph Body Text: 15.68px
   ========================================================================== */
.about-us-page h1,
.about-us-page h2,
.about-us-page h3,
.about-us-page h4 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.01em;
}

.about-us-page p {
    font-size: 15.68px;
    line-height: 1.68;
}

/* Section Main Headings (45.6px) */
.about-section-heading {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(28px, 4vw, 45.6px) !important;
    font-weight: 800 !important;
    color: #33383f;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 45px;
}

.about-section-heading span {
    color: var(--about-orange);
}

.heading-all-orange {
    color: var(--about-orange) !important;
}

.about-title-large {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(28px, 4.2vw, 45.6px) !important;
    font-weight: 800 !important;
    color: #22252a;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-title-large span {
    color: var(--about-orange);
}

/* Common Section Padding */
.about-section {
    padding: 75px 0;
}

/* ==========================================================================
   1. Hero Banner Section
   Full-Width with Height 826px (No Hover Animation)
   ========================================================================== */
.about-hero-section {
    width: 100%;
    height: 826px;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    position: relative;
    background-color: #000000;
}

.about-hero-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.about-hero-img {
    width: 100%;
    height: 826px;
    display: block;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 0 !important;
    transition: none !important;
    transform: none !important;
}

.about-hero-wrapper:hover .about-hero-img,
.about-hero-section:hover .about-hero-img,
.about-hero-img:hover {
    transform: none !important;
    transition: none !important;
}

@media (max-width: 991px) {
    .about-hero-section,
    .about-hero-img {
        height: clamp(400px, 60vw, 650px);
    }
}

@media (max-width: 576px) {
    .about-hero-section,
    .about-hero-img {
        height: 380px;
    }
}

/* ==========================================================================
   2. Engineering Energy Enabling Progress
   ========================================================================== */
.about-progress-section {
    position: relative;
    padding: 70px 0 85px 0;
    background-color: #ffffff;
    overflow-x: clip;
}

.about-progress-row {
    align-items: center;
}

.about-progress-visual-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
    min-height: 310px;
}

/* Orange Arch Backdrop: extends to left viewport edge and curves on top right */
.about-progress-arch-bg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -100vw;
    right: 25px;
    height: 300px;
    background-color: #e46828;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 0;
    z-index: 1;
    pointer-events: none;
}

/* Container Image (Commercial & Industrial BESS.png) */
.about-progress-bess-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 610px;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 32px rgba(0, 0, 0, 0.14));
    margin-left: 0;
    margin-right: 0;
}

.about-progress-content {
    padding-left: 36px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.about-progress-content .about-title-large {
    text-align: right;
    width: 100%;
}

.about-progress-desc {
    font-size: 15.68px !important;
    line-height: 1.75;
    color: #40454c;
    margin: 0 0 0 auto;
    max-width: 580px;
    text-align: right;
}

@media (max-width: 1199px) {
    .about-progress-arch-bg {
        right: 15px;
        height: 260px;
        border-top-right-radius: 170px;
    }
    .about-progress-bess-img {
        max-width: 520px;
    }
}

@media (max-width: 991px) {
    .about-progress-section {
        padding: 35px 0 40px 0;
    }
    .about-progress-visual-wrap {
        justify-content: center;
        min-height: auto;
        padding: 5px 0;
        margin-bottom: 20px;
    }
    .about-progress-arch-bg {
        left: -15px;
        right: 10%;
        height: 200px;
        border-top-right-radius: 120px;
    }
    .about-progress-bess-img {
        max-width: 440px;
        margin-right: 0;
        transform: translateX(10px);
    }
    .about-progress-content {
        padding-left: 0;
        text-align: right;
        align-items: flex-end;
    }
    .about-progress-desc {
        margin: 0 0 0 auto;
        text-align: right;
    }
}

@media (max-width: 576px) {
    .about-progress-section {
        padding: 15px 0 25px 0;
    }
    .about-progress-visual-wrap {
        min-height: auto;
        padding: 0;
        margin-bottom: 12px;
    }
    .about-progress-arch-bg {
        left: -12px;
        right: 5%;
        height: 160px;
        border-top-right-radius: 90px;
    }
    .about-progress-bess-img {
        max-width: 320px;
        transform: translateX(5px);
    }
}

/* ==========================================================================
   3. Diverse Product Portfolio
   Matching Career Page Staggered Box Sizes, Colors (#f2f4f8 / #ffe1d0), & Hover
   ========================================================================== */
.about-portfolio-section {
    padding: 70px 0 95px 0;
    background-color: #ffffff;
}

.why-cards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-start;
    justify-content: center;
}

.why-card-col {
    flex: 1 1 calc(20% - 15px);
    min-width: 190px;
    transition: margin 0.3s ease;
}

/* Staggered vertical elevation matching reference screenshot from career page */
.why-card-col:nth-child(1) {
    margin-top: 35px;
}
.why-card-col:nth-child(2) {
    margin-top: 0px;
}
.why-card-col:nth-child(3) {
    margin-top: 55px;
}
.why-card-col:nth-child(4) {
    margin-top: 0px;
}
.why-card-col:nth-child(5) {
    margin-top: 35px;
}

.why-card {
    background: #f2f4f8;
    border: none;
    border-radius: 12px;
    padding: 38px 20px 34px 20px;
    text-align: center;
    min-height: 230px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

.why-card:hover {
    background-color: #ffe1d0 !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08) !important;
}

.why-card-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px auto;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.about-portfolio-icon-svg {
    max-width: 62px;
    max-height: 62px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.why-card:hover .why-card-icon,
.why-card:hover .about-portfolio-icon-svg {
    transform: scale(1.08);
}

.why-card-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin-bottom: 0;
    line-height: 1.25;
    font-family: 'Montserrat', sans-serif !important;
}

.why-card-desc {
    font-size: 0.88rem !important;
    color: #4a4d52 !important;
    line-height: 1.5;
    margin-bottom: 0;
    font-weight: 400;
}

@media (max-width: 991px) {
    .about-portfolio-section {
        padding: 40px 0 45px 0;
    }
    .about-portfolio-header {
        margin-bottom: 25px;
    }
    .why-card-col:nth-child(1),
    .why-card-col:nth-child(2),
    .why-card-col:nth-child(3),
    .why-card-col:nth-child(4),
    .why-card-col:nth-child(5) {
        margin-top: 0;
    }
    .why-card-col {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .about-portfolio-section {
        padding: 30px 0 35px 0;
    }
    .why-card-col {
        flex: 1 1 100%;
    }
}

/* ==========================================================================
   4. Our Impact Section
   ========================================================================== */
.about-impact-section {
    padding: 80px 0 95px 0;
    background-color: #ffffff;
}

.about-impact-header {
    text-align: center;
    margin-bottom: 45px;
}

.about-section-tag {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #3b3f46;
    margin-bottom: 4px;
}

.about-impact-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(32px, 4.8vw, 45.6px) !important;
    font-weight: 800 !important;
    color: var(--about-orange);
    letter-spacing: -0.02em;
    margin: 0;
}

.about-impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    max-width: 920px;
    margin: 0 auto;
}

.about-impact-card {
    border-radius: 28px;
    padding: 38px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-impact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Orange Card */
.about-impact-card-orange {
    background-color: #e46928;
    color: #ffffff;
}

.about-impact-card-orange .impact-num,
.about-impact-card-orange .impact-label-top,
.about-impact-card-orange .impact-label-bottom {
    color: #ffffff;
}

/* Light Grey Card */
.about-impact-card-light {
    background-color: #eaebed;
    color: #22252a;
}

.about-impact-card-light .impact-num {
    color: #000000;
}

.about-impact-card-light .impact-label-top {
    color: #555b62;
}

.about-impact-card-light .impact-label-bottom {
    color: #2b2f36;
}

.impact-label-top {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.impact-num {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(38px, 4.6vw, 54px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.impact-label-bottom {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.impact-label-bottom sub {
    font-size: 70%;
    vertical-align: baseline;
    position: relative;
    bottom: -0.15em;
}

.about-impact-desc-wrap {
    max-width: 920px;
    margin: 45px auto 0 auto;
    text-align: center;
}

.about-impact-desc {
    font-size: 15.68px !important;
    line-height: 1.72;
    color: #2b2f36;
    margin: 0;
}

@media (max-width: 768px) {
    .about-impact-section {
        padding: 35px 0 40px 0;
    }
    .about-impact-header {
        margin-bottom: 25px;
    }
    .about-impact-desc-wrap {
        margin-top: 25px;
    }
    .about-impact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-impact-card {
        padding: 30px 24px;
        min-height: auto;
    }
    .impact-num {
        font-size: 2.35rem;
    }
}

/* ==========================================================================
   5. Engineering Excellence & Quality Assurance
   Clean White Heading + Edge-to-Edge Full-Width Orange Band with 3 White Cards
   ========================================================================== */
.about-quality-section {
    width: 100%;
    padding: 0;
    margin: 30px 0 0 0;
    background-color: #ffffff;
    position: relative;
}

.about-quality-header {
    padding: 60px 0 45px 0;
    background-color: #ffffff;
}

.about-quality-heading {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(28px, 4.2vw, 45.6px) !important;
    font-weight: 800 !important;
    line-height: 1.25;
    text-align: center;
    margin: 0;
    letter-spacing: -0.01em;
}

.about-quality-heading .heading-orange {
    color: #e46828 !important;
}

.about-quality-heading .heading-dark {
    color: #111111 !important;
}

.about-quality-fullwidth-band {
    width: 100%;
    background-color: #e46828;
    padding: 55px 0 65px 0;
    position: relative;
}

.about-quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.about-quality-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 195px;
}

.about-quality-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.about-quality-icon-box {
    flex-shrink: 0;
    width: 105px;
    min-width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-quality-icon-img {
    max-width: 105px;
    max-height: 105px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.about-quality-card-body {
    flex: 1;
}

.about-quality-card-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #111111 !important;
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.about-quality-card-desc {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15.68px !important;
    line-height: 1.5;
    color: #444444;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 991px) {
    .about-quality-section {
        margin: 15px 0 0 0;
    }
    .about-quality-header {
        padding: 35px 0 25px 0;
    }
    .about-quality-fullwidth-band {
        padding: 35px 0 40px 0;
    }
    .about-quality-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-quality-card {
        padding: 24px 20px;
        min-height: auto;
    }
    .about-quality-icon-box {
        width: 85px;
        min-width: 85px;
        height: 85px;
    }
    .about-quality-icon-img {
        max-width: 85px;
        max-height: 85px;
    }
}

/* ==========================================================================
   6. Built on Engineering Driven by People
   ========================================================================== */
.about-people-section {
    padding: 70px 0 80px 0;
    background-color: #ffffff;
}

.about-people-row {
    align-items: flex-start;
}

.about-people-left {
    padding-right: 40px;
}

.about-people-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(32px, 4vw, 45.6px) !important;
    font-weight: 800 !important;
    line-height: 1.15;
    color: #111111;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.about-people-title .heading-orange,
.about-people-title span {
    color: var(--about-orange);
}

.about-people-desc {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15.68px !important;
    line-height: 1.7;
    color: #2b2b2b;
    margin: 0;
}

.about-people-right {
    display: flex;
    flex-direction: column;
}

.about-people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.about-person-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    background-color: var(--about-orange);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-person-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.about-person-img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-person-badge {
    background-color: var(--about-orange);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    padding: 8px 6px;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    flex: 1 1 auto;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    line-height: 1.25;
}

.about-people-subtext {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15.68px !important;
    line-height: 1.65;
    color: #2b2b2b;
    margin-top: 24px;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .about-people-section {
        padding: 35px 0 25px 0;
    }
    .about-people-left {
        padding-right: 0;
        margin-bottom: 25px;
    }
    .about-people-subtext {
        margin-top: 18px;
    }
}

@media (max-width: 768px) {
    .about-people-section {
        padding: 30px 0 20px 0;
    }
    .about-people-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 360px;
        margin: 0 auto;
    }
    .about-person-card {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    .about-person-img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

/* ==========================================================================
   7. Sustainable Energy Future / Net Zero (Full-Width Clean Background + Live Text)
   ========================================================================== */
.about-sustainable-section {
    width: 100%;
    position: relative;
    background: #ffffff url('../img/Co2.webp') center center / cover no-repeat;
    padding: 75px 0 110px 0;
    margin: 40px 0 0 0 !important;
    overflow: hidden;
}

.about-sustainable-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 340px;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 180px, rgba(255, 255, 255, 0.92) 230px, rgba(255, 255, 255, 0.5) 285px, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.about-sustainable-heading-wrap {
    margin-bottom: 50px;
}

.about-sustainable-heading {
    font-family: 'Montserrat', sans-serif !important;
    text-align: center;
    line-height: 1.15;
    margin: 0;
}

.about-sustainable-heading .heading-line-1 {
    font-size: clamp(32px, 4.2vw, 45.6px) !important;
    font-weight: 800;
    color: var(--about-orange);
    letter-spacing: -0.02em;
}

.about-sustainable-heading .heading-line-2 {
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 700;
    color: #111111;
    margin: 6px 0;
    letter-spacing: -0.01em;
}

.about-sustainable-heading .heading-line-3 {
    font-size: clamp(30px, 3.8vw, 45.6px) !important;
    font-weight: 800;
    color: var(--about-orange);
    letter-spacing: -0.02em;
}

.about-sustainable-row {
    min-height: 300px;
}

.about-netzero-content {
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.about-netzero-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(28px, 3.2vw, 42px) !important;
    font-weight: 800 !important;
    line-height: 1.2;
    margin-bottom: 22px;
}

.about-netzero-title .title-dark {
    color: #111111;
}

.about-netzero-title .title-orange {
    color: var(--about-orange);
}

.about-netzero-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 15.68px !important;
    font-weight: 500;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 0;
}

@media (max-width: 991px) {
    .about-sustainable-section {
        margin: 0 !important;
        padding: 35px 0 60px 0;
    }
    .about-sustainable-section::before {
        height: 310px;
        background: linear-gradient(180deg, #ffffff 0%, #ffffff 90px, rgba(255, 255, 255, 0.96) 160px, rgba(255, 255, 255, 0.88) 220px, rgba(255, 255, 255, 0.5) 275px, rgba(255, 255, 255, 0) 100%);
    }
    .about-sustainable-heading-wrap {
        margin-bottom: 25px;
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 767px) {
    .about-sustainable-section {
        margin: 0 !important;
        padding: 25px 0 45px 0;
        background-position: 75% top;
    }
    .about-sustainable-section::before {
        height: 300px;
        background: linear-gradient(180deg, #ffffff 0%, #ffffff 70px, rgba(255, 255, 255, 0.96) 140px, rgba(255, 255, 255, 0.9) 210px, rgba(255, 255, 255, 0.55) 265px, rgba(255, 255, 255, 0) 100%);
    }
    .about-sustainable-heading-wrap {
        margin-bottom: 20px;
        position: relative;
        z-index: 2;
    }
    .about-sustainable-heading {
        filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.9));
    }
    .about-netzero-content {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 24px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
}

/* Screen reader / SEO hidden text */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
