/* ===== ABOUT HERO (Image + Centered) ===== */
.about-hero-section{
    position: relative;
    z-index: 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80') center center / cover no-repeat;
}

.about-hero-section .hero-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(6,12,28,.92) 0%,
        rgba(11,23,48,.85) 45%,
        rgba(29,78,216,.75) 100%);
    z-index: -1;
}

.about-hero-content{
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 12px;
}

.about-hero-title{
    font-size: clamp(1.7rem, 5.5vw, 56px);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin: 25px 0;
    text-shadow: 0 2px 20px rgba(0,0,0,.35);
    word-break: break-word;
}
.about-hero-title span{
    background: linear-gradient(135deg, #38BDF8, #93C5FD);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.about-hero-description{
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.8;
    color: #F1F5FB;
    margin-bottom: 35px;
    text-shadow: 0 1px 12px rgba(0,0,0,.3);
}
.hero-buttons{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-primary-btn{
    padding: 14px 30px;
    border-radius: 50px;
    background: linear-gradient(135deg, #1D4ED8, #38BDF8);
    color: #fff;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}
.hero-primary-btn:hover{
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 10px 25px rgba(29,78,216,.4);
}
.hero-secondary-btn{
    padding: 14px 25px;
    border-radius: 50px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}
.hero-secondary-btn:hover{
    background: #fff;
    color: #1D4ED8;
}

/* ===== LEADERSHIP / CEO MESSAGE SECTION ===== */
.leadership-section{ padding: 110px 0; background: #fff; overflow: hidden; }

.leadership-images{ position: relative; max-width: 480px; width: 100%; }
.leader-photo{ position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 45px rgba(11,23,48,.12); }
.leader-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.leader-photo-main{ width: 78%; height: 460px; }
.leader-photo-secondary{ position: absolute; right: -10px; bottom: -40px; width: 46%; height: 260px; border: 6px solid #fff; z-index: 2; }
.leader-tag{ position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; background: linear-gradient(to top, rgba(6,12,28,.88) 0%, transparent 100%); z-index: 3; }
.leader-tag h6{ color:#fff; font-size:15px; margin-bottom:2px; }
.leader-tag span{ color:#93C5FD; font-size:12px; text-transform:uppercase; letter-spacing:1px; }
.leader-photo-secondary .leader-tag{ padding: 12px 14px; }
.leader-photo-secondary .leader-tag h6{ font-size:13px; }
.leader-photo-secondary .leader-tag span{ font-size:10px; }

.experience-badge{
    position: absolute; top: 20px; left: -20px;
    background: linear-gradient(135deg,#1D4ED8,#38BDF8); color: #fff;
    padding: 16px 20px; border-radius: 16px; font-size: 13px; font-weight: 600; line-height: 1.3;
    box-shadow: 0 15px 30px rgba(29,78,216,.35); z-index: 4;
}
.experience-badge span{ display: block; font-size: 24px; font-weight: 800; }

.section-badge-inline{
    display: inline-block; padding: 8px 18px; border-radius: 50px;
    background: #EEF2FF; color: var(--primary-color, #1D4ED8);
    font-size: 13px; font-weight: 700; letter-spacing: .5px; margin-bottom: 18px;
}
.leadership-title{ font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.3; margin-bottom: 20px; color: var(--heading-color, #0B1730); }
.leadership-title span{
    background: linear-gradient(135deg,#1D4ED8,#38BDF8);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.leadership-desc{ font-size: 16px; color: var(--text-color, #64748B); line-height: 1.8; margin-bottom: 30px; }

.leader-quote{ position: relative; padding: 20px 24px 20px 55px; border-left: 3px solid #1D4ED8; background: #F8FAFF; border-radius: 0 14px 14px 0; margin-bottom: 18px; }
.leader-quote i{ position: absolute; left: 16px; top: 18px; font-size: 22px; color: #1D4ED8; opacity: .5; }
.leader-quote p{ font-size: 15px; color: #334155; margin-bottom: 8px; line-height: 1.7; }
.leader-quote h6{ font-size: 14px; font-weight: 700; color: var(--heading-color, #0B1730); margin: 0; }
.leader-quote h6 span{ font-weight: 500; color: #64748B; }

/* ===== OUR STORY ===== */
/* ===== OUR STORY ===== */
.our-story-section{ padding:100px 0; overflow: hidden; }

.story-image-wrap{
    position: relative;
    max-width: 560px;
    width: 100%;
}
.story-image{
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(11,23,48,.15);
}
.story-image img{
    width: 100%;
    height: auto;
    display: block;
}
/* Offset blue border effect behind image */
.story-image-wrap::before{
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, #1D4ED8, #38BDF8);
    border-radius: 20px;
    z-index: 1;
}

.story-badge{
    position: absolute;
    left: 24px;
    bottom: -24px;
    z-index: 3;
    background: var(--heading-color, #0B1730);
    color: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
}
.story-badge span{
    font-size: 26px;
    font-weight: 800;
    color: #FBBF24;
    flex-shrink: 0;
}

.story-content{ padding-top: 24px; }
.story-content p{ color:var(--text-color); line-height:1.8; margin-bottom: 18px; }
.story-content .section-title span{
    color: var(--primary-color, #1D4ED8);
}
.story-number{ color:var(--primary-color); font-size:38px; font-weight:700; margin-bottom:5px; }

.story-divider{
    border: none;
    border-top: 1px solid var(--border-color, #E2E9F4);
    margin: 30px 0 20px;
}
.story-founders{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.story-founders strong{
    color: var(--heading-color, #0B1730);
    font-size: 16px;
    font-weight: 700;
}
.story-founders span{
    color: var(--text-color, #64748B);
    font-size: 14px;
}

body.dark-mode .story-badge{ background:#1E293B; box-shadow: 0 15px 35px rgba(0,0,0,.5); }
body.dark-mode .story-divider{ border-color: #334155; }
body.dark-mode .story-founders strong{ color: #F8FAFC; }

/* ===== Responsive ===== */
@media (max-width:991.98px){
    .story-image-wrap{ margin: 0 auto 50px; }
    .story-content{ text-align: center; padding-top: 0; }
    .story-founders{ align-items: center; }
}
@media (max-width:575.98px){
    .our-story-section{ padding: 60px 0; }
    .story-image-wrap::before{ top: 14px; left: 14px; right: -14px; bottom: -14px; }
    .story-badge{ left: 14px; bottom: -18px; padding: 10px 14px; gap: 8px; font-size: 11px; }
    .story-badge span{ font-size: 20px; }
    .story-content p{ font-size: 14.5px; }
}

/* ===== MISSION ===== */
.mission-section{ padding:100px 0; background:#F8FAFF; }
.mission-card{
    background:#fff; padding:40px 30px; border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.08); transition:.3s; height:100%;
}
.mission-card:hover{ transform:translateY(-10px); }
.mission-icon{
    width:70px; height:70px; border-radius:18px;
    background:linear-gradient(135deg,#1D4ED8,#0B1730);
    color:#fff; display:flex; align-items:center; justify-content:center;
    font-size:30px; margin-bottom:25px;
}
.mission-card h3{ font-size: clamp(20px, 3vw, 28px); margin-bottom:15px; }
.mission-card p{ color:var(--text-color); line-height:1.8; }

/* ===== GROWTH JOURNEY (Horizontal Timeline) ===== */
.growth-section{ padding:100px 0; background:#F8FAFC; overflow:hidden; }

.process-timeline{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.timeline-line{
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, #1D4ED8, #38BDF8);
    z-index: 0;
}
.process-timeline .timeline-item{
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    padding: 0 12px;
    width: auto;
    min-width: 0;
}
.timeline-icon{
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #1D4ED8;
    box-shadow: 0 12px 30px rgba(15,23,42,.08);
    transition: var(--transition);
    flex-shrink: 0;
}
.process-timeline .timeline-item:hover .timeline-icon{
    background: linear-gradient(135deg,#1D4ED8,#38BDF8);
    border-color: transparent;
    color: #fff;
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(29,78,216,.3);
}
.process-timeline .timeline-item h4{ font-size: 16px; margin-bottom: 10px; color: var(--heading-color, #0B1730); }
.process-timeline .timeline-item p{ font-size: 13.5px; color: #64748B; line-height: 1.6; margin: 0; }

/* ===== COMPANY TIMELINE (Redesigned — Zigzag Cards) ===== */
.company-timeline-section{ padding:110px 0; background:#fff; overflow: hidden; }

.company-timeline{
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.ct-line{
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #1D4ED8, #38BDF8, #1D4ED8);
    border-radius: 10px;
}

.ct-item{
    position: relative;
    width: 50%;
    padding: 0 50px 60px;
}
.ct-item:nth-child(odd){
    left: 0;
    text-align: right;
}
.ct-item:nth-child(even){
    left: 50%;
    text-align: left;
}
.ct-item:last-child{ padding-bottom: 0; }

.ct-dot{
    position: absolute;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #1D4ED8;
    box-shadow: 0 0 0 6px #EEF2FF;
    z-index: 2;
}
.ct-item:nth-child(odd) .ct-dot{ right: -10px; }
.ct-item:nth-child(even) .ct-dot{ left: -10px; }

.ct-card{
    display: inline-block;
    background: #F8FAFF;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    padding: 28px 30px;
    max-width: 380px;
    width: 100%;
    transition: var(--transition);
}
.ct-item:hover .ct-card{
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(29,78,216,.14);
    border-color: transparent;
    background: #fff;
}

.ct-year{
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: linear-gradient(135deg,#1D4ED8,#38BDF8);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}
.ct-card h4{ font-size: clamp(16px, 2.2vw, 19px); margin-bottom: 10px; color: var(--heading-color, #0B1730); }
.ct-card p{ font-size: 14.5px; color: #64748B; line-height: 1.7; margin: 0; }

body.dark-mode .company-timeline-section{ background:#0B1120; }
body.dark-mode .ct-card{ background:#111827; border-color:#1E293B; }
body.dark-mode .ct-item:hover .ct-card{ background:#111827; }
body.dark-mode .ct-card h4{ color:#fff; }
body.dark-mode .ct-card p{ color:#94A3B8; }
body.dark-mode .ct-dot{ box-shadow: 0 0 0 6px #1E293B; }

/* ===== ABOUT CTA (simple blue-navy) ===== */
.cta-section{ padding:100px 0; }
.cta-wrapper{
    background:linear-gradient(135deg,#1D4ED8,#0B1730);
    padding:80px 40px; border-radius:30px; color:#fff;
}
.cta-title{ font-size: clamp(1.6rem, 4.5vw, 48px); margin:20px 0; color:#fff; line-height: 1.3; }
.cta-title span{ color:#00F5D4; }
.cta-description{ max-width:650px; margin:0 auto 35px; opacity:.9; }
.cta-buttons{ display:flex; justify-content:center; gap:20px; flex-wrap:wrap; }

/* =====================================================
   ABOUT RESPONSIVE (all breakpoints, consolidated)
   ===================================================== */

/* ---- 1199px and below ---- */
@media(max-width: 1199px){
    .about-hero-section{ padding: 130px 0 90px; }
    .cta-wrapper{ padding: 70px 40px; }
}

/* ---- 991px and below (tablets) ---- */
@media (max-width:991.98px){
    .about-hero-section{ padding: 120px 0 80px; text-align: center; min-height: 60vh; }
    .about-hero-content{ margin: 0 auto; }
    .hero-buttons{ justify-content: center; }

    .leadership-images{ margin: 0 auto 60px; }
    .leadership-title{ font-size: clamp(1.8rem, 5vw, 2.2rem); text-align: center; }
    .section-badge-inline{ display:block; text-align:center; width:max-content; margin-left:auto; margin-right:auto; }
    .leadership-desc{ text-align:center; }
    .leader-quote{ text-align: left; }

    .our-story-section{ padding: 80px 0; }
    .story-content{ text-align: center; margin-top: 40px; }
    .story-image img{ margin: 0 auto; }

    .mission-section{ padding: 80px 0; }
    .mission-card{ margin-bottom: 20px; text-align: center; }

    .growth-section{ padding: 80px 0; }
    .process-timeline{ flex-direction: column; align-items: center; gap: 45px; }
    .process-timeline .timeline-line{ top: 0; bottom: 0; left: 39px; width: 2px; height: auto; right: auto; background: linear-gradient(180deg, #1D4ED8, #38BDF8); }
    .process-timeline .timeline-item{ display: flex; align-items: flex-start; gap: 20px; text-align: left; width: 100%; max-width: 480px; padding: 0; }
    .process-timeline .timeline-icon{ margin: 0; flex-shrink: 0; width: 80px; height: 80px; }

    .company-timeline-section{ padding: 80px 0; }
    .cta-wrapper{ text-align: center; padding: 60px 30px; }
}

/* Landscape phones/tablets — short viewport */
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 500px){
    .about-hero-section{ min-height: auto; padding: 110px 0 60px; }
}

/* ---- 767px and below (large phones) ---- */
@media (max-width:767.98px){
    .about-hero-title{ font-size: 38px; }
    .hero-buttons{ flex-direction: column; width: 100%; }
    .hero-primary-btn, .hero-secondary-btn{ width: 100%; max-width: 320px; justify-content: center; }

    .leader-photo-main{ height: 400px; }
    .leader-photo-secondary{ height: 220px; }

    .story-number{ font-size: 30px; }
    .mission-card{ margin-bottom: 20px; }

    .ct-line{ left: 20px; transform: none; }
    .ct-item{
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 0 0 40px 55px;
    }
    .ct-item:nth-child(odd) .ct-dot,
    .ct-item:nth-child(even) .ct-dot{
        left: 10px;
        right: auto;
    }
    .ct-card{ max-width: 100%; padding: 22px 20px; }

    .cta-title{ font-size: 38px; }
    .cta-buttons{ flex-direction: column; align-items: center; }
    .cta-buttons .btn{ width: 100%; max-width: 280px; }
}

/* ---- 576px and below (phones) ---- */
@media (max-width:575.98px){
    .about-hero-section{ padding: 100px 0 70px; min-height: 55vh; }
    .about-hero-title{ font-size: 30px; }
    .about-hero-description{ font-size: 16px; }

    .leadership-section{ padding: 70px 0; }
    .leader-photo-main{ height: 340px; }
    .leader-photo-secondary{ height: 190px; right: 0; bottom: -25px; }
    .experience-badge{ left: 10px; top: 10px; padding: 10px 14px; font-size: 11px; }
    .experience-badge span{ font-size: 18px; }
    .leader-quote{ padding: 16px 18px 16px 45px; }

    .our-story-section{ padding: 60px 0; }
    .story-number{ font-size: 26px; }

    .mission-card{ padding: 30px 20px; }
    .mission-card h3{ font-size: 24px; }

    .growth-section{ padding: 70px 0; }
    .process-timeline .timeline-icon{ width: 65px; height: 65px; font-size: 22px; }
    .process-timeline .timeline-line{ left: 32px; }
    .process-timeline .timeline-item h4{ font-size: 15px; }
    .process-timeline .timeline-item p{ font-size: 13px; }

    .company-timeline-section{ padding: 60px 0; }
    .ct-card{ padding: 18px 16px; border-radius: 14px; }

    .cta-wrapper{ padding: 50px 20px; border-radius: 20px; }
    .cta-title{ font-size: 30px; }
    .cta-buttons .btn{ width: 100%; max-width: 260px; }
}

/* ---- 480px and below ---- */
@media (max-width: 480px){
    .about-hero-title{ font-size: 26px; }
    .about-hero-section{ padding-bottom: 60px; }

    .experience-badge{ padding: 8px 12px; font-size: 10px; }
    .experience-badge span{ font-size: 16px; }

    .leader-photo-main{ height: 300px; }
    .leader-photo-secondary{ height: 170px; }

    .mission-icon{ width: 55px; height: 55px; font-size: 24px; }

    .process-timeline .timeline-item{ gap: 14px; }
    .process-timeline .timeline-icon{ width: 56px; height: 56px; font-size: 20px; }

    .ct-dot{ width: 16px; height: 16px; box-shadow: 0 0 0 4px #EEF2FF; }
    .ct-year{ font-size: 11px; padding: 5px 12px; }
}

/* ---- 400px and below (extra small) ---- */
@media (max-width: 400px){
    .about-hero-title{ font-size: 24px; }
    .cta-title{ font-size: 26px; }
    .hero-primary-btn, .hero-secondary-btn{ width: 100%; }
    .story-number{ font-size: 22px; }
}

/* ---- 360px and below (smallest phones) ---- */
@media (max-width: 360px){
    .about-hero-title{ font-size: 22px; }
    .leadership-title{ font-size: 1.5rem; }
    .ct-item{ padding-left: 45px; }
    .ct-line{ left: 15px; }
    .ct-item:nth-child(odd) .ct-dot,
    .ct-item:nth-child(even) .ct-dot{ left: 6px; }
}