/* Technology landing page styles */
.chaintum-technology {
    font-family: 'Montserrat', 'Noto Sans', sans-serif;
    color: #ffffff;
    background-color: #01081f;
    overflow: hidden;
    --hero-bg: url('assets/images/technology/hero-bg.png');
}

.chaintum-technology .tech-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 70px 24px;
}

.tech-hero {
    position: relative;
    min-height: 420px;
    padding: 120px 60px 100px;
    background: #030b1f;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.tech-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 25, 0.65);
}

.tech-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.tech-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    margin: 12px 0;
}

.tech-hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.tech-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}

.tech-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.tech-hero__share {
    position: absolute;
    top: 32px;
    right: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background-color: rgba(7, 232, 248, 0.16);
    color: #08f5f8;
    border: 1px solid rgba(8, 245, 248, 0.4);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 2;
}
.tech-hero__share svg {
    pointer-events: none;
}
.tech-hero__share.is-copied {
    color: #001227;
    background-color: #08f5f8;
    border-color: #08f5f8;
}
.tech-hero__share-toast {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: rgba(0, 18, 39, 0.85);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}
.tech-hero__share.is-copied + .tech-hero__share-toast {
    opacity: 1;
    transform: translateY(0);
}

.tech-section__head h2 {
    color: #01081f;
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 12px;
}

.tech-section__head p {
    color: rgba(1, 8, 31, 0.75);
    font-size: 1rem;
    max-width: 600px;
}

.tech-insights {
    background: #f3f5f9;
    color: #01081f;
}

.tech-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.tech-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    display: flex;
    gap: 24px;
    box-shadow: 0 24px 60px rgba(0, 22, 65, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 220px;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0, 22, 65, 0.18);
}

.tech-card__media img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.tech-card__body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.tech-card__industries {
    color: rgba(1, 8, 31, 0.65);
    line-height: 1.5;
    margin-bottom: 18px;
}

.tech-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    color: #0054ff;
}
.tech-card__cta svg {
    width: 16px;
    height: 16px;
}

.tech-consulting {
    background: #0c1b33;
    color: #fff;
}

.tech-consulting__inner {
    display: grid;
    grid-template-columns: 0.6fr 0.4fr;
    gap: 40px;
    align-items: center;
}

.tech-consulting__text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 18px;
}

.tech-consulting__text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.tech-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffcb60;
    text-decoration: none;
    font-weight: 600;
    margin-top: 24px;
}

.tech-consulting__media img {
    width: 100%;
    border-radius: 18px;
    display: block;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1024px) {
    .tech-card-grid {
        grid-template-columns: 1fr;
    }

    .tech-consulting__inner {
        grid-template-columns: 1fr;
    }

    .tech-card {
        flex-direction: column;
        text-align: left;
    }

    .tech-card__media img {
        width: 100%;
        height: 220px;
    }
}

/* Share Modal Styles */
.tech-share-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-share-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.tech-share-modal__content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.tech-share-modal__content h3 {
    margin: 0 0 24px 0;
    font-size: 1.5rem;
    color: #01081f;
}

.tech-share-modal__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-share-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #01081f;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #fff;
    cursor: pointer;
    font-size: 1rem;
}

.tech-share-link:hover {
    background: #f5f5f5;
    border-color: #08f5f8;
    color: #08f5f8;
    transform: translateX(4px);
}

.tech-share-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.tech-share-link.twitter:hover {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
}

.tech-share-link.linkedin:hover {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
}

.tech-share-link.facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.tech-share-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tech-share-modal__close:hover {
    background: #f0f0f0;
    color: #01081f;
}

/* Share Notification */
.tech-share-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #01081f;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 0.9rem;
}

.tech-share-notification.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .tech-hero {
        padding: 100px 28px 80px;
    }

    .tech-hero__share {
        top: 20px;
        right: 20px;
    }

    .tech-card__cta {
        font-size: 0.75rem;
    }

    .tech-share-modal__content {
        padding: 24px;
    }
}

