/* Card Components */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card {
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--secondary-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Portfolio Cards */
.portfolio-card {
    position: relative;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 300px;
    background: var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.portfolio-content .category {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-card:hover .overlay-content {
    transform: translateY(0);
}

/* Blog Cards */
.blog-card {
    height: 100%;
}

.blog-image {
    width: 100%;
    height: 200px;
    background: var(--medium-gray);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.blog-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.blog-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--accent-color);
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    gap: 1rem;
}

/* Team Cards */
.team-card {
    text-align: center;
    padding: 2rem;
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--medium-gray);
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.team-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.team-card .position {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.team-social a:hover {
    color: var(--accent-color);
}