/* ===== Expertise Hero Section ===== */
.expertise-hero {
    position: relative;
    background-color: #0f172a;
    color: #fff;
    height: 40vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Decorative angled shape */
.expertise-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 33%; /* w-1/3 */
    height: 100%;
    background-color: #0f172a; /* blue-900/20 */
    transform: skewX(12deg) translateX(50%);
}

/* Content container */
.expertise-container {
    position: relative;
    z-index: 1;
    max-width: 70rem;
    margin: 0 auto;
    padding: 0 1rem; /* px-4 */
}

@media (min-width: 640px) {
    .expertise-container {
        padding: 0 1.5rem; /* sm:px-6 */
    }
}
@media (min-width: 1024px) {
    .expertise-container {
        padding: 0 2rem; /* lg:px-8 */
    }
}

/* Title */
.expertise-title {
    font-size: 3rem; /* text-5xl */
    font-weight: bold;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .expertise-title {
        font-size: 3.1rem; /* text-6xl */
    }
}

/* Text */
.expertise-text {
    font-size: 1.2rem; /* text-xl */
    color: #cbd5e1; /* green-100 */
    max-width: 70rem; /* max-w-3xl */
    line-height: 1.6;
}
/* Section wrapper */
.expertise-section {
    padding: 6rem 0; /* py-24 */
    background-color: #fff;
}

/* Container */
.expertise-container {
    max-width: 70rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .expertise-container {
        padding: 0 1.5rem;
    }
}
@media (min-width: 1024px) {
    .expertise-container {
        padding: 0 2rem;
    }
}

/* Grid layout */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem; /* gap-10 */
}

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

/* Card */
.expertise-card {
    background-color: #f8fafc; /* slate-50 */
    border: 1px solid #f1f5f9; /* slate-100 */
    border-radius: 1.5rem; /* rounded-3xl */
    padding: 2.5rem; /* p-10 */
    transition: all 0.3s ease;
}

.expertise-card:hover {
    background-color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* shadow-2xl */
}

/* Icon */
.card-icon {
    width: 4rem;
    height: 4rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.expertise-card:hover .card-icon {
    transform: translateY(-0.5rem);
}

/* Title */
.card-title {
    font-size: 1.13rem; /* text-2xl */
    font-weight: bold;
    color: #0f172a; /* slate-900 */
    margin-bottom: 1rem;
}

/* Text */
.card-text {
    font-size: 0.875rem;
    color: #475569; /* slate-600 */
    line-height: 1.6;
}

/* Footer list */
.card-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0; /* slate-200 */
}

.card-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-footer li {
    font-size: 0.7rem; /* text-xs */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569; /* slate-400 */
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Blue dot */
.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #475569;
    border-radius: 50%;
    margin-right: 0.5rem;
}
/* Section wrapper */
.specialized-section {
    padding: 6rem 0; /* py-24 */
    background-color: #0f172a; /* slate-900 */
    color: #fff;
}

/* Container */
.specialized-container {
    max-width: 70rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .specialized-container {
        padding: 0 1.5rem;
    }
}
@media (min-width: 1024px) {
    .specialized-container {
        padding: 0 2rem;
    }
}

/* Flex layout */
.specialized-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem; /* gap-16 */
}

@media (min-width: 768px) {
    .specialized-flex {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Left text */
.specialized-text {
    flex: 1;
}

.specialized-title {
    font-size: 2rem; /* text-4xl */
    font-weight: bold;
    margin-bottom: 2rem;
}

.specialized-items {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* space-y-8 */
}

.item-heading {
    font-size: 1rem;
    color: #22c55e; /* green-400 */
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.item-text {
    color: #94a3b8; /* slate-400 */
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Right image */
.specialized-image {
    flex: 1;
}

.specialized-image img {
    width: 100%;
    border-radius: 1.5rem; /* rounded-3xl */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
}
