/* =========================================================
   TECHNOTECH INNOVATIONS
   SERVICES PAGE
   CLEAN REBUILD
   ========================================================= */


/* =========================================================
   1. GLOBAL SERVICES CONTAINER
   ========================================================= */

.tt-services-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   2. HERO
   ========================================================= */

.tt-services-hero {
    position: relative;
    background: var(--brand-paper);
    padding: 100px 0 90px;
    overflow: hidden;
}

    .tt-services-hero::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(20, 85, 163, 0.07);
        top: -220px;
        right: -100px;
    }

    .tt-services-hero::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(20, 85, 163, 0.05);
        bottom: -160px;
        left: -100px;
    }

.tt-services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.tt-services-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--brand-teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.tt-services-hero h1 {
    margin: 0 0 22px;
    color: var(--brand-ink);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 800;
}

.tt-services-hero p {
    max-width: 720px;
    margin: 0;
    color: #5c6b7a;
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   3. SECTION HEADINGS
   ========================================================= */

.tt-section-heading {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

    .tt-section-heading span {
        display: inline-block;
        margin-bottom: 15px;
        color: var(--brand-teal);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .tt-section-heading h2 {
        margin: 0 0 18px;
        color: var(--brand-ink);
        font-size: clamp(30px, 4vw, 46px);
        line-height: 1.2;
        font-weight: 750;
    }

    .tt-section-heading p {
        margin: 0;
        color: #667585;
        font-size: 16px;
        line-height: 1.8;
    }


/* =========================================================
   4. SERVICES INTRO
   ========================================================= */

.tt-services-intro {
    position: relative;
    background: #ffffff;
    padding: 105px 0;
}


/* =========================================================
   5. SERVICE GRID
   ========================================================= */

.tt-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   6. SERVICE CARD
   ========================================================= */

.tt-service-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    min-height: 285px;
    padding: 34px;
    border: 1px solid #DCE9E3;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(13, 61, 120, 0.06);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


    /* Decorative circle */

    .tt-service-card::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        right: -90px;
        bottom: -90px;
        border-radius: 50%;
        background: rgba(20, 85, 163, 0.045);
        transition: transform 0.4s ease;
    }


/* Card hover */

@media (hover: hover) and (pointer: fine) {

    .tt-service-card:hover {
        transform: translateY(-7px);
        border-color: #DCE9E3;
        box-shadow: 0 20px 45px rgba(13, 61, 120, 0.12);
    }

        .tt-service-card:hover::after {
            transform: scale(1.35);
        }
}


/* =========================================================
   7. SERVICE ICON
   ========================================================= */

.tt-service-icon {
    position: relative;
    z-index: 2;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #EAF5F1;
    color: var(--brand-teal);
    font-size: 27px;
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}


@media (hover: hover) and (pointer: fine) {

    .tt-service-card:hover .tt-service-icon {
        background: var(--brand-teal);
        color: #ffffff;
        transform: translateY(-4px) scale(1.05);
    }
}


/* =========================================================
   8. SERVICE CONTENT
   ========================================================= */

.tt-service-content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

.tt-service-number {
    display: block;
    margin-bottom: 8px;
    color: #8da2b8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.tt-service-content h3 {
    margin: 0 0 14px;
    color: var(--brand-ink);
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
}

.tt-service-content p {
    margin: 0 0 22px;
    color: var(--brand-muted);
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   9. SERVICE LINK
   ========================================================= */

.tt-service-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--brand-teal);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

    .tt-service-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 2px;
        background: currentColor;
        transition: width 0.3s ease;
    }

    .tt-service-link i {
        transition: transform 0.3s ease;
    }


@media (hover: hover) and (pointer: fine) {

    .tt-service-link:hover {
        color: var(--brand-ink);
        gap: 10px;
    }

        .tt-service-link:hover::after {
            width: calc(100% - 20px);
        }

        .tt-service-link:hover i {
            transform: translate(3px, -3px);
        }
}


/* =========================================================
   10. OUR APPROACH
   ========================================================= */

.tt-services-process {
    position: relative;
    background: var(--brand-paper);
    padding: 105px 0;
}

.tt-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* Process cards */

.tt-process-card {
    position: relative;
    padding: 35px;
    border: 1px solid #DCE9E3;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(13, 61, 120, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


@media (hover: hover) and (pointer: fine) {

    .tt-process-card:hover {
        transform: translateY(-6px);
        border-color: #DCE9E3;
        box-shadow: 0 18px 40px rgba(13, 61, 120, 0.10);
    }
}


/* Process number */

.tt-process-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--brand-teal);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.35s ease;
}


@media (hover: hover) and (pointer: fine) {

    .tt-process-card:hover .tt-process-number {
        transform: scale(1.08);
    }
}


.tt-process-card h3 {
    margin: 0 0 12px;
    color: var(--brand-ink);
    font-size: 21px;
    line-height: 1.3;
}

.tt-process-card p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   11. TECHNOLOGY SECTION
   ========================================================= */

.tt-technology-section {
    position: relative;
    background: #ffffff;
    padding: 110px 0;
}


/* Technology group */

.tt-tech-group {
    margin-bottom: 70px;
}

    .tt-tech-group:last-child {
        margin-bottom: 0;
    }

    .tt-tech-group > h3 {
        margin: 0 0 27px;
        color: var(--brand-ink);
        font-size: 23px;
        line-height: 1.3;
        text-align: center;
    }


/* =========================================================
   12. TECHNOLOGY GRID
   ========================================================= */

.tt-tech-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
}


/* Technology card */

.tt-tech-card {
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid #DCE9E3;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(13, 61, 120, 0.045);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}


@media (hover: hover) and (pointer: fine) {

    .tt-tech-card:hover {
        transform: translateY(-5px);
        border-color: #DCE9E3;
        box-shadow: 0 14px 30px rgba(13, 61, 120, 0.09);
    }
}


/* Technology logo */

.tt-tech-card img {
    width: 43px;
    height: 43px;
    object-fit: contain;
    transition: transform 0.35s ease;
}


@media (hover: hover) and (pointer: fine) {

    .tt-tech-card:hover img {
        transform: scale(1.08);
    }
}


/* Technology name */

.tt-tech-card span {
    color: var(--brand-muted);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}


/* =========================================================
   13. FINAL CTA
   ========================================================= */

.tt-services-cta {
    position: relative;
    background: var(--brand-paper);
    padding: 80px 0 105px;
}


.tt-cta-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 55px 60px;
    border-radius: 24px;
    background: var(--brand-teal);
    box-shadow: 0 20px 50px rgba(13, 61, 120, 0.17);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}


@media (hover: hover) and (pointer: fine) {

    .tt-cta-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 25px 55px rgba(13, 61, 120, 0.21);
    }
}


/* CTA decorative circle */

.tt-cta-box::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -120px;
    top: -145px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}


/* CTA content */

.tt-cta-box > div {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.tt-cta-box span {
    display: inline-block;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.tt-cta-box h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
}

.tt-cta-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   14. CTA BUTTON
   ========================================================= */

.tt-cta-button {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 24px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--brand-teal);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}


    .tt-cta-button i {
        transition: transform 0.3s ease;
    }


@media (hover: hover) and (pointer: fine) {

    .tt-cta-button:hover {
        background: #EAF5F1;
        color: var(--brand-ink);
        transform: translateY(-3px);
    }

        .tt-cta-button:hover i {
            transform: translate(3px, -3px);
        }
}


/* =========================================================
   15. TABLET
   ========================================================= */

@media (max-width: 991px) {

    .tt-services-hero {
        padding: 75px 0;
    }

    .tt-services-intro,
    .tt-services-process,
    .tt-technology-section {
        padding: 80px 0;
    }

    .tt-service-grid {
        grid-template-columns: 1fr;
    }

    .tt-process-grid {
        grid-template-columns: 1fr;
    }

    .tt-tech-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tt-cta-box {
        padding: 45px;
    }
}


/* =========================================================
   16. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .tt-services-container {
        width: min(92%, 560px);
    }

    .tt-services-hero {
        padding: 65px 0;
    }

        .tt-services-hero h1 {
            font-size: 42px;
        }

        .tt-services-hero p {
            font-size: 16px;
        }

    .tt-services-intro,
    .tt-services-process,
    .tt-technology-section {
        padding: 65px 0;
    }

    .tt-section-heading {
        margin-bottom: 38px;
    }

        .tt-section-heading h2 {
            font-size: 31px;
        }

    .tt-service-card {
        flex-direction: column;
        min-height: auto;
        padding: 28px;
        gap: 20px;
    }

    .tt-service-icon {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        font-size: 24px;
    }

    .tt-process-card {
        padding: 28px;
    }

    .tt-tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tt-tech-card {
        min-height: 110px;
    }

    .tt-cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 28px;
    }

    .tt-cta-button {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================
   17. SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .tt-services-hero h1 {
        font-size: 36px;
    }

    .tt-service-card {
        padding: 24px;
    }

    .tt-tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   18. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tt-service-card,
    .tt-service-icon,
    .tt-service-link,
    .tt-service-link i,
    .tt-process-card,
    .tt-process-number,
    .tt-tech-card,
    .tt-tech-card img,
    .tt-cta-box,
    .tt-cta-button,
    .tt-cta-button i {
        transition: none !important;
        transform: none !important;
    }
}
