/* ==========================================
   ABOUT HISTORY SECTION
========================================== */
/*
.about-history-section{
    position:relative;
    padding:100px 0;
}
*/
/* HEADER */

.section-header{
    max-width:950px;
    margin:auto auto 60px;
}

.section-badge{
    display:inline-block;
    background:linear-gradient(
        135deg,
        #1f9dd1,
        #2ea44f
    );
    color:#fff;
    padding:8px 18px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    letter-spacing:.5px;
    margin-bottom:20px;
}

.section-description{
    font-size:22px;
    line-height:1.9;
    color:#1f2937;       /* darker text */
    font-weight:600;     /* semi-bold */
    max-width:1000px;
    margin:auto;
}

.section-description strong{
    font-weight:800;
    color:#163142;
}
.section-title{
    font-size:58px;
    font-weight:800;
    color:#163142;
    margin-bottom:20px;
}

.section-title span{
    color:#1f9dd1;
}

.section-description{
    font-size:20px;
    line-height:1.9;
    color:#5b6470;
    max-width:900px;
    margin:auto;
}

/* VIDEO CARD */
/* VIDEO CARD */
.history-video-card{
    height:520px;
    overflow:hidden;
    border-radius:30px;
    background:#fff;
    box-shadow:0 20px 50px rgba(0,0,0,.12);
    transition:.4s;
}

.history-video-card:hover{
    transform:translateY(-5px);
}
.history-video-card{
    border-radius:25px;
    overflow:hidden;

    background:#fff;

    height:auto;      /* alisin fixed height */
}
.history-video-card{
    background:transparent;
    padding:0;
    overflow:hidden;
}

.history-video-card video{
    width:100%;
    display:block;
    border-radius:25px;
}

/* IMAGE CARD */

.history-image-card{

    height:100%;

    background:#fff;

    border-radius:30px;

    overflow:hidden;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:
        0 20px 50px rgba(0,0,0,.12);
}

.history-image-card img{

    width:100%;

    height:100%;

    object-fit:contain;

    display:block;

    padding:20px;
}
/* INFO BOX */

.history-info{
    background:#fff;
    border-radius:25px;
    padding:35px 40px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.history-info h4{
    font-size:26px;
    font-weight:700;
    color:#163142;
    margin-bottom:15px;
}

.history-info p{
    font-size:18px;
    line-height:1.9;
    color:#4f5965;
    margin:0;
}

/* MOBILE */

@media(max-width:991px){

    .section-title{
        font-size:38px;
    }

.section-description{
    font-size:18px;
    line-height:1.8;
    color:#5f6b75;
}
    .history-video-card video{
        height:350px;
    }

    .history-image-card{
        height:auto;
        min-height:350px;
    }

}

/* ===================================
   WHO WE ARE SECTION
=================================== */
.who-we-are{
    padding-left:20px;
}
.section-modern-title{
    font-size:54px;
    font-weight:800;
}

.section-sub-title{
    font-size:36px;
    font-weight:800;
}
.who-we-are p{
    font-size:18px;
    line-height:1.9;

    color:#222;

    font-weight:400;
}
.section-sub-title{
    font-size:38px;
    font-weight:800;
    color:var(--dark);
    margin-bottom:25px;
}

.section-sub-title span{
    color:var(--primary);
}
/* ===================================
   INFO CARDS
=================================== */

.mini-stats{
    margin-top:35px;
}

.info-mini-card{
    background:#fff;
    padding:25px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.05);
    transition:.4s ease;
    height:100%;
    border:1px solid rgba(0,0,0,.03);
}

.info-mini-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}
.info-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    margin-bottom:18px;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--green)
    );

    color:#fff;
}

.info-mini-card h4{
    font-size:20px;
    font-weight:800;
    margin-bottom:12px;
    color:var(--dark);
}

.info-mini-card p{
    font-size:15px;
    line-height:1.7;
    color:#61727b;
    margin:0;
}


/* =====================================
   ABOUT HISTORY SECTION
===================================== */
/*
.about-history-section{
    padding:100px 0;
    background:rgba(255,255,255,.75);
    backdrop-filter:blur(2px);
}
    */
.section-title{
    font-size:52px;
    font-weight:800;
    line-height:1.1;
    margin-bottom:20px;
}

.section-title span{
    color:#2d73ff;
}

.about-history-section p{
    font-size:1.2rem;
    line-height:1.9;
    color:#444;
    margin-bottom:20px;
}
.history-image{
    height:600px;

    background:#fff;

    border-radius:30px;

    padding:40px;

    display:flex;
    align-items:center;
    justify-content:center;
}
.history-image img{
    width:100%;
    height:100%;

    object-fit:contain;

    display:block;
}
/* =====================================
   ABOUT HISTORY MEDIA
===================================== */

/* VIDEO CARD */


.history-video{
    height:480px;

    border-radius:30px;

    overflow:hidden;

    background:#fff;

    box-shadow:
        0 15px 40px rgba(0,0,0,.10);
}

.history-video video{
    width:100%;
    height:100%;

    object-fit:cover;

    display:block;
}
/* IMAGE CARD */
.history-image{
    height:520px;

    background:#fff;

    border-radius:30px;

    padding:20px;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;
}
.history-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}
/* ==========================
   WHO WE ARE LAYOUT FIX
========================== */

.about-section .row,
.history-section .row,
.who-we-are-section .row {
    align-items: center;
}

/* Right content */
.about-content,
.history-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Cards container */
.info-cards-row,
.who-we-serve-cards{
    display:flex;
    gap:25px;
}

/* Individual cards */
.info-mini-card {
    flex: 1;
    min-height: 320px;
}

/* Responsive */
@media (max-width: 991px) {

    .info-cards-row,
    .who-we-serve-cards {
        flex-direction: column;
    }

}
/* Main two-column layout */
.who-we-are-section .row{
    align-items: stretch;
}

/* Left stats card */
.stats-card{
    height: 100%;
    min-height: 520px;
}

/* Right content */
.who-content{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Space between sections */
.who-content h2{
    margin-bottom: 20px;
}

.who-content p{
    margin-bottom: 30px;
}
.who-content{
    padding-left:40px;
    border-left:4px solid #1993c4;
}
.history-timeline-image{
    border-radius:20px;
    overflow:hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,.12);

    margin-bottom:30px;
}

.history-timeline-image img{
    width:100%;
    display:block;
    border-radius:20px;
}

.history-summary-card{

    max-width:1000px;
    margin:auto;

    background:rgba(255,255,255,.92);

    padding:40px 50px;

    border-radius:30px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.08);

    backdrop-filter:blur(6px);

}

.history-summary-card h4{

    color:#163142;

    font-size:2rem;

    font-weight:800;

    margin-bottom:25px;

}

.history-summary-card p{

    color:#1f2937;

    font-size:1.1rem;

    font-weight:600;

    line-height:2;

    margin-bottom:20px;

    text-align:justify;

}

/* ===================================
   HISTORY MODAL
=================================== */

.history-modal-overlay{

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:
    rgba(0,0,0,.65);

    z-index:99999;

    justify-content:center;
    align-items:center;

    padding:20px;
}

.history-modal-box{

    background:#fff;

    width:100%;
    max-width:750px;

    border-radius:25px;

    padding:40px 45px;

    position:relative;

    box-shadow:
    0 25px 60px rgba(0,0,0,.25);

    animation:modalFade .35s ease;
}

.history-modal-box h3{

    font-size:2rem;

    font-weight:800;

    color:#163142;

    margin-bottom:25px;
}

.history-modal-box p{

    color:#1f2937;

    font-size:1.08rem;

    font-weight:600;

    line-height:2;

    margin-bottom:18px;

    text-align:justify;
}

.history-close{

    position:absolute;

    top:15px;
    right:20px;

    font-size:38px;

    cursor:pointer;

    color:#888;

    transition:.3s;
}

.history-close:hover{

    color:#163142;
}

@keyframes modalFade{

    from{
        opacity:0;
        transform:translateY(-20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.history-read-more{
    text-align:center;
    margin-top:15px;
}

.history-read-more a{

    color:#1993c4;

    font-size:1.05rem;

    font-weight:700;

    text-decoration:none;

    transition:.3s;
}

.history-read-more a i{

    margin-left:6px;

    font-size:.9rem;
}

.history-read-more a:hover{

    color:#2f9b45;

    letter-spacing:.5px;
}