/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* ---- Highlights Showcase ---- */
.highlights-showcase {
    padding: 0 0 60px 0;
    position: relative;
    overflow: hidden;
}

.highlights-showcase .container {
    max-width: 1200px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Individual Card */
.highlight-card {
    position: relative;
    border-radius: 20px;
    padding: 2px; /* border thickness via gradient */
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(124, 58, 237, 0.25), rgba(0, 212, 255, 0.1));
    background-size: 200% 200%;
    animation: border-shimmer 4s ease infinite;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.highlight-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes border-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glow behind card on hover */
.highlight-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(20px);
}

.highlight-card:hover .highlight-card-glow {
    opacity: 1;
}

.highlight-card-inner {
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    min-height: 200px;
    justify-content: center;
    transition: background 0.3s ease;
}

.highlight-card:hover .highlight-card-inner {
    background: rgba(10, 15, 30, 0.95);
}

/* Animated Ring around icon */
.highlight-icon-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 4px;
}

.ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 3;
}

.ring-progress {
    fill: none;
    stroke: url(#ring-gradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 283; /* 2 * PI * 45 */
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s ease;
}

.highlight-card.revealed .ring-progress {
    stroke-dashoffset: calc(283 - (283 * var(--progress) / 100));
}

.highlight-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon i {
    font-size: 1.6rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-icon i {
    transform: scale(1.15);
}

/* Counter number */
.highlight-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline;
}

.highlight-plus {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-top: -8px;
    display: inline;
}

/* Number + plus on same line */
.highlight-card-inner .highlight-number,
.highlight-card-inner .highlight-plus {
    display: inline;
}

/* Text label */
.highlight-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 240px;
}

/* ---- SVG Gradient Definition (injected via JS) ---- */

/* Section Header */
.about-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: white;
}

/* Our Approach */
.about-approach {
    margin-bottom: 64px;
    margin-top: 16px;
}

.about-approach-content {
    padding: 56px 48px;
    background: rgba(124, 58, 237, 0.04);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-lg);
}

.about-approach-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.about-approach-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 32px;
    max-width: 800px;
}

.about-approach-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.approach-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.approach-feature:hover {
    background: rgba(255, 255, 255, 0.06);
}

.approach-feature i {
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.approach-feature span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

/* About Hero extra */
.about-hero .service-hero-content {
    max-width: 750px;
}

/* Responsive */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .highlights-showcase {
        padding: 0 0 40px 0;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .highlight-card-inner {
        padding: 24px 20px;
        min-height: 160px;
        flex-direction: row;
        gap: 16px;
        text-align: right;
    }

    .highlight-icon-ring {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .highlight-icon i {
        font-size: 1.3rem;
    }

    .highlight-number {
        font-size: 2.2rem;
    }

    .highlight-plus {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .highlight-text {
        max-width: 100%;
    }

    html[dir="ltr"] .highlight-card-inner {
        text-align: left;
    }

    .about-approach-content {
        padding: 36px 24px;
    }

    .about-approach-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
