/* =========================================================
   About Page Styles - Fegio Hareshwar
   ========================================================= */

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 122, 26, 0.1);
    border: 1px solid #ff7a1a;
    border-radius: 999px;
    color: #ff7a1a;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--ink-soft);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    padding: 12px 35px;
    background: linear-gradient(135deg, #0a1f3d 0%, #16386b 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
    box-shadow: 0 10px 30px rgba(10, 31, 61, 0.15);
}

    .btn-back-home:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(10, 31, 61, 0.25);
        background: linear-gradient(135deg, #16386b 0%, #0a1f3d 100%);
    }

/* Hero Section */
.about-hero-section {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(10, 31, 61, 0.95) 0%, rgba(22, 56, 107, 0.7) 70%, rgba(10, 31, 61, 0.3) 100%), url('/images/mainimage.webp') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    padding: 100px 0 60px;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="%230a1f3d" fill-opacity="0"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
}

.about-hero-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.about-hero-breadcrumb {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 600;
}

    .about-hero-breadcrumb a {
        color: #ff9142;
        text-decoration: none;
    }

    .about-hero-breadcrumb a:hover {
        color: #fff;
    }

.breadcrumb-sep {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* About + Stats Section */
.about-intro-section {
    background: var(--paper);
}

.about-intro-img {
    width: 100%;
    max-width: 480px;
    display: block;
    margin: 0 auto;
}

.about-intro-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--navy-900);
    margin: 15px 0 10px;
    line-height: 1.3;
}

.mini-stat-card {
    border-radius: var(--radius-md);
    padding: 20px;
    color: #fff;
    height: 100%;
    box-shadow: var(--shadow-soft);
}
.moving-strip {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #cbd5e1, #e2e8f0);
    padding: 18px 0;
    white-space: nowrap;
}

.strip-track {
    display: flex;
    width: max-content;
    animation: moveStrip 25s linear infinite;
    will-change: transform;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 70px;
    color: #0a1f3d;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

    .strip-item i {
        font-size: 28px;
        color: #ff7a1a;
    }

@keyframes moveStrip {
    from {
        transform: translateX(0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .about-intro-section .row {
        gap: 20px !important;
    }

    .about-intro-section .col-6 {
        flex: 0 0 100%;
        width: 100%;
    }

    .about-intro-section .col-6:first-of-type {
        margin-bottom: 0;
    }
}

    .mini-stat-card h3 {
        font-size: 2rem;
        font-weight: 900;
        margin-bottom: 4px;
    }

    .mini-stat-card p {
        margin: 0;
        font-size: 0.85rem;
        opacity: 0.9;
    }

.mini-stat-navy {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}

.mini-stat-orange {
    background: linear-gradient(135deg, var(--amber-500), var(--amber-400));
}

.about-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--paper-dark);
}

    .about-feature-row:last-of-type {
        border-bottom: none;
    }

    .about-feature-row h5 {
        font-weight: 700;
        color: var(--navy-900);
        margin-bottom: 4px;
    }

    .about-feature-row p {
        color: var(--ink-soft);
        font-size: 0.9rem;
        margin: 0;
    }

.about-feature-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(255, 122, 26, 0.12);
    color: var(--amber-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.about-call-info {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

    .about-call-info span {
        color: var(--ink-soft);
    }

    .about-call-info a {
        color: var(--navy-900);
        font-weight: 700;
        font-size: 1.05rem;
        text-decoration: none;
    }

    .about-call-info a:hover {
        color: var(--amber-500);
    }

/* Working Process Section (Dark) */
.about-process-section {
    background: var(--navy-950);
    background: radial-gradient(circle at top right, rgba(255, 122, 26, 0.18), transparent 40%), linear-gradient(135deg, #061021 0%, #0a1f3d 55%, #16386b 100%);
    padding: 80px 0;
    color: #fff;
}

.process-badge-dark {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 122, 26, 0.12);
    border: 1px solid var(--amber-500);
    border-radius: 999px;
    color: var(--amber-400);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.about-process-title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.4;
}

.about-process-item {
    padding: 20px;
}

    .about-process-item h3 {
        color: #fff;
        font-weight: 700;
        font-size: 1.25rem;
        margin: 20px 0 10px;
    }

    .about-process-item p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.92rem;
    }

.about-process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 122, 26, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--amber-400);
    transition: all 0.3s ease;
}

.about-process-item:hover .about-process-icon {
    background: var(--amber-500);
    color: #fff;
    transform: translateY(-6px);
}

/* Trusted & Faster Logistic Story Section */
.about-story-section {
    background: var(--paper-tint);
}

.about-story-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.about-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-story-tag {
    display: inline-block;
    color: #2B7BBB;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.about-story-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 18px;
}

.about-story-section p {
    color: var(--ink-soft);
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Global Presence Section */
.about-presence-section {
    background: var(--paper);
}

.presence-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.presence-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--paper-tint);
    border: 1px solid var(--paper-dark);
    color: var(--navy-900);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .presence-tag i {
        color: #2B7BBB;
    }

    .presence-tag:hover {
        background: var(--navy-900);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: var(--shadow-soft);
    }

        .presence-tag:hover i {
            color: var(--amber-400);
        }

.presence-tag-overseas {
    background: rgba(255, 122, 26, 0.08);
    border-color: rgba(255, 122, 26, 0.3);
}

    .presence-tag-overseas i {
        color: var(--amber-500);
    }

/* What Makes Us Unique Section */
.about-unique-section {
    background: var(--paper-tint);
}

.about-unique-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--navy-900);
    margin: 12px 0 22px;
    line-height: 1.35;
}

.about-unique-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .about-unique-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        color: var(--ink-soft);
        margin-bottom: 16px;
        line-height: 1.6;
    }

    .about-unique-list i {
        color: #2B7BBB;
        font-size: 1.15rem;
        margin-top: 3px;
        flex-shrink: 0;
    }

.about-unique-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    display: block;
}

.about-unique-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-strong);
    max-width: 340px;
    margin: -60px auto 0;
}

    .about-unique-card h5 {
        font-weight: 800;
        color: var(--navy-900);
        margin-bottom: 8px;
    }

    .about-unique-card > p {
        color: var(--ink-soft);
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

.unique-skill {
    margin-bottom: 14px;
}

    .unique-skill:last-child {
        margin-bottom: 0;
    }

.unique-skill-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.unique-skill-bar {
    height: 6px;
    border-radius: 4px;
    background: var(--paper-dark);
    overflow: hidden;
}

.unique-skill-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #2B7BBB, #56B8E8);
    width: 0;
    transition: width 1.2s var(--ease);
}

@media (min-width: 992px) {
    .about-unique-card {
        margin: 0;
        position: absolute;
        right: -20px;
        bottom: -40px;
    }

    .about-intro-section .row {
        align-items: center;
    }

    .about-story-section .row {
        align-items: center;
    }

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

@media (max-width: 991.98px) {
    /* Stack columns vertically on tablet and below */
    .about-intro-section .row {
        flex-direction: column;
    }

    .about-intro-section .col-lg-6 {
        width: 100%;
        margin-bottom: 30px;
    }

    .about-story-section .row {
        flex-direction: column;
    }

    .about-story-section .col-lg-6 {
        width: 100%;
    }

    .about-unique-section .row {
        flex-direction: column;
    }

    .about-unique-section .col-lg-6 {
        width: 100%;
    }

    .about-unique-card {
        position: static !important;
        margin-top: 30px !important;
    }
}

@media (max-width: 1024px) {
    .about-hero-section {
        min-height: 50vh;
        padding: 80px 20px;
    }

    .about-intro-title {
        font-size: clamp(1.6rem, 3vw, 2.1rem);
    }

    .about-unique-card {
        margin: 0;
        position: static;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        min-height: 40vh;
        padding: 60px 20px;
    }

    .about-hero-title {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
    }

    .about-hero-breadcrumb {
        font-size: 0.85rem;
    }

    .breadcrumb-sep {
        margin: 0 8px;
    }

    .about-intro-section {
        padding: 40px 0;
    }

    .about-intro-section .col-lg-6 {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 30px;
    }

    .about-intro-section .row {
        align-items: stretch;
    }

    .about-intro-img {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .about-intro-title {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem);
        margin-bottom: 20px;
    }

    .about-intro-section .row.g-3 {
        flex-direction: row;
        gap: 15px !important;
    }

    .about-intro-section .row.g-3 .col-6 {
        flex: 0 0 calc(50% - 7.5px);
        width: 100%;
    }

    .mini-stat-card {
        padding: 16px;
    }

    .mini-stat-card h3 {
        font-size: 1.6rem;
    }

    .mini-stat-card p {
        font-size: 0.8rem;
    }

    .about-feature-row {
        gap: 12px;
        padding: 12px 0;
    }

    .about-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .about-feature-row h5 {
        font-size: 0.95rem;
    }

    .about-feature-row p {
        font-size: 0.85rem;
    }

    .about-call-info {
        flex-direction: column;
        font-size: 0.8rem;
    }

    .about-process-section {
        padding: 50px 0;
    }

    .process-badge-dark {
        font-size: 0.8rem;
    }

    .about-process-title {
        font-size: clamp(1.5rem, 3.5vw, 1.9rem);
    }

    .about-process-item {
        padding: 18px 12px;
    }

    .about-process-item h3 {
        font-size: 1.1rem;
        margin-top: 15px;
    }

    .about-process-item p {
        font-size: 0.85rem;
    }

    .about-process-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .about-story-section {
        padding: 40px 0;
    }

    .about-story-section .col-lg-6 {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 25px;
    }

    .about-story-media {
        margin-bottom: 25px;
    }

    .about-story-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .about-story-tag {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .about-story-title {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem);
        margin-bottom: 15px;
    }

    .about-story-section p {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }

    .about-presence-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .presence-tags {
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .presence-tag {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .presence-tag i {
        font-size: 0.9rem;
    }

    .about-unique-section {
        padding: 40px 0;
    }

    .about-unique-section .col-lg-6 {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 25px;
    }

    .about-unique-section .row {
        gap: 25px !important;
    }

    .about-unique-title {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem);
        margin-bottom: 18px;
    }

    .about-unique-list li {
        gap: 10px;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .about-unique-list i {
        font-size: 1rem;
        margin-top: 2px;
    }

    .about-unique-img {
        margin-bottom: 25px;
        width: 100%;
    }

    .about-unique-card {
        padding: 24px;
        max-width: 100%;
        margin: 0 !important;
        position: static !important;
    }

    .about-unique-card h5 {
        font-size: 1rem;
    }

    .about-unique-card > p {
        font-size: 0.8rem;
    }

    .unique-skill {
        margin-bottom: 12px;
    }

    .unique-skill-label {
        font-size: 0.8rem;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 7px 16px;
    }

    .section-title {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .btn-back-home {
        padding: 11px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-hero-section {
        min-height: 35vh;
        padding: 50px 15px;
    }

    .about-hero-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .about-hero-breadcrumb {
        font-size: 0.8rem;
    }

    .about-intro-section {
        padding: 30px 0;
    }

    .about-intro-section .col-lg-6 {
        width: 100%;
        flex: 0 0 100%;
    }

    .about-intro-section .row.g-3 .col-6 {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 12px;
    }

    .about-intro-img {
        margin-bottom: 20px;
    }

    .about-intro-title {
        font-size: 1.3rem;
    }

    .mini-stat-card {
        padding: 14px;
    }

    .mini-stat-card h3 {
        font-size: 1.4rem;
    }

    .mini-stat-card p {
        font-size: 0.75rem;
    }

    .about-feature-row {
        gap: 10px;
        padding: 10px 0;
    }

    .about-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .about-feature-row h5 {
        font-size: 0.9rem;
    }

    .about-feature-row p {
        font-size: 0.8rem;
    }

    .about-process-section {
        padding: 40px 0;
    }

    .about-process-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .about-process-item {
        padding: 15px 10px;
    }

    .about-process-item h3 {
        font-size: 1rem;
        margin-top: 12px;
    }

    .about-process-item p {
        font-size: 0.8rem;
    }

    .about-process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .about-story-section {
        padding: 30px 0;
    }

    .about-story-section .col-lg-6 {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .about-story-img {
        height: auto;
    }

    .about-story-title {
        font-size: 1.3rem;
    }

    .about-story-section p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .about-presence-section {
        padding: 30px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .presence-tags {
        gap: 8px;
    }

    .presence-tag {
        padding: 7px 12px;
        font-size: 0.7rem;
    }

    .about-unique-section {
        padding: 30px 0;
    }

    .about-unique-section .col-lg-6 {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .about-unique-title {
        font-size: 1.3rem;
    }

    .about-unique-list li {
        gap: 8px;
        margin-bottom: 12px;
        font-size: 0.9rem;
    }

    .about-unique-img {
        height: auto;
        margin-bottom: 20px;
    }

    .about-unique-card {
        padding: 20px;
        margin-top: 20px !important;
    }

    .unique-skill-label {
        font-size: 0.75rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .btn-back-home {
        padding: 10px 24px;
        font-size: 0.85rem;
        display: inline-flex;
    }
}

/* Scroll Reveal */
[data-scroll] {
    opacity: 0;
    transform: translate3d(0,24px,0);
    transition: opacity .35s ease, transform .35s cubic-bezier(.22,1,.36,1);
    will-change: transform, opacity;
}

    [data-scroll].animate-in {
        opacity: 1;
        transform: translate3d(0,0,0);
    }

[data-scroll="fade-left"] {
    transform: translate3d(-24px,0,0);
}

[data-scroll="fade-right"] {
    transform: translate3d(24px,0,0);
}

[data-scroll="fade-up"] {
    transform: translate3d(0,24px,0);
}

[data-scroll="zoom-fade"] {
    transform: scale(.95);
}

    [data-scroll="zoom-fade"].animate-in {
        transform: scale(1);
    }

/* =========================================================
   Section Heading Text Transitions - Optimized (no blur/clip-path/skew/perspective)
   ========================================================= */

/* 1. Hero title - subtle pop up */
.title-drop-in {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity .5s ease, transform .5s ease;
    will-change: transform, opacity;
}

    .title-drop-in.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

/* 2. About intro title - fade + slide */
.title-blur-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
    will-change: transform, opacity;
}

    .title-blur-in.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

/* 3. Process title - scale in */
.title-clip-reveal {
    opacity: 0;
    transform: scaleX(0.8);
    transform-origin: left center;
    transition: opacity .5s ease, transform .5s ease;
    will-change: transform, opacity;
}

    .title-clip-reveal.animate-in {
        opacity: 1;
        transform: scaleX(1);
    }

/* 4. Story title - slide from left */
.title-skew-in {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity .5s ease, transform .5s ease;
    will-change: transform, opacity;
}

    .title-skew-in.animate-in {
        opacity: 1;
        transform: translateX(0);
    }

/* 5. Presence title - pop bounce */
.title-pop-bounce {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity .4s ease, transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

    .title-pop-bounce.animate-in {
        opacity: 1;
        transform: scale(1);
    }

/* 6. Unique title - fade + scale */
.title-letter-spread {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity .5s ease, transform .5s ease;
    will-change: transform, opacity;
}

    .title-letter-spread.animate-in {
        opacity: 1;
        transform: scale(1);
    }

/* 7. CTA title - rotate in */
.title-flip-in {
    opacity: 0;
    transform: rotateY(20deg);
    transform-origin: center;
    transition: opacity .5s ease, transform .5s ease;
    will-change: transform, opacity;
}

    .title-flip-in.animate-in {
        opacity: 1;
        transform: rotateY(0deg);
    }

@media (prefers-reduced-motion: reduce) {
    .title-drop-in,
    .title-blur-in,
    .title-clip-reveal,
    .title-skew-in,
    .title-pop-bounce,
    .title-letter-spread,
    .title-flip-in {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}
