/* PAGE HERO */
.page-hero {
    background: var(--primary);
    padding: 0.7rem 0;
    color: #fff;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

/* ===============================
   GROUP JOURNEY
================================= */

.journey-timeline {
    max-width: 950px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.journey-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.journey-year {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.journey-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

.journey-content p {
    line-height: 1.7;
    color: var(--gray);
}

.journey-list {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.journey-list li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}


/* ===============================
   LEADERSHIP SECTION
================================= */

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.leader-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.leader-info h3 {
    margin-bottom: 0.3rem;
}

.leader-role {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-info p {
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 1rem;
}

.leader-info h4 {
    font-size: 0.95rem;
    margin: 1rem 0 0.6rem;
    font-weight: 600;
}

.leader-info ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.leader-info ul li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}




/* =================================
   CONTENT WIDTH OPTIMIZATION
================================= */

.journey-content,
.privacy-section .container {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* =================================
   JOURNEY ACCORDION CONVERSION
================================= */

.journey-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hide paragraph & list initially */
.journey-item .journey-content p,
.journey-item .journey-content ul {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

/* Show only year + heading */
.journey-content h3 {
    margin-bottom: 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
}

/* Chevron arrow */

.journey-toggle{
font-size:12px;
color:var(--accent);
transition:0.3s ease;
}

/* Rotate arrow when expanded */

.journey-item.active .journey-toggle{
transform:rotate(180deg);
}

/* Expand on hover (desktop) */
.journey-item:hover .journey-content p,
.journey-item:hover .journey-content ul {
    max-height: 600px;
    opacity: 1;
    margin-top: 0.8rem;

}

/* Expand when clicked (mobile + arrow rotation) */

.journey-item.active .journey-content p,
.journey-item.active .journey-content ul {
    max-height:600px;
    opacity:1;
    margin-top:0.8rem;
}

/* Arrow pulse animation */

/* .journey-toggle i{
animation:pulseArrow 1.8s infinite;
}

@keyframes pulseArrow{
0%{
transform:translateY(0);
}

50%{
transform:translateY(3px);
}

100%{
transform:translateY(0);
}
} */

.journey-toggle i{
animation:pulseArrow 1.8s infinite;
display:inline-block;
}

/* @keyframes pulseArrow{
0%{
transform:translateY(0);
}

50%{
transform:translateY(3px);
}

100%{
transform:translateY(0);
}
} */


/* =================================
   PRIVACY COMPRESSION
================================= */

.privacy-section .container {
    max-width: 750px;
    margin: 0 auto;
}

/* Collapse full policy */
.privacy-section {
    position: relative;
}

.privacy-section .container {
    max-height: 320px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

/* Gradient fade effect */
.privacy-section .container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--light));
}

/* Expand on hover */
.privacy-section:hover .container {
    max-height: 1200px;
    overflow-y: auto;
}

.privacy-section:hover .container::after {
    display: none;
}


/* ==============================
   ABOUT TABS SECTION
============================== */

.about-tabs-section {
    padding: 4rem 0;
}

.about-tabs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.tab i {
    display: block;
    font-size: 18px;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.tab span {
    font-size: 0.85rem;
    font-weight: 500;
}

.tab:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.tab.active {
    border-bottom: 3px solid var(--accent);
    background: #f9fbff;
}

/* CONTENT PANEL */

.tab-content-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;  
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 1rem;
}

.tab-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.tab-content ul {
    padding-left: 1.2rem;
    color: var(--gray);
}

/* Privacy Wrapper */
.privacy-wrapper {
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
    font-size: 15px;
}

.tab-main-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.privacy-wrapper h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 18px;
}

.privacy-wrapper ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.privacy-contact-box {
    background: #f5f7fa;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    margin-top: 15px;
    border-radius: 6px;
}

/* Navigation Buttons */
.privacy-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.tab-next-btn,
.tab-finish-btn {
    padding: 10px 24px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s ease;
}

.tab-next-btn {
    background: var(--primary-color);
    color: white;
}

.tab-next-btn:hover {
    opacity: 0.9;
}

.tab-finish-btn {
    background: #222;
    color: white;
}

.tab-finish-btn:hover {
    background: #000;
}

.highlight-box {
    background: var(--light);
    padding: 1rem;
    border-left: 4px solid var(--accent);
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.leader-mini {
    margin-bottom: 1rem;
}

.leader-mini span {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
}


/* =================================
   TAB NAVIGATION BUTTON
================================= */

.tab-navigation {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.tab-next-btn,
.tab-finish-btn {
    padding: 10px 26px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.tab-next-btn {
    background: var(--accent);
    color: #fff;
}

.tab-next-btn:hover {
    opacity: 0.9;
}

.tab-finish-btn {
    background: var(--accent);
    color: #fff;
}

.tab-finish-btn:hover {
    background: #000;
}


/* Animation */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}



/* TIMELINE */
.timeline {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
}

.timeline-item span {
    font-weight: 600;
    color: var(--accent);
}

/* LEADERSHIP IMAGES */
.card.small img {
    width: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
}

/* GROUP OF COMPANIES */

/* .company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.company-logos img {
    max-width: 150px;
    opacity: 0.8;
    transition: 0.3s;
} */

.company-logos {
    
    margin-top: 2rem;
   
}

.company-logos img {
     display: block;        /* important */
    width: 100%;
    max-width: 900px;   /* control max size */
    height: auto;
     margin: 0 auto;        /* THIS centers it */
    
}

/* .company-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
} */

/* Our Journey */

.vj-journey{
padding:145px 6%;
background:#f7f7f7;
text-align:center;
border-radius: 1rem;
}

.vj-journey-title{
font-size:1.5rem;
margin-bottom:15px;
color:#0f2f2f;
text-align: center;
}

.vj-timeline{
display:flex;
justify-content:space-between;
position:relative;
}

/* center line */
.vj-timeline::before{
content:"";
position:absolute;
top:50%;
left:0;
width:100%;
height:3px;
background:#c9972b;
}


/* item */
.vj-item{
width:10%;
position:relative;
text-align:center;
}

/* year circle */
.vj-year{
width:60px;
height:60px;
border-radius:50%;
background:#0f2f2f;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
margin:auto;
font-weight:600;
z-index:2;
position:relative;
transition:0.3s;
}

/* description */
.vj-desc{
position:absolute;
width:150px;
left:50%;
transform:translateX(-50%);
font-size:11px;
line-height:1.5;
color:#444;
opacity:.8;
}

/* top */
.vj-top .vj-desc{
bottom:85px;
}

/* bottom */
.vj-bottom .vj-desc{
top:85px;
}

/* arrows */
.vj-top::after{
content:"";
position:absolute;
width:2px;
height:40px;
background:#c9972b;
left:50%;
bottom:50%;
}

.vj-bottom::after{
content:"";
position:absolute;
width:2px;
height:40px;
background:#c9972b;
left:50%;
top:50%;
}

/* hover */
.vj-item:hover .vj-year{
background:#c9972b;
transform:scale(1.15);
}

.vj-item:hover .vj-desc{
opacity:1;
}

/* animation */
.vj-item{
opacity:0;
animation:vjFade .8s ease forwards;
}

.vj-item:nth-child(1){animation-delay:.1s}
.vj-item:nth-child(2){animation-delay:.2s}
.vj-item:nth-child(3){animation-delay:.3s}
.vj-item:nth-child(4){animation-delay:.4s}
.vj-item:nth-child(5){animation-delay:.5s}
.vj-item:nth-child(6){animation-delay:.6s}
.vj-item:nth-child(7){animation-delay:.7s}
.vj-item:nth-child(8){animation-delay:.8s}
.vj-item:nth-child(9){animation-delay:.9s}
.vj-item:nth-child(10){animation-delay:1s}

@keyframes vjFade{
from{
transform:translateY(20px);
opacity:0;
}
to{
transform:translateY(0);
opacity:1;
}
}



/* RESPONSIVE */
@media (max-width: 768px) {

    .timeline {
        padding: 0 1rem;
    }

    
    
     .company-logos img {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .journey-item {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .journey-year {
        font-size: 1rem;
    }

            /* Desktop */
        .leadership-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        }

      .privacy-section {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .subheading {
    font-size: 20px;
  }   
   
    .journey-item {
        padding: 1rem 0;
    }

    /* .journey-item:active .journey-content p,
    .journey-item:active .journey-content ul {
        max-height: 800px;
        opacity: 1;
    } */
         


    .tab span {
    font-size: 0.65rem;
    font-weight: 450;
    }

     .about-tabs {
    display: flex;
    flex-wrap: nowrap;          /* FORCE single line */
    overflow-x: auto;           /* scroll if needed */
    gap: 6px;
    padding: 0 10px 6px 10px;
  }

  .about-tabs::-webkit-scrollbar {
    display: none;              /* hide scroll bar */
  }

  .about-tabs .tab {
    flex: 0 0 auto;
    width: 70px;                /* smaller fixed width */
    min-width: 80px;
    padding: 8px 5px;
    font-size: 7px;
    border-radius: 12px;
  }

  .about-tabs .tab i {
    font-size: 14px;
    margin-bottom: 4px;
  }
    

    /* Handle long privacy content */
    .privacy-wrapper {
        font-size: 14px;
    }

    .privacy-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .tab-next-btn,
    .tab-finish-btn {
        width: 100%;
    }

    .vj-timeline{
display:flex;
flex-direction:column;
gap:16px;
}

.vj-timeline::before{
display:none;
}

.vj-journey {
    padding: 23px 6%;
    background: #f7f7f7;
    text-align: center;
    border-radius: 1rem;
}

/* row */
.vj-item{
display:flex;
align-items:flex-start;
gap:18px;
width:100%;
}

/* force consistent order */
.vj-year{
order:1;
flex:0 0 65px;
height:34px;
border-radius:20px;
font-size:13px;
margin:0;
}

/* description */
.vj-desc{
order:2;
position:static;
transform:none;
width:auto;
flex:1;
text-align:left;
font-size:14px;
line-height:1.4;
}

/* remove desktop connectors */
.vj-item::after{
display:none;
}

/* arrow */
.vj-desc::before{
content:"➜";
margin-right:6px;
color:#c9972b;
font-weight:600;
}

}



/* Tablet */
@media (max-width: 992px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  .leadership-card {
    padding: 20px;
  }
}