/* =========================================================
TECHNOTECH INNOVATIONS
ANIMATIONS SERVICE PAGE
========================================================= */

.animation-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* =========================================================
HERO
========================================================= */

.animation-hero-clean {
    position: relative;
    background: var(--brand-paper);
    padding: 95px 0 90px;
    overflow: hidden;
}

    .animation-hero-clean::before {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        background: rgba(20, 85, 163, 0.07);
        top: -190px;
        right: -100px;
    }

    .animation-hero-clean::after {
        content: "";
        position: absolute;
        width: 230px;
        height: 230px;
        border-radius: 50%;
        background: rgba(20, 85, 163, 0.045);
        bottom: -130px;
        left: -80px;
    }

.animation-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.animation-eyebrow,
.animation-section-heading span,
.animation-story-content > span,
.animation-cta-box span {
    display: inline-block;
    color: var(--brand-teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.animation-hero-content h1 {
    margin: 0 0 22px;
    color: var(--brand-ink);
    font-size: clamp(40px, 5.5vw, 66px);
    line-height: 1.08;
    font-weight: 800;
}

.animation-hero-content p {
    max-width: 780px;
    margin: 0;
    color: #617284;
    font-size: 17px;
    line-height: 1.85;
}

/* =========================================================
INTRO
========================================================= */

.animation-intro-clean {
    background: #ffffff;
    padding: 90px 0 50px;
}

.animation-section-heading {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

    .animation-section-heading h2 {
        margin: 0 0 17px;
        color: var(--brand-ink);
        font-size: clamp(30px, 4vw, 45px);
        line-height: 1.2;
        font-weight: 750;
    }

    .animation-section-heading p {
        margin: 0;
        color: var(--brand-muted);
        font-size: 15px;
        line-height: 1.8;
    }

/* =========================================================
TOOLS
========================================================= */

.animation-tools-clean {
    background: #ffffff;
    padding: 45px 0 100px;
}

.animation-tool-group {
    margin-top: 65px;
}

    .animation-tool-group h3 {
        margin: 0 0 25px;
        color: var(--brand-ink);
        text-align: center;
        font-size: 23px;
        font-weight: 700;
    }

.animation-tool-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.animation-tool-card {
    min-height: 155px;
    padding: 25px 15px;
    border: 1px solid #DCE9E3;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 9px 28px rgba(13, 61, 120, 0.055);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

    .animation-tool-card:hover {
        transform: translateY(-6px);
        border-color: #DCE9E3;
        box-shadow: 0 16px 35px rgba(13, 61, 120, 0.1);
    }

    .animation-tool-card img {
        width: 52px;
        height: 52px;
        object-fit: contain;
        margin-bottom: 17px;
    }

    .animation-tool-card h4 {
        margin: 0;
        color: var(--brand-muted);
        font-size: 14px;
        line-height: 1.4;
        font-weight: 650;
    }

/* =========================================================
VISUAL STORYTELLING
========================================================= */

.animation-story-clean {
    background: var(--brand-paper);
    padding: 100px 0;
}

.animation-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.animation-story-content h2 {
    margin: 0 0 22px;
    color: var(--brand-ink);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    font-weight: 750;
}

.animation-story-content p {
    margin: 0 0 17px;
    color: #647689;
    font-size: 15px;
    line-height: 1.85;
}

.animation-story-image {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(13, 61, 120, 0.12);
}

    .animation-story-image img {
        width: 100%;
        display: block;
        height: auto;
        transition: transform 0.5s ease;
    }

    .animation-story-image:hover img {
        transform: scale(1.035);
    }

.animation-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 13px 20px;
    border-radius: 8px;
    background: var(--brand-teal);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

    .animation-contact-btn:hover {
        background: var(--brand-ink);
        color: #ffffff;
        transform: translateY(-2px);
    }

/* =========================================================
PRODUCT CASE STUDIES
========================================================= */

.animation-products-clean {
    padding: 100px 0;
    background: #ffffff;
}

.animation-case-intro {
    max-width: 650px;
    margin: 15px auto 0;
    color: var(--brand-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================================
FINAL CTA
========================================================= */

.animation-final-cta {
    background: var(--brand-paper);
    padding: 20px 0 100px;
}

.animation-cta-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 55px 60px;
    border-radius: 23px;
    background: var(--brand-teal);
    box-shadow: 0 20px 50px rgba(13, 61, 120, 0.16);
}

    .animation-cta-box::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50%;
        right: -110px;
        top: -140px;
    }

    .animation-cta-box > div {
        position: relative;
        z-index: 2;
        max-width: 700px;
    }

    .animation-cta-box span {
        color: rgba(255, 255, 255, 0.75);
    }

    .animation-cta-box h2 {
        margin: 0 0 14px;
        color: #ffffff;
        font-size: clamp(28px, 4vw, 42px);
        line-height: 1.2;
    }

    .animation-cta-box p {
        margin: 0;
        color: rgba(255, 255, 255, 0.8);
        font-size: 15px;
        line-height: 1.75;
    }

.animation-cta-button {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 23px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--brand-teal);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

    .animation-cta-button:hover {
        background: #EAF5F1;
        color: var(--brand-ink);
        transform: translateY(-3px);
    }

/* =========================================================
TABLET
========================================================= */

@media (max-width: 991px) {

   
    .animation-hero-clean {
        padding: 75px 0;
    }

    .animation-intro-clean,
    .animation-tools-clean,
    .animation-story-clean,
    .animation-products-clean {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .animation-tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .animation-story-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .animation-story-content {
        text-align: center;
    }

    .animation-cta-box {
        padding: 45px;
    }

   
}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 767px) {

    
    .animation-container {
        width: min(92%, 560px);
    }

    .animation-hero-clean {
        padding: 60px 0;
    }

    .animation-hero-content h1 {
        font-size: 39px;
    }

    .animation-hero-content p {
        font-size: 15px;
    }

    .animation-intro-clean,
    .animation-tools-clean,
    .animation-story-clean,
    .animation-products-clean {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .animation-section-heading h2 {
        font-size: 30px;
    }

    .animation-tool-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 13px;
    }

    .animation-tool-card {
        min-height: 130px;
        padding: 20px 10px;
    }

        .animation-tool-card img {
            width: 45px;
            height: 45px;
            margin-bottom: 12px;
        }

        .animation-tool-card h4 {
            font-size: 12px;
        }

    .animation-story-grid {
        gap: 35px;
    }

    .animation-story-content {
        text-align: left;
    }

        .animation-story-content h2 {
            font-size: 30px;
        }

    .animation-cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 28px;
    }

    .animation-cta-button {
        width: 100%;
        justify-content: center;
    }

    
}

/* =========================================================
SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    
    .animation-tool-grid {
        gap: 10px;
    }

    .animation-tool-card {
        min-height: 120px;
    }

    .animation-hero-content h1 {
        font-size: 34px;
    }

   
}
