.professional-service-section {
    padding: 40px 0;
    background-color: #ffffff;
    font-family: var(--theme-font-family, var(--theme-font-family, Arial, sans-serif));
    font-size: var(--theme-font-size, var(--theme-font-size, 14px));
    width: 100%;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.professional-service-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .professional-service-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.professional-service-subtitle {
    color: var(--theme-primary-color, #1b4332);
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 1rem;
}

.professional-service-title {
    font-size: 3rem;
    font-weight: 900;
    color: color-mix(in srgb, var(--theme-primary-color, #1b4332) 80%, black);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    max-width: 42rem;
}

@media (min-width: 768px) {
    .professional-service-title {
        font-size: 4.5rem;
    }
}

.professional-service-divider {
    height: 0.5rem;
    width: 12rem;
    background-color: var(--theme-primary-color, #1b4332);
}

.professional-service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 4px solid var(--theme-primary-color, #1b4332);
}

@media (min-width: 768px) {
    .professional-service-grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

.professional-service-item {
    padding: 2.5rem;
    border-bottom: 4px solid var(--theme-primary-color, #1b4332);
    transition: background-color 0.2s ease;
    position: relative;
}

.professional-service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .professional-service-item {
        grid-column: span 4;
        border-bottom: none;
        border-right: 4px solid var(--theme-primary-color, #1b4332);
    }
    
    .professional-service-item:last-of-type {
        border-right: none;
    }
}

.professional-service-item:hover {
    background-color: var(--theme-primary-color, #1b4332);
}

.professional-service-item:hover .professional-service-icon-wrapper {
    background-color: #ffffff;
    color: var(--theme-primary-color, #1b4332);
}

.professional-service-item:hover .professional-service-item-title {
    color: #ffffff;
}

.professional-service-item:hover .professional-service-item-description {
    color: rgba(255, 255, 255, 0.8);
}

.professional-service-link:hover {
    text-decoration: none;
    color: inherit;
}

.professional-service-icon-wrapper {
    width: 17rem;
    height: 4rem;
    background-color: var(--theme-primary-color, #1b4332);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    transition: all 0.2s ease;
}

.professional-service-icon {
    font-size: 2.25rem;
}

.professional-service-item-title {
    font-size: 2.0rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.25;
    color: color-mix(in srgb, var(--theme-primary-color, #1b4332) 80%, black);
    transition: color 0.2s ease;
}

.professional-service-item-description {
    color: black;
    line-height: 1.625;
    transition: color 0.2s ease;
    font-size: var(--theme-font-size, 14px);
}

.professional-service-banner {
    grid-column: span 12;
    position: relative;
    min-height: 500px;
    border-top: 4px solid var(--theme-primary-color, #1b4332);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.professional-service-banner-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

.professional-service-banner:hover .professional-service-banner-background {
    transform: scale(1.05);
}

.professional-service-banner-overlay {
    position: absolute;
    inset: 0;
    background-color: color-mix(in srgb, var(--theme-primary-color, #1b4332) 80%, transparent);
    mix-blend-mode: multiply;
}

.professional-service-banner-content {
    position: relative;
    z-index: 10;
    padding: 2.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .professional-service-banner-content {
        padding: 5rem;
    }
}

.professional-service-banner-label {
    display: inline-block;
    background-color: #ffffff;
    color: var(--theme-primary-color, #1b4332);
    padding: 0.25rem 1rem;
    font-size: var(--theme-font-size, 14px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.professional-service-banner-title-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.professional-service-banner-title-link:hover {
    text-decoration: none;
    color: inherit;
}

.professional-service-banner-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .professional-service-banner-title {
        font-size: 3.75rem;
    }
}

.professional-service-banner-title-accent {
    color: var(--theme-secondary-color, #40916c);
}

.professional-service-banner-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 42rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .professional-service-banner-description {
        font-size: 1.25rem;
    }
}

.professional-service-banner-button {
    display: inline-block;
    background-color: #ffffff;
    color: var(--theme-primary-color, #1b4332);
    padding: 1rem 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.professional-service-banner-button:hover {
    background-color: color-mix(in srgb, var(--theme-primary-color, #1b4332) 90%, black);
    color: #ffffff;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
