@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Urbanist:wght@600;700;800;900&display=swap');

.service-card ul,
.service-card li {
    color: #fff;
}

.special-edu-section {
    position: relative;
    width: 100%;
    padding-top: 140px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #4E4E4E;
    overflow: hidden;
}

.ambient-glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}
.sphere-primary {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(110,22,38,0.15) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    right: -100px;
}
.sphere-secondary {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(78,78,78,0.06) 0%, rgba(255,255,255,0) 70%);
    bottom: -150px;
    left: -150px;
}

.spec-edu-container {
    position: relative;
    z-index: 2;
}

.spec-edu-flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.spec-edu-content-col {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.spec-edu-visual-col {
    flex: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (max-width: 1199.98px) {
    .spec-edu-flex-row { gap: 50px; }
}

.premium-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(110, 22, 38, 0.05);
    border: 1px solid rgba(110, 22, 38, 0.12);
    border-radius: 100px;
    margin-bottom: 25px;
}

.pulse-ring {
    width: 8px;
    height: 8px;
    background-color: #6E1626;
    border-radius: 50%;
    position: relative;
}
.pulse-ring::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    background-color: #6E1626;
    border-radius: 50%;
    animation: beaconPulse 2s infinite ease-in-out;
}
@keyframes beaconPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.badge-label-text {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #6E1626;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.spec-edu-main-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: calc(2.2rem + 1.2vw);
    line-height: 1.15;
    color: #2c2c2c;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.accent-gradient-text {
    color: #6E1626;
    background: linear-gradient(135deg, #6E1626 0%, #a3283f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spec-edu-narrative {
    margin-bottom: 35px;
}
.lead-paragraph {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #333333;
    font-weight: 500;
    margin-bottom: 15px;
}
.body-paragraph {
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
    font-weight: 400;
    margin: 0 0 15px 0;
}

.clinical-tags-flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.clinical-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #F8F9FA;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4E4E4E;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.clinical-chip i {
    font-size: 1rem;
    color: #6E1626;
}
.clinical-chip:hover {
    background: #ffffff;
    border-color: rgba(110, 22, 38, 0.2);
    box-shadow: 0 10px 20px rgba(110, 22, 38, 0.05);
    transform: translateY(-3px);
}

.content-spacer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.01) 100%);
    margin-bottom: 35px;
}

.regional-prestige-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 22px;
    background: linear-gradient(135deg, rgba(110, 22, 38, 0.02) 0%, rgba(255,255,255,0) 100%);
    border-left: 3px solid #6E1626;
    padding: 20px 25px;
    border-radius: 0 16px 16px 0;
}

.prestige-icon-box {
    width: 48px;
    height: 48px;
    background: #6E1626;
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(110, 22, 38, 0.2);
}

.prestige-card-body h5 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #6E1626;
    margin-bottom: 6px;
}
.prestige-card-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

.layered-visual-canvas {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 575.98px) {
    .layered-visual-canvas { height: 480px; }
}

.media-frame-wrapper {
    position: absolute;
    width: 85%;
    height: 90%;
    top: 0;
    left: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.canvas-core-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.media-frame-wrapper:hover .canvas-core-image {
    transform: scale(1.06);
}

.canvas-vignette-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(110, 22, 38, 0.15) 100%);
    pointer-events: none;
}

.integrated-glass-panel {
    position: absolute;
    width: 70%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 30px;
    bottom: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.integrated-glass-panel:hover {
    border-color: rgba(110, 22, 38, 0.15);
    box-shadow: 0 30px 60px rgba(110, 22, 38, 0.08);
}

.panel-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding-bottom: 14px;
}
.panel-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.panel-icon {
    font-size: 1.1rem;
    color: #6E1626;
    background: rgba(110, 22, 38, 0.06);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.integrated-glass-panel h6 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #2c2c2c;
    margin-bottom: 3px;
}
.integrated-glass-panel p {
    font-size: 0.82rem;
    color: #666666;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 575.98px) {
    .integrated-glass-panel {
        width: 85%;
        padding: 20px;
    }
}

.geo-shape {
    position: absolute;
    background: #590202;
    border: 1px solid rgb(110 22 38);
    z-index: -1;
    pointer-events: none;
}
.shape-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    top: -20px;
    right: 50px;
}
.shape-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    bottom: 80px;
    left: -40px;
    background: transparent;
    border-width: 2px;
    border-style: dashed;
}

.float-slow {
    animation: floatVertical 6s infinite alternate ease-in-out;
}
.float-reverse {
    animation: floatVerticalReverse 8s infinite alternate ease-in-out;
}
@keyframes floatVertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}
@keyframes floatVerticalReverse {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(25px) rotate(45deg); }
}

.scroll-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-fade-up.reveal-triggered {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .special-edu-section {
        padding: 70px 0;
    }

    .spec-edu-flex-row {
        flex-direction: column-reverse !important;
        gap: 50px;
    }

    .spec-edu-content-col,
    .spec-edu-visual-col {
        width: 100%;
        flex: 0 0 100%;
    }

    .spec-edu-content-col {
        text-align: center;
        align-items: center;
    }

    .spec-edu-main-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .clinical-tags-flex-wrapper {
        justify-content: center;
    }

    .regional-prestige-card {
        max-width: 100%;
        text-align: left;
    }

    .layered-visual-canvas {
        width: 100%;
        max-width: 500px;
        height: 520px;
        margin: 0 auto;
    }

    .media-frame-wrapper {
        width: 85%;
        height: 85%;
    }

    .integrated-glass-panel {
        width: 75%;
    }
}

@media (max-width: 767.98px) {
    .special-edu-section {
        padding: 50px 25px;
    }

    .spec-edu-flex-row {
        flex-direction: column-reverse !important;
        gap: 40px;
    }

    .spec-edu-main-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .lead-paragraph,
    .body-paragraph {
        text-align: justify;
    }

    .clinical-chip {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .regional-prestige-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        border-left: none;
        border-top: 3px solid #6E1626;
        border-radius: 16px;
    }

    .prestige-card-body {
        text-align: center;
    }

    .layered-visual-canvas {
        max-width: 100%;
        height: 450px;
        display: flex !important;
        visibility: visible !important;
        overflow: visible;
    }

    .media-frame-wrapper {
        width: 100%;
        height: 75%;
        left: 0;
    }

    .integrated-glass-panel {
        width: 92%;
        right: 50%;
        transform: translateX(50%);
        bottom: -10px;
        padding: 18px;
    }

    .shape-circle {
        width: 60px;
        height: 60px;
        right: 15px;
    }

    .shape-ring {
        width: 80px;
        height: 80px;
        left: -15px;
        bottom: 50px;
    }
}

@media (max-width: 575.98px) {
    .spec-edu-main-title {
        font-size: 1.8rem;
    }

    .layered-visual-canvas {
        height: 400px;
    }

    .media-frame-wrapper {
        height: 70%;
        border-radius: 18px;
    }

    .integrated-glass-panel {
        width: 95%;
        padding: 15px;
        border-radius: 18px;
    }

    .clinical-chip {
        width: 100%;
        justify-content: center;
    }
}
