.about-editorial{
    padding: 50px 0 10px;
}

.about-editorial .container{
    max-width:1400px;
    margin:auto;
}

.about-heading{
    margin-bottom:45px;
}

.about-heading span {
    display: block;
    margin-bottom: 20px;
    color: #000;
    font-size: 40px;
    font-weight: 700;
    line-height: 50px;
}

.about-heading h2{
    margin:0;
    color:#081229;   /* Elekore Navy */
    font-size:48px;
    font-weight:700;
}

.editorial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
}

.border-top{
    margin-top:45px;
    padding-top:45px;
    border-top:1px solid #d8dde5;
}

.editorial-item{
    padding:0 28px;
    border-right:1px solid #d8dde5;
}

.editorial-item:first-child{
    padding-left:0;
}

.editorial-item:last-child{
    border-right:none;
    padding-right:0;
}

.editorial-item h6 {
    margin: 0 0 14px;
    color: #000;
    font-size: 26px;
    font-weight: 700;
}

.editorial-item p{
    margin:0;
    color:#4e5666;
    font-size:15px;
    line-height:1.7;
}
.begin{
    color:#000;
}


/* ============================================================
   ELEKORE — ABOUT PAGE  |  about.css  (FIXED + RESPONSIVE)
   ============================================================ */

/* ── BASE ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }

/* ── HERO ───────────────────────────────────────────────────── */
section.hero.position-relative.about {
    text-align: center;
    padding-top: 150px;
    padding-bottom: 60px;
}
.hero {
    height: 85vh;
    position: relative;
    overflow: hidden;
}
.tgs-slider.kive{
    background-color: #0a0319;
}
section.vission-wrapper {
    background: #fff;
    padding: 40px 0px;
}
.container2{
    position: relative;
    overflow: hidden;

    background-image: url("../../images/restart_2026/about\ page\ section.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 90%;
    margin: auto;
    padding: 0px 30px;
    border-radius: 40px;
    padding-top: 20px;
}

/* overlay */
.container2::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 12 40 / 81%);
    z-index: 1;
}

/* content upper */
.container2 *{
    position: relative;
    z-index: 2;
}
.overlay.about {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(55, 88, 143, 0) 0%, rgba(10, 3, 25, 0.768) 0%, rgba(10, 3, 25, 0.796) 80%, #0a0319 100%);
    mix-blend-mode: multiply;
}
.event_boxcontent {
    background: linear-gradient(170deg, rgb(255 255 255) 0%, rgb(102 144 215) 100%) !important;
    width: 28%;
    padding: 40px;
    border-radius: 25px;
}
.event_boxcontent p{
    color: #000;
}
/* gradient fade at bottom of hero — kept BEHIND content */
section.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 300px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(55, 88, 143, 0) 0%, rgb(10 3 25 / 0%) 0%, rgb(10 3 25 / 98%) 70%, #0a0319e3 100%);
    z-index: 3;           /* overlay dikh, but content ke neeche */
    pointer-events: none;
}

/* ✅ FIX: content + stats MUST be above ::before (z-index 3) */
.hero .content {
    position: relative;
    z-index: 10;
}

h1.aboutus {
    letter-spacing: 2px;
    font-size: 42px;
    line-height: 52px;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    text-align: center;
}

p.text {
    text-align: center;
    padding: 10px 120px;
}

/* ── STATS ──────────────────────────────────────────────────── */
.section {
    padding-top: 10px;
    position: relative;
    z-index: 10;       /* ::before (z-3) ke upar */
}

.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    color: #fff;
    position: relative;
    z-index: 10;
}

.stat-card {
    text-align: start;
    position: relative;
    padding: 0 30px;
}

.stat-card:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    height: 170px;
    width: 1px;
    background: rgb(255 255 255 / 60%);
}

.stat-card i {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0;
}

.stat-card p {
    font-size: 16px;
    opacity: 0.85;
    margin: 0;
}

/* ── VISION / MISSION ───────────────────────────────────────── */
.cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    padding: 30px;
}

.vision {
    width: 100%;
    padding: 0px;
    border-radius: 20px 20px 0 0;
    background: transparent;
    display: flex;
    align-items: center;
}

.mission {
   width: 100%;
    padding: 0px;
    border-radius: 20px 20px 0 0;
    background: transparent;
    display: flex;
    align-items: center;
}
.mission1 {
   width: 100%;
    padding: 0px;
    border-radius: 20px 20px 0 0;
    background: transparent;
    display: flex;
    align-items: center;
}

/* ✅ FIX: HTML uses h4, CSS must match */
.cards h4 {
    font-size: 38px;
    font-weight: 600;
    color: #fff;
    padding-bottom: 19px;
    width: 40%;
}

.cards p {
    font-size: 18px;
    line-height: 28px;
    opacity: 0.85;
    width: 100%;
}
.img-slider-wrap {
    background: #fff;
    padding: 60px 0px 0px 0px !important;
    margin-top: -60px !important;
}
/* ── HOW IT ALL BEGAN ───────────────────────────────────────── */
.rp-section {
    padding-top: 0px;
    padding-bottom: 60px;
}

.allcontent {
    font-family: 'Manrope', sans-serif;
    padding: 0px 60px 40px;
    background: #fff;
    border-radius: 50px;
}

.aboutus h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    padding-bottom: 30px;
    color: #000;
}
.aboutusp{
        font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    color: #000;
}
/* desc blocks hidden by default (JS toggles) */
div#desc-0,
div#desc-1,
div#desc-2,
div#desc-3 { display: none; }

ul li {
    color: #000;
    font-size: 17px;
}

.rp-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    position: relative;
}

.rp-list { flex: 1; min-width: 0; }

.rp-item-trigger {
    padding: 18px 0;
    cursor: pointer;
    position: relative;
}

.rp-item-trigger h3 {
    font-size: 25px;
    font-weight: 400;
    color: #000000;
    transition: color 0.25s;
    line-height: 1.2;
}

.rp-item-trigger.active h3,
.rp-item-trigger:hover h3 {
    color: #000000;
    border-bottom: 1px solid rgb(0, 0, 0);
    padding: 18px 0;
    transition: 0.35s;
}
.cards h4 {
    font-family: 'Manrope', sans-serif;
}

/* RIGHT PANEL */
.rp-right {
    width: 670px;
    flex-shrink: 0;
    position: relative;
}
.rp-right{
   overflow: visible !important;
}
.rp-card {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: #0a0319;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 26px 22px;
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(6px);
    transition: top 0.7s cubic-bezier(0.4,0,0.2,1),
                opacity 0.5s ease,
                transform 0.5s ease;
    pointer-events: none;
    max-height: 500px;
    overflow-y: auto;
}

.rp-card.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rp-card p {
    font-weight: 500;
    line-height: 28px;
    font-size: 18px;
    color: #ffffff;
}
.rp-card li{
    color: #fff;
}
/* ── TESTIMONIAL ────────────────────────────────────────────── */
.testimonal {
    position: relative;
    overflow: hidden;
}

.eventbox {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.eventbox_bgline {
    position: absolute;
    bottom: 39px;
    right: 0;
    width: 121%;
    height: auto;
    z-index: 1;
    pointer-events: none;
    left: 0;
}
.tgs-slider svg {
    position: absolute;
    top: -15% !important;
    left: 0% !important;
    width: 110% !important;
    height: 100% !important;
    display: block;
}
.tgs-slider {
    margin-bottom: -70px !important;
    /* overflow: hidden; */
}
.tgs-quote{
    background: linear-gradient(170deg, rgb(255 255 255) 0%, rgb(102 144 215) 100%) !important;
}
.tgs-quote p{
 color: #000 !important;
}
.tgs-slider {
    padding-top: 0px !important;
    margin-top: -170px !important;
}
.tgs-slider {
    position: relative;
    width: 100%;
    padding-bottom: 38% !important;
    /* overflow: hidden; */
}
.tgs-quote.entering {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-end;
}
.eventbox_bgline svg {
    width: 100%;
    height: 100%;
}
.tgs-slider-inner {
  position: absolute;
  inset: 0;
  margin-bottom: -0% !important;
}

/* ── CLIENT SLIDER ──────────────────────────────────────────── */
.clients {
    padding: 30px;
    text-align: center;
    color: rgb(0, 0, 0);
    background-color: #fff;
    padding: 30px 40px 40px 40px;
    margin-bottom: 40px;
}

.clients h2 {
    margin-bottom: 30px;
    font-family: 'Manrope', sans-serif;
}

.slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slide-track {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.slide-track.is-static {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    animation: none;
}

.slide {
    width: 222px;
    padding: 10px;
    border: 2px solid #e2eeff;
    background: #e2eeff;
    margin-left: 30px;
    border-radius: 20px;
    padding-left: 15px;
 }

.slide img {
    width: 187px;
    height: 91px;
    object-fit: contain;
    background: #fff;
    border-radius: 20px;
}

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

section.cta-outer.container {
    background: linear-gradient(to bottom, #e2eeffa6, #3f5f9100);
}

@media(max-width: 1024px){
    .about a.btn-blue {
    position: absolute;
    right: 30px;
    bottom: 40px;
}
.getintouch {
    display: grid;
}
}
/* ============================================================
   TABLET  768px – 1024px
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .tgs-slider svg {
    position: absolute;
    top: 25% !important;
    left: 0% !important;
    width: 100% !important;
    height: 30% !important;
    display: block;
}

.offer-content {
    gap: 10px;
}
.tgs-quote {
    max-width: 52%;
    font-size: clamp(9px, 2.2vw, 13px);
    bottom: 37% !important;
}
section#about {
    height: 340px !important;
}
    .mission {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
}
.vision {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
}
.mission1 {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}
.cards h4 {
    font-size: 22px;
    padding-bottom: 0px !important;
    width: 100%;
}
.tgs-slider {
    padding-bottom:85% !important;
}

    /* HERO */
    section.hero.position-relative.about {
        padding-top: 120px;
        padding-bottom: 50px;
    }
    .content {
    top: 0%;
    transform: translateY(-50%);
    padding: 0 15px;
}
section.cta-outer.container {
    border-radius: 0;
    background: linear-gradient(to bottom, #e2eeffa6, #3f5f9100);
}
section.testimonal {
    padding-bottom: 80px;
    padding-top: 20px;
}
.mission1 {
    width: 210%;
    padding: 0px;
    border-radius: 20px 20px 0 0;
    background: #00000000 !important ;
}
h1.aboutus {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 1px;
}
.cta-outer {
    background: linear-gradient(to bottom, #e2eeffa6, #3f5f9100);
    border-radius: 20px 20px 0px 0px;
    padding: 0px 60px;
    margin-bottom: 69px;
    margin: auto;
    gap: 36px;
    font-family: 'Manrope', sans-serif;
}
    p.text {
        font-size: 15px;
        line-height: 26px;
        padding: 16px 30px;
        text-align: center;
    }

    /* STATS */
    .section { padding-top: 30px; }

    .stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-card {
        width: calc(33% - 30px);
        padding: 0 20px;
        text-align: center;
    }

    .stat-card:not(:last-child)::after {
        right: -15px;
        height: 120px;
    }

    .stat-card i  { font-size: 26px; }
    .stat-card h3 { font-size: 28px; }
    .stat-card p  { font-size: 14px; }

    /* VISION / MISSION */
    section.vission .container { padding: 0 20px; }

    .cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 24px 0;
    }

    .cards > .mission:last-child { grid-column: 1 / -1; }

    .vision,
    .mission {
        width: 100%;
        padding: 28px 24px;
        border-radius: 16px 16px 0 0;
    }

    .cards h4 { font-size: 17px; padding-bottom: 14px; }
    .cards p  { font-size: 15px; line-height: 25px; }

    /* HOW IT ALL BEGAN */
    .rp-section { padding: 30px 0; }

    .allcontent {
        padding: 40px 36px;
        border-radius: 36px;
    }

    .aboutus h2 { font-size: 26px; padding-bottom: 20px; }

    .rp-layout {
        flex-direction: column;
        gap: 28px;
    }

    .rp-list  { width: 100%; }

    .rp-right {
        width: 100%;
        min-height: 180px;
    }

    .rp-card {
        position: relative;
        top: auto !important;
        left: auto; right: auto;
        border-radius: 20px;
        padding: 22px 18px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .rp-item-trigger     { padding: 14px 0; }
    .rp-item-trigger h3  { font-size: 22px; }
    .rp-item-trigger.active h3,
    .rp-item-trigger:hover h3 { padding: 14px 0; }

    /* TESTIMONIAL */
    .eventbox {
        padding: 0px;
        min-height: 0px;
    }

    .event_boxcontent {
        width: 72%;
        padding: 32px 28px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .event_boxcontent p {
        font-size: 15px;
        line-height: 26px;
        color: #000;}

    .eventbox_bgline {
        top: -29%;
        bottom: auto;
        right: 0;
        width: 100%;
    }

    /* SLIDER */
    .clients    { padding: 30px 16px; }
    .clients h2 { font-size: 22px; margin-bottom: 20px; }
    .slide      { width: 160px; padding: 8px; }
    .slide img  { width: 136px; height: 70px; border-radius: 14px; }
    .slide-track { width: max-content; }


}


/* ============================================================
   MOBILE  < 768px
   ============================================================ */
@media (max-width: 767px) {
    .about-heading span {
    font-size: 26px;
    line-height: 32px;
}
    .tgs-slider {
    padding-bottom:95% !important;
}
.cards h4 {
    font-size: 24px !important;
    padding-bottom: 10px;
    width: 100%;
}
.mission {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
}
.vision {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
}
.mission1 {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}
    .mission1 {
    width: 100%;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    background: transparent;
}
section.cta-outer.container {
    border-radius: 0;
}
 .hero {
    height: 110vh;
    display: flex;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
}
.container.text-white.content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: -65px;
}
.hero .content {
    top: 15%;
    padding: 0 15px;
}
    /* HERO */
    section.hero.position-relative.about {
        padding-top: 90px;
        padding-bottom: 40px;
    }

  h1.aboutus {
    font-size: 22px;
    line-height: 28px;
    text-align: center;
}

    p.text {
        font-size: 14px;
        line-height: 24px;
        padding: 12px 16px;
        text-align: center;
    }

    /* STATS — stacked, icon left + text right */
    .section { padding-top: 0px; }
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(1,1fr);
}
.editorial-item {
    padding: 10px 0px;
    border-bottom: 1px solid #d8dde5;
    border-right: none !important;
}
.border-top {
    margin-top: 0px;
    padding-top: 5px;
    border-top: 1px solid #d8dde5;
}
    .stats {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 0;
        padding: 0 20px;
    }

    .stat-card {
        width: 100%;
        padding: 20px 0;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .stat-card:not(:last-child)::after { display: none; }

    .stat-card:not(:last-child) {
        border-bottom: 1px solid rgba(255,255,255,0.25);
    }

    .stat-card i  { font-size: 28px; margin-bottom: 0; flex-shrink: 0; }
    .stat-card h3 { font-size: 26px; margin: 0 0 2px; }
    .stat-card p  { font-size: 13px; margin: 0; opacity: 0.8; }

    /* VISION / MISSION */
    section.vission .container { padding: 0 14px; }

    .cards {
        display: flex;
        flex-direction: column;
        gap: 0px;
        padding: 16px 0 0;
    }

    .vision,
    .mission {
        width: 100%;
        padding: 24px 20px;
        border-radius: 14px 14px 0 0;
    }

    .cards h4 { font-size: 16px; padding-bottom: 10px; }
    .cards p  { font-size: 14px; line-height: 23px; }

    /* HOW IT ALL BEGAN */
    .rp-section { padding: 20px 0; }

    .allcontent {
        padding: 32px 18px 70px;
        border-radius: 28px;
    }
section#about {
    height: 300px;
}
    .aboutus h2 {
        font-size: 22px;
        padding-bottom: 16px;
        line-height: 1.3;
    }

    .rp-layout {
        flex-direction: column;
        gap: 0;
    }

    .rp-list  { width: 100%; }

    .rp-right {
        width: 100%;
        position: static;
        min-height: 0;
    }

    /* card always visible on mobile — no JS absolute trick needed */
    .rp-card {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        border-radius: 16px;
        padding: 18px 16px;
        margin-top: 12px;
    }

    .rp-item-trigger {
        padding: 12px 0;
        border-bottom: 1px solid rgba(107,169,208,0.3);
    }

    .rp-item-trigger h3 { font-size: 18px; line-height: 1.3; }

    .rp-item-trigger.active h3,
    .rp-item-trigger:hover h3 {
        padding: 12px 0;
        border-bottom: none;
    }

    .rp-card p { font-size: 14px; line-height: 1.7; }
    ul li      { font-size: 14px; line-height: 1.6; }

    /* TESTIMONIAL */
    .eventbox {
        padding: 50px 14px;
        min-height: 260px;
        align-items: center;
    }

    .event_boxcontent {
        width: 100%;
        padding: 24px 18px;
        border-radius: 16px;
    }

    .event_boxcontent p { font-size: 13px; line-height: 22px; }

    .event_boxcontent span img {
        width: 100px;
        margin-top: 14px;
    }

    .eventbox_bgline {
        top: auto;
        bottom: 0; right: 0;
        width: 100%;
        opacity: 0.4;
    }

    /* SLIDER */
    .clients    { padding: 24px 10px; }
    .clients h2 { font-size: 20px; margin-bottom: 16px; }
    .slide      { width: 130px; padding: 6px; }
    .slide img  { width: 110px; height: 58px; border-radius: 12px; }
    .slide-track { width: max-content; animation-duration: 20s; }


}


/* ============================================================
   SMALL MOBILE  < 400px
   ============================================================ */
@media (max-width: 399px) {

   h1.aboutus {
    font-size: 18px;
    line-height: 24px;
}
    .stat-card h3 { font-size: 22px; }
    .rp-item-trigger h3 { font-size: 16px; }
    .allcontent { padding: 24px 14px; border-radius: 20px; }

    .slide       { width: 110px; padding: 5px; }
    .slide img   { width: 94px; height: 50px; border-radius: 10px; }
    .slide-track { width: max-content; }
}
