    /* =========================================
    MODERN HOMEPAGE
    ========================================= */

    :root{
        --ts-primary:#453e8e;
        --ts-primary-dark:#2f296f;
        --ts-accent:#95c11f;
        --ts-dark:#172033;
        --ts-text:#5f6878;
        --ts-light:#f6f8fb;
        --ts-white:#ffffff;
    }

    /* Prevent old homepage styles from affecting the new layout */
    body{
        overflow-x:hidden;
        background:var(--ts-white);
    }

    main{
        position:relative;
        width:100%;
    }

    /* =========================================
    HERO SECTION
    ========================================= */

    .hero-section{
        position:relative;
        min-height:100vh;
        display:flex;
        align-items:center;
        overflow:hidden;

        background-color:#172033;

        background-image: 
            linear-gradient(
                90deg,
                rgba(18,29,50,.92) 0%,
                rgba(18,29,50,.80) 45%,
                rgba(18,29,50,.42) 100%
            ),
            url("../images/home/banner.jpg");
         background-size:
        100% 100%,
        90% auto;

    background-position:
        center center,
        center center;

    background-repeat:
        no-repeat,
        no-repeat;
    }

    .hero-section::before{
        content:"";
        position:absolute;
        width:520px;
        height:520px;
        right:-140px;
        top:80px;
        border-radius:50%;
        background:rgba(149,193,31,.13);
        filter:blur(40px);
    }

    .hero-section::after{
        content:"";
        position:absolute;
        width:420px;
        height:420px;
        left:-180px;
        bottom:-150px;
        border-radius:50%;
        background:rgba(69,62,142,.30);
        filter:blur(45px);
    }

    .hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;

    background:
        linear-gradient(
            90deg,
            rgba(10, 22, 42, 0.96) 0%,
            rgba(10, 22, 42, 0.90) 28%,
            rgba(10, 22, 42, 0.72) 52%,
            rgba(10, 22, 42, 0.32) 72%,
            rgba(10, 22, 42, 0.10) 100%
        );
}
.hero-content h1{
    text-shadow:0 3px 18px rgba(0,0,0,.30);
}

.hero-content p{
    text-shadow:0 2px 8px rgba(0,0,0,.35);
}
.hero-slide{
    background-position:center center;
}

    .hero-section .container{
        position:relative;
        z-index:3;
        width:100%;
    }

    .hero-content{
        max-width:760px;
        padding:150px 0 90px 30px;
    }

    .hero-subtitle{
        display:inline-block;
        margin-bottom:22px;
        padding:9px 16px;
        border:1px solid rgba(255,255,255,.20);
        border-radius:30px;
        background:rgba(255,255,255,.08);
        color:#d9ef86;
        font-family:'Open Sans',sans-serif;
        font-size:12px;
        line-height:18px;
        font-weight:700;
        letter-spacing:2.1px;
    }

    .hero-content h1{
        max-width:720px;
        margin:0;
        color:#ffffff;
        font-size:58px;
        line-height:1.1;
        font-weight:800;
        letter-spacing:-1.5px;
        text-align:left;
    }

    .hero-content p{
        max-width:680px;
        margin:26px 0 0;
        color:rgba(255,255,255,.82);
        font-family:'Open Sans',sans-serif;
        font-size:17px;
        line-height:30px;
        text-align:left;
    }

    .hero-buttons{
        display:flex;
        flex-wrap:wrap;
        gap:14px;
        margin-top:36px;
    }

    .primary-btn,
    .secondary-btn{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        min-height:54px;
        padding:0 28px;
        border-radius:30px;
        font-family:'Open Sans',sans-serif;
        font-size:13px;
        line-height:18px;
        font-weight:700;
        letter-spacing:.7px;
        text-transform:uppercase;
        text-decoration:none;
        transition:
            transform .3s ease,
            box-shadow .3s ease,
            background .3s ease,
            color .3s ease;
    }

    .primary-btn{
        background:linear-gradient(
            135deg,
            var(--ts-accent),
            #7fa812
        );
        color:#ffffff;
        box-shadow:0 14px 34px rgba(149,193,31,.30);
    }

    .primary-btn:hover{
        color:#ffffff;
        transform:translateY(-3px);
        box-shadow:0 20px 42px rgba(149,193,31,.38);
    }

    .secondary-btn{
        border:1px solid rgba(255,255,255,.32);
        background:rgba(255,255,255,.09);
        color:#ffffff;
        backdrop-filter:blur(8px);
        -webkit-backdrop-filter:blur(8px);
    }

    .secondary-btn:hover{
        color:#ffffff;
        background:rgba(255,255,255,.16);
        transform:translateY(-3px);
    }

    /* =========================================
    RESPONSIVE
    ========================================= */

    @media only screen and (max-width:1169px){

        .hero-content{
            padding-left:25px;
            padding-right:25px;
        }

        .hero-content h1{
            font-size:55px;
        }
    }

    @media only screen and (max-width:767px){

        .hero-section{
            min-height:px;
            background-position:62% center;
        }

        .hero-content{
            padding-top:150px;
            padding-bottom:80px;
        }

        .hero-subtitle{
            font-size:10px;
            letter-spacing:1.5px;
        }

        .hero-content h1{
            font-size:42px;
            line-height:1.12;
            letter-spacing:-1px;
        }

        .hero-content p{
            font-size:15px;
            line-height:27px;
        }

        .hero-buttons{
            flex-direction:column;
            align-items:flex-start;
        }

        .primary-btn,
        .secondary-btn{
            width:100%;
            max-width:290px;
        }
    }

    @media only screen and (max-width:480px){

        .hero-content h1{
            font-size:36px;
        }

        .hero-section{
            min-height:780px;
        }
    }

    /* =========================================
    MODERN ABOUT SECTION
    ========================================= */

    .modern-about{
        padding:110px 0;
        background:#ffffff;
    }

    .modern-about-grid{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:70px;
        align-items:center;
    }

    .modern-about-image{
        position:relative;
    }

    .modern-about-image img{
    width:100%;
    height:auto;
    object-fit:contain;
    border-radius:24px;
    display:block;
}

    .modern-about-badge{
        position:absolute;
        left:30px;
        bottom:30px;
        width:180px;
        padding:24px;
        border-radius:18px;
        background:#ffffff;
        box-shadow:0 16px 40px rgba(0,0,0,.14);
    }

    .modern-about-badge strong{
        display:block;
        color:var(--ts-dark);
        font-size:42px;
        line-height:1;
        font-weight:800;
    }

    .modern-about-badge span{
        display:block;
        margin-top:8px;
        color:var(--ts-text);
        font-size:13px;
        line-height:19px;
        font-weight:600;
    }

    .modern-section-label{
        display:block;
        margin-bottom:14px;
        color:var(--ts-accent);
        font-size:12px;
        font-weight:800;
        text-transform:uppercase;
        letter-spacing:2px;
    }

    .modern-about-content h2{
        margin:0;
        color:var(--ts-dark);
        font-size:44px;
        line-height:1.18;
        font-weight:800;
        text-align:left;
    }

    .modern-about-content h2 span{
        color:var(--ts-accent);
    }

    .modern-about-content > p{
        margin-top:22px;
        color:var(--ts-text);
        font-size:16px;
        line-height:29px;
        text-align:left;
    }

    .modern-about-features{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:22px;
        margin-top:32px;
    }

    .modern-about-feature{
        padding:18px;
        border-radius:14px;
        background:var(--ts-light);
    }

    .modern-about-feature strong{
        display:block;
        color:var(--ts-dark);
        font-size:15px;
        line-height:21px;
    }

    .modern-about-feature span{
        display:block;
        margin-top:7px;
        color:var(--ts-text);
        font-size:13px;
        line-height:20px;
    }

    .modern-dark-btn{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        min-height:50px;
        margin-top:32px;
        padding:0 26px;
        border-radius:10px;
        background:var(--ts-primary);
        color:#ffffff;
        font-size:13px;
        font-weight:700;
        text-decoration:none;
        transition:.3s ease;
    }

    .modern-dark-btn:hover{
        color:#ffffff;
        background:var(--ts-primary-dark);
        transform:translateY(-3px);
    }

    @media only screen and (max-width:900px){

        .modern-about-grid{
            grid-template-columns:1fr;
            gap:45px;
        }

        .modern-about{
            padding:80px 20px;
        }

        .modern-about-content h2{
            font-size:36px;
        }
    }

    @media only screen and (max-width:600px){

        .modern-about-image img{
            height:390px;
        }

        .modern-about-features{
            grid-template-columns:1fr;
        }

        .modern-about-content h2{
            font-size:31px;
        }
    }


    /* =========================================
    MODERN SERVICES SECTION
    ========================================= */

    .modern-services{
        position:relative;
        padding:110px 0;
        overflow:hidden;
        background:
            radial-gradient(
                circle at 15% 20%,
                rgba(149,193,31,.10),
                transparent 28%
            ),
            radial-gradient(
                circle at 90% 80%,
                rgba(69,62,142,.09),
                transparent 30%
            ),
            #f6f8fb;
    }

    .modern-section-heading{
        display:flex;
        justify-content:space-between;
        align-items:flex-end;
        gap:30px;
        margin-bottom:48px;
    }

    .modern-section-heading h2{
        max-width:680px;
        margin:0;
        color:var(--ts-dark);
        font-size:44px;
        line-height:1.18;
        font-weight:800;
        letter-spacing:-1px;
        text-align:left;
    }

    .modern-section-heading h2 span{
        color:var(--ts-accent);
    }

    .section-link{
        display:inline-flex;
        align-items:center;
        gap:10px;
        flex:0 0 auto;
        padding-bottom:7px;
        border-bottom:2px solid var(--ts-primary);
        color:var(--ts-primary);
        font-size:13px;
        line-height:20px;
        font-weight:800;
        text-transform:uppercase;
        letter-spacing:.8px;
        text-decoration:none;
        transition:.3s ease;
    }

    .section-link span{
        font-size:18px;
        transition:transform .3s ease;
    }

    .section-link:hover{
        color:var(--ts-accent);
        border-color:var(--ts-accent);
    }

    .section-link:hover span{
        transform:translateX(5px);
    }

    .modern-services-grid{
        display:grid;
        grid-template-columns:repeat(3, 1fr);
        gap:25px;
        align-items:stretch;
    }

    .modern-service-card{
        position:relative;
        min-height:295px;
        padding:30px;
        overflow:hidden;
        border:1px solid rgba(23,32,51,.08);
        border-radius:22px;
        background:rgba(255,255,255,.90);
        box-shadow:0 14px 40px rgba(23,32,51,.06);
        text-decoration:none;
        display:flex;
        flex-direction:column;
        transition:
            transform .35s ease,
            box-shadow .35s ease,
            border-color .35s ease;
    }

    .modern-service-card::before{
        content:"";
        position:absolute;
        width:170px;
        height:170px;
        right:-95px;
        bottom:-95px;
        border-radius:50%;
        background:rgba(149,193,31,.10);
        transition:
            transform .45s ease,
            background .45s ease;
    }

    .modern-service-card:hover{
        transform:translateY(-10px);
        border-color:rgba(149,193,31,.55);
        box-shadow:0 24px 55px rgba(23,32,51,.13);
    }

    .modern-service-card:hover::before{
        transform:scale(1.8);
        background:rgba(149,193,31,.15);
    }

    .modern-service-icon{
        position:relative;
        z-index:2;
        width:58px;
        height:58px;
        display:flex;
        align-items:center;
        justify-content:center;
        margin-bottom:32px;
        border-radius:17px;
        background:
            linear-gradient(
                135deg,
                rgba(69,62,142,.13),
                rgba(149,193,31,.17)
            );
        color:var(--ts-primary);
        font-size:24px;
        transition:
            transform .35s ease,
            color .35s ease,
            background .35s ease;
    }

    .modern-service-card:hover .modern-service-icon{
        transform:rotate(-6deg) scale(1.08);
        background:var(--ts-primary);
        color:#ffffff;
    }

    .service-number{
        position:absolute;
        top:30px;
        right:30px;
        color:rgba(23,32,51,.20);
        font-size:13px;
        line-height:20px;
        font-weight:800;
        letter-spacing:2px;
    }

    .modern-service-card h3{
        position:relative;
        z-index:2;
        margin:0;
        color:var(--ts-dark);
        font-size:21px;
        line-height:28px;
        font-weight:800;
        text-align:left;
    }

    .modern-service-card p{
        position:relative;
        z-index:2;
        margin:14px 0 0;
        color:var(--ts-text);
        font-size:14px;
        line-height:24px;
        text-align:left;
    }

    .service-read-more{
        margin-top:auto;
        display:inline-block;
        position:relative;
        color:var(--ts-primary);
        font-size:12px;
        line-height:18px;
        font-weight:800;
        text-transform:uppercase;
        letter-spacing:.7px;
        transition:
            color .3s ease,
            transform .3s ease;
    }

    .modern-service-card:hover .service-read-more{
        color:var(--ts-accent);
        transform:translateX(5px);
    }

    /* Featured bento cards */

    .service-card-large{
        grid-row:auto;
        min-height:320px;
        display:flex;
        flex-direction:column;
        justify-content:center;
        background:
            linear-gradient(
                145deg,
                rgba(23,32,51,.96),
                rgba(69,62,142,.93)
            ),
            #172033;
    }

    .service-card-large::before{
        width:320px;
        height:320px;
        background:rgba(149,193,31,.12);
    }

    .service-card-large .modern-service-icon{
        width:72px;
        height:72px;
        font-size:30px;
        background:rgba(255,255,255,.12);
        color:#d9ef86;
    }

    .service-card-large .service-number{
        color:rgba(255,255,255,.35);
    }

    .service-card-large h3{
        max-width:330px;
        color:#ffffff;
        font-size:34px;
        line-height:42px;
    }

    .service-card-large p{
        max-width:390px;
        color:rgba(255,255,255,.76);
        font-size:15px;
        line-height:27px;
    }

    .service-card-large .service-read-more{
        color:#d9ef86;
    }

    .service-card-wide{
        grid-column:auto;
    }

    @media only screen and (max-width:1050px){

        .modern-services{
            padding-left:25px;
            padding-right:25px;
        }

        .modern-services-grid{
            grid-template-columns:repeat(2, minmax(0, 1fr));
        }

        .service-card-large{
            grid-row:auto;
            min-height:320px;
        }

        .service-card-wide{
            grid-column:auto;
        }
    }

    @media only screen and (max-width:767px){

        .modern-services{
            padding-top:80px;
            padding-bottom:80px;
        }

        .modern-section-heading{
            display:block;
        }

        .modern-section-heading h2{
            font-size:35px;
        }

        .section-link{
            margin-top:24px;
        }

        .modern-services-grid{
            grid-template-columns:1fr;
        }

        .modern-service-card,
        .service-card-large{
            min-height:300px;
        }

        .service-card-large h3{
            font-size:27px;
            line-height:35px;
        }
    }

    @media only screen and (max-width:480px){

        .modern-section-heading h2{
            font-size:31px;
        }

        .modern-service-card{
            padding:340px;
        }

        .service-number{
            top:25px;
            right:25px;
        }

        .service-read-more{
            left:25px;
            bottom:24px;
        }
    }

    /* =========================================
   WHY CHOOSE TRADESTONE
========================================= */

.modern-why{
    position:relative;
    display:block;
    width:100%;
    clear:both;
    padding:110px 0;
    overflow:hidden;
    background:#ffffff;
}

.modern-why .container{
    position:relative;
    width:100%;
}

.center-heading{
    display:block;
    width:100%;
    margin-bottom:55px;
    text-align:center;
}

.center-heading .modern-section-label{
    display:block;
    text-align:center;
}

.center-heading h2{
    max-width:850px;
    margin:0 auto;
    text-align:center;
}

.modern-why-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:25px;
    width:100%;
}

.why-card{
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:280px;
    padding:45px 30px;
    border:1px solid #eceff5;
    border-radius:24px;
    background:#ffffff;
    text-align:center;
    box-shadow:0 10px 35px rgba(0,0,0,.06);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.why-card:hover{
    transform:translateY(-10px);
    border-color:#95c11f;
    background:#ffffff;
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.why-card h3{
    margin:0 0 18px;
    color:#8cc51d;
    font-size:60px;
    line-height:1;
    font-weight:800;
    letter-spacing:-2px;
}

.why-card h4{
    margin:0 0 15px;
    color:#1b2440;
    font-size:24px;
    line-height:1.3;
    font-weight:700;
}

.why-card p{
    margin:0;
    color:#6d7280;
    font-size:16px;
    line-height:28px;
}

.why-card:hover h4{
    color:#1b2440;
}

.why-card:hover p{
    color:#6d7280;
}

.modern-projects{
    position:relative;
    display:block;
    width:100%;
    clear:both;
}

@media only screen and (max-width:900px){

    .modern-why-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width:600px){

    .modern-why{
        padding:80px 20px;
    }

    .modern-why-grid{
        grid-template-columns:1fr;
    }

    .center-heading h2{
        font-size:34px;
    }
}
    
    /* =========================================
    INDUSTRIES WE SERVE
    ========================================= */

    .modern-industries{
        position:relative;
        padding:110px 0;
        overflow:hidden;
        background:#ffffff;
    }

    .modern-industries::before{
        content:"";
        position:absolute;
        width:480px;
        height:480px;
        left:-240px;
        top:100px;
        border-radius:50%;
        background:rgba(149,193,31,.08);
        filter:blur(25px);
    }

    .industries-layout{
        position:relative;
        z-index:2;
        display:grid;
        grid-template-columns:.82fr 1.35fr;
        gap:75px;
        align-items:start;
    }

    .industries-intro{
        position:sticky;
        top:140px;
    }

    .industries-intro h2{
        margin:0;
        color:var(--ts-dark);
        font-size:44px;
        line-height:1.18;
        font-weight:800;
        letter-spacing:-1px;
        text-align:left;
    }

    .industries-intro h2 span{
        display:block;
        color:var(--ts-accent);
    }

    .industries-intro p{
        margin:24px 0 0;
        color:var(--ts-text);
        font-size:16px;
        line-height:29px;
        text-align:left;
    }

    .industries-grid{
        display:grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:20px;
    }

    .industry-card{
        position:relative;
        display:flex;
        align-items:flex-start;
        gap:17px;
        min-height:190px;
        padding:27px;
        overflow:hidden;
        border:1px solid #e8eaf0;
        border-radius:20px;
        background:#f8f9fc;
        text-decoration:none;
        transition:
            transform .35s ease,
            background .35s ease,
            border-color .35s ease,
            box-shadow .35s ease;
    }

    .industry-card::after{
        content:"";
        position:absolute;
        width:130px;
        height:130px;
        right:-80px;
        bottom:-80px;
        border-radius:50%;
        background:rgba(149,193,31,.12);
        transition:transform .4s ease;
    }

    .industry-card:hover{
        transform:translateY(-7px);
        border-color:rgba(149,193,31,.55);
        background:#ffffff;
        box-shadow:0 20px 44px rgba(23,32,51,.10);
    }

    .industry-card:hover::after{
        transform:scale(1.8);
    }

    .industry-icon{
        position:relative;
        z-index:2;
        flex:0 0 68px;
        width:68px;
        height:68px;
        display:flex;
        align-items:center;
        justify-content:center;
        border-radius:50%;
        background:#eef3ff;
        border:1px solid #dbe5ff;
        color:#453e8e;
        font-size:28px;
        box-shadow:0 10px 24px rgba(69,62,142,.10);
        transition:all .35s ease;
    }
    .industry-card:hover .industry-icon{
        transform:rotate(-8deg) scale(1.08);
        background:#95c11f;
        color:#ffffff;
        border-color:#95c11f;
    }
    .industry-card > div{
        position:relative;
        z-index:2;
        padding-right:20px;
    }

    .industry-card h3{
        margin:2px 0 0;
        color:var(--ts-dark);
        font-size:18px;
        line-height:25px;
        font-weight:800;
        text-align:left;
    }

    .industry-card p{
        margin:10px 0 0;
        color:var(--ts-text);
        font-size:13px;
        line-height:22px;
        text-align:left;
    }

    .industry-arrow{
        position:absolute;
        right:22px;
        bottom:20px;
        z-index:2;
        color:var(--ts-primary);
        font-size:20px;
        transition:
            color .3s ease,
            transform .3s ease;
    }

    .industry-card:hover .industry-arrow{
        color:var(--ts-accent);
        transform:translateX(5px);
    }

    @media only screen and (max-width:1050px){

        .modern-industries{
            padding-left:25px;
            padding-right:25px;
        }

        .industries-layout{
            grid-template-columns:1fr;
            gap:45px;
        }

        .industries-intro{
            position:relative;
            top:auto;
            max-width:750px;
        }
    }

    @media only screen and (max-width:700px){

        .modern-industries{
            padding-top:80px;
            padding-bottom:80px;
        }

        .industries-intro h2{
            font-size:35px;
        }

        .industries-grid{
            grid-template-columns:1fr;
        }

        .industry-card{
            min-height:175px;
        }
    }

    @media only screen and (max-width:480px){

        .industries-intro h2{
            font-size:31px;
        }

        .industry-card{
            padding:23px;
        }
    }

    /* =========================================
    MODERN STATS
    ========================================= */

    .modern-stats{
        padding:110px 0;
        background:linear-gradient(135deg,#172033,#2d3774);
        color:#fff;
    }

    .modern-stats .modern-section-label{
        color:#95c11f;
    }

    .modern-stats h2{
        color:#fff;
    }

    .modern-stats h2 span{
        color:#95c11f;
    }

    .stats-grid{
        display:grid;
        grid-template-columns:repeat(4,1fr);
        gap:30px;
        margin-top:60px;
    }

    .stat-card{
        text-align:center;
        padding:45px 20px;
        border-radius:20px;
        background:rgba(255,255,255,.06);
        backdrop-filter:blur(12px);
        transition:.35s;
    }

    .stat-card:hover{
        transform:translateY(-8px);
        background:rgba(255,255,255,.12);
    }

    .stat-card h3{
        font-size:56px;
        color:#95c11f;
        margin-bottom:12px;
        font-weight:800;
    }

    .stat-card p{
        color:#fff;
        font-size:18px;
        margin:0;
    }

    @media(max-width:900px){
        .stats-grid{
            grid-template-columns:repeat(2,1fr);
        }
    }

    @media(max-width:600px){
        .stats-grid{
            grid-template-columns:1fr;
        }
    }

    /* =========================================
    CONTINUOUS CLIENT LOGO MARQUEE
    ========================================= */

    .modern-clients{
        position:relative;
        padding:110px 0;
        overflow:hidden;
        background:
            linear-gradient(
                180deg,
                #ffffff 0%,
                #f7f9fc 100%
            );
    }

    .clients-marquee{
        position:relative;
        width:100%;
        margin-top:55px;
        overflow:hidden;
    }

    .clients-marquee::before,
    .clients-marquee::after{
        content:"";
        position:absolute;
        top:0;
        bottom:0;
        z-index:3;
        width:150px;
        pointer-events:none;
    }

    .clients-marquee::before{
        left:0;
        background:
            linear-gradient(
                90deg,
                #f8fafc,
                rgba(248,250,252,0)
            );
    }

    .clients-marquee::after{
        right:0;
        background:
            linear-gradient(
                270deg,
                #f8fafc,
                rgba(248,250,252,0)
            );
    }

    .clients-marquee-track{
        display:flex;
        align-items:center;
        width:max-content;
        gap:24px;
        padding:16px 0 28px;
        animation:clientMarquee 38s linear infinite;
        will-change:transform;
    }

    .clients-marquee:hover .clients-marquee-track{
        animation-play-state:paused;
    }

    .marquee-logo{
        flex:0 0 220px;
        width:220px;
        height:130px;
        display:flex;
        align-items:center;
        justify-content:center;
        padding:22px;
        border:1px solid #e7eaf0;
        border-radius:20px;
        background:#ffffff;
        box-shadow:0 12px 32px rgba(23,32,51,.06);
        transition:
            transform .35s ease,
            box-shadow .35s ease,
            border-color .35s ease;
    }

    .marquee-logo img{
        display:block;
        max-width:155px;
        max-height:72px;
        width:auto;
        height:auto;
        object-fit:contain;
        filter:grayscale(100%);
        opacity:.72;
        transition:
            filter .35s ease,
            opacity .35s ease,
            transform .35s ease;
    }

    .marquee-logo:hover{
        transform:translateY(-7px);
        border-color:rgba(149,193,31,.50);
        box-shadow:0 20px 45px rgba(23,32,51,.11);
    }

    .marquee-logo:hover img{
        filter:grayscale(0%);
        opacity:1;
        transform:scale(1.06);
    }

    .clients-view-all{
        margin-top:38px;
        text-align:center;
    }

    @keyframes clientMarquee{

        from{
            transform:translateX(0);
        }

        to{
            transform:translateX(calc(-50% - 12px));
        }
    }

    @media only screen and (max-width:767px){

        .modern-clients{
            padding-top:80px;
            padding-bottom:80px;
        }

        .clients-marquee::before,
        .clients-marquee::after{
            width:55px;
        }

        .clients-marquee-track{
            gap:16px;
            animation-duration:30s;
        }

        .marquee-logo{
            flex-basis:175px;
            width:175px;
            height:110px;
            padding:18px;
        }

        .marquee-logo img{
            max-width:125px;
            max-height:60px;
        }
    }
    /* CTA */

    .modern-cta{

    position:relative;

    padding:130px 0;

    background:url('../images/cta-bg.jpg') center center/cover;

    overflow:hidden;

    }

    .cta-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

    135deg,

    rgba(23,32,51,.92),

    rgba(69,62,142,.90)

    );

    }

    .cta-content{

    position:relative;

    z-index:2;

    text-align:center;

    max-width:850px;

    margin:auto;

    color:#fff;

    }

    .cta-content span{

    display:inline-block;

    margin-bottom:20px;

    color:#95c11f;

    font-size:14px;

    font-weight:700;

    letter-spacing:3px;

    }

    .cta-content h2{

    font-size:56px;

    line-height:68px;

    margin-bottom:25px;

    color:#fff;

    }

    .cta-content p{

    font-size:18px;

    line-height:34px;

    color:rgba(255,255,255,.82);

    margin-bottom:45px;

    }

    .cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    }

    /* =========================================
   HOMEPAGE SECTION LAYOUT FIX
   Keep this at the very bottom
========================================= */

main{
    position:relative !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    overflow:visible !important;
}

main::after{
    content:"";
    display:block;
    clear:both;
}

/* Keep every modern section in normal vertical order */
main > .modern-about,
main > .modern-services,
main > .modern-why,
main > .modern-projects,
main > .modern-industries,
main > .modern-stats,
main > .modern-clients,
main > .modern-cta{
    position:relative !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;

    display:block !important;
    float:none !important;
    clear:both !important;

    width:100% !important;
    height:auto !important;
    min-height:0 !important;

    margin:0 !important;
    transform:none !important;
    visibility:visible !important;
}

/* Restore the hero separately */
main > .hero-section{
    position:relative !important;
    display:flex !important;
    float:none !important;
    clear:both !important;
    width:100% !important;
    min-height:calc(100vh - 104px) !important;
}

/* Keep containers centered */
main > section > .container{
    position:relative !important;
    float:none !important;
    clear:both !important;
    width:100% !important;
    max-width:1200px !important;
    height:auto !important;
    margin-left:auto !important;
    margin-right:auto !important;
    transform:none !important;
}

/* Protect the internal layouts */
.modern-about-grid,
.modern-services-grid,
.modern-why-grid,
.modern-projects-grid,
.industries-layout,
.stats-grid{
    position:relative !important;
    float:none !important;
    clear:both !important;
    width:100% !important;
}

/* Ensure the next section begins below Why Choose */
.modern-why{
    padding:110px 0 !important;
    overflow:visible !important;
    background:#ffffff !important;
}

.modern-projects{
    padding:110px 0 !important;
    overflow:visible !important;
    background:#f6f8fb !important;
}

/* Restore Hero visibility */
.hero-subtitle,
.hero-content h1,
.hero-content p,
.hero-buttons,
.hero-buttons a{
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
}

/* =========================================
   MODERN HEADER — SLIMMENU COMPATIBLE
========================================= */

#menu-wrap.modern-header{
    position:fixed;
    top:0;
    left:0;
    z-index:9999;
    width:100%;
    height:auto;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid rgba(23,32,51,.08);
    box-shadow:0 8px 28px rgba(23,32,51,.07);
    transition:
        background .3s ease,
        box-shadow .3s ease;
}

#menu-wrap.modern-header.header-scrolled{
    background:rgba(255,255,255,.90);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:0 14px 38px rgba(23,32,51,.13);
}

#menu-wrap .modern-header-inner{
    position:relative;
    min-height:104px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* Logo */

#menu-wrap .logo-link{
    position:relative;
    flex:0 0 145px;
    width:145px;
    height:78px;
    display:block;
}

#menu-wrap .logo-link .logo{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    margin:0;
    background-position:center;
    background-repeat:no-repeat;
    background-size:contain;
}

/* Main menu */

#menu-wrap ul.slimmenu{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:2px;
    width:auto;
    margin:0;
    padding:0;
}

#menu-wrap ul.slimmenu > li{
    position:relative;
    display:block;
    margin:0;
    padding:0;
    background:transparent;
}

#menu-wrap ul.slimmenu > li > a{
    position:relative;
    display:flex;
    align-items:center;
    min-height:48px;
    padding:0 13px;
    color:#172033;
    font-size:11px;
    line-height:18px;
    font-weight:800;
    letter-spacing:.7px;
    text-transform:uppercase;
    text-decoration:none;
    transition:color .3s ease;
}

#menu-wrap ul.slimmenu > li > a::after{
    content:"";
    position:absolute;
    left:13px;
    right:13px;
    bottom:4px;
    height:2px;
    border-radius:2px;
    background:#95c11f;
    transform:scaleX(0);
    transform-origin:right center;
    transition:transform .3s ease;
}

#menu-wrap ul.slimmenu > li > a:hover,
#menu-wrap ul.slimmenu > li > a.active-menu{
    color:#453e8e;
}

#menu-wrap ul.slimmenu > li > a:hover::after,
#menu-wrap ul.slimmenu > li > a.active-menu::after{
    transform:scaleX(1);
    transform-origin:left center;
}

/* Dropdown */

#menu-wrap ul.slimmenu > li > ul.submenu-back{
    position:absolute;
    top:100%;
    left:0;
    z-index:99999;
    display:block;
    visibility:hidden;
    opacity:0;
    width:270px;
    margin:0;
    padding:12px;
    border:1px solid rgba(23,32,51,.08);
    border-radius:15px;
    background:#ffffff;
    box-shadow:0 22px 55px rgba(23,32,51,.18);
    transform:translateY(12px);
    pointer-events:none;
    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

#menu-wrap ul.slimmenu > li:hover > ul.submenu-back{
    visibility:visible;
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

#menu-wrap ul.slimmenu ul.submenu-back li{
    display:block;
    width:100%;
    margin:0;
    padding:0;
    background:transparent;
}

#menu-wrap ul.slimmenu ul.submenu-back li a{
    display:block;
    width:auto;
    padding:11px 14px;
    border-radius:9px;
    color:#4f5969;
    font-size:12px;
    line-height:19px;
    font-weight:700;
    text-transform:none;
    text-decoration:none;
    transition:
        padding-left .25s ease,
        color .25s ease,
        background .25s ease;
}

#menu-wrap ul.slimmenu ul.submenu-back li a:hover{
    padding-left:19px;
    color:#453e8e;
    background:#f5f7fb;
}

/* Contact button */

#menu-wrap .header-contact-item{
    margin-left:8px !important;
}

#menu-wrap .header-contact-btn{
    min-height:44px !important;
    padding:0 20px !important;
    border-radius:24px;
    background:linear-gradient(135deg,#453e8e,#2f296f);
    color:#ffffff !important;
    box-shadow:0 11px 25px rgba(69,62,142,.22);
}

#menu-wrap .header-contact-btn::after{
    display:none;
}

#menu-wrap .header-contact-btn:hover{
    color:#ffffff !important;
    background:linear-gradient(135deg,#95c11f,#7da50f);
    transform:translateY(-2px);
}

/* Space below fixed header */

body{
    padding-top:104px;
}

/* Tablet */

@media only screen and (max-width:1200px){

    #menu-wrap ul.slimmenu > li > a{
        padding-left:9px;
        padding-right:9px;
        font-size:10px;
    }

    #menu-wrap .logo-link{
        flex-basis:120px;
        width:120px;
    }
}

/* Mobile menu remains controlled by menu.js */

@media only screen and (max-width:900px){

    body{
        padding-top:86px;
    }

    #menu-wrap .modern-header-inner{
        display:block;
        min-height:86px;
    }

    #menu-wrap .logo-link{
        width:125px;
        height:76px;
    }

    #menu-wrap ul.slimmenu{
        display:block;
        width:100%;
    }

    #menu-wrap ul.slimmenu > li{
        width:100%;
    }

    #menu-wrap ul.slimmenu > li > a{
        min-height:46px;
        padding:0 15px;
    }

    #menu-wrap ul.slimmenu > li > ul.submenu-back{
        position:relative;
        top:auto;
        left:auto;
        display:none;
        visibility:visible;
        opacity:1;
        width:100%;
        padding:5px 12px;
        border:0;
        box-shadow:none;
        transform:none;
        pointer-events:auto;
    }

    #menu-wrap ul.slimmenu > li:hover > ul.submenu-back{
        display:block;
    }

    #menu-wrap .header-contact-item{
        margin-left:0 !important;
    }

    #menu-wrap .header-contact-btn{
        border-radius:8px;
    }
}

/* =========================================
   PREMIUM FEATURED PROJECTS
========================================= */

.modern-projects{
    position:relative;
    width:100%;
    padding:110px 0;
    overflow:hidden;
    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(149,193,31,.08),
            transparent 28%
        ),
        #f6f8fb;
}

.modern-projects .modern-section-heading{
    margin-bottom:48px;
}

.modern-projects-grid{
    display:grid;
    grid-template-columns:1.35fr .9fr;
    gap:24px;
    min-height:650px;
}

.modern-project-right{
    display:grid;
    grid-template-rows:1fr 1fr;
    gap:24px;
    min-height:650px;
}

.modern-project-card{
    position:relative;
    display:block;
    width:100%;
    min-height:0;
    overflow:hidden;
    border-radius:26px;
    text-decoration:none;
    background:#172033;
    box-shadow:0 20px 55px rgba(23,32,51,.13);
    isolation:isolate;
}

.modern-project-card img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transform:scale(1);
    transition:transform .7s cubic-bezier(.2,.7,.2,1);
}

.modern-project-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(
            180deg,
            rgba(10,18,33,.03) 0%,
            rgba(10,18,33,.18) 40%,
            rgba(10,18,33,.92) 100%
        );
    transition:background .45s ease;
}

.modern-project-card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    border:1px solid rgba(255,255,255,.12);
    border-radius:26px;
    pointer-events:none;
}

.modern-project-card::after{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    right:-120px;
    bottom:-120px;
    z-index:1;
    border-radius:50%;
    background:rgba(149,193,31,.18);
    filter:blur(4px);
    transition:
        transform .55s ease,
        opacity .55s ease;
}

.modern-project-content{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:3;
    padding:34px;
}

.project-category{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    margin-bottom:14px;
    padding:0 13px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:20px;
    background:rgba(255,255,255,.10);
    color:#d9ef86;
    font-size:10px;
    line-height:16px;
    font-weight:800;
    letter-spacing:1.5px;
    text-transform:uppercase;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

.modern-project-content h3{
    max-width:560px;
    margin:0;
    color:#ffffff;
    font-size:28px;
    line-height:1.28;
    font-weight:800;
    letter-spacing:-.4px;
    text-align:left;
}

.modern-project-large .modern-project-content h3{
    max-width:650px;
    font-size:42px;
    line-height:1.18;
    letter-spacing:-1px;
}

.modern-project-content p{
    max-width:580px;
    margin:15px 0 0;
    color:rgba(255,255,255,.78);
    font-size:14px;
    line-height:25px;
    text-align:left;
}

.modern-project-arrow{
    position:absolute;
    right:30px;
    bottom:30px;
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.30);
    border-radius:50%;
    background:rgba(255,255,255,.10);
    color:#ffffff;
    font-size:22px;
    line-height:1;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease;
}

.modern-project-card:hover img{
    transform:scale(1.08);
}

.modern-project-card:hover .modern-project-overlay{
    background:
        linear-gradient(
            180deg,
            rgba(10,18,33,.02) 0%,
            rgba(10,18,33,.12) 35%,
            rgba(42,35,105,.94) 100%
        );
}

.modern-project-card:hover::after{
    transform:scale(1.7);
    opacity:.9;
}

.modern-project-card:hover .modern-project-arrow{
    transform:translateX(6px);
    border-color:var(--ts-accent);
    background:var(--ts-accent);
}

/* Right-side cards */

.modern-project-right .modern-project-content{
    padding:28px;
}

.modern-project-right .modern-project-content h3{
    max-width:300px;
    padding-right:65px;
    font-size:24px;
    line-height:1.28;
}

.modern-project-right .modern-project-arrow{
    right:24px;
    bottom:24px;
    width:46px;
    height:46px;
    font-size:19px;
}

/* Responsive */

@media only screen and (max-width:1000px){

    .modern-projects{
        padding-left:25px;
        padding-right:25px;
    }

    .modern-projects-grid{
        grid-template-columns:1fr;
        min-height:0;
    }

    .modern-project-large{
        min-height:560px;
    }

    .modern-project-right{
        grid-template-columns:1fr 1fr;
        grid-template-rows:none;
        min-height:330px;
    }

    .modern-project-right .modern-project-card{
        min-height:330px;
    }
}

@media only screen and (max-width:720px){

    .modern-projects{
        padding-top:80px;
        padding-bottom:80px;
    }

    .modern-projects-grid{
        gap:18px;
    }

    .modern-project-large{
        min-height:460px;
    }

    .modern-project-right{
        grid-template-columns:1fr;
        min-height:0;
        gap:18px;
    }

    .modern-project-right .modern-project-card{
        min-height:320px;
    }

    .modern-project-content,
    .modern-project-right .modern-project-content{
        padding:24px;
    }

    .modern-project-large .modern-project-content h3{
        max-width:300px;
        padding-right:55px;
        font-size:30px;
        line-height:1.22;
    }

    .modern-project-content h3,
    .modern-project-right .modern-project-content h3{
        max-width:260px;
        padding-right:55px;
        font-size:22px;
    }

    .modern-project-content p{
        max-width:290px;
        font-size:13px;
        line-height:22px;
    }

    .modern-project-arrow,
    .modern-project-right .modern-project-arrow{
        right:20px;
        bottom:20px;
        width:44px;
        height:44px;
    }
}

/* =========================================
   PREMIUM HERO UPGRADE
========================================= */

.hero-section{
    min-height:calc(100vh - 104px);
    background:
        linear-gradient(
            90deg,
            rgba(12,22,39,.95) 0%,
            rgba(17,28,49,.88) 45%,
            rgba(20,31,53,.48) 100%
        ),
        url("../images/home/banner.jpg") center center / cover no-repeat;
}

.hero-content{
    max-width:860px;
    padding:105px 0 75px 20px;
}

.hero-subtitle{
    margin-bottom:24px;
    padding:10px 17px;
    border-color:rgba(255,255,255,.24);
    background:rgba(255,255,255,.08);
    color:#d9ef86;
    font-size:11px;
    letter-spacing:2.3px;
}

.hero-content h1{
    max-width:850px;
    font-size:68px;
    line-height:1.04;
    letter-spacing:-2.4px;
    text-shadow:0 8px 30px rgba(0,0,0,.24);
}

.hero-content p{
    max-width:700px;
    margin-top:28px;
    color:rgba(255,255,255,.84);
    font-size:17px;
    line-height:30px;
}

.hero-buttons{
    margin-top:35px;
}

.hero-trust-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:12px;
    max-width:850px;
    margin-top:48px;
}

.hero-trust-item{
    position:relative;
    min-height:105px;
    padding:21px 18px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.17);
    border-radius:16px;
    background:rgba(255,255,255,.08);
    box-shadow:0 14px 35px rgba(0,0,0,.12);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.hero-trust-item::after{
    content:"";
    position:absolute;
    width:72px;
    height:72px;
    right:-32px;
    bottom:-38px;
    border-radius:50%;
    background:rgba(149,193,31,.20);
}

.hero-trust-item:hover{
    transform:translateY(-6px);
    border-color:rgba(149,193,31,.55);
    background:rgba(255,255,255,.13);
}

.hero-trust-item strong{
    position:relative;
    z-index:2;
    display:block;
    margin-bottom:8px;
    color:#d9ef86;
    font-size:31px;
    line-height:1;
    font-weight:800;
}

.hero-trust-item span{
    position:relative;
    z-index:2;
    display:block;
    color:rgba(255,255,255,.82);
    font-size:11px;
    line-height:17px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.7px;
}

@media only screen and (max-width:1000px){

    .hero-content{
        padding-left:25px;
        padding-right:25px;
    }

    .hero-content h1{
        font-size:56px;
    }

    .hero-trust-grid{
        grid-template-columns:repeat(2, minmax(0,1fr));
        max-width:620px;
    }
}

@media only screen and (max-width:600px){

    .hero-section{
        min-height:auto;
        background-position:65% center;
    }

    .hero-content{
        padding-top:100px;
        padding-bottom:65px;
    }

    .hero-content h1{
        font-size:39px;
        line-height:1.1;
        letter-spacing:-1px;
    }

    .hero-content p{
        font-size:15px;
        line-height:27px;
    }

    .hero-trust-grid{
        grid-template-columns:1fr 1fr;
        gap:10px;
        margin-top:36px;
    }

    .hero-trust-item{
        min-height:98px;
        padding:18px 14px;
    }

    .hero-trust-item strong{
        font-size:27px;
    }

    .hero-trust-item span{
        font-size:9px;
        line-height:15px;
    }
}

@media only screen and (max-width:400px){

    .hero-trust-grid{
        grid-template-columns:1fr;
    }
}

/* =========================================
   PREMIUM HERO SLIDESHOW
========================================= */

.hero-section{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;

    background:#172033;
}


/* Slideshow wrapper */

.hero-slideshow{
    position:absolute;
    inset:0;

    z-index:0;

    overflow:hidden;
}


/* Individual slide */

.hero-slide{
    position:absolute;
    inset:-2%;

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;

    opacity:0;

    transform:scale(1);

    transition:
        opacity 1.6s ease-in-out,
        transform 7s ease-out;

    will-change:opacity, transform;
}


/* Visible slide */

.hero-slide.active{
    opacity:1;
    transform:scale(1.05);
}


/* Dark premium overlay */

.hero-overlay{
    position:absolute;
    inset:0;

    z-index:1;

    background:
        linear-gradient(
            90deg,
            rgba(18,29,50,.94) 0%,
            rgba(18,29,50,.83) 42%,
            rgba(18,29,50,.45) 72%,
            rgba(18,29,50,.28) 100%
        );
}


/* Keep content above slideshow */

.hero-section .container{
    position:relative;
    z-index:3;
}


/* Mobile adjustment */

@media only screen and (max-width:767px){

    .hero-slide{
        background-position:60% center;
    }

}

/* =========================================
   FINAL HERO TEXT VISIBILITY FIX
   KEEP AT VERY BOTTOM
========================================= */

.hero-overlay{
    background:
        linear-gradient(
            90deg,
            rgba(10,22,42,.97) 0%,
            rgba(10,22,42,.94) 30%,
            rgba(10,22,42,.82) 50%,
            rgba(10,22,42,.45) 72%,
            rgba(10,22,42,.15) 100%
        ) !important;
}

.hero-content{
    position:relative !important;
    z-index:5 !important;
}

.hero-content h1{
    color:#ffffff !important;
    text-shadow:
        0 3px 6px rgba(0,0,0,.45),
        0 10px 30px rgba(0,0,0,.30) !important;
}

.hero-content p{
    color:rgba(255,255,255,.95) !important;
    text-shadow:0 2px 8px rgba(0,0,0,.45) !important;
}

/* ==================================================
   HERO - FIRST SLIDE PROJECT INTRO
================================================== */




/* Small OUR WORK label */

.hero-first-slide-content > span {
    display: inline-block;
    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;

    color: #c8e94b;
}


/* Main first slide heading */

.hero-first-slide-content h2 {
    margin: 0 0 18px;

    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.05;
    font-weight: 800;

    color: #fff;
}


/* Small description */

.hero-first-slide-content p {
    margin: 0;

    font-size: 18px;
    color: rgba(255,255,255,.85);
}


/* ==========================================
   WHEN FIRST SLIDE IS ACTIVE
========================================== */




/* Normal homepage content */

/* HERO CONTENT - MORE SPACE FOR PROJECT PHOTOS */

.hero-content {
    max-width: 720px;
    margin-left: 0;
}

.hero-content h1 {
    font-size: clamp(48px, 4.2vw, 68px);
    line-height: 1.05;
    max-width: 700px;
}

.hero-content p {
    max-width: 650px;
}

/* WHY CHOOSE TRADESTONE ICONS */

.why-icon{
    width:68px;
    height:68px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin:0 auto 24px;

    border-radius:50%;

    background:rgba(149,193,31,.12);

    color:#95c11f;

    font-size:28px;

    transition:.3s ease;
}

.why-card:hover .why-icon{
    background:#95c11f;
    color:#ffffff;

    transform:scale(1.08);
}