/* Services Section Styles */
.services-section {
    background-color: var(--color-bg);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
}

.services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px;
    gap: 80px;
    width: 100%;
    max-width: 1200px;
    background: var(--color-black-secondary);
    box-shadow: inset 0px 0px 20px var(--color-black-secondary);
    border-radius: 10px;
}

/* Header Section */
.services-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 12px;
    width: 100%;
    max-width: 617px;
}

.services-title {
    font-family: 'Trap', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 120%;
    text-align: center;
    color: var(--color-accent);
    margin: 0;
    width: 100%;
}

.services-description {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: var(--color-white);
    opacity: 0.8;
    margin: 0;
    width: 100%;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px 30px;
    width: 100%;
    max-width: 1080px;
}

/* services Card */
.services-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 16px;
    flex: 1 1 280px;
    max-width: 340px;
    min-width: 280px;
    height: 428px;
   
}

.services-image-container {
    width: 100%;
    max-width: 340px;
    height: 200px;
    background: var(--color-accent);
    border-radius: 10px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    position: relative;
    overflow: hidden;
}

.services-image {
    position: absolute;
    width: 100%;
    height: 200px;
    left: 0px;
    top: 0px;
    object-fit: cover;
    background: url(image.png);
}

.services-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    width: 100%;
    max-width: 340px;
    height: 212px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.services-card-title {
    width: 100%;
    height: 29px;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: var(--color-white);
    margin: 0;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.services-card-text {
    width: 100%;
    height: 175px;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--color-white);
    opacity: 0.8;
    margin: 0;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

/* services Tags */
.services-tags {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 20px;
    width: 100%;
    max-width: 1080px;
    flex-wrap: wrap;
    justify-content: center;
}

.services-tag {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 8px 12px;
    gap: 10px;
    border: 1px solid var(--color-accent);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    text-align: center;
    color: var(--color-white);
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.services-tag:hover {
    background: var(--color-accent);
    color: var(--color-black);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        gap: 60px 20px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        gap: 40px 20px;
    }
}

@media (max-width: 780px) {
    
    

    .services-container {
        padding: 30px;
        gap: 40px;
    }
    
    .services-grid {
        gap: 30px;
        justify-content: center;
    }
    
    .services-card {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
        height: auto;
        min-width: auto;
    }
    
    .services-image-container {
        width: 100%;
        max-width: 100%;
        min-height: var(--service-card-image-min-height);
    }
    
    .services-image {
        width: 100%;
        min-height: var(--service-card-image-min-height);
    }
    
    .services-content {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .services-card-title {
        width: 100%;
        height: auto;
        font-size: 20px;
    }
    
    .services-card-text {
        width: 100%;
        height: auto;
        font-size: 16px;
    }
    
    .services-title {
        font-size: 28px;
    }
    
    .services-description {
        font-size: 16px;
    }
    
    .services-tags {
        gap: 12px;
    }
    
    .services-tag {
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .services-container {
        padding: 20px;
        gap: 30px;
    }
    
    .services-title {
        font-size: 24px;
    }
    
    .services-description {
        font-size: 14px;
    }
    
    .services-card-title {
        font-size: 18px;
    }
    
    .services-card-text {
        font-size: 14px;
    }
    
    .services-image-container {
        height: 180px;
    }
    
    .services-image {
        height: 180px;
    }
}

/* Additional styles for dynamic content */
.services-card:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

.services-card:hover .services-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Card Link */
.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-accent);
    color: var(--color-black);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

/* Post Meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.7;
}

.category {
    color: var(--color-accent);
    font-weight: 500;
}

.date, .read-time {
    color: var(--color-white);
}

.author {
    font-size: 14px;
    opacity: 0.6;
    margin-top: auto;
    padding-top: 8px;
}

/* services specific classes */
.services-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.7;
}

.services-cta {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: auto;
    padding-top: 8px;
}

/* Call to Action */
.services-cta {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.services-btn {
    background: var(--color-accent);
    color: var(--color-black);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.services-btn:hover {
    background: var(--color-white);
    transform: translateY(-2px);
} 
