
/* ==========================================
   TAJ INDIA MACHINERY
   ABOUT PAGE - VIDEO HERO
========================================== */

.about-page,
.about-page * {
    box-sizing: border-box;
}

.about-page {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: "Oxanium", sans-serif;
}

/* Hero section */

.about-hero {
    position: relative;
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;
    background: #3c3a83;
    line-height: 0;
}

/* Full-width video.
   Keep the original video ratio so its built-in text
   and complete design are not cropped. */

.about-hero-video {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    aspect-ratio: 3736/ 2220;
    object-fit: contain;
    object-position: center;

    border: 0;
    outline: 0;

    background: #3c3a83;
}

/* Tablet */

@media screen and (max-width: 900px) {

    .about-hero,
    .about-hero-video {
        width: 100%;
    }

    .about-hero-video {
        height: auto;
        object-fit: contain;
    }
}

/* Mobile */

@media screen and (max-width: 600px) {

    .about-hero {
        width: 100%;
        overflow: hidden;
    }

    .about-hero-video {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 3736 / 2220;
        object-fit: contain;
        object-position: center;
    }
}







/* ==========================================
   ABOUT TRUST AND QUALITY SECTION
========================================== */

.about-trust-section,
.about-trust-section * {
    box-sizing: border-box;
}

.about-trust-section {
    position: relative;
    isolation: isolate;

    width: 100%;
    height: 1100px;
    min-height: 1100px;

    margin: 0;
    padding: 0;
    overflow: hidden;

    background: #fff7f2;
}

/* ==========================================
   LEFT HEADING
========================================== */

.about-trust-heading {
    position: absolute;
    z-index: 2;

    top: 100px;
    left: 7.25%;

    width: 42%;
    max-width: 740px;
    margin: 0;
}

.about-trust-heading h2 {
    margin: 0;
    padding: 0;
    font-size: 50px;
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: 0;

    background: linear-gradient(
        90deg,
        #b20b57 0%,
        #891077 50%,
        #5119a2 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #941078;
}

/* SINCE 2000 */

.about-trust-heading p {
    margin: 20px 0 0;
    padding: 0;
    font-size: 75px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    white-space: nowrap;

    background: linear-gradient(
        180deg,
        #b20b57 10%,
        #8a107d 52%,
        #5119a2 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #941078;
}

/* ==========================================
   FACTORY IMAGE
========================================== */

.about-trust-image {
    position: absolute;
    z-index: 0;

    bottom: -1%;

    width: 100%;
    max-width: 1600px;

    margin: 0;
    padding: 0;
    pointer-events: none;
}

.about-trust-image img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: left bottom;
}

/* ==========================================
   ORANGE CONTENT BOX
========================================== */

.about-trust-box {
    position: absolute;
    z-index: 3;

    top: 22%;
    right: 11%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38.2%;
    height: 35%;
    min-height: 400px;

    margin: 0;
    padding: 55px 4.55%;

    background: #e9971b;
}

.about-trust-box p {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    color: #ffffff;
    font-family: "Oxanium", sans-serif;
    font-size: clamp(16px, 1.12vw, 22px);
    font-weight: 400;
    line-height: 1.65;

    overflow-wrap: break-word;
}

/* ==========================================
   LAPTOP
========================================== */

@media screen and (max-width: 1400px) {

    .about-trust-section {
        height: 700px;
        min-height: 700px;
    }

    .about-trust-heading {
        left: 5%;
        width: 44%;
    }

    .about-trust-heading h2 {
        font-size: clamp(34px, 3.5vw, 48px);
    }

    .about-trust-heading p {
        margin-top: 16px;
        font-size: clamp(54px, 5vw, 68px);
    }

    .about-trust-image {
        width: 74%;
        bottom: -17%;
    }

    .about-trust-box {
        top: 28%;
        right: 5%;
        width: 44%;
        height: auto;
        min-height: 400px;
        padding: 38px 4%;
    }

    .about-trust-box p {
        font-size: 17px;
        line-height: 1.7;
    }
}

/* ==========================================
   TABLET
========================================== */

@media screen and (max-width: 900px) {

    .about-trust-section {
        height: auto;
        min-height: 0;
        padding: 32px 0 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .about-trust-heading {
        position: relative;
        top: auto;
        left: auto;

        width: calc(100% - 50px);
        max-width: 650px;

        margin: 0 auto 24px;
    }

    .about-trust-heading h2 {
        font-size: clamp(32px, 5vw, 46px);
        line-height: 1.08;
    }

    .about-trust-heading p {
        margin-top: 12px;
        font-size: clamp(52px, 8vw, 72px);
    }

    .about-trust-image {
        position: relative;
        left: -3%;
        bottom: auto;

        width: 106%;
        max-width: none;

        margin: 0;
    }

    .about-trust-box {
        position: relative;
        top: auto;
        right: auto;

        width: calc(100% - 50px);
        height: auto;
        min-height: 0;

        margin: -25px auto 30px;
        padding: 30px;

    }

    .about-trust-box p {
        font-size: 16px;
        line-height: 1.75;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media screen and (max-width: 600px) {

    .about-trust-section {
        padding-top: 26px;
    }

    .about-trust-heading {
        width: calc(100% - 30px);
        margin-bottom: 22px;
    }

    .about-trust-heading h2 {
        font-size: clamp(27px, 7.2vw, 39px);
        line-height: 1.1;
    }

    .about-trust-heading p {
        margin-top: 12px;
        font-size: clamp(43px, 11vw, 60px);
        letter-spacing: -1px;
    }

    .about-trust-image {
        left: -5%;
        width: 110%;
    }

    .about-trust-box {
        width: calc(100% - 30px);
        margin: -16px auto 24px;
        padding: 24px 20px;
    }

    .about-trust-box p {
        font-size: 15px;
        line-height: 1.75;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media screen and (max-width: 380px) {

    .about-trust-heading {
        width: calc(100% - 24px);
    }

    .about-trust-heading h2 {
        font-size: 26px;
    }

    .about-trust-heading p {
        font-size: 42px;
    }

    .about-trust-box {
        width: calc(100% - 24px);
        padding: 20px 16px;
    }

    .about-trust-box p {
        font-size: 14px;
    }
}

/* ==========================================
   ABOUT PAGE - EARLY PHASE MACHINES
========================================== */

.about-early-machines,
.about-early-machines * {
    box-sizing: border-box;
}

.about-early-machines {
    width: 100%;
    margin: 0;
    padding: 50px;

    background: #fff7f2;
    color: #283044;
}

.about-early-container {
    width: calc(100% - 15%);
    max-width: 1700px;
    margin: 0 auto;
}

/* Introduction text */

.about-early-intro {
    width: 100%;
    margin: 0 0 30px;
    padding: 0;

    color: #293143;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

/* Three-column layout */

.about-early-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;

    width: 100%;
    margin: 0;
    padding: 0;
}

/* Machine name boxes */

.about-early-card {
    display: flex;
    align-items: center;

    width: 100%;
    min-width: 0;
    min-height: 45px;

    margin: 0;
    padding: 10px 13px;

    background: #ffe9dd;
    border: 0;
    border-left: 4px solid #f4a66d;

    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.about-early-card span {
    display: block;
    min-width: 0;
    overflow-wrap: break-word;
}

/* Subtle highlight like the reference */

.about-early-card:hover {
    background: #ffdac5;
    border-left-color: #e88b43;
}

/* ==========================================
   TABLET
========================================== */

@media screen and (max-width: 900px) {

    .about-early-machines {
        padding: 30px 0 38px;
    }

    .about-early-container {
        width: calc(100% - 50px);
    }

    .about-early-intro {
        margin-bottom: 24px;
        font-size: 16px;
    }

    .about-early-grid {
        gap: 16px;
    }

    .about-early-card {
        padding: 10px 11px;
        font-size: 13px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media screen and (max-width: 600px) {

    .about-early-machines {
        padding: 26px 0 32px;
    }

    .about-early-container {
        width: calc(100% - 30px);
    }

    .about-early-intro {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }

    .about-early-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .about-early-card {
        min-height: 46px;
        padding: 11px 14px;
        font-size: 14px;
    }
}

/* Small mobile */

@media screen and (max-width: 380px) {

    .about-early-container {
        width: calc(100% - 24px);
    }

    .about-early-intro {
        font-size: 14px;
    }

    .about-early-card {
        font-size: 13px;
    }
}

/* ==========================================
   COMPANY MILESTONES TIMELINE IMAGE
========================================== */

.about-milestones-section,
.about-milestones-section * {
    box-sizing: border-box;
}

.about-milestones-section {
    width: 100%;
    margin: 0;
    padding: 10px;
    overflow: hidden;

    background: #fff7f2;
}

.about-milestones-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0;
}

.about-milestones-image {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0 auto;
    padding: 0;

    object-fit: contain;
    object-position: center;

    border: 0;
}

/* Tablet */

@media screen and (max-width: 900px) {

    .about-milestones-section {
        padding: 20px 15px 30px;
    }

    .about-milestones-container {
        max-width: 100%;
    }

    .about-milestones-image {
        width: 100%;
        height: auto;
    }
}

/* Mobile */

@media screen and (max-width: 600px) {

    .about-milestones-section {
        padding: 15px 10px 25px;
    }

    .about-milestones-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}






/* ==========================================
   MISSION & VISION SECTION
========================================== */

.mission-vision-section,
.mission-vision-section * {
    box-sizing: border-box;
}

.mission-vision-section {
    width: 100%;
    margin: 0;
    padding: 50px;

    background: #fff7f2;
    color: #303342;
}

.mission-vision-container {
    width: 92%;
    max-width: 1720px;
    margin: 0 auto;
    padding: 40px;

    background: #fff0e6;
}

/* Company introduction */

.mission-vision-intro {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 0;

    color: #62616a;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    text-align: center;
}

/* ISO certification */

.mission-vision-certification {
    width: 100%;
    margin: 0 0 18px;
    padding: 0;

    color: #30303b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

/* Center controls */

.mission-vision-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    width: 100%;
    margin: 0 auto 15px;
}

/* Mission / Vision labels */

.mission-vision-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-height: 20px;
    margin: 0;
    padding: 5px;

    border: 0;
    background: transparent;
    color: #383642;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;

    cursor: pointer;
    white-space: nowrap;
}

.mission-vision-label.active {
    font-weight: 700;
}

.mv-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    line-height: 1;
}

.mv-vision-icon {
    font-size: 18px;
}

/* Toggle button */

.mission-vision-switch {
    position: relative;

    display: block;
    flex: 0 0 50px;

    width: 50px;
    height: 30px;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 2px;

    background: #f8cbd5;
    cursor: pointer;

    transition: background 0.25s ease;
}

.mission-vision-switch-thumb {
    position: absolute;
    top: 0;
    left: 0;

    display: block;
    width: 35px;
    height: 30px;

    background: #b30c29;
    border-radius: 1px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

/* Vision selected */

.mission-vision-section.is-vision .mission-vision-switch {
    background: #f2c6dc;
}

.mission-vision-section.is-vision .mission-vision-switch-thumb {
    transform: translateX(15px);
    background: #5e187f;
}

/* Keyboard focus */

.mission-vision-switch:focus-visible,
.mission-vision-label:focus-visible {
    outline: 2px solid #9b2181;
    outline-offset: 3px;
}

/* Mission / Vision statement */

.mission-vision-statement {
    width: 100%;
    min-height: 24px;
    margin: 0;
    padding: 0;

    text-align: center;
}

.mission-vision-statement p {
    width: 100%;
    margin: 0;
    padding: 0;

    color: #77717b;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
}


/* ==========================================
   TABLET
========================================== */

@media screen and (max-width: 900px) {

    .mission-vision-section {
        padding: 25px 0 30px;
    }

    .mission-vision-container {
        width: calc(100% - 40px);
        padding: 24px 24px 26px;
    }

    .mission-vision-intro {
        font-size: 13px;
        line-height: 1.75;
        margin-bottom: 18px;
    }

    .mission-vision-certification {
        font-size: 12px;
    }

    .mission-vision-controls {
        gap: 10px;
    }

    .mission-vision-statement p {
        font-size: 12px;
        line-height: 1.8;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media screen and (max-width: 600px) {

    .mission-vision-section {
        padding: 18px 0 24px;
    }

    .mission-vision-container {
        width: calc(100% - 24px);
        padding: 21px 16px 23px;
    }

    .mission-vision-intro {
        margin-bottom: 17px;

        font-size: 12px;
        line-height: 1.8;
        text-align: left;
    }

    .mission-vision-certification {
        margin-bottom: 15px;
        font-size: 11px;
        line-height: 1.7;
    }

    .mission-vision-controls {
        gap: 8px;
        margin-bottom: 14px;
    }

    .mission-vision-label {
        gap: 5px;
        font-size: 11px;
    }

    .mission-vision-switch {
        flex-basis: 28px;
        width: 28px;
        height: 19px;
    }

    .mission-vision-switch-thumb {
        width: 14px;
        height: 19px;
    }

    .mission-vision-section.is-vision
    .mission-vision-switch-thumb {
        transform: translateX(14px);
    }

    .mission-vision-statement {
        min-height: 0;
    }

    .mission-vision-statement p {
        font-size: 11px;
        line-height: 1.8;
    }
}

/* Small mobile */

@media screen and (max-width: 360px) {

    .mission-vision-container {
        width: calc(100% - 18px);
        padding: 18px 12px 20px;
    }

    .mission-vision-intro {
        font-size: 11px;
    }

    .mission-vision-certification,
    .mission-vision-label {
        font-size: 10px;
    }

    .mission-vision-statement p {
        font-size: 10px;
    }
}


