/* ============================================================
   TECHNOLOGY & CLINIC — Dr. Kishor Tanir Dental Website
   Scope: .technology-section
   ============================================================ */

.technology-section {
    background-color: #ffffff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.technology-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background: linear-gradient(to left, #F7F9FC, transparent);
    pointer-events: none;
}

/* ---- Section Header ---- */
.technology-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0D9488;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background-color: #CCFBF1;
    border: 1px solid rgba(13, 148, 136, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.technology-section__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.technology-section__title-accent {
    background: linear-gradient(135deg, #1A73E8, #0D9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.technology-section__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #64748B;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

/* ---- Left Image ---- */
.technology-section__image-wrap {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 24px 72px rgba(15, 23, 42, 0.12);
    background: linear-gradient(145deg, #0F172A, #1E293B);
    height: 100%;
    min-height: 480px;
}

.technology-section__clinic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}

.technology-section__img-placeholder {
    width: 100%;
    height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(145deg, #0F172A, #1E293B);
}

.technology-section__img-placeholder svg {
    width: 64px;
    height: 64px;
    stroke: #334155;
    fill: none;
}

.technology-section__img-placeholder-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #475569;
}

/* Overlay label */
.technology-section__image-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    color: #ffffff;
}

.technology-section__image-label-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.technology-section__image-label-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* ---- Right: Accordion ---- */
.technology-section__accordion-wrap {
    position: relative;
    z-index: 1;
}

/* Custom accordion (overrides Bootstrap scoped here) */
.technology-section__accordion .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #E2E8F0;
    border-radius: 0 !important;
    overflow: visible;
}

.technology-section__accordion .accordion-item:first-child {
    border-top: 1px solid #E2E8F0;
}

.technology-section__accordion .accordion-button {
    background-color: transparent !important;
    color: #0F172A !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 1.25rem 0;
    border: none;
    box-shadow: none !important;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.technology-section__accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M3 6l5 5 5-5' stroke='%231A73E8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-size: 16px;
    width: 16px;
    height: 16px;
    margin-left: auto;
    flex-shrink: 0;
}

.technology-section__accordion .accordion-button:not(.collapsed) {
    color: #1A73E8 !important;
}

.technology-section__accordion .accordion-body {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #64748B;
    line-height: 1.75;
    padding: 0 0 1.375rem 3rem;
}

/* Number prefix */
.technology-section__accord-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1A73E8 0%, #0D9488 100%);
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
}

.technology-section__accordion .accordion-button.collapsed .technology-section__accord-number {
    background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
    color: #64748B;
}

/* ---- Safety Badges ---- */
.technology-section__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.technology-section__badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #F7F9FC;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    padding: 0.4rem 0.875rem 0.4rem 0.5rem;
}

.technology-section__badge-item svg {
    width: 18px;
    height: 18px;
    stroke: #0D9488;
    fill: none;
    stroke-width: 2;
}

.technology-section__badge-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0F172A;
}

/* ---- Reveal ---- */
.technology-section .reveal-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.technology-section .reveal-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.technology-section .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.technology-section .reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .technology-section {
        padding: 4rem 0;
    }
    .technology-section::after {
        display: none;
    }
    .technology-section__image-wrap {
        min-height: 320px;
        margin-bottom: 2.5rem;
    }
    .technology-section__subtitle {
        max-width: 100%;
    }
}
