﻿*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
}

.nav__data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: 0.25rem;
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    transition: color 0.3s;
}

    .nav__logo img.logo-img {
        height: 15px; /* adjust as needed */
        width: auto; /* keeps aspect ratio */
        display: block; /* removes extra gaps */
    }

    .nav__logo:hover {
        color: var(--first-color);
    }

.nav__toggle {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav__toggle-menu, .nav__toggle-close {
/*    margin-left: 180px;*/
    font-size: 1.25rem;
    color: var(--title-color);
    position: absolute;
    display: grid;
    place-items: center;
    inset: 0;
    cursor: pointer;
    transition: opacity 0.1s, transform 0.4s;
}

.nav__toggle-close {
    opacity: 0;
}

@media screen and (max-width: 1118px) {
    .nav__data {
        width:95%;
    }
    .nav__toggle{
        margin-left:auto;
    }
    .nav__menu {
        background-color: var(--body-color);
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        padding-block: 1.5rem 4rem;
        pointer-events: none;
        opacity: 0;
        transition: top 0.4s, opacity 0.3s;
    }

        .nav__menu::-webkit-scrollbar {
            width: 0.5rem;
        }

        .nav__menu::-webkit-scrollbar-thumb {
            background-color: hsl(220, 12%, 70%);
        }
}

.nav__link {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

    .nav__link:hover {
        background-color: var(--first-color-lighten);
    }

/* Show menu */
.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

/* Show icon */
.show-icon .nav__toggle-menu {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
    opacity: 1;
    transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__button {
    cursor: pointer;
}

.dropdown__arrow {
    font-size: 1.5rem;
    font-weight: initial;
    transition: transform 0.4s;
}

.dropdown__content, .dropdown__group, .dropdown__list {
    display: grid;
}

.dropdown__container {
    background-color: var(--first-color-lighten);
    height: 0;
    overflow: hidden;
    transition: height 0.4s;
}

.dropdown__content {
    row-gap: 1.75rem;
}

.dropdown__group {
    padding-left: 2.5rem;
    row-gap: 0.5rem;
}

    .dropdown__group:first-child {
        margin-top: 1.25rem;
    }

    .dropdown__group:last-child {
        margin-bottom: 1.25rem;
    }

.dropdown__icon i {
    font-size: 1.25rem;
    color: var(--first-color);
}

.dropdown__title {
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
}

.dropdown__list {
    row-gap: 0.25rem;
}

.dropdown__link {
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color);
    transition: color 0.3s;
}

    .dropdown__link:hover {
        color: var(--title-color);
    }

/* Rotate dropdown icon */
.show-dropdown .dropdown__arrow {
    transform: rotate(180deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 300px) {
    .dropdown__group {
        padding-left: 1.5rem;
    }
}
/* For large devices */
@media screen and (min-width: 1118px) {
    /* Nav */
    .nav {
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
    }

    .nav__toggle {
        display: none;
    }

    .nav__list {
        display: flex;
        column-gap: 3rem;
        height: 100%;
    }

    .nav li {
        display: flex;
    }

    .nav__link {
        padding: 0;
    }

        .nav__link:hover {
            background-color: initial;
        }
    /* Dropdown */
    .dropdown__button {
        column-gap: 0.25rem;
        pointer-events: none;
    }

    .dropdown__container {
        height: max-content;
        position: absolute;
        left: 0;
        right: 0;
        top: 6.5rem;
        background-color: var(--body-color);
        box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
        pointer-events: none;
        opacity: 0;
        transition: top 0.4s, opacity 0.3s;
    }

    .dropdown__content {
        grid-template-columns: repeat(4, max-content);
        column-gap: 6rem;
        max-width: 1120px;
        margin-inline: auto;
    }

    .dropdown__group {
        padding: 4rem 0;
        align-content: baseline;
        row-gap: 1.25rem;
    }

        .dropdown__group:first-child, .dropdown__group:last-child {
            margin: 0;
        }

    .dropdown__list {
        row-gap: 0.75rem;
    }

    .dropdown__icon {
        width: 60px;
        height: 60px;
        background-color: var(--first-color-lighten);
        border-radius: 50%;
        display: grid;
        place-items: center;
        margin-bottom: 1rem;
    }

        .dropdown__icon i {
            font-size: 2rem;
        }

    .dropdown__title {
        font-size: var(--normal-font-size);
    }

    .dropdown__link {
        font-size: var(--small-font-size);
    }

        .dropdown__link:hover {
            color: var(--first-color);
        }

    .dropdown__item {
        cursor: pointer;
    }

        .dropdown__item:hover .dropdown__arrow {
            transform: rotate(180deg);
        }

        .dropdown__item:hover > .dropdown__container {
            top: 5.5rem;
            opacity: 1;
            pointer-events: initial;
            cursor: initial;
        }
}

@media screen and (min-width: 1152px) {
    .container {
        margin-inline: auto;
    }
}


.dropdown__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dropdown__icon {
    margin-bottom: 15px;
}

.dropdown__title {
    margin-bottom: 12px;
}

.dropdown__list {
    padding-left: 0;
    margin-left: 0;
}

    .dropdown__list li {
        list-style: none;
        margin-left: 0;
    }


/* OVERVIEW */
.plastic-overview {
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.overview-highlight {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* CHALLENGES */
.plastic-challenges {
    background: #fff7ed;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.challenge-card {
    background: #ffffff;
    padding: 26px;
    border-left: 6px solid #f97316;
    border-radius: 12px;
}

/* ================= PHARMA BENEFITS ================= */

.pharma-benefits {
    background: linear-gradient(180deg, #ecf6ff, #daeaff);
    padding: 100px 0;
}

.pharma-section-heading.light {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    /*    color: #ffffff;*/
    margin-bottom: 70px;
}

/* GRID */
.pharma-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 71px;
}

/* CARD */
.pharma-benefit-card {
    position: relative;
    background: #ffffff;
    padding: 18px 36px 16px;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* INNER PATTERN STRIP */
.pharma-pattern {
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: repeating-linear-gradient(45deg, #00d0ff, #33b4db 10px, #0587d3 10px, #0cc7ff 20px);
}

/* TEXT */
.pharma-benefit-card h4 {
    margin-top: 18px;
    font-size: 17px;
    font-weight: 600;
    color: #064e3b;
    line-height: 1.4;
}

/* SIDE ACCENT */
.pharma-benefit-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 120px;
    height: 120px;
}

/* HOVER EFFECT */
.pharma-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 65px rgba(0,0,0,0.28);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .pharma-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pharma-benefit-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= ROI ================= */
.plastic-roi {
    background: #f8fafc;
    padding: 80px 0;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop */
    gap: 28px;
}

.roi-box {
    background: #ffffff;
    text-align: center;
    padding: 34px;
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
    .roi-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row */
        gap: 24px;
    }

    .roi-box {
        margin-right:45px;
        padding: 28px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
    .roi-grid {
        grid-template-columns: 1fr; /* 1 per row */
        gap: 20px;
    }

    .roi-box {
        padding: 24px;
        border-radius: 16px;
    }
}

/* IMPLEMENTATION SECTION */
.plastic-implementation {
    background: #ffffff;
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 100px;
    color: #020617;
}

/* TIMELINE */
.wave-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
}

    /* CENTER LINE */
    .wave-timeline::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(to right, #01d8fb, #0a55fd);
        border-radius: 4px;
    }

/* STEP */
.wave-step {
    position: relative;
    text-align: center;
}

/* SMALLER NODE */
.wave-node {
    width: 27px; /* reduced */
    height: 27px; /* reduced */
    margin: auto;
    background: #ffffff;
    color: #0064ff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    border: 2px solid #0081eb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgb(11 113 171 / 60%);
    z-index: 3;
}

/* CARD */
.wave-card {
    width: 190px;
    /*    background: #f8fafc;*/
    padding: 18px 16px;
    /*    border-radius: 14px;*/
    font-size: 14.5px;
    font-weight: 600;
    color: #1f2937;
    /*    box-shadow: 0 16px 34px rgba(0,0,0,0.12);*/
    margin: auto;
}

/* POSITIONING FIX */

/* Odd steps: card up, circle DOWN */
.wave-step.odd .wave-card {
    transform: translateY(-56px);
}

.wave-step.odd .wave-node {
    transform: translateY(-38px); /* pushed down */
}

/* Even steps: card down, circle UP */
.wave-step.even .wave-card {
    transform: translateY(50px);
}

.wave-step.even .wave-node {
    transform: translateY(41px); /* pushed up */
}

/* HOVER */
/*.wave-step:hover .wave-card {
    transform: translateY(calc(var(--hover-shift, 0px)));
}*/

/* ================= MOBILE + TABLET – EXACT PATTERN ================= */
@media (max-width: 1024px) {

    /* Timeline = simple vertical list */
    .wave-timeline {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        /* Remove ALL desktop visuals */
        .wave-timeline::before,
        .wave-step::after {
            display: none !important;
            content: none !important;
        }

    /* Kill ALL desktop transforms + inline hacks */
    .wave-step * {
        transform: none !important;
        margin: 0 !important;
    }

    .wave-step {
        transform: none !important;
    }

    /* Each step = one block */
    .wave-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Heading FIRST */
    .wave-card {
        order: 1;
        padding: 0;
        width: auto;
        max-width: 260px;
        line-height: 1.45;
    }

    /* Number SECOND */
    .wave-node {
        order: 2;
        margin-top: 6px; /* heading → number */
    }

    /* SPACE BETWEEN STEPS (ONLY THIS CONTROLS SPACING) */
    .wave-step:not(:last-child) {
        margin-bottom: 28px;
    }
}




/* ================= MOBILE – PROPER VERTICAL TIMELINE ================= */
/*@media (max-width: 640px) {

    .plastic-implementation {
        margin-right:40px;
        padding: 70px 0;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 50px;
    }*/

    /* Timeline container */
    /*.wave-timeline {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }*/

        /* Vertical spine */
        /*.wave-timeline::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 3px;
            background: linear-gradient(to bottom, #01d8fb, #0a55fd);
            transform: translateX(-50%);
            border-radius: 3px;
        }
    .wave-step {
        display: flex;
        flex-direction: column;
        align-items: center;
    }*/

    /* Always place card first */
    /*.wave-card {
        order: 1;
        margin-bottom: 10px;
    }*/

    /* Node always after card */
    /*.wave-node {
        order: 2;
    }*/

    /* Extra spacing so line is visible */
    /*.wave-step {
        padding-bottom: 20px;
    }
}*/

/* ===== FINAL FIX: VISIBLE VERTICAL TIMELINE ===== */
/*@media (max-width: 640px) {*/

    /* Timeline spine visible behind nodes */
    /*.wave-timeline::before {
        z-index: 0;*/ /* behind nodes */
        /*top: 20px;
        bottom: 20px;
    }*/

    /* Ensure steps sit above the line */
    /*.wave-step {
        position: relative;
        z-index: 1;
    }*/

    /* Node sits ON the line */
    /*.wave-node {
        position: relative;
        background: #ffffff;
        z-index: 2;
    }*/

    /* Create spacing so line is clearly visible */
    /*.wave-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: calc(100% - 10px);
        left: 50%;
        width: 3px;
        height: 40px;
        background: linear-gradient(to bottom, #01d8fb, #0a55fd);
        transform: translateX(-50%);
        z-index: 0;
    }
}*/



/* ================= MODULES ================= */

.plastic-modules {
    background: linear-gradient(180deg, #ecf6ff, #daeaff);
    padding: 120px 0;
}

/* GRID */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

/* CARD */
.module-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-radius: 22px;
    padding: 26px 31px;
    text-align: center;
    /*    color: #ffffff;*/
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 80px rgb(136 189 249 / 60%), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

    /* MODULE TITLE */
    .module-card h4 {
        font-size: 17px;
        font-weight: 600;
        letter-spacing: 0.3px;
        z-index: 2;
        position: relative;
    }

/* NEON EDGE GLOW */
.module-glow {
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    opacity: 0;
    transition: opacity 0.45s ease;
}

/* LIGHT SWEEP */
.module-card::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    transform: rotate(25deg);
    transition: top 0.7s ease;
}

/* HOVER EFFECTS */
.module-card:hover {
    transform: translateY(-14px) scale(1.03);
    box-shadow: 0 30px 80px rgb(136 189 249 / 60%), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

    .module-card:hover .module-glow {
        opacity: 1;
    }

    .module-card:hover::after {
        top: 120%;
    }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .module-card {
        margin-right:40px;
    }
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
}



/* ==================== FAQ STYLE 2 (ISOLATED) ==================== */

.faq2-wrapper {
    background: linear-gradient(180deg, #eef9fb 0%, #f7feff 100%);
    padding: 80px 20px;
    font-family: "Poppins", sans-serif;
    color: #222;
}

.faq2-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq2-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

.faq2-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq2-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 12px;
    transition: background 0.2s ease;
}

    .faq2-item:hover {
        background: #fafafa;
    }

.faq2-title {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 16px 0;
}

    .faq2-title::before {
        content: "›";
        font-size: 26px;
        font-weight: 600;
        color: #806666;
        transition: transform 0.3s ease;
    }

    .faq2-title h3 {
        font-size: 18px;
        font-weight: 500;
        margin: 0;
    }

/* Expand arrow */
.faq2-item.faq2-expanded .faq2-title::before {
    transform: rotate(90deg);
}

.faq2-content {
    max-height: 0;
    overflow: hidden;
    padding-left: 38px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

    .faq2-content p {
        margin: 15px 0;
        color: #555;
    }

/* Expanded state */
.faq2-item.faq2-expanded .faq2-content {
    padding-top: 8px;
    padding-bottom: 16px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1118px) {
    .faq2-list {
        margin: 0 40px;
    }
}

@media (max-width: 768px) {
    .faq2-list {
        margin: 0 20px;
    }
}

@media (max-width: 300px) {
    .faq2-list {
        margin: 0 10px;
    }

    .faq2-title {
        flex-direction: column;
        align-items: flex-start;
    }

        .faq2-title h3 {
            font-size: 15px;
        }
}
