/* Expertise Page Specific Styles */

/* Hero Section */
.expertise-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 4rem;
    overflow: hidden;
}

.expertise-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Reusing the services hero image or a generic one if available, otherwise fallback to color */
    background: url('../assets/services-hero.jpg') center/cover no-repeat;
    opacity: 0.12;
    z-index: 0;
}

.expertise-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.expertise-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.expertise-hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.8;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.3s forwards;
}

@media (max-width: 768px) {
    .expertise-hero {
        min-height: 40vh;
        padding: 8rem 1.5rem 3rem;
    }

    .expertise-hero h1 {
        font-size: 2.2rem;
    }

    .expertise-hero p {
        font-size: 1.1rem;
    }
}

/* Expertise Grid */
.expertise-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* Expertise Category Cards */
.expertise-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
    display: flex;
    flex-direction: column;
}

.expertise-category:nth-child(1) {
    animation-delay: 0.4s;
}

.expertise-category:nth-child(2) {
    animation-delay: 0.6s;
}

.expertise-category:nth-child(3) {
    animation-delay: 0.8s;
}

.expertise-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.expertise-category:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

.category-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: var(--text);
    font-weight: 700;
    margin: 0;
}

/* Service List */
.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    padding: 0.75rem 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.expertise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.expertise-list li:hover {
    color: var(--text);
    padding-left: 2rem;
}

.expertise-list li:hover::before {
    color: var(--secondary);
}

/* Intro Section */
.expertise-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    text-align: center;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.intro-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.highlight-text {
    color: var(--text);
    font-weight: 600;
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Achievements Section */
.achievements-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem;
    text-align: center;
}

.achievements-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.achievements-content p {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements-list li {
    padding: 1rem 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.achievements-list li:last-child {
    border-bottom: none;
}

.achievements-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .achievements-content {
        padding: 2rem 1.5rem;
    }

    .achievements-list li {
        font-size: 1rem;
    }
}