/* ===================== INNER PAGE HERO - ENHANCED ===================== */

.page-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    /* taller */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-dark);
    padding: 110px 0 150px;
    /* extra breathing room for divider */

}

/* ── Background ── */
.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.30;
    filter: grayscale(20%);
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(10, 22, 40, 0.95) 0%,
            rgba(10, 22, 40, 0.88) 45%,
            rgba(10, 22, 40, 0.55) 100%);
}

/* Green ambient glow (right side) */
.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.12) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

/* ── Content ── */
.page-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
    /* max-width: 780px; */
    width: 100%;
}

/* Breadcrumb */
.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 4px;
}

.page-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-hero-breadcrumb a:hover {
    color: var(--accent-light);
}

.page-hero-breadcrumb .sep {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
}

.page-hero-breadcrumb .current {
    color: var(--accent-light);
    font-weight: 600;
}

/* Title */
.page-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.page-hero-title span {
    color: var(--accent-light);
}

/* Subtitle */
.page-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.70);
    margin: 0;
    max-width: 560px;
    line-height: 1.7;
    font-weight: 400;
}

/* ── Feature Bullets ── */
.page-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 32px;
    margin-top: 4px;
}

.page-hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.90);
    font-weight: 500;
}

.page-hero-feature::before {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    background: rgba(22, 163, 74, 0.20);
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ── Buttons ── */
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--green-gradient);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.60);
}

/* ── Mini Stats Row ── */
.page-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 18px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.page-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-hero-stat strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
}

.page-hero-stat span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ── Bottom Shape Divider ── */
.page-hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}

.page-hero-divider svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 90px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .page-hero {
        min-height: 440px;
        padding: 90px 0 120px;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 0.95rem;
    }

    .page-hero-features {
        gap: 12px 24px;
    }

    .page-hero-stats {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        min-height: 400px;
        padding: 80px 0 100px;
    }

    .page-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-outline-white {
        width: 100%;
    }
}


.label-caps {
    font-size: 15px !important;
}


/* ===================== ANIMATED LABEL Brand section top heading ===================== */

.animated-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 18px;

    background: rgba(22, 163, 74, .08);
    border: 1px solid rgba(22, 163, 74, .18);

    border-radius: 50px;

    color: var(--accent);

    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;

    overflow: hidden;

    animation: floatLabel 3s ease-in-out infinite;
}

/* Shimmer Effect */

.animated-label::before {

    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .45),
            transparent);

    transform: skewX(-20deg);

    animation: shimmerLabel 4s infinite;
}

/* Animated Star */

.label-star {

    display: inline-block;

    animation: starGlow 2s ease-in-out infinite;

}

/* Floating */

@keyframes floatLabel {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }

}

/* Shimmer */

@keyframes shimmerLabel {

    0% {
        left: -120%;
    }

    100% {
        left: 140%;
    }

}

/* Star Pulse */

@keyframes starGlow {

    0%,
    100% {

        transform: scale(1);

        filter: drop-shadow(0 0 0 rgba(255, 193, 7, 0));

    }

    50% {

        transform: scale(1.2);

        filter: drop-shadow(0 0 10px rgba(255, 193, 7, .8));

    }

}


@media (max-width: 1024px) {
    .category-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
    }

    .section-header h2 {
    
        line-height: 40px;
    }
}

/* ===================== ANIMATED LABEL Brand section top heading End ===================== */


/* ===================== BRAND HISTORY TIMELINE ===================== */

.brand-history {
    padding: 100px 0;
    background-color: var(--surface-low);
    position: relative;
    overflow: hidden;
}

.brand-history .section-header {
    margin-bottom: 80px;
}

.brand-history .section-header h2 span {
    color: var(--accent);
    size: 18px;
}


/* Timeline Wrapper */
.history-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 60px;
}

/* The Gray Background Track */
.timeline-track {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--surface-border);
    border-radius: 4px;
    z-index: 1;
}

/* The Green Progress Fill (controlled by JS) */
.timeline-progress {
    position: absolute;
    left: 28px;
    top: 0;
    width: 4px;
    height: 0%;
    background: var(--green-gradient);
    border-radius: 4px;
    z-index: 2;
    transition: height 0.15s ease-out;
    box-shadow: 0 0 12px rgba(22, 163, 74, 0.4);
}

/* Each Timeline Item */
.history-item {
    position: relative;
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    z-index: 3;
}

.history-item:last-child {
    margin-bottom: 0;
}

/* Marker (Dot + Icon) */
.history-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 60px;
    display: flex;
    justify-content: center;
}

.marker-dot {
    width: 56px;
    height: 56px;
    background: var(--surface);
    border: 3px solid var(--surface-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 4;
}

/* Active State for Marker */
.history-item.active .marker-dot {
    background: var(--green-gradient);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.15),
        0 8px 25px rgba(22, 163, 74, 0.3);
    transform: scale(1.15);
}

/* Pulse animation on the active dot */
.history-item.active .marker-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Content Card */
.history-content {
    background: var(--surface);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--surface-border);
    transition: all 0.5s ease;
    flex: 1;
    opacity: 0.5;
    transform: translateX(30px);
}

/* Active State for Content Card */
.history-item.active .history-content {
    opacity: 1;
    transform: translateX(0);
    border-color: var(--accent-border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

/* Arrow pointing from content to the dot */
.history-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 18px;
    width: 20px;
    height: 20px;
    background: var(--surface);
    border-left: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.history-item.active .history-content::before {
    border-color: var(--accent-border);
}

/* Date Label */
.history-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding: 5px 14px;
    background: var(--accent-soft);
    border-radius: 20px;
    border: 1px solid var(--accent-border);
}

.history-content h3 {
    font-size: 1.4rem;
    color: var(--navy-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.history-content p {
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0 0 20px;
}

/* Brand Logo Row inside each timeline card */
.history-brands {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--surface-border);
}

.history-brands img {
    height: 32px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.history-item.active .history-brands img {
    filter: grayscale(0%);
    opacity: 1;
}

.history-brands img:hover {
    transform: scale(1.15);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .history-timeline {
        padding-left: 50px;
    }

    .timeline-track,
    .timeline-progress {
        left: 22px;
    }

    .history-marker {
        left: -50px;
        width: 50px;
    }

    .marker-dot {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .history-item {
        gap: 25px;
        margin-bottom: 40px;
    }

    .history-content {
        padding: 25px;
    }

    .history-content::before {
        display: none;
    }

    .history-brands img {
        height: 24px;
    }
}

@media (max-width: 480px) {
    .history-timeline {
        padding-left: 40px;
    }

    .timeline-track,
    .timeline-progress {
        left: 16px;
    }

    .history-marker {
        left: -40px;
        width: 40px;
    }

    .marker-dot {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}



/* ===================== PDF DOCUMENTS SECTION STYLING ===================== */
.pdf-section {
    background: #f8fafc;
    padding-bottom: 80px;
}

.pdf-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.pdf-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pdf-icon {
    font-size: 3.5rem;
    color: #ef4444;
    /* Red color for PDF icon */
    margin-bottom: 15px;
}

.pdf-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 40px;
    /* Ensures all cards have same height for name */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.pdf-view {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.pdf-view:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.pdf-download {
    background: #dc2626;
    color: white;
}

.pdf-download:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

/* Responsive */

@media (max-width: 505px) {

    .pdf-grid {
        grid-template-columns: repeat(1, minmax(180px, 1fr));

    }

}



@media (min-width: 506px) and (max-width:768px) {
    .pdf-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));

    }
}





@media (max-width: 768px) {
    .pdf-grid {
        /* grid-template-columns: repeat(2, minmax(180px, 1fr)); */
        gap: 15px;
    }

    .pdf-card {
        padding: 20px 15px;
    }

    .pdf-icon {
        font-size: 2.5rem;
    }

    .pdf-name {
        font-size: 0.8rem;
        min-height: 35px;
    }

    .pdf-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}





/* ===================== ABOUT PAGE BRANDS ===================== */



/* .brands-section {
    padding: 50px 0 100px;
  
} */