/* ===== EXPERTISE PAGE SPECIFIC ===== */

.expertise-hero {
    background: #060d18;
    padding: 60px 0 50px;
    text-align: center;
    border-bottom: 1px solid rgba(0,212,255,0.06);
    position: relative;
    overflow: hidden;
}
.expertise-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 50%, rgba(0,212,255,0.04) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(123,47,252,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.expertise-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #7b2ffc 0%, #00d4ff 50%, #7b2ffc 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holographicTitle 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(123,47,252,0.15));
}
.expertise-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
@keyframes holographicTitle {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.expertise-intro {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
}
.expertise-intro h2 {
    font-size: 2rem;
    color: #0a2647;
    margin-bottom: 1rem;
}
.expertise-intro p {
    color: #3a4a5a;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.expertise-areas {
    padding: 60px 0;
    background: #f8fafc;
}
.expertise-grid {
    display: flex;
    flex-direction: column;    /* Stacks cards vertically */
    gap: 30px;
    max-width: 800px;          /* Keeps it readable – adjust or remove */
    margin: 30px auto 0;       /* Centers the column */
}
.expertise-card {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.7);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 8px 32px rgba(0,0,0,0.04), inset 0 2px 0 rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}
.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
.expertise-card .expertise-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}
.expertise-card h3 {
    font-size: 1.25rem;
    color: #0a1a2a;
    margin-bottom: 10px;
}
.expertise-card p {
    color: #3a4a5a;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.expertise-list li {
    padding: 4px 0 4px 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2300d4ff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') left center no-repeat;
    background-size: 16px;
    color: #4a5a6a;
    font-size: 0.9rem;
}

.process-section {
    padding: 60px 0;
    background: #ffffff;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.process-step {
    text-align: center;
    padding: 20px;
}
.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #7b2ffc);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.process-step h3 {
    font-size: 1.1rem;
    color: #0a1a2a;
    margin-bottom: 8px;
}
.process-step p {
    color: #4a5a6a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA banner reused from services/about (copy here or include globally) */
.cta-holographic {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(220,230,245,0.4) 0%, rgba(255,255,255,0.6) 30%, rgba(210,220,235,0.5) 60%, rgba(240,245,250,0.4) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}
.cta-holographic::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.3) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(200,215,240,0.2) 0%, transparent 50%);
    pointer-events: none;
}
.cta-holographic-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 40px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}
.cta-holographic-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #1a2a3a;
    background: linear-gradient(135deg, #1a2a3a, #4a6a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta-holographic-content p {
    color: #3a4a5a;
    margin-bottom: 20px;
}
.btn-holographic {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 32px;
    background: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 60px;
    font-weight: 600;
    color: #1a2a3a;
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}
.btn-holographic:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255,255,255,0.8);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.btn-holographic i { transition: transform 0.3s ease; }
.btn-holographic:hover i { transform: translateX(6px); }

@media (max-width: 768px) {
    .expertise-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
}
/* ===== VERTICAL STACKING FOR ALL SECTION HEADERS ===== */
.expertise-areas .section-header,
.process-section .section-header {
    display: flex;
    flex-direction: column;      /* Stacks h2 and p vertically */
    align-items: center;         /* Centers horizontally */
    text-align: center;
    margin-bottom: 40px;
}

.expertise-areas .section-header h2,
.process-section .section-header h2 {
    margin-bottom: 8px;          /* Space between title and subtitle */
}

.expertise-areas .section-header p,
.process-section .section-header p {
    margin-top: 0;
    max-width: 600px;           /* Keeps subtitle readable (like homepage) */
}