/* ============================================
   aboutus.css - COMPLETE FIX
   ============================================ */

:root {
    --primary: #173654;
    --accent: #56bfd3;
    --light: #F2FCFD80;
    --border: #e7edf2;
    --text: #4c5b68;
}



body {
    background: #fff;
    color: var(--text);
}

/* --- SECTION --- */
.team-section {
    overflow: visible;
    position: relative;
}

/* --- CONTAINER --- */
.team-section .container-fluid {
    overflow: visible;
    padding: 10 0px;
}

/* --- SLIDER --- */
.team-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 20px 0;
}

/* --- WRAPPER - The key is using flex instead of absolute positioning for alignment --- */
.team-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    width:100%;
    max-width:1450px;
    margin:0 auto;

    padding:60px 40px;
    overflow:visible;
}
/* --- ALL CARDS - Use absolute positioning but with consistent vertical alignment --- */
.team-card{
    position:relative;
    flex-shrink:0;
    overflow:hidden;
    border-radius:32px;
    background:#fff;
    box-shadow:0 20px 60px rgba(0,0,0,.12);
}
/* --- SIDE CARDS --- */
.side-card-left{

    width:220px;
    height:610px;

    flex:0 0 220px;

    border-radius: 0 32px 32px 0px;
}
.side-card-right{

    width:220px;
    height:610px;

    flex:0 0 220px;

    border-radius: 32px 0px 0px 32px;
}
.left-card,
.center-card,
.right-card{
    flex-shrink:0;
}

.left-card{

width:220px;
height:610px;
border-radius: 0 32px 32px 0px;

z-index:1;
}
.right-card{

width:220px;
height:610px;
border-radius: 32px 0px 0px 32px;



z-index:1;
}
/* --- CENTER CARD --- */
.center-card{
    width:960px;
    height:680px;
    flex:0 0 960px;
    border:1px solid #09476D14;
    box-shadow: 0 24px 60px rgba(9, 71, 109, 0.15);
    z-index:5;
}

/* Team title */
.team-intro-section {
    padding: 100px 0;
    background: #F2FCFD;
}

.team-intro-subtitle {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Noto Sans', sans-serif;

    letter-spacing: 4px;
    text-transform: uppercase;
    color: #5DBCD2;
    margin-bottom: 20px;
}

.team-intro-title {
    font-size: 60px;
    line-height: 1.15;
    font-family: 'Noto Sans', sans-serif;

    font-weight: 700;
    color: #09476D;
    margin-bottom: 28px;
}

.team-intro-description {
    max-width: 760px;
    margin: 0 auto;
    font-family: 'Noto Sans', sans-serif;

    font-weight:300;
    font-size: 20px;
    line-height: 1.7;
    color: #4A5565;
}

/* ---------- Tablet ---------- */

@media (max-width: 991px) {

    .team-intro-section {
        padding: 80px 0;
    }

    .team-intro-title {
        font-size: 48px;
    }

    .team-intro-description {
        font-size: 22px;
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {

    .team-intro-section {
        padding: 60px 20px;
    }

    .team-intro-subtitle {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .team-intro-title {
        font-size: 34px;
        margin-bottom: 20px;
    }

    .team-intro-description {
        font-size: 17px;
        line-height: 1.6;
    }
}

/* --- SIDE IMAGE & OVERLAY --- */
.side-image-left {
    width: 100%;
    height: 100%;
    border-radius: 0 32px 32px 0px;
    position: relative;
}
.side-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-image-right {
    width: 100%;
    height: 100%;
    border-radius: 32 0px 0px 32px;
    position: relative;
}
.side-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.side-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 20px;
    color: #fff;
    background: linear-gradient(
        to bottom,
        rgba(9, 71, 109, 0.5) 50%,
    );
}
.side-overlay h4 {
    margin: 0 0 4px;
    font-size: 20px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}
.side-overlay p {
    margin: 0;
    font-size: 12px;
     font-family: 'Noto Sans', sans-serif;
    text-transform: uppercase;
    font-weight:600;
    letter-spacing: 0.5px;
    color:#5DBCD2;
    opacity: 0.9;
}

/* --- CENTER CARD CONTENT --- */
.center-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.center-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.center-content {
    padding: 40px 40px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.center-content h2{

font-size:28px;
font-weight:700;
font-family: 'Noto Sans', sans-serif;
color:#09476D;

}

.center-content h6{

font-size:13px;
letter-spacing:1px;
font-family: 'Noto Sans', sans-serif;
font-weight:600;
color:#5DBCD2;

}
.center-content p{

font-size:14px;
line-height:2;
font-family: 'Noto Sans', sans-serif;
color:#4A5565;

}

.center-content blockquote {
    font-size: 14px;
    font-style: italic;
    font-weight: 300;
    color: #4A5565;
    font-family: 'Noto Sans', sans-serif;
    margin: 0 0 20px;
    line-height: 1.5;
}

.center-content .btn{
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    justify-content: center;
    font-family: 'Noto Sans', sans-serif;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1px solid #09476D40;
    color: #09476D;
    background: #fff;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    transition: all .3s ease;
}

.center-content .btn i{
    margin-left: 8px;
    transition: transform .3s ease;
}

/* Hover */
.center-content .btn:hover{
    background: #EAF8FC; ;
    border-color: #5DBCD2;
    color: #09476d;
}

.center-content .btn:hover i{
    transform: translateX(4px);   /* shifts icon slightly to the right */
}

/* --- QUALIFICATIONS --- */
.qualification-box {
    height: 100%;
    background: var(--light);
    border-left: 3px solid #5DBCD2 !important;
    padding: 45px 30px;
    display: flex;
    font-family: 'Noto Sans', sans-serif;
    flex-direction: column;
    justify-content: center;
}

.qualification-box h6 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Noto Sans', sans-serif;
    letter-spacing: 1px;
    margin: 0 0 20px;
}

.qualification-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qualification-box li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 25px;
}

.qualification-box li:last-child {
    margin-bottom: 0;
}

.qualification-box li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 6px;
}

.qualification-box li strong {
    display: block;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.qualification-box li span {
    display: block;
    font-size: 13px;
    color: #6c7a8a;
    margin-top: 2px;
}

/* --- BUTTONS --- */
.btn-outline-primary {
    border-color: var(--accent);
    color: var(--accent);
    padding: 10px 30px;
    font-weight: 600;
    font-size: 14px;
    align-self: flex-start;
}

.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.slider-arrow-inline {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* --- ARROWS --- */
.slider-arrow {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.slider-arrow.prev {
    left: -20px;
}

.slider-arrow.next {
    right: -20px;
}

/* --- DOTS --- */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.slider-dots .dot {
    width: 10px;
    height: 8px;
    border-radius: 50%;
    background: #09476D33;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    width: 32px;
    border-radius: 20px;
    background: #5DBCD2;
}

/* Value Section */
.values-section{
    background:#F2FCFD;
    padding:100px 0;
}

.values-title{
    font-size:36px;
    font-family: 'Noto Sans', sans-serif;

    font-weight:700;
    color:#09476D;
    margin-bottom:28px;
}

.values-tags{
    display:flex;
    justify-content:center;
    font-family: 'Noto Sans', sans-serif;

    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:48px;
}

.values-tags span{
    font-size:14px;
    font-family: 'Noto Sans', sans-serif;

    font-weight:600;
    letter-spacing:1.6px;
    color:#09476DB2;
}

.values-tags .dot{
    color:#5DBCD2;
    font-size:18px;
    line-height:1;
}

.values-quote-card{
    max-width:760px;
    margin:0 auto 80px;
    padding:40px;
    background:#fff;
    font-family: 'Noto Sans', sans-serif;

    border:1px solid rgba(9,71,109,.12);
    border-radius:16px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.values-quote-card p{
    margin:0;
    font-size:20px;
    font-weight:300;
    font-family: 'Noto Sans', sans-serif;

    line-height:1.7;
    color:#09476D;
    font-style:italic;
}

.values-cards{
    margin-top:20px;
}

.value-number{
    width:56px;
    height:56px;
    border-radius:16px;
    border:1px solid rgba(93,188,210,.35);
    display:flex;
    font-family: 'Noto Sans', sans-serif;

    align-items:center;
    justify-content:center;
    font-size:20px;
    font-weight:700;
    color:#09476D;
    margin-bottom:28px;
    background:#fff;
}

.values-cards h4{
    color:#09476D;
    font-size:20px;
    font-family: 'Noto Sans', sans-serif;

    font-weight:700;
    margin-bottom:24px;
}

.values-cards p{
    color:#4A5565;
    font-size:16px;
    font-weight:300;
    font-family: 'Noto Sans', sans-serif;

    line-height:1.9;
}


/* story section */
.story-section{
    background:#F6FBFD;
    padding:100px 0;
}

.story-label{
    display:flex;
    justify-content:center;
        font-family: 'Noto Sans', sans-serif;

    align-items:center;
    

    gap:18px;
    margin-bottom:25px;
}

.story-label span{
    width:40px;
    height:2px;
        font-family: 'Noto Sans', sans-serif;

    background:#8ED2E6;
}

.story-label small{
    font-size:12px;
    font-weight:700;
        font-family: 'Noto Sans', sans-serif;

    letter-spacing:3px;
    color:#5DBCD2;
}

.story-title{
    font-size:48px;
    font-weight:700;
        font-family: 'Noto Sans', sans-serif;

    color:#09476D;
    margin-bottom:70px;
}

.story-card{
    position:relative;
    background:#fff;
        font-family: 'Noto Sans', sans-serif;

    border-radius:22px;
    border:1px solid rgba(9,71,109,.08);
    box-shadow:0 24px 60px rgba(0,0,0,.12);
    padding:50px 52px;
    overflow:hidden;
}

.story-corner{
    position:absolute;
    width:150px;
    height:150px;
    right:-45px;
    top:-45px;
    background:#E5F5FB;
    border-radius:50%;
}

.story-text{
    font-size:18px;
    line-height:1.9;
    font-family: 'Noto Sans', sans-serif;

    color:#364153;
    margin-bottom:45px;
    position:relative;
    z-index:2;
}

.story-text strong{
    color:#09476D;
}

.story-subtitle{
    font-size:24px;
    font-weight:700;
        font-family: 'Noto Sans', sans-serif;

    color:#09476D;
    margin-bottom:35px;
}

.story-subtitle span{
    color:#5DBCD2;
}

.story-list{
    list-style:none;
        font-family: 'Noto Sans', sans-serif;

    padding:0;
    margin:0 0 40px;
}

.story-list li{
    position:relative;
    padding-left:28px;
        font-family: 'Noto Sans', sans-serif;

    margin-bottom:28px;
    font-size:16px;
    line-height:1.9;
    color:#4A5565;
}

.story-list li::before{
    content:"•";
    position:absolute;
    left:0;
    top:0;
    color:#5DBCD2;
    font-size:24px;
}

.story-list strong{
    color:#09476D;
}

.story-card hr{
    margin:45px 0;
    border-color:#E7EDF1;
}

.story-footer{
    text-align:center;
}

.story-footer h4{
    font-size:20px;
    font-weight:700;
        font-family: 'Noto Sans', sans-serif;

    color:#09476D;
    margin-bottom:22px;
}

.story-footer p{
    font-size:14px;
    font-family: 'Noto Sans', sans-serif;
    text-align: start;
    letter-spacing:2px;
    font-weight:600;
    color:#5DBCD2;
    margin:0;
}

/* Tablet */

@media(max-width:991px){

.story-section{
    padding:80px 0;
}

.story-title{
    font-size:42px;
}

.story-card{
    padding:40px;
}

.story-subtitle{
    font-size:30px;
}

.story-footer h4{
    font-size:28px;
}

.story-text,
.story-list li{
    font-size:17px;
}

}

/* Mobile */

@media(max-width:767px){

.story-section{
    padding:60px 20px;
}

.story-title{
    font-size:32px;
    margin-bottom:45px;
}

.story-card{
    padding:28px;
}

.story-corner{
    width:110px;
    height:110px;
}

.story-text,
.story-list li{
    font-size:16px;
    line-height:1.8;
}

.story-subtitle{
    font-size:24px;
}

.story-footer h4{
    font-size:22px;
}

.story-footer p{
    font-size:11px;
    letter-spacing:1px;
}

}

/* Tablet */

@media (max-width:991px){

    .values-section{
        padding:80px 0;
    }

    .values-title{
        font-size:26px;
    }

    .values-quote-card{
        padding:35px;
        margin-bottom:60px;
    }

    .values-quote-card p{
        font-size:22px;
    }

    .values-cards h4{
        font-size:26px;
    }

    .values-cards p{
        font-size:17px;
    }
     .team-section {
        padding: 40px 0 80px 0;
    }
    .team-section .container-fluid {
        padding: 0 15px;

    }
    .left-card,
    .right-card {
        display: none;
    }
   .center-card {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        overflow: hidden;
    }

    .center-content {
        position: relative; /* if it's currently absolute */
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 20px;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .center-content h2 {
        font-size: 24px;
        line-height: 1.3;
        word-break: break-word;
    }

    .center-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .qualification-box {
        border-left: 0px solid #fff;
        border-top: 3px solid var(--accent);
        padding: 20px;
    }
    .center-image,
    .center-image img {
        height: 280px;
    }
    .slider-arrow {
        width: 38px;
        height: 38px;
    }
    .slider-arrow i {
        font-size: 14px;
    }
}

/* Mobile */

@media (max-width:767px){

    .values-section{
        padding:60px 20px;
    }

    .values-title{
        font-size:34px;
    }

    .values-tags{
        gap:10px;
    }

    .values-tags span{
        font-size:10px;
    }

    .values-quote-card{
        padding:28px 22px;
        margin-bottom:45px;
    }

    .values-quote-card p{
        font-size:18px;
        line-height:1.6;
    }

    .value-number{
        width:48px;
        height:48px;
        font-size:22px;
        margin-bottom:20px;
    }

    .values-cards h4{
        font-size:24px;
    }

    .values-cards p{
        font-size:16px;
        line-height:1.8;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1500px) {
    .center-card {
        width: 780px;
    }
    .side-card-left {
        width: 200px;
        height: 620px;
        border-radius: 0 32px 32px 0;
    }
    .side-card-right {
        width: 200px;
        height: 620px;
        border-radius: 32 0px 0px 32px;
    }
}

@media (max-width: 1300px) {
    .center-card {
        width: 680px;
    }
    .side-card-left{
        width: 170px;
        height: 560px;
        border-radius: 0 32px 0 0;
    }
    .side-card-right{
        width: 170px;
        height: 560px;
        border-radius: 32 0px 32px 0;
    }
    .slider-arrow.prev { left: 5px; }
    .slider-arrow.next { right: 5px; }
}

@media (max-width: 1100px) {
    .team-wrapper {
        height: auto;
        min-height: 600px;
    }
    .left-card,
    .right-card {
        display: none;
    }
    .center-card {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    .center-image,
    .center-image img {
        height: 350px;
    }
    .center-content {
        padding: 30px 25px;
    }
    .qualification-box {
        border-left: 3px solid var(--accent);
        border-top: none;
        padding: 25px;
    }
    .slider-arrow {
        display: flex;
        width: 44px;
        height: 44px;
    }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }
}

@media (max-width: 768px) {
    .team-section {
        padding: 40px 0 40px 0;
    }
    .team-section .container-fluid {
        padding: 0 10px;

    }
    .left-card,
    .right-card {
        display: none;
    }
   .center-card {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        overflow: hidden;
    }

    .center-content {
        position: relative; /* if it's currently absolute */
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 20px;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .center-content h2 {
        font-size: 24px;
        line-height: 1.3;
        word-break: break-word;
    }

    .center-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .qualification-box {
        border-top: 3px solid var(--accent);
        padding: 20px;
    }
    .center-image,
    .center-image img {
        height: 280px;
    }
    .slider-arrow {
        width: 38px;
        height: 38px;
    }
    .slider-arrow i {
        font-size: 14px;
    }
}