﻿
body {
    font-family: 'Poppins', sans-serif !important;
}

.milestone-image {
    text-align: center;
    max-width: 30%;
    height: auto;
}

.page-hero {
    display: flex;
    position: relative;
    z-index: 0;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
}

.hero-text {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.page-hero .hero-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-text p {
    font-size: clamp(15px, 2.5vw, 20px);
    line-height: 1.7;
    align-items: center;    
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 20px;
    align-items: center;    
    justify-content: center; 
    text-align: center;
    
}



.contact-btn {
    display: inline-block;
    background: #D32F2F;
    color: #fff;
    padding: 16px 34px;
    border-radius: 40px;
    text-decoration: none;
    margin-top: 0px;
    font-weight: 600;
    padding: 12px 24px;
    font-size: clamp(14px, 2vw, 16px);
    transform-origin: center;
    transition: .3s;
}

    .contact-btn:hover {
        background: var(--brand-red);
        color: black;
    }

.contact-btn {
}

.safety-btn {
    animation: heartbeat 1.5s ease-in-out infinite;
    transform-origin: center;
}
/*  @keyframes heartbeat {
        0% {
            transform: scale(1);
        }

        14% {
            transform: scale(1.1);
        }

        28% {
            transform: scale(1);
        }

        42% {
            transform: scale(1.1);
        }

        70% {
            transform: scale(1);
        }

        100% {
            transform: scale(1);
        }
    } */






.about-flex {
    display: flex;
    gap: 80px;
    align-items: center;
}



@keyframes floatBlob {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}




@media (max-width: 992px) {

    .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .counter-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .timeline {
        flex-direction: column;
        gap: 40px;
    }

        .timeline::before {
            display: none;
        }
}

@media (max-width: 576px) {

    .counter-grid {
        grid-template-columns: 1fr;
    }
}


@keyframes moveGrid {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 60px 60px, 60px 60px;
    }
}

.crane-silhouette {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 200px;
    background: url('/images/logo.png') no-repeat center bottom/contain;
    animation: craneMove 5s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes craneMove {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-40px);
    }
}

.tilt-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

    .tilt-card:hover {
        transform: rotateY(10deg) rotateX(8deg) scale(1.05);
    }

.why-premium-section {
    position: relative;
    padding: 140px 0;
    background: #f4f7fb;
    overflow: hidden;
}

.industrial-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(214,40,40,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(214,40,40,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 60px 60px, 60px 60px;
    }
}

.why-header {
    text-align: center;
    margin-bottom: 70px;
}

    .why-header h2 {
        color: #d8343b;
        font-size: 34px;
        font-weight: 700;
    }

    .why-header p {
        color: #444;
        font-size: 18px;
    }

.why-svg-wrapper {
    position: relative;
    max-width: 650px;
    margin: auto;
}

.why-svg {
    width: 100%;
    transform-origin: center;
    transition: transform 1s ease;
}

.center-circle {
    fill: #d8343b;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.center-title {
    fill: #fff;
    font-size: 18px;
    font-weight: 700;
}

.center-sub {
    fill: #fff;
    font-size: 12px;
}

.why-section {
    position: relative;
    padding: 0px 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    color: #d8343b;
    font-size: 30px;
}

.industrial-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: moveGrid 15s linear infinite;
    z-index: 0;
}

@keyframes moveGrid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

.about-container {
    position: relative;
    z-index: 2;
}

.why-svg-wrapper {
    max-width: 650px;
    margin: auto;
}

.why-svg {
    width: 100%;
    transition: transform 1.2s ease;
}

.segment {
    fill: #ffffff;
    stroke: #5b5b5b;
    stroke-width: 2;
    transition: all 0.4s ease;
    cursor: pointer;
}

    .segment:hover {
        fill: #ffffff;
        stroke: #d8343b;
        stroke-width: 2;
        transition: all 0.4s ease;
        cursor: pointer;
    }

.segment-group:hover .segment {
    fill: #d8343b;
    filter: drop-shadow(0 15px 30px rgba(214,40,40,0.4));
    /* transform: translateY(-5px); */
}

.segment-icon {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 20px;
    fill: #5b5b5b;
    pointer-events: none;
    transition: fill 0.3s ease;
}

.segment-text {
    font-size: 12px;
    fill: #5b5b5b;
    pointer-events: none;
    transition: fill 0.3s ease;
}

.segment-group:hover .segment-icon,
.segment-group:hover .segment-text {
    fill: #ffffff;
}

.center-circle {
    fill: #d8343b;
    filter: drop-shadow(0 0 20px rgba(214,40,40,0.6));
}

.center-text {
    fill: #fff;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .why-svg {
        transform: scale(0.85);
    }
}


.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes pulseLine {
    0% {
        opacity: 0.3;
        height: 160px;
    }

    50% {
        opacity: 1;
        height: 220px;
    }

    100% {
        opacity: 0.3;
        height: 160px;
    }
}

.approach-section {
    padding: 20px 0;
    background: #ffffff;
}

.approach-header {
    text-align: center;
}

    .approach-header h2 {
        font-size: 30px;
        color: #d8343b;
    }


/* .approach-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        align-items: stretch;
        margin-top: 20px;
    }

    .approach-card {
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 20px;
        padding: 40px 30px;
        position: relative;
        box-shadow: 0 15px 40px rgba(0,0,0,0.06);
        transition: all 0.4s ease;
        overflow: hidden;
    }

        .approach-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 60px rgba(214,40,40,0.15);
        }

    .approach-top {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: #d8343b;
    }

    .approach-card h4 {
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-top: 15px;
        font-weight: 600;
        font-size: 25px;
        text-align:left;
        color: #111;
        margin-bottom: 20px;
    }

    .approach-card p {
        max-width: 700px;
        margin: 0 auto 20px auto;
        font-size: 20px;
        line-height: 1.4;
        color: #555;
    }

    @media (max-width: 992px) {
        .approach-grid {
            grid-template-columns: 1fr;
        }
    } */

.clients-section {
    padding-top: 30px;
    background: #f4f6f9;
}

.clients-header {
    text-align: center;
    margin-bottom: 20px;
}

    .clients-header h2 {
        font-size: 30px;
        color: #d8343b;
        position: relative;
        display: inline-block;
    }

        .clients-header h2::after {
            content: "";
            display: block;
            width: 100%;
            height: 3px;
            background: #5b5b5b;
            margin: 10px auto 0;
        }

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
}

.client-logo {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    transition: all 0.4s ease;
}

    .client-logo img {
        max-width: 100%;
        max-height: 80px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .client-logo:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    }

@media (max-width: 992px) {

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .client-logo {
        height: 100px;
    }

        .client-logo img {
            max-height: 70px;
        }
}

@media (max-width: 576px) {

    .clients-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .client-logo {
        height: 80px;
        padding: 15px;
    }

        .client-logo img {
            max-height: 50px;
        }

    .clients-header h2 {
        margin-top: 10px;
        font-size: 22px;
    }
}

.quality-safety-section {
    background: #f2f2f2;
    padding: 20px 0 0 0;
    position: relative;
    overflow: hidden;
}

.qs-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 40px;
}

.qs-header {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.qs-title {
    color: #d8343b;
    font-weight: 700;
    margin-bottom: 15px;
}

.qs-sub {
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
    font-size: 30px;
}

.qs-text {
    text-align: center;
    color: #444;
    margin-top: -30px;
    line-height: 1.4;
    font-size: 20px;
}


.shield-3d {
    text-align: center;
}


.ppe-section {
    margin-top: 0rem;
    position: relative;
}

.ppe-title {
    font-size: 34px;
    text-align: center;
    color: #d8343b;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.vertical-text {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: rotate(0deg) translateY(-50%);
    font-size: 36px;
    font-weight: 700;
    color: rgba(0,0,0,1.0);
    white-space: nowrap;
}

.ppe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ppe-item {
    background: white;
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: 0.4s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

    .ppe-item i {
        font-size: 36px;
        color: #d8343b;
        margin-bottom: 15px;
    }

    .ppe-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }

.caution-strip {
    height: 20px;
    background: repeating-linear-gradient( 45deg, #000, #000 15px, #ffcc00 15px, #ffcc00 30px );
    margin-top: 60px;
}

@media(max-width: 992px) {
    .qs-header {
        flex-direction: column;
    }

    .ppe-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vertical-text {
        display: none;
    }
}

.quality-safety-section {
    position: relative;
    overflow: hidden;
}



.ppe-circle-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 80px auto;
}

.ppe-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: #d8343b;
    z-index: 2;
}





.caution-strip {
    height: 25px;
    background: repeating-linear-gradient( 45deg, #000, #000 20px, #ffcc00 20px, #ffcc00 40px );
    animation: moveTape 3s linear infinite;
}

@keyframes moveTape {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 80px 0;
    }
}

.hero-text p {
    width: 100% !important;
    max-width: 900px;
}


.approach-card p,
.qs-text {
    font-size: clamp(15px, 2vw, 20px);
    line-height: 1.7;
}


h1 {
    font-size: clamp(28px, 5vw, 52px);
}

h2 {
    font-size: clamp(22px, 4vw, 34px);
}

h3 {
    font-size: clamp(18px, 3vw, 26px);
}

h4 {
    font-size: clamp(16px, 3vw, 22px);
}

section {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 992px) {

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ppe-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qs-header {
        flex-direction: column;
        gap: 30px;
    }

    .vertical-text {
        display: none;
    }
}


@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 logos per row */
        justify-content: center;
    }

    .client-logo {
        text-align: center;
    }

    .clients-header h2 {
        font-size: 20px;
    }

    .clients-section,
    .why-section,
    .quality-safety-section {
        padding: 80px 0;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .ppe-circle-wrapper {
        width: 300px;
        height: 300px;
    }

    .why-svg {
        transform: scale(0.8);
    }


    .shield-3d {
        font-size: 45px;
    }
}

@media (max-width: 480px) {

    .clients-grid {
        grid-template-columns: 1fr; /* 1 logo per row */
    }
}

@media (max-width: 576px) {

    .hero-text p {
        font-size: 20px;
    }

    .approach-card {
        padding: 30px 20px;
    }

    .qs-container {
        padding: 0 20px;
    }

    .ppe-title {
        font-size: 22px;
    }

    .ppe-circle-wrapper {
        width: 220px;
        height: 220px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .client-logo {
        height: 100px;
    }
}

@media (max-width: 400px) {

    h1 {
        font-size: 24px;
    }

    .ppe-circle-wrapper {
        width: 180px;
        height: 180px;
    }

    .shield-3d {
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .hero-text p {
        font-size: 14px;
    }

    .page-hero {
        padding-top: 90px;
    }
}

@media (max-width: 576px) {
    .page-hero {
        height: 100vh;
        min-height: 420px;
    }
}

@media (max-width:768px) {
    .page-hero {
        min-height: auto;
        height: auto !important;
        padding: 100px 15px 50px;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

        .hero-text p {
            font-size: 15px;
            line-height: 1.6;
        }

    .contact-btn {
        margin-top: 15px;
    }
}

/* ===============================
       MODERN ABOUT PREMIUM SECTION
    =================================*/

.about-premium {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fb, #eef2f7);
    position: relative;
    overflow: hidden;
}

.grid-bg,
.corner-accent {
    display: none;
}

.about-row {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.30);
    border-radius: 20px;
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

    /* Alternate layout */
    .about-row.reverse {
        flex-direction: row-reverse;
    }

/* Title Card (Left Side) */
.premium-blob {
    min-width: 280px;
    background: #d8343b;
    color: #fff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    box-shadow: 0 15px 40px rgba(214, 40, 40, 0.2);
}

    .premium-blob h3 {
        font-size: 25px;
        font-weight: 600;
        text-align: center;
    }


/* Content Card */
.premium-content {
    flex: 1;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: 0.4s ease;
}

    /* Left Accent Line */
    .premium-content::before {
        content: "";
        position: absolute;
        left: 0;
        top: 20px;
        bottom: 20px;
        width: 5px;
        background: #d8343b;
        border-radius: 5px;
    }

/* Remove pulse dot */
.pulse-dot {
    display: none;
}

.premium-content p {
    font-size: clamp(20px, 2vw, 19px);
    line-height: 1.8;
    color: #444;
}



/* Tablet */
@media (max-width: 992px) {

    .about-row,
    .about-row.reverse {
        flex-direction: column;
        text-align: left;
    }

    .premium-blob {
        width: 100%;
        min-width: unset;
        padding: 30px;
    }

    .premium-content {
        padding: 30px;
        margin-top: -34px;
    }

        .premium-content::before {
            display: none;
        }
}

/* Mobile */
@media (max-width: 576px) {

    .about-premium {
        padding: 70px 0;
    }

    .premium-blob h3 {
        font-size: 25px;
    }

    .premium-content {
        margin-top: -34px;
        padding: 25px;
    }

        .premium-content p {
            font-size: 20px;
            line-height: 1.7;
        }
}

.fa-solid, .fas {
    font-size: 26px;
    font-weight: 900;
}
/* ===============================
       REMOVE EXTRA TOP SPACE (MOBILE)
    =================================*/

@media (max-width: 768px) {
    h1, h2, h3, h4, h5 {
        margin-top: 0 !important;
    }

    section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .page-hero {
        padding-top: 10vh !important;
        height: 100vh !important;
        min-height: unset !important;
        padding-bottom: 60px !important;
    }

    .about-premium {
        padding-top: 50px !important;
    }

    .approach-section {
        padding-top: 40px !important;
    }

    .quality-safety-section {
        padding-top: 40px !important;
    }

    .clients-section {
        padding-top: 40px !important;
    }

    .why-section {
        padding-top: 40px !important;
    }
}


/* Remove mobile tap highlight */
.segment-group,
.segment,
.why-svg {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

    /* Remove focus outline */
    .segment-group:focus,
    .segment:focus {
        outline: none;
    }

.approach-flow {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    margin-top: 50px;
}

.approach-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

    .approach-step:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(214,40,40,0.2);
    }

/* ICON STYLE */
.icon-wrap {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    background: #d8343b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: floatIcon 3s ease-in-out infinite;
}

    .icon-wrap i {
        color: #fff;
        font-size: 30px;
    }

/* FLOAT ANIMATION */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.connector-line {
    flex: 0.3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .connector-line::after {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        width: 10px;
        height: 10px;
        background: #d8343b;
        border-radius: 50%;
        animation: moveDot 2s linear infinite;
    }

    .connector-line::before {
        content: "";
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #d8343b, transparent);
        display: block;
    }

@keyframes moveDot {
    0% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}

@media (max-width: 992px) {
    .approach-flow {
        flex-direction: column;
    }

    .connector-line {
        width: 4px;
        height: 40px;
        margin: 10px auto;
    }

        .connector-line::after {
            animation: moveDotVertical 2s linear infinite;
        }

    @keyframes moveDotVertical {
        0% {
            top: 0;
        }

        100% {
            top: 100%;
        }
    }
}

.approach-step {
    opacity: 0;
    transform: translateY(50px);
}

    .approach-step h4 {
        min-height: 60px;
    }

    .approach-step p {
        flex-grow: 1;
        font-size: 18px;
    }


.section + .section {
    padding-top: 5px;
}

.section .container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.service-heading h2 {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 25px;
    text-align: center;
    color: #c00000;
}

.section .container p {
    text-align: center;
    line-height: 1.6;
    font-size: 20px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto 20px auto;
}

@media (max-width: 992px) {
    .service-heading h2 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .service-heading h2 {
        font-size: 22px;
    }
}

/* ================= WHY SECTION RESPONSIVE FIX ================= */

.why-svg-wrapper {
    width: 100%;
    max-width: 700px; /* slightly flexible */
    margin: auto;
    position: relative;
}

/* Maintain perfect square */
.why-svg {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
}

    /* Scale everything inside SVG */
    .why-svg text {
        dominant-baseline: middle;
    }

/* ICON */
.segment-icon {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: clamp(10px, 1.8vw, 20px);
    fill: #5b5b5b;
    transition: fill 0.3s ease;
}

/* TEXT */
.segment-text {
    font-size: clamp(8px, 1.6vw, 12px);
    fill: #5b5b5b;
    transition: fill 0.3s ease;
}

/* CENTER TEXT */
.center-text {
    font-size: clamp(12px, 2.5vw, 18px);
    font-weight: bold;
}

/* Make SVG scale nicely on tablets */
@media (max-width: 992px) {
    .why-svg-wrapper {
        max-width: 500px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .why-svg-wrapper {
        max-width: 420px;
    }

    .segment-text {
        font-size: clamp(9px, 2vw, 12px);
    }

    .segment-icon {
        font-size: clamp(9px, 2.2vw, 16px);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .why-svg-wrapper {
        max-width: 320px;
    }

    .segment-text {
        font-size: 12px;
    }

    .center-text {
        font-size: 12px;
    }
}

/* Extra Small */
@media (max-width: 360px) {
    .why-svg-wrapper {
        max-width: 280px;
    }

    .segment-text {
        font-size: 12px;
    }
}