
/* ==========================================================================
   1. GLOBAL VARIABLES & ACCENTS (Combined :root Scope)
   ========================================================================== */

:root {
    /* Font Families */
    --font-title: "Red Hat Display", sans-serif;

    /* Semantic Color Palettes */
    --color-primary: #111113;
    --color-orange: #ff7a00;
    --color-grey-dark: #212529;
    --bg-grey-box: #f2f2f2;
    --bg-cream: #fffbf2;
    /* Exact background tone from image_8c6962.jpg */
    --bg-cream-fade: linear-gradient(180deg, #ffffff 0%, #fffbf4 100%);
}

body {
    font-family: var(--font-title);
    background-color: #ffffff;
    color: var(--color-primary);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */

.about-hero {
    background-color: var(--bg-grey-box);
    /* Unified variable lookup */
    border-radius: 8px;
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.about-hero h1 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 4rem);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.about-hero p {
    font-style: italic;
    font-size: clamp(16px, 4vw, 20px);
    color: var(--color-primary);
    font-weight: 400;
    line-height: 1.5;
}

/* Global Reusable Section Titles */

.section-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 3.5rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   3. WHY READING MATTERS SECTION (Fixes image_8e32f8.jpg Frame Layout)
   ========================================================================== */

.content-text p {
    /*font-size: 1rem;*/
    line-height: 1.5;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.circle-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   4. WHO WE ARE SECTION
   ========================================================================== */

.who-we-are-section {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
    padding-top: 3rem;
}

.who-we-are-section h2 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.who-we-are-section .content-text {
    text-align: center;
}

/* ==========================================================================
   5. WHAT WE DO SECTION (Owl Carousel Timeline Integration)
   ========================================================================== */

.what-we-do-section {
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.what-we-do-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 115px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 244, 220, 1) 62%);
    height: 100%;
    z-index: -1;
}

.what-we-do-section .section-title {
    color: var(--color-grey-dark);
}

/* Timeline Custom Nav Elements */
.timeline-nav {
    position: relative;
    padding-left: 2rem;
    list-style: none;
    margin: 0;
}

.timeline-nav::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background-color: #212529;
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    cursor: pointer;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-cream);
    border: 2px solid var(--color-grey-dark);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline-dot::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-grey-dark);
    transition: all 0.3s ease;
}

.timeline-label {
    /*font-size: 0.95rem;*/
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-grey-dark);
    letter-spacing: 0.5px;
    user-select: none;
    transition: color 0.3s ease;
}

/* Active Timeline States */
.timeline-item.active .timeline-dot {
    border-color: var(--color-orange);
}

.timeline-item.active .timeline-dot::after {
    background-color: var(--color-orange);
}

.timeline-item.active .timeline-label {
    color: var(--color-orange);
}

/* Slide Formatting Card Overlays */
.owl-carousel-wrapper {
    position: relative;
}

.custom-slide-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 440px;
}

.custom-slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0.95) 100%);
    padding: 2.5rem 2rem 2rem 2rem;
    color: #ffffff;
}

.slide-title {
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 0.70rem;
    letter-spacing: 0.5px;
}

.slide-description {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    color: #e0e0e0;
    margin: 0;
}

/* Navigation Arrow Controls Positioning Alignment */
.carousel-controls {
    display: flex;
    gap: 0.1rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
}



.nav-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: transform 0.2s ease;
}

.nav-arrow:hover {
    transform: scale(1.1);
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #c4c4c4;
}

.prev-btn svg:hover,
.next-btn svg:hover {
    stroke: var(--color-orange);
}

/* ==========================================================================
   6. PROMOTING INDIAN LITERATURE SECTION (New Additions for image_5986e6.jpg)
   ========================================================================== */

.promoting-literature-section {
    padding: 1rem 0;
    background-color: #ffffff;
}

.row-heading-break {
    max-width: 320px;
    /* Forces dynamic heading break identical to image_5986e6.jpg blueprint */
    line-height: 1.25;
}

/* Precision Curved Banner Frame Handler */
.curved-banner-frame {
    width: 100%;
    max-width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.curved-banner-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   7. MULTI-VIEWPORT GLOBAL RESPONSIVE MEDIA PATCHES
   ========================================================================== */

@media (max-width: 991px) {
    .circle-img-container {
        width: 280px;
        height: 280px;
        margin-bottom: 1.5rem;
    }

    .curved-banner-frame {
        height: 200px;
        margin-top: 1rem;
    }

    .content-text p {
        text-align: left;
        /* Cleaner tracking rhythm on mid-tier viewports and mobile screens */
    }

    .row-heading-break {
        max-width: 100%;
    }
}


/* ==========================================================================
   5. PVLF TIMELINE TREE DESIGN SYSTEM (image_583966.jpg)
   ========================================================================== */

.pvlf-timeline-section .container {
    padding: 3rem 0;
    background-color: #fffbf0;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.pvlf-lead-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-primary);
    max-width: 920px;
    font-weight: 500;
}

/* Timeline Layout Grid Container */
.pvlf-tree-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    padding: 0;
}

/* Center Vertical Spine Line */
.pvlf-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #393939;
    transform: translateX(-50%);
    z-index: 1;
}

/* Base Arrow Down at the bottom termination point of the tree */
.pvlf-spine::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    background-image: url('https://www.frontlist.in/public/assets/images/about-img/arrow-down.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 15px;
    margin: auto;
    margin-bottom: 0.25rem;
    transform: translateX(-50%);
}

/* Standard Box Rows for Timeline Tracking */
.pvlf-row {
    position: relative;
    margin-bottom: 2.5rem;
    width: 100%;
    z-index: 2;
}

.pvlf-row:last-child {
    margin-bottom: 0;
}

/* Centered Label Markers atop the Spine Line */
.pvlf-node-label {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    background-color: #fefbf0;
    display: inline-block;
    padding: 0 15px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 1.5rem;
}

/* Custom Base Top Pointer Node */
.top-node .pvlf-node-label::before {
    content: '';
    background-image: url('https://www.frontlist.in/public/assets/images/about-img/arrow-up.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 48px;
    margin: auto;
    display: block;
    /* font-size: 1.5rem;
    line-height: 1; */
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

/* Grid Layout Splits for Alternate Presentation Items */
.pvlf-content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    /* align-items: center; */
    position: relative;
}

/* Image Containers Structural Parameters */
.pvlf-img-block {
    width: 264px;
    height: 195px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.pvlf-img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Paragraph Context Styling Alignment Inside Tree Nodes */
.pvlf-text-block p {
    /*font-size: 1rem;*/
    line-height: 1.5;
    color: var(--color-primary);
    font-weight: 500;
    margin: 20px 0 0;
}

/* Utility Class color helper overrides */
.text-orange {
    color: var(--color-orange) !important;
}

/* ==========================================================================
   6. OUR MISSION SECTION (Banner Box Layout Alignment)
   ========================================================================== */

.mission-wrapper {
    padding: 3rem 0;
    background: linear-gradient(90deg, #fff 5%, #ffefcc 100%);
}

.mission-img-frame {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 16px;
}

.mission-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-body p {
    /*font-size: 1rem;*/
    line-height: 1.5;
    color: var(--color-primary);
    font-weight: 500;
    margin: 20px 0 0;
}

/* ==========================================================================
   7. GET IN TOUCH SECTION
   ========================================================================== */

.get-in-touch-section {
    padding: 3rem 0 0 0;
    background-color: #ffffff;
}

.contact-links-box p {
    /*font-size: 1rem;*/
    font-weight: 500;
    color: var(--color-primary);
}

.contact-email {
    color: var(--color-orange);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.contact-email:hover {
    color: var(--color-grey-dark);
}

.pvlf-img-block.push-right {
    display: flex;
    justify-content: flex-end;
    box-shadow: none;
    width: unset;
    height: 195px;
}

.pvlf-img-block.push-right img {
    border-radius: 8px;
    width: 264px;
}

/* ==========================================================================
   8. PVLF MULTI-VIEWPORT RESPONSIVE MEDIA BREAKPOINTS
   ========================================================================== */

@media (min-width: 992px) {
    .carousel-controls {
        position: absolute;
        bottom: 1rem;
        left: -17%;
        margin-top: 0;
    }
}

@media (max-width: 991px) {

    /* Collapse Spine Down into Mobile/Tablets Interfaces Left Alignments */
    .pvlf-spine {
        left: 20px;
        transform: none;
    }

    .pvlf-spine::after {
        left: 1px;
        transform: none;
    }

    .pvlf-node-label {
        left: 35px;
        transform: none;
        text-align: left;
        padding-left: 0;
        margin-bottom: 0.75rem;
    }

    .top-node .pvlf-node-label::before {
        display: inline-block;
        margin-right: 5px;
        margin-bottom: 0;
    }

    /* Convert Side-by-Side Flex Split to Vertical Blocks stack */
    .pvlf-content-split {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding-left: 35px;
    }

    /* Reorder text boxes over images on layout tracks */
    .pvlf-row {
        margin-bottom: 3rem;
    }

    .pvlf-row:nth-child(even) .pvlf-content-split .pvlf-text-block {
        order: 1;
    }

    .pvlf-row:nth-child(even) .pvlf-content-split .pvlf-img-block {
        order: 2;
    }

    .pvlf-img-block {
        max-width: 450px;
        height: 200px;
    }

    /* Mission Elements Resets for handheld devices screens */
    .mission-wrapper {
        background: linear-gradient(180deg, #ffffff 0%, #fff6e5 100%);
    }

    .mission-img-frame {
        height: 250px;
    }

    .pvlf-img-block.push-right {
        justify-content: flex-start;
    }

    .top-node .pvlf-node-label::before {
        display: none
    }

    .pvlf-spine {
        display: none;
    }
    .mission-wrapper {
        padding: 2rem 0; 
    }
}

@media (max-width: 767px) {

    .pvlf-img-block.push-right {
        width: 100%;
        height: auto;
    }

    .pvlf-img-block {
        width: 100%;
        height: auto;
    }

    .pvlf-img-block.push-right img {
        width: 100%;
    }

    .pvlf-timeline-section .container {
        padding: 3rem 15px;
    }

    .pvlf-content-split {
        padding-left: 0px;
    }

    .pvlf-node-label {
        left: 0px;
    }

    .pvlf-text-block p {
        margin: 0px 0 0;
    }

    .pvlf-row {
        margin-bottom: 2rem;
    }

    .pvlf-tree-container {
        margin: 2rem auto 0 auto;
    }

    .mission-wrapper {
        padding: 0px 0;
    }

    .pvlf-img-block.push-right {
        height: auto;
    }

    .pvlf-img-block.push-right img {
        width: 100%;
        height: auto;
    }

    .pvlf-img-block img {
        width: 100%;
        height: auto;
    }

    .pvlf-img-block {
        max-width: 100%;
    }

    .what-we-do-section {
        padding-bottom: 0px;
    }

}