/* =========================================================
   TECHSPINE SYSTEMS LTD
   PREMIUM 2026 DESIGN
========================================================= */

:root {
    --ts-primary: #087f8c;
    --ts-primary-dark: #045966;
    --ts-accent: #12b8a6;
    --ts-dark: #071c27;
    --ts-text: #53636c;
    --ts-light: #f4f8fa;
    --ts-white: #ffffff;
    --ts-border: #e3ecef;
    --ts-shadow: 0 18px 55px rgba(7, 28, 39, .10);
    --ts-radius: 20px;
}


/* =========================================================
   GLOBAL
========================================================= */

.ts-page {
    overflow: hidden;
    background: #fff;
    color: var(--ts-text);
}

.ts-page h1,
.ts-page h2,
.ts-page h3,
.ts-page h4,
.ts-page h5 {
    color: var(--ts-dark);
    font-weight: 800;
}

.ts-page p {
    line-height: 1.85;
}

.ts-container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =========================================================
   HERO
========================================================= */

.ts-hero {
    position: relative;
    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            100deg,
            rgba(4, 35, 46, .97),
            rgba(4, 70, 80, .88),
            rgba(7, 28, 39, .72)
        ),
        url("../img/techspine.jpg") center/cover no-repeat;

    color: #fff;
}

.ts-hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    right: -150px;
    top: -100px;
}

.ts-hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;

    right: 40px;
    bottom: -160px;
}

.ts-hero-content {
    position: relative;
    z-index: 2;

    max-width: 780px;

    padding: 100px 0;
}

.ts-label {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 9px 16px;

    margin-bottom: 25px;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 50px;

    background: rgba(255,255,255,.08);

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ts-label span {
    width: 8px;
    height: 8px;

    background: var(--ts-accent);

    border-radius: 50%;

    box-shadow: 0 0 15px var(--ts-accent);
}

.ts-hero h1 {
    color: #fff;

    font-size: clamp(42px, 6vw, 76px);

    line-height: 1.05;

    margin-bottom: 25px;

    letter-spacing: -2px;
}

.ts-hero h1 span {
    color: #62e2d5;
}

.ts-hero-description {
    max-width: 700px;

    color: rgba(255,255,255,.82);

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 35px;
}

.ts-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ts-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 14px 25px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 700;

    transition: .3s ease;
}

.ts-btn-primary {
    background: var(--ts-accent);
    color: #fff;
}

.ts-btn-primary:hover {
    background: #fff;
    color: var(--ts-primary-dark);

    transform: translateY(-3px);
}

.ts-btn-outline {
    color: #fff;

    border: 1px solid rgba(255,255,255,.5);
}

.ts-btn-outline:hover {
    background: #fff;
    color: var(--ts-dark);

    transform: translateY(-3px);
}


/* =========================================================
   SECTION
========================================================= */

.ts-section {
    padding: 100px 0;
}

.ts-section-light {
    background: var(--ts-light);
}

.ts-section-heading {
    max-width: 720px;

    margin: 0 auto 60px;

    text-align: center;
}

.ts-section-heading .small-title {
    display: block;

    margin-bottom: 12px;

    color: var(--ts-primary);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.ts-section-heading h2 {
    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    margin-bottom: 18px;
}

.ts-section-heading p {
    margin-bottom: 0;
}


/* =========================================================
   ABOUT
========================================================= */

.ts-about-grid {
    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 70px;

    align-items: center;
}

.ts-about-image {
    position: relative;
}

.ts-about-image img {
    width: 100%;

    height: 520px;

    object-fit: cover;

    border-radius: 25px;

    box-shadow: var(--ts-shadow);
}

.ts-about-badge {
    position: absolute;

    left: -25px;
    bottom: 30px;

    padding: 22px 25px;

    background: var(--ts-primary);

    color: #fff;

    border-radius: 15px;

    box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.ts-about-badge strong {
    display: block;

    font-size: 28px;
}

.ts-about-badge span {
    font-size: 13px;
}

.ts-about-content .small-title {
    color: var(--ts-primary);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.ts-about-content h2 {
    font-size: 44px;

    line-height: 1.2;

    margin: 12px 0 22px;
}

.ts-check-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

    padding: 0;

    margin: 30px 0;

    list-style: none;
}

.ts-check-list li {
    display: flex;

    gap: 10px;

    align-items: flex-start;

    font-weight: 700;

    color: var(--ts-dark);
}

.ts-check-list i {
    color: var(--ts-accent);

    margin-top: 4px;
}


/* =========================================================
   VISION / MISSION
========================================================= */

.ts-feature-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.ts-feature-card {
    padding: 40px;

    background: #fff;

    border: 1px solid var(--ts-border);

    border-radius: var(--ts-radius);

    box-shadow: 0 10px 35px rgba(7,28,39,.05);

    transition: .35s ease;
}

.ts-feature-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--ts-shadow);

    border-color: rgba(8,127,140,.3);
}

.ts-feature-icon {
    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 16px;

    background: linear-gradient(
        135deg,
        var(--ts-primary),
        var(--ts-accent)
    );

    color: #fff;

    font-size: 25px;
}

.ts-feature-card h3 {
    margin-bottom: 15px;
}


/* =========================================================
   SERVICES
========================================================= */

.ts-services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.ts-service-card {
    position: relative;

    padding: 35px;

    min-height: 310px;

    background: #fff;

    border: 1px solid var(--ts-border);

    border-radius: var(--ts-radius);

    overflow: hidden;

    transition: .4s ease;
}

.ts-service-card::before {
    content: "";

    position: absolute;

    width: 0;
    height: 4px;

    left: 0;
    top: 0;

    background: linear-gradient(
        90deg,
        var(--ts-primary),
        var(--ts-accent)
    );

    transition: .4s ease;
}

.ts-service-card:hover::before {
    width: 100%;
}

.ts-service-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--ts-shadow);
}

.ts-service-number {
    position: absolute;

    top: 22px;
    right: 25px;

    color: #edf3f5;

    font-size: 42px;

    font-weight: 900;
}

.ts-service-icon {
    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 15px;

    background: var(--ts-light);

    color: var(--ts-primary);

    font-size: 25px;

    transition: .3s ease;
}

.ts-service-card:hover .ts-service-icon {
    background: var(--ts-primary);

    color: #fff;

    transform: rotate(-5deg);
}

.ts-service-card h3 {
    font-size: 22px;

    margin-bottom: 15px;
}

.ts-service-card ul {
    padding-left: 18px;

    margin: 0;
}

.ts-service-card li {
    margin-bottom: 7px;

    font-size: 14px;
}


/* =========================================================
   APPROACH
========================================================= */

.ts-approach {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 70px;

    align-items: center;
}

.ts-approach h2 {
    font-size: 44px;
}

.ts-approach-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.ts-approach-item {
    padding: 25px;

    background: #fff;

    border-radius: 16px;

    border: 1px solid var(--ts-border);

    transition: .3s ease;
}

.ts-approach-item:hover {
    transform: translateY(-5px);

    box-shadow: var(--ts-shadow);
}

.ts-approach-item i {
    color: var(--ts-primary);

    font-size: 22px;

    margin-bottom: 12px;
}

.ts-approach-item h4 {
    font-size: 18px;

    margin-bottom: 8px;
}

.ts-approach-item p {
    font-size: 14px;

    margin: 0;
}


/* =========================================================
   INDUSTRIES
========================================================= */

.ts-industries {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.ts-industry {
    padding: 25px 20px;

    background: #fff;

    border: 1px solid var(--ts-border);

    border-radius: 15px;

    text-align: center;

    transition: .3s ease;
}

.ts-industry i {
    display: block;

    color: var(--ts-primary);

    font-size: 27px;

    margin-bottom: 15px;
}

.ts-industry strong {
    display: block;

    color: var(--ts-dark);

    font-size: 14px;

    line-height: 1.5;
}

.ts-industry:hover {
    background: var(--ts-primary);

    transform: translateY(-5px);
}

.ts-industry:hover i,
.ts-industry:hover strong {
    color: #fff;
}


/* =========================================================
   PARTNERSHIP
========================================================= */

.ts-partnership {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.ts-partner-box {
    padding: 50px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            var(--ts-dark),
            var(--ts-primary-dark)
        );

    color: #fff;

    box-shadow: var(--ts-shadow);
}

.ts-partner-box h3 {
    color: #fff;

    font-size: 30px;
}

.ts-partner-box p {
    color: rgba(255,255,255,.8);
}


/* =========================================================
   CTA
========================================================= */

.ts-cta {
    position: relative;

    padding: 90px 0;

    background:
        linear-gradient(
            110deg,
            var(--ts-primary-dark),
            var(--ts-primary),
            var(--ts-accent)
        );

    overflow: hidden;
}

.ts-cta::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -200px;
    top: -200px;

    border: 1px solid rgba(255,255,255,.2);

    border-radius: 50%;
}

.ts-cta-content {
    position: relative;

    z-index: 2;

    text-align: center;

    max-width: 850px;

    margin: auto;
}

.ts-cta h2 {
    color: #fff;

    font-size: clamp(32px, 5vw, 52px);

    margin-bottom: 20px;
}

.ts-cta p {
    color: rgba(255,255,255,.85);

    font-size: 17px;
}


/* =========================================================
   CONTACT
========================================================= */

.ts-contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}

.ts-contact-card {
    padding: 35px;

    background: var(--ts-light);

    border-radius: 20px;

    border: 1px solid var(--ts-border);
}

.ts-contact-row {
    display: flex;

    gap: 18px;

    margin-bottom: 25px;
}

.ts-contact-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--ts-primary);

    color: #fff;

    border-radius: 13px;
}

.ts-contact-row h5 {
    margin-bottom: 5px;
}

.ts-contact-row p {
    margin: 0;

    font-size: 14px;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.ts-reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.ts-reveal.show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .ts-hero {
        min-height: 580px;
    }

    .ts-about-grid,
    .ts-approach,
    .ts-partnership {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .ts-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ts-industries {
        grid-template-columns: repeat(2, 1fr);
    }

    .ts-about-image img {
        height: 430px;
    }

    .ts-about-badge {
        left: 20px;
    }

}


@media (max-width: 767px) {

    .ts-section {
        padding: 70px 0;
    }

    .ts-hero {
        min-height: 650px;

        background-position: center;
    }

    .ts-hero-content {
        padding: 80px 0;
    }

    .ts-hero h1 {
        font-size: 43px;

        letter-spacing: -1px;
    }

    .ts-hero-description {
        font-size: 16px;
    }

    .ts-hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .ts-btn {
        width: 100%;
    }

    .ts-about-grid,
    .ts-feature-grid,
    .ts-services-grid,
    .ts-approach,
    .ts-approach-list,
    .ts-industries,
    .ts-contact-grid {
        grid-template-columns: 1fr;
    }

    .ts-about-content h2,
    .ts-approach h2 {
        font-size: 34px;
    }

    .ts-about-image img {
        height: 350px;
    }

    .ts-about-badge {
        bottom: 20px;

        left: 15px;

        padding: 17px 20px;
    }

    .ts-service-card {
        min-height: auto;
    }

    .ts-feature-card,
    .ts-service-card,
    .ts-partner-box,
    .ts-contact-card {
        padding: 28px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ts-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }

    * {
        scroll-behavior: auto !important;
    }

}