﻿body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}
html, body {
    overflow-x: clip;
}
:root {
    --primary: #007ACD;
    --secondary: #F6C342;
}
.rounded-5{
    border-radius:20px;
}
/*===============--fonts --=================*/
.montserrat-medium {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
.montserrat-semibold {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
.montserrat-bold {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.open-sans-medium {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}
.open-sans-semibold {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}
.open-sans-bold {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}
/*======= custom classes ==========*/
.border-radius{
    border-radius:20px;
}
.themePrimary{
    color:var(--primary);
}
.themePrimary-bg{
    background-color:var(--primary);
}
.themeSecondary {
    color: var(--secondary);
}
.themePrimary-bg-light {
    background-color: rgb(0, 122, 205,0.4);
}
.themeSecondary-bg {
    background-color: var(--secondary);
}
.theme-light-blue {
    background-color: rgb(0, 122, 205,0.1);
}
.theme-light-yellow {
    background-color: rgb(246, 195, 66,0.1);
}
.btn:focus,
.btn:active {
    box-shadow: none !important;
    outline: none !important;
}
#topBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: var(--primary);
    color: white;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 8px 13px;
    cursor: pointer;
    z-index: 1000;
}
/*=============== layout page ==========*/
/*-- header --*/
.logo-symbol {
    height: 70px;
}
.logo-title {
    font-size: 22px;
    font-weight: 700;
}
.logo-sub {
    font-size: 14px;
    letter-spacing: 1px;
}
.site-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.site-navbar {
    background: transparent;
    padding: 18px 0;
}

.site-header .nav-link {
    color: #000000;
    font-weight: 600;
    margin: 0 8px;
    padding: 6px 14px;
    border-radius: 20px;
    transition: 0.3s ease;
}

    .site-header .nav-link:hover,
    .site-header .nav-link.active {
        color: var(--primary-hover);
    }
.site-header .container{
    border-radius:45px;
}
.header-call-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

    .header-call-btn i {
        background: #fff;
        color: var(--primary);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        transition: 0.3s;
    }

    .header-call-btn strong {
        font-weight: 600;
    }

    .header-call-btn:hover {
        background: var(--secondary);
        color: #000 !important;
    }
        .header-call-btn:hover i {
            background-color:#000;
            color: var(--secondary) !important;
        }
/*-- footer --*/
.site-footer {
    background: rgba(0,0,0,0.8);
    color: #cbd5e1;
    padding: 70px 0 25px;
    font-family: 'Open Sans',sans-serif;
}

.footer-brand img {
    height: 55px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 18px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        text-decoration: none;
        color: #cbd5e1 !important;
        transition: .3s;
        font-size: 15px;
    }

        .footer-links a:hover {
            color: var(--secondary) !important;
            padding-left: 6px;
        }

    .footer-contact li {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .footer-contact i {
        color: var(--secondary);
        margin-right: 10px;
    }
.footer-social {
    margin-top: 20px;
}

    .footer-social a {
        text-decoration:none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        color: #fff !important;
        margin-right: 10px;
        font-size: 16px;
        transition: .35s;
    }
        
        .footer-social a:nth-child(1):hover {
            background: #1877f2;
        }
        .footer-social a:nth-child(2):hover {
            background: #e4405f;
        }
        .footer-social a:nth-child(3):hover {
            background: #0a66c2;
        }
        .footer-social a:nth-child(4):hover {
            background: #ff0000;
        }

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
    color: #94a3b8;
}
/*==================== Home page =================*/
/*.home-banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;*/
   /* border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;*/
/*}
.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 122, 205,0.2);
}*/
/*.banner-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
}
.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}*/
/*.banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
}
.banner-content {
    color: #fff;
    text-align: center;
}

.banner-title {   
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 0 20px rgba(0,0,0,0.35);
    
}
.banner-subtitle {
    max-width: 650px;
    margin: 20px auto 35px;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
*/
.banner-btn{
    position:relative;
    overflow:hidden;
    background:var(--secondary);
    color:#000;
    padding:14px 34px;
    border-radius:50px;
    font-weight:700;
    letter-spacing:.5px;
    text-decoration:none;
    transition:.3s;
}

.banner-btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(120deg,transparent,rgba(255,255,255,.6),transparent);
    transition:.6s;
}

.banner-btn:hover::before{
    left:100%;
}
/*--------- stats -------*/
.stats-floating {
    margin-top: -70px;
    position: relative;
    z-index: 5;
}

.stats-wrapper {
    background: rgba(0, 122, 205,0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 35px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* important for responsiveness */
    border: 0.5px solid #bfbfbf;
}

.stat {
    text-align: center;
    flex: 1 1 25%; /* 4 columns on desktop */
    padding: 15px;
}

    .stat h2 {
        font-size: 48px;
        font-weight: 700;
        color: #fff;
        text-shadow: 2px 2px 3px #000;
    }

    .stat p {
        margin: 0;
        color: #000;
        font-size: 15px;
    }

    /* divider line */

    .stat:not(:last-child) {
        border-right: 1px solid #bfbfbf;
    }


/*-- specialties section --*/
/*-----*/
.speciality-strip {
    background: var(--primary);
    padding: 12px 0;
    overflow: hidden;
}

.scroll-wrapper {
    position: relative;
    width: 100%;
}

.scroll-content {
    display: flex;
    gap: 18px;
    animation: scrollLeft 30s linear infinite;
    width: max-content;
}

    .scroll-content span {
        color: white;
        font-size: 17px;
        font-weight: 500;
        white-space: nowrap;
        letter-spacing: .5px;
    }

        .scroll-content span::after {
            content: "\2726";
            margin-left: 18px;
            opacity:0.7;
        }

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
/*-----*/
/* keep your background */
.specialty-timeline {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,122,205,0.3)), url('/images/Specialties-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.spec-card {
    background: #fff;
    padding: 45px 20px 25px; 
    border-radius: 20px;
    transition: 0.3s;
    position: relative;
}

    .spec-card .icon {
        width: 70px;
        height: 70px;
        background: var(--secondary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        color: #000;
        position: absolute;
        top: -35px; 
        left: 50%;
        transform: translateX(-50%);
    }

    .spec-card:hover {
        transform: translateY(-8px);
    }

    

    .spec-card h4 {
        font-family: "Montserrat", sans-serif;
        color: var(--primary);
        font-weight: 700;
    }

    .spec-card p {
        font-size: 14px;
        color: #555;
        margin-top: 8px;
    }
/*-why & doctors section --*/

/* divider */
.split-divider {
    border-left: 1px solid #e6eef5;
    padding-left: 40px;
}

.section-sub {
    color: #6b7a8c;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* list */
.why-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

    .why-list li {
        margin-bottom: 14px;
        font-weight: 500;
    }

    .why-list i {
        color: var(--secondary);
        margin-right: 10px;
    }


/* doctor card */
.doctor-card {
    height:100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .35s;
}

    .doctor-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.doc-info {
    padding: 18px;
    text-align: center;
}

    .doc-info h5 {
        margin-bottom: 5px;
        font-weight: 700;
    }

    .doc-info span {
        font-size: 14px;
        color: #6c7a89;
    }

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
}


.view-all {
    text-align: center;
    margin-top: 20px;
}

    .view-all a {
        display: inline-block; 
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
        font-size: 30px;
        transition: .35s ease;
    }

        .view-all a:hover {
            transform: translateX(20px);
        }
/*-- testimonial section --*/

.t-card {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(12px);
    padding: 35px 25px;
    border-radius: 20px;
    position: relative;
    transition: .4s;
    border: 1px solid rgba(255,255,255,0.4);
}

.t-profile {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    margin: -70px auto 15px;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
}

    .t-profile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.t-text {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.t-card h5 {
    font-weight: 700;
    margin-bottom: 4px;
}

.t-card span {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}
.testimonial-btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    background: linear-gradient(135deg,var(--primary),#0099ff);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .5px;
    transition: .35s;
    box-shadow: 0 12px 30px rgba(0,122,205,.3);
}

    .testimonial-btn:hover {
        color: var(--secondary);
    }

/*-- facilities--*/
.facility-left img {
    width: 100%;
    height:300px;
    object-fit:cover;
    border-radius: 20px;
}

.facility-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 22px;
    text-align: center;
    transition: .35s;
    border: 1px solid var(--secondary);
}

    .facility-card i {
        font-size: 28px;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .facility-card h5 {
        font-weight: 700;
        margin-bottom: 8px;
    }
    /*- cta strip --*/
.cta-strip {
    background-color: rgb(0, 122, 205,0.6);
    padding: 40px 0;
    color: #fff;
}

.cta-sub {
    margin: 0;
    opacity: .9;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--primary) !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: .35s;
}

    .cta-btn:hover {
        background: var(--secondary);
    }

/*======================== inner-hero ======================*/
.inner-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
   text-shadow: 1px 2px 5px #000;
}

    .inner-hero .banner-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: rgba(0, 122, 205,0.3);
    }

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.breadcrumb-wrap {
    font-size: 19px;
    color: #fff;
    text-shadow: 1px 2px 5px #000;
}

    .breadcrumb-wrap a {
        color:#fff;
        text-decoration: none;
    }

        .breadcrumb-wrap a:hover {
            color: var(--secondary) !important;
        }

.about-hero {
    background: url('../images/banner/about-banner.jpg') center / cover no-repeat;
}
.doctors-hero {
    background: url('../images/banner/doctor-banner.jpg') center / cover no-repeat;
}
.CasesStudies-hero {
    background: url('../images/banner/CasesStudies-banner.jpg') center / cover no-repeat;
}
.testim-hero {
    background: url('../images/banner/testimonial-banner.jpg') center / cover no-repeat;
}
.Appointment-hero {
    background: url('../images/banner/appointment-banner.jpg') center / cover no-repeat;
}
.contact-hero {
    background: url('../images/banner/contact-banner.jpg') center / cover no-repeat;
}
.news-hero {
    background: url('../images/banner/news-banner.jpg') center / cover no-repeat;
}
.event-hero {
    background: url('../images/banner/event-banner.jpg') center / cover no-repeat;
}
.service-hero {
    background: url('../images/banner/services-banner.jpg') center / cover no-repeat;
}
.facilities-hero {
    background: url('../images/banner/facilities-banner.jpg') center / cover no-repeat;
}
/*==================== About Page ===========================*/
.vm-card {
    position: relative;
    background-color: rgb(0, 122, 205,0.1);
    padding: 45px;
    transition: .35s;
}
.Founder-Photo{
    height:300px;
    width:300px;
    object-fit:cover;
    border-radius:50%;
}
/* ---------- LEFT CARD BORDERS ---------- */
.vm-left::before,
.vm-left::after {
    content: "";
    position: absolute;
}

.vm-left::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,var(--primary),var(--secondary));
}

.vm-left::after {
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,var(--primary),var(--secondary));
}


/* ---------- RIGHT CARD BORDERS ---------- */

.vm-right::before,
.vm-right::after {
    content: "";
    position: absolute;
}

.vm-right::before {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,var(--secondary),var(--primary));
}

.vm-right::after {
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,var(--secondary),var(--primary));
}

.vm-card p {
    line-height: 1.7;
}

/*====================== case studies ================*/
.case-card {
    background-color: rgb(0, 122, 205,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all .35s ease;
    position: relative;
}

.case-img {
    position: relative;
    overflow: hidden;
}

    .case-img img {
        width: 100%;
        height: 230px;
        object-fit: cover;
        transition: .5s;
    }

.case-card:hover img {
    transform: scale(1.08);
}

.case-btn {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 15px;
    transition: .3s;
}
.case-btn:hover{
    color:#000;
    background:var(--secondary); 
}
/*-- detail page --*/


.related-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: .3s;
}

    .related-images img:hover {
        transform: scale(1.05);
    }

/*================== Appointment page ===============*/
.modern-form {
    border: none;
    transition: .3s;
}

.form-control,
.form-select {
    border-radius: 12px;
}
textarea.form-control {
    height: auto !important;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--primary); 
    box-shadow: none;
}
/*================= news page  ========================*/
.news-img{
    height:250px;
    width:100%;
    object-fit:cover;
    transition:.3s ease;
}

.news-img:hover{
    transform: scale(1.05);
}

.news-detail-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover; 
    border-radius: 18px;
    display: block;
}

/*================== Event Gallery ======================*/
.event-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

    .event-card img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        transition: 0.4s;
    }

.event-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;
    padding: 12px;
    transform: translateY(100%);
    transition: 0.4s;
}

.event-card:hover img {
    transform: scale(1.08);
}

.event-card:hover .event-overlay {
    transform: translateY(0);
}
/*------------detail -------------*/
.event-img{
    height:400px;
    width:100%;
    object-fit:cover;
}
.sticky-sidebar {
    position: sticky;
    top: 70px; 
}
/*================================== Services page ===================================*/
.ortho-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    height: 100%;
    transition: 0.3s;
}

    .ortho-item span {
        font-size: 20px;
        color: var(--primary);
        font-weight: bold;
    }

    .ortho-item h5 {
        font-family: "Montserrat", sans-serif;
        margin-bottom: 5px;
        font-weight: 600;
    }
/*====================== Facilities ====================*/
.facility-simple {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    .facility-simple img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: 0.4s;
    }

.facility-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    background: rgba(0,0,0,0.8);
    padding: 8px 18px;
    border-radius: 6px;
}

.facility-simple:hover img {
    transform: scale(1.08);
}
/*----*/
.facility-flat {
    background: #f8fbff;
}

/* card */

.facility-item {
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.35s ease;
    height: 100%;
}

    /* soft hover */

    .facility-item:hover {
        transform: translateY(-4px);
    }

/* icon circle */

.facility-icon {
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: #f3f7fb;
    transition: all 0.35s ease;
}

    /* icon */

    .facility-icon img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        transition: transform 0.35s ease;
    }

/* icon hover */

.facility-item:hover .facility-icon {
    background: #e8f4fb;
}

    .facility-item:hover .facility-icon img {
        transform: scale(1.05);
    }

/* text */

.facility-item h6 {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    margin: 0;
}
/*---*/
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    font-size: 14px;
    text-align:center;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 21px;
    padding: 10px 10px;
    border-radius: 3px;
}

    .lightbox-nav.prev {
        left: -50px;
    }

    .lightbox-nav.next {
        right: -50px;
    }

    .lightbox-nav:hover {
        background: rgba(0,0,0,0.85);
    }

#imageLightbox img {
    max-height: 80vh;
    width: auto;
    object-fit: contain;
}
/**** our doctore page *****/
.doctor-premium {
    background: #f8f9fa;
}

.doc-sidebar {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
}

.doc-section h5 {
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
}

.doc-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}


/***********************/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



/* ── PAGE TITLE (top-left like reference) ── */
.page-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: #c0392b;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 60px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* ── OUTER WRAPPER ── */
.tl-about-wrapper {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

    /* Vertical spine line */
    .tl-about-wrapper::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 1px;
        background: #bbb;
        transform: translateX(-50%);
        z-index: 0;
    }

/* ── EACH ROW ── */
.tl-about-row {
    display: flex;
    align-items: flex-start;
/*    margin-bottom: 60px;
*/    position: relative;
    z-index: 1;
}

    /* LEFT row: card on left side */
    .tl-about-row.left {
        justify-content: flex-start;
    }
    /* RIGHT row: card on right side */
    .tl-about-row.right {
        justify-content: flex-end;
    }

/* ── CARD BOX (exactly like reference: thin border, no fill) ── */
.tl-about-card {
    width: calc(50% - 30px);
    border: 1px solid #bbb;
    background: #f9f8f5;
    padding: 20px 22px 18px;
    position: relative;
}

    /* Horizontal connector line from card edge to spine */
    .tl-about-card::after {
        content: '';
        position: absolute;
        top: 28px;
        width: 30px;
        height: 1px;
        background: #bbb;
    }

.tl-about-row.left .tl-about-card::after {
    right: -30px;
}

.tl-about-row.right .tl-about-card::after {
    left: -30px;
}

/* Spine dot */
.tl-about-row::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 24px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    transform: translateX(-50%);
    z-index: 2;
}

/* ── YEAR (big red Oswald) ── */
.tl-about-year {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .06em;
    line-height: 1;
    margin-bottom: 10px;
}

    .tl-about-year.small {
        font-size: 28px;
        letter-spacing: .04em;
    }

/* ── TITLE ── */
.tl-about-title {
    font-family: 'Oswald', sans-serif;
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #111;
    line-height: 1.2;
    margin-bottom: 2px;
}

/* ── SUBTITLE ── */
.tl-about-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #888;
    margin-bottom: 12px;
}

/* ── DESCRIPTION ── */
.tl-about-desc {
    font-size: 15px;
    font-weight: 300;
    color: #555;
    line-height: 1.55;
    margin-bottom: 16px;
}

/* ── THUMBNAIL ROW ── */
.tl-about-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Thumbnail item */
.thumb-about {
    position: relative;
    width: 92px;
    height: 74px;
    border: 1px solid #ccc;
    overflow: visible;
    cursor: pointer;
    flex-shrink: 0;
}

    .thumb-about img.t-about-small {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ── HOVER FULL PREVIEW ── */
.thumb-about-pop {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 350px;
    height: 220px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 200;
}

    .thumb-about-pop img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }
    /* Arrow */
    .thumb-about-pop::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #111;
    }

.thumb-about:hover .thumb-about-pop {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 620px) {
    .tl-about-wrapper::before {
        left: 16px;
    }

    .tl-about-row {
        justify-content: flex-end !important;
        margin-bottom: 30px;
    }

    .tl-about-card {
        width: calc(100% - 42px);
    }

        .tl-about-card::after {
            left: -26px !important;
            right: auto !important;
            width: 26px;
        }

    .tl-about-row::before {
        left: 16px;
    }
}

/* Home Page Legacy Year wise srolling  */
:root {
    --tl-green: #007ACD;
    --tl-green-light: #c9d7ec;
    --tl-green-mid: #007ACD;
    --tl-line: #007ACD;
    --tl-card-bg: #ffffff;
    --tl-card-border: #c9d7ec;
    --tl-text: #161e1c;
    --tl-muted: #556562;
}

/*body {
    font-family: 'Open Sans', sans-serif;
    background: #f2f7f5;
}*/

/* ── Section ── */
.timeline-section {
    padding: 3.5rem 0 2.5rem;
}

.tl-heading-block {
    padding: 0 3rem 2rem;
}

.tl-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--tl-green-mid);
    margin-bottom: 0.3rem;
}

.tl-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--tl-text);
    line-height: 1.2;
    margin: 0;
}

    .tl-heading span {
        color: var(--tl-green);
    }

/* ── Viewport window — clips the sliding track ── */
.tl-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Height = enough room for cards above + below the line */
    height: 560px;
    cursor: grab;
}

    .tl-viewport:active {
        cursor: grabbing;
    }

/* ── The sliding track ── */
.tl-track {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    /* width is auto — GSAP reads scrollWidth */
    padding: 0 5vw;
    will-change: transform;
}

    /* Centre line */
    .tl-track::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient( to right, transparent, var(--tl-line) 5%, var(--tl-line) 95%, transparent );
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 0;
    }

/* ── Each milestone ── */
.tl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 350px;
    flex-shrink: 0;
}

/* Stem */
.tl-stem {
    width: 2px;
    flex-shrink: 0;
    background: var(--tl-line);
    height: 48px;
}

/* Dot */
.tl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--tl-green-mid);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2.5px var(--tl-green);
    flex-shrink: 0;
    z-index: 2;
    transition: transform 0.25s, box-shadow 0.25s;
}

.tl-item:hover .tl-dot {
    transform: scale(1.4);
    box-shadow: 0 0 0 3px var(--tl-green-mid), 0 0 14px rgba(29,158,117,.35);
}

/* ODD → card ABOVE */
.tl-item:nth-child(odd) .tl-card-wrap {
    order: -2;
}

.tl-item:nth-child(odd) .tl-stem-top {
    order: -1;
}

.tl-item:nth-child(odd) .tl-stem-bot {
    display: none;
}

/* EVEN → card BELOW */
.tl-item:nth-child(even) .tl-stem-top {
    display: none;
}

.tl-item:nth-child(even) .tl-stem-bot {
    order: 1;
}

.tl-item:nth-child(even) .tl-card-wrap {
    order: 2;
}

/* ── Card ── */
.tl-card {
    width: 300px;
    background: var(--tl-card-bg);
    border: 1px solid var(--tl-card-border);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 2px 14px rgba(15,110,86,.07);
    transition: box-shadow 0.25s, transform 0.25s;
}

    .tl-card:hover {
        box-shadow: 0 8px 28px rgba(15,110,86,.16);
        transform: translateY(-4px);
    }

.tl-year-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--tl-green);
    background: var(--tl-green-light);
    border: 1px solid #b2ddd0;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 9px;
}

    .tl-year-badge::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--tl-green-mid);
    }

.tl-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--tl-text);
    line-height: 1.35;
    margin-bottom: 4px;
}

.tl-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--tl-green);
    margin-bottom: 8px;
    line-height: 1.45;
}

.tl-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: var(--tl-muted);
    line-height: 1.7;
    margin: 0;
}

.tl-thumbs {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

    .tl-thumbs img {
        width: 95px;
        height: 77px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid var(--tl-card-border);
        cursor: pointer;
        transition: opacity 0.2s, transform 0.2s;
    }

        .tl-thumbs img:hover {
            opacity: 0.82;
            transform: scale(1.06);
        }

/* ── Nav buttons ── */
.tl-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 3rem 0.25rem;
}

.tl-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--tl-green-mid);
    background: transparent;
    color: var(--tl-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-size: 16px;
    line-height: 1;
}

    .tl-nav-btn:hover {
        background: var(--tl-green-mid);
        color: #fff;
    }

    .tl-nav-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

/* Progress bar */
.tl-progress-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tl-progress-bg {
    flex: 1;
    height: 3px;
    background: var(--tl-green-light);
    border-radius: 2px;
    overflow: hidden;
}

.tl-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--tl-green-mid), var(--tl-green));
    border-radius: 2px;
    transition: width 0.1s linear;
}

.tl-year-indicator {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--tl-muted);
    min-width: 32px;
}

/* Scroll hint */
.tl-hint {
    padding: 0.4rem 3rem 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    color: var(--tl-muted);
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: 0.8;
    transition: opacity 0.4s;
}

    .tl-hint.hide {
        opacity: 0;
    }

.tl-arrows {
    display: flex;
    gap: 3px;
}

    .tl-arrows span {
        display: inline-block;
        width: 6px;
        height: 6px;
        border-right: 2px solid var(--tl-green-mid);
        border-bottom: 2px solid var(--tl-green-mid);
        transform: rotate(-45deg);
        animation: ap 1.2s ease-in-out infinite;
    }

        .tl-arrows span:nth-child(2) {
            animation-delay: .2s;
            opacity: .6;
        }

        .tl-arrows span:nth-child(3) {
            animation-delay: .4s;
            opacity: .3;
        }

@keyframes ap {
    0%,100% {
        opacity: .15
    }

    50% {
        opacity: 1
    }
}

/* ── Mobile vertical fallback ── */
@media (max-width: 767px) {
    .tl-viewport {
        height: auto;
        overflow: visible;
        cursor: default;
    }

    .tl-track {
        position: static;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem;
        transform: none !important;
    }

        .tl-track::before {
            display: none;
        }

    .tl-item {
        flex-direction: row;
        width: 100%;
        margin-bottom: 1.5rem;
        align-items: flex-start;
    }

        .tl-item:nth-child(odd) .tl-card-wrap,
        .tl-item:nth-child(even) .tl-card-wrap {
            order: 2;
        }

        .tl-item:nth-child(odd) .tl-stem-top,
        .tl-item:nth-child(even) .tl-stem-top {
            order: 1;
            display: block;
            width: 24px;
            height: 2px;
            margin-top: 9px;
        }

        .tl-item:nth-child(odd) .tl-stem-bot,
        .tl-item:nth-child(even) .tl-stem-bot {
            display: none;
        }

    .tl-dot {
        margin-top: 7px;
    }

    .tl-card {
        width: 100%;
    }

    .tl-nav, .tl-hint {
        display: none;
    }

    .tl-heading-block {
        padding: 0 1.5rem 1.5rem;
    }
}
